* [gentoo-user] cannot print after changing CUPS printer @ 2006-06-28 19:27 Michael [Plouj] Ploujnikov 2006-06-28 19:50 ` Mick 0 siblings, 1 reply; 18+ messages in thread From: Michael [Plouj] Ploujnikov @ 2006-06-28 19:27 UTC (permalink / raw To: gentoo-user I used to print to a LAN CUPS printer at lanmachine:631/printers/printername until I recently took that (parallel port printer) and hooked it up to lp0 on my local machine. Since then I cannot seem to print from any local application nor does lpstat show any printers: currently this is what I see: $ lpstat lpstat: Unable to connect to server: No route to host I think it's still trying to connect to the old CUPS printer on a different machine however: $ lpstat -h localhost -t scheduler is running system default destination: gray-deskjet device for gray-deskjet: parallel:/dev/lp0 device for pdfprt: cups-pdf:/ gray-deskjet accepting requests since Jan 01 00:00 pdfprt accepting requests since Jan 01 00:00 printer gray-deskjet is idle. enabled since Jan 01 00:00 printer pdfprt is idle. enabled since Jan 01 00:00 The only way I can print to my local printer is if I select "print test page" from the CUPS web interface so I know the printer is working. The funny thing is that I can also print to this local printer from other machines - Linux and Windows via IPP/CUPS. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-06-28 19:27 [gentoo-user] cannot print after changing CUPS printer Michael [Plouj] Ploujnikov @ 2006-06-28 19:50 ` Mick 2006-06-28 21:10 ` Michael [Plouj] Ploujnikov 0 siblings, 1 reply; 18+ messages in thread From: Mick @ 2006-06-28 19:50 UTC (permalink / raw To: gentoo-user On 28/06/06, Michael [Plouj] Ploujnikov <ploujj@gmail.com> wrote: > I used to print to a LAN CUPS printer at > lanmachine:631/printers/printername until I recently took that > (parallel port printer) and hooked it up to lp0 on my local machine. > Since then I cannot seem to print from any local application nor does > lpstat show any printers: > > currently this is what I see: > $ lpstat > lpstat: Unable to connect to server: No route to host Assuming that you have started cupsd (well, if you can print a test page then you definitely have cupsd running ;-) what does lpstat -d show? -- Regards, Mick -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-06-28 19:50 ` Mick @ 2006-06-28 21:10 ` Michael [Plouj] Ploujnikov 2006-06-28 21:28 ` Mick 0 siblings, 1 reply; 18+ messages in thread From: Michael [Plouj] Ploujnikov @ 2006-06-28 21:10 UTC (permalink / raw To: gentoo-user > Assuming that you have started cupsd (well, if you can print a test > page then you definitely have cupsd running ;-) what does lpstat -d > show? $ lpstat -d lpstat: Unable to connect to server: No route to host Yes, if course, I (re)started cupsd multiple times. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-06-28 21:10 ` Michael [Plouj] Ploujnikov @ 2006-06-28 21:28 ` Mick 2006-06-28 21:57 ` Michael [Plouj] Ploujnikov 0 siblings, 1 reply; 18+ messages in thread From: Mick @ 2006-06-28 21:28 UTC (permalink / raw To: gentoo-user On 28/06/06, Michael [Plouj] Ploujnikov <ploujj@gmail.com> wrote: > > Assuming that you have started cupsd (well, if you can print a test > > page then you definitely have cupsd running ;-) what does lpstat -d > > show? > > $ lpstat -d > lpstat: Unable to connect to server: No route to host You could try to use the Cups GUI and stop/delete the pdfprt printer. Athough I have set up my PC for three different connections to a printer, only one of them is active and of course set up as the default. Another thing, use cancel to delete any queued jobs first just in case. HTH -- Regards, Mick -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-06-28 21:28 ` Mick @ 2006-06-28 21:57 ` Michael [Plouj] Ploujnikov 2006-06-28 22:29 ` Mick 0 siblings, 1 reply; 18+ messages in thread From: Michael [Plouj] Ploujnikov @ 2006-06-28 21:57 UTC (permalink / raw To: gentoo-user > You could try to use the Cups GUI and stop/delete the pdfprt printer. > Athough I have set up my PC for three different connections to a > printer, only one of them is active and of course set up as the > default. Another thing, use cancel to delete any queued jobs first > just in case. None of that seemed to help either. On a side note, I recall that I can't print to the local "pdfprinter" as well - other than printing a test page. Also, note that lpstat returns the same for root and normal user. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-06-28 21:57 ` Michael [Plouj] Ploujnikov @ 2006-06-28 22:29 ` Mick 2006-06-28 22:55 ` Michael [Plouj] Ploujnikov 0 siblings, 1 reply; 18+ messages in thread From: Mick @ 2006-06-28 22:29 UTC (permalink / raw To: gentoo-user On 28/06/06, Michael [Plouj] Ploujnikov <ploujj@gmail.com> wrote: > None of that seemed to help either. On a side note, I recall that I > can't print to the local "pdfprinter" as well - other than printing a > test page. Did you by any chance change your /etc/cups/cupsd.conf file settings from the default? How is your pdfprint connected to the PC? If they are both connected via your parallel port, have you configured it correctly in your kernel? Sorry for stating the obvious but the error seems to point to an incorrect route (path) to the printer. have you tried via USB? -- Regards, Mick -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-06-28 22:29 ` Mick @ 2006-06-28 22:55 ` Michael [Plouj] Ploujnikov 2006-06-28 23:30 ` Sarpy Sam 2006-06-29 21:57 ` Mick 0 siblings, 2 replies; 18+ messages in thread From: Michael [Plouj] Ploujnikov @ 2006-06-28 22:55 UTC (permalink / raw To: gentoo-user On 6/28/06, Mick <michaelkintzios@gmail.com> wrote: > Did you by any chance change your /etc/cups/cupsd.conf file settings > from the default? I think this is all I changed: --- /etc/cups/cupsd.conf (revision 367) +++ /etc/cups/cupsd.conf (revision 413) @@ -533,7 +533,7 @@ #BrowseAddress x.y.255.255 #BrowseAddress x.255.255.255 #BrowseAddress 255.255.255.255 -#BrowseAddress @LOCAL +BrowseAddress @LOCAL #BrowseAddress @IF(name) # @@ -768,6 +768,7 @@ Order Deny,Allow Deny From All Allow From 127.0.0.1 +Allow From 10.1.1.* </Location> #<Location /classes> > How is your pdfprint connected to the PC? please ignore pdfprint for the sake of this thread. I am only concerned with the other printer - gray-deskjet: parallel:/dev/lp0 > If they are both connected via your parallel port, have you configured it > correctly in your kernel? There is only one parallel port printer attached to my system, that is the printer in question here: gray-deskjet: parallel:/dev/lp0 Yes, I compiled the kernel properly. That is how other machines on my LAN can print to this printer, and I can print a test page using CUPS web interface. > Sorry for stating the obvious but the error > seems to point to an incorrect route (path) to the printer. have you > tried via USB? This printer does not have a USB connection, unfortunately. The printer model is HP 710c, for your information. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-06-28 22:55 ` Michael [Plouj] Ploujnikov @ 2006-06-28 23:30 ` Sarpy Sam 2006-06-29 1:13 ` Michael [Plouj] Ploujnikov 2006-06-29 21:57 ` Mick 1 sibling, 1 reply; 18+ messages in thread From: Sarpy Sam @ 2006-06-28 23:30 UTC (permalink / raw To: gentoo-user On 6/28/06, Michael [Plouj] Ploujnikov <ploujj@gmail.com> wrote: > On 6/28/06, Mick <michaelkintzios@gmail.com> wrote: > > Did you by any chance change your /etc/cups/cupsd.conf file settings > > from the default? > > I think this is all I changed: > --- /etc/cups/cupsd.conf (revision 367) > +++ /etc/cups/cupsd.conf (revision 413) > @@ -533,7 +533,7 @@ > #BrowseAddress x.y.255.255 > #BrowseAddress x.255.255.255 > #BrowseAddress 255.255.255.255 > -#BrowseAddress @LOCAL > +BrowseAddress @LOCAL > #BrowseAddress @IF(name) > > # > @@ -768,6 +768,7 @@ > Order Deny,Allow > Deny From All > Allow From 127.0.0.1 > +Allow From 10.1.1.* > </Location> > > #<Location /classes> > > > > How is your pdfprint connected to the PC? > > please ignore pdfprint for the sake of this thread. I am only > concerned with the other printer - gray-deskjet: parallel:/dev/lp0 > > > If they are both connected via your parallel port, have you configured it > > correctly in your kernel? > > There is only one parallel port printer attached to my system, that is > the printer in question here: > gray-deskjet: parallel:/dev/lp0 > Yes, I compiled the kernel properly. That is how other machines on my > LAN can print to this printer, and I can print a test page using CUPS > web interface. > > > Sorry for stating the obvious but the error > > seems to point to an incorrect route (path) to the printer. have you > > tried via USB? > > This printer does not have a USB connection, unfortunately. > The printer model is HP 710c, for your information. > -- > gentoo-user@gentoo.org mailing list > > I'm sorry if I have missed it but have you looked in your cups error log for any messages. Also set your log level to debug and restart cups to get more detailed messages. Sam -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-06-28 23:30 ` Sarpy Sam @ 2006-06-29 1:13 ` Michael [Plouj] Ploujnikov 0 siblings, 0 replies; 18+ messages in thread From: Michael [Plouj] Ploujnikov @ 2006-06-29 1:13 UTC (permalink / raw To: gentoo-user > I'm sorry if I have missed it but have you looked in your cups error > log for any messages. Also set your log level to debug and restart > cups to get more detailed messages. > The problem is that my print jobs don't even reach my local cups server! Here is an example: $ enscript --verbose=3 todo AFM: scanning path... AFM: reading font map "/usr/share/enscript/afm/font.map" AFM: font mapping: AvantGarde-Demi -> /usr/share/enscript/afm/agd ... ... font crap removed to conserve space ... AFM: font mapping: ZapfDingbats -> /usr/share/enscript/afm/zd reading AFM info for font "Courier" file_lookup(): /usr/share/enscript/enscript.pro #t file_lookup(): /usr/share/enscript/88591.enc #t file_lookup(): /usr/share/enscript/simple.hdr #t %Format: fmodstr $D{%a %b %d %H:%M:%S %Y} %Format: pagenumstr $V$% processing file "todo"... lpr: error - scheduler not responding! [ 1 pages * 1 copy ] sent to printer I think there is some kind of a magical hidden setting that still makes lpr/cups think that my printer server is on a different machine (namely lanmachine:631/printers/printername) instead of localhost. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-06-28 22:55 ` Michael [Plouj] Ploujnikov 2006-06-28 23:30 ` Sarpy Sam @ 2006-06-29 21:57 ` Mick 2006-06-29 22:38 ` Michael [Plouj] Ploujnikov 1 sibling, 1 reply; 18+ messages in thread From: Mick @ 2006-06-29 21:57 UTC (permalink / raw To: gentoo-user On 29/06/06, Michael [Plouj] Ploujnikov <ploujj@gmail.com> wrote: > On 6/28/06, Mick <michaelkintzios@gmail.com> wrote: > > Did you by any chance change your /etc/cups/cupsd.conf file settings > > from the default? > > I think this is all I changed: > --- /etc/cups/cupsd.conf (revision 367) > +++ /etc/cups/cupsd.conf (revision 413) > @@ -533,7 +533,7 @@ > #BrowseAddress x.y.255.255 > #BrowseAddress x.255.255.255 > #BrowseAddress 255.255.255.255 > -#BrowseAddress @LOCAL > +BrowseAddress @LOCAL > #BrowseAddress @IF(name) I would try commenting out the line with LOCAL above and check or add the following: ===================== User lp Group lp Listen 127.0.0.1:631 Browsing Off SystemGroup lp <Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location> <Location /admin> AuthType Basic AuthClass System Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location> ===================== If the above setting works you can start tightening things further, including encryption, etc. if this machine is exposed to the elements of nature. :-) HTH -- Regards, Mick -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-06-29 21:57 ` Mick @ 2006-06-29 22:38 ` Michael [Plouj] Ploujnikov 2006-06-30 23:01 ` Mick 0 siblings, 1 reply; 18+ messages in thread From: Michael [Plouj] Ploujnikov @ 2006-06-29 22:38 UTC (permalink / raw To: gentoo-user > I would try commenting out the line with LOCAL above and check or add > the following: > ===================== > User lp > Group lp > > Listen 127.0.0.1:631 > > Browsing Off > > SystemGroup lp > > <Location /> > Order Deny,Allow > Deny From All > Allow From 127.0.0.1 > </Location> > > <Location /admin> > > AuthType Basic > AuthClass System > > Order Deny,Allow > Deny From All > Allow From 127.0.0.1 > > </Location> > ===================== > > If the above setting works you can start tightening things further, > including encryption, etc. if this machine is exposed to the elements > of nature. :-) > My config is already almost exactly like that, except that my config does not specify: Listen 127.0.0.1:631 and this was enabled to allow other local CUPS servers (on a laptop computer) to print to my printer: BrowseAddress @LOCAL I tried adding "Listen 127.0.0.1:631" but cups actually refused to start because it was " Unable to bind socket for address 00000000:631 - Address already in use." my CUPS automatically listens on: 0.0.0.0:631 -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-06-29 22:38 ` Michael [Plouj] Ploujnikov @ 2006-06-30 23:01 ` Mick 2006-07-01 2:09 ` Michael [Plouj] Ploujnikov 0 siblings, 1 reply; 18+ messages in thread From: Mick @ 2006-06-30 23:01 UTC (permalink / raw To: gentoo-user On 30/06/06, Michael [Plouj] Ploujnikov <ploujj@gmail.com> wrote: > My config is already almost exactly like that, except that my config > does not specify: > Listen 127.0.0.1:631 127.0.0.1 is localhost (loopback) and is needed for your computer to be able to connect to its own cupsd and thus be able to print. > and this was enabled to allow other local CUPS servers (on a laptop > computer) to print to my printer: > > BrowseAddress @LOCAL I assume you have replaced @LOCAL with @192.168.0.1/24 or whatever the local address is? > I tried adding "Listen 127.0.0.1:631" but cups actually refused to > start because it was " > Unable to bind socket for address 00000000:631 - Address already in use." > > my CUPS automatically listens on: 0.0.0.0:631 OK, but 0.0.0.0 is *every* address in the universe, not the localhost address. Add localhost:631 it should do the same job like 127.0.0.1. Finally, check that the Deny/Allow is set to Deny all and Allow 127.0.0.1. Otherwise I've run out of ideas . . . -- Regards, Mick -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-06-30 23:01 ` Mick @ 2006-07-01 2:09 ` Michael [Plouj] Ploujnikov 2006-07-01 2:12 ` Michael [Plouj] Ploujnikov 0 siblings, 1 reply; 18+ messages in thread From: Michael [Plouj] Ploujnikov @ 2006-07-01 2:09 UTC (permalink / raw To: gentoo-user > I assume you have replaced @LOCAL with @192.168.0.1/24 or whatever the > local address is? Actually, according to the comments in the conf file, it should be exactly "BrowseAddress @LOCAL" if I want cups to listen to local devices only. Anyways, I tried to set it to my network and it didn't help. It really is for other cups servers to be able to communicate with mine. > OK, but 0.0.0.0 is *every* address in the universe, not the localhost > address. Add localhost:631 it should do the same job like 127.0.0.1. > I set it to "listen localhost:631" and still nothing > Finally, check that the Deny/Allow is set to Deny all and Allow > 127.0.0.1. Otherwise I've run out of ideas . . . Yup, my deny/allow rules are Gentoo's default, except that I added a rule to allow for my LAN pcs to access this server. I think the problem is not in the cups config/server, but in the lp side of things. I think it is somehow trying to connect to the wrong server. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-07-01 2:09 ` Michael [Plouj] Ploujnikov @ 2006-07-01 2:12 ` Michael [Plouj] Ploujnikov 2006-07-01 9:09 ` Mick 0 siblings, 1 reply; 18+ messages in thread From: Michael [Plouj] Ploujnikov @ 2006-07-01 2:12 UTC (permalink / raw To: gentoo-user This is really my whole cupsd.conf file: # grep -v "\#" /etc/cups/cupsd.conf |cat -s DocumentRoot /usr/share/cups/docs LogLevel info User lp Group lp listen localhost:631 BrowseAddress @LOCAL SystemGroup lp <Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 10.1.1.* </Location> <Location /admin> AuthType Basic AuthClass System Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location> -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-07-01 2:12 ` Michael [Plouj] Ploujnikov @ 2006-07-01 9:09 ` Mick 2006-07-01 13:47 ` Michael [Plouj] Ploujnikov 0 siblings, 1 reply; 18+ messages in thread From: Mick @ 2006-07-01 9:09 UTC (permalink / raw To: gentoo-user On 01/07/06, Michael [Plouj] Ploujnikov <ploujj@gmail.com> wrote: > This is really my whole cupsd.conf file: > > # grep -v "\#" /etc/cups/cupsd.conf |cat -s OK lets think through this once more. Your original $ lpstat -h localhost -t output although it shows your gray-deskjet as the default destination, it does not show that the other printer is paused. Try again to manually set the default printer (for all users) and see if it picks it up: # lpoptions -d gray-deskjet May be worth re-naming ~/.lpoptions file if it exists to make sure that only the /etc/cups/lpoptions are read by lp on each occasion. Then stop the pdfprt (not sure how you do this from the command line, I use the GUI). Check that pdfprt is stopped, gray-deskjet is idle accepting jobs and is the default printer using $ lpststat -h localhost -t. Then try to send something to the printer using lp, e.g. lp foo.txt. My guess is that for some reason your pdfprt is being picked up and its address cups-pdf:/ is not correct? HTH -- Regards, Mick -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-07-01 9:09 ` Mick @ 2006-07-01 13:47 ` Michael [Plouj] Ploujnikov 2006-07-01 13:49 ` Michael [Plouj] Ploujnikov 0 siblings, 1 reply; 18+ messages in thread From: Michael [Plouj] Ploujnikov @ 2006-07-01 13:47 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2304 bytes --] > OK lets think through this once more. Your original $ lpstat -h > localhost -t output although it shows your gray-deskjet as the > default destination, it does not show that the other printer is > paused. > > Try again to manually set the default printer (for all users) and see > if it picks it up: > > # lpoptions -d gray-deskjet > > May be worth re-naming ~/.lpoptions file if it exists to make sure > that only the /etc/cups/lpoptions are read by lp on each occasion. > > Then stop the pdfprt (not sure how you do this from the command line, > I use the GUI). Check that pdfprt is stopped, gray-deskjet is idle > accepting jobs and is the default printer using $ lpststat -h > localhost -t. Then try to send something to the printer using lp, > e.g. lp foo.txt. > > My guess is that for some reason your pdfprt is being picked up and > its address cups-pdf:/ is not correct? > > HTH > -- > Regards, > Mick > -- > gentoo-user@gentoo.org mailing list > > I already setup pdfprt to be paused. Then I checked for ~/.lpoptions as a normal user, and didn't find it. It appeared that /etc/cups/lpoptions still pointed to the old printer (neither pdfprt, nor gray-deskjet). So I tried to do: # lpoptions -d gray-deskjet lpoptions: Unknown printer or class! Then I tried 'lpoptions -h localhost -d gray-deskjet' and it worked. This changed the default printer in /etc/cups/lpoptions. However, lpstat still says it cannot connect to server, and for example enscripting a text file fails as well: $ enscript todo lpr: error - scheduler not responding! [ 1 pages * 1 copy ] sent to printer $ enscript -P gray-deskjet todo lpr: error - unable to print file: server-error-service-unavailable [ 1 pages * 1 copy ] sent to gray-deskjet $ enscript -d gray-deskjet todo lpr: error - unable to print file: server-error-service-unavailable [ 1 pages * 1 copy ] sent to gray-deskjet In fact, I just deleted pdfprt, and the situation still has not changed (ever after restarting cupsd). I just ran lpstat with strace, and I notices something that I suspected all along, it tries to connect to my old print server: connect(4, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("10.1.1.4")}, 16) = -1 EHOSTUNREACH (No route to host) I hope no-one minds if attach the whole output from strace here. [-- Attachment #2: lpstat.out --] [-- Type: application/octet-stream, Size: 14089 bytes --] execve("/usr/bin/lpstat", ["lpstat"], [/* 63 vars */]) = 0 brk(0) = 0x506000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407c16e000 uname({sys="Linux", node="Gray", ...}) = 0 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/x86_64/libcups.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/libcups.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/libcups.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libcups.so.2", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20s\0\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0755, st_size=126184, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407c16f000 mmap(NULL, 1173248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b407c26f000 mprotect(0x2b407c28c000, 1044480, PROT_NONE) = 0 mmap(0x2b407c38b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1c000) = 0x2b407c38b000 mmap(0x2b407c38d000, 1792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b407c38d000 close(4) = 0 open("/usr/lib64/tls/x86_64/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=144922, ...}) = 0 mmap(NULL, 144922, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2b407c38e000 close(4) = 0 open("/lib/libnsl.so.1", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320G\0\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0755, st_size=83536, ...}) = 0 mmap(NULL, 1137320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b407c3b2000 mprotect(0x2b407c3c4000, 1048576, PROT_NONE) = 0 mmap(0x2b407c4c4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x12000) = 0x2b407c4c4000 mmap(0x2b407c4c6000, 6824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b407c4c6000 close(4) = 0 open("/usr/lib64/tls/x86_64/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libcrypt.so.1", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\f\0\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0755, st_size=23216, ...}) = 0 mmap(NULL, 1257888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b407c4c8000 mprotect(0x2b407c4cd000, 1044480, PROT_NONE) = 0 mmap(0x2b407c5cc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x4000) = 0x2b407c5cc000 mmap(0x2b407c5ce000, 184736, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b407c5ce000 close(4) = 0 open("/usr/lib64/tls/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libc.so.6", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\322\1"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0755, st_size=1278840, ...}) = 0 mmap(NULL, 2270088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b407c5fc000 mprotect(0x2b407c71d000, 1048576, PROT_NONE) = 0 mmap(0x2b407c81d000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x121000) = 0x2b407c81d000 mmap(0x2b407c822000, 17288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b407c822000 close(4) = 0 open("/usr/lib64/tls/x86_64/libssl.so.0.9.7", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/libssl.so.0.9.7", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/libssl.so.0.9.7", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libssl.so.0.9.7", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \313\0\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0555, st_size=223264, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407c827000 mmap(NULL, 1270888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b407c828000 mprotect(0x2b407c85a000, 1044480, PROT_NONE) = 0 mmap(0x2b407c959000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x31000) = 0x2b407c959000 mmap(0x2b407c95e000, 1128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b407c95e000 close(4) = 0 open("/usr/lib64/tls/x86_64/libcrypto.so.0.9.7", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/libcrypto.so.0.9.7", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/libcrypto.so.0.9.7", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libcrypto.so.0.9.7", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\2\5\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0555, st_size=1319832, ...}) = 0 mmap(NULL, 2357240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b407c95f000 mprotect(0x2b407ca7d000, 1044480, PROT_NONE) = 0 mmap(0x2b407cb7c000, 126976, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x11d000) = 0x2b407cb7c000 mmap(0x2b407cb9b000, 14328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b407cb9b000 close(4) = 0 open("/lib/libdl.so.2", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\20\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0755, st_size=15464, ...}) = 0 mmap(NULL, 1061120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b407cb9f000 mprotect(0x2b407cba1000, 1048576, PROT_NONE) = 0 mmap(0x2b407cca1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x2000) = 0x2b407cca1000 close(4) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407cca3000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407cca4000 arch_prctl(ARCH_SET_FS, 0x2b407cca4060) = 0 mprotect(0x2b407c81d000, 12288, PROT_READ) = 0 mprotect(0x2b407c26d000, 4096, PROT_READ) = 0 munmap(0x2b407c38e000, 144922) = 0 brk(0) = 0x506000 brk(0x527000) = 0x527000 open("/home/plouj/.cupsrc", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/cups/client.conf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=2345, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407c38e000 read(4, "\n# \"$Id: client.conf,v 1.9 2005/"..., 131072) = 2345 read(4, "", 131072) = 0 close(4) = 0 munmap(0x2b407c38e000, 131072) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=503, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407c38e000 read(4, "# /etc/nsswitch.conf:\n# $Header:"..., 131072) = 503 read(4, "", 131072) = 0 close(4) = 0 munmap(0x2b407c38e000, 131072) = 0 open("/usr/lib64/tls/x86_64/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=144922, ...}) = 0 mmap(NULL, 144922, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2b407c38e000 close(4) = 0 open("/lib64/tls/x86_64/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/x86_64/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib64/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/x86_64/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) munmap(0x2b407c38e000, 144922) = 0 open("/usr/lib64/tls/x86_64/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/tls/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/x86_64/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=144922, ...}) = 0 mmap(NULL, 144922, PROT_READ, MAP_PRIVATE, 4, 0) = 0x2b407c38e000 close(4) = 0 open("/lib/libnss_files.so.2", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p#\0\0\0"..., 832) = 832 fstat(4, {st_mode=S_IFREG|0755, st_size=44344, ...}) = 0 mmap(NULL, 1090856, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b407cca5000 mprotect(0x2b407ccaf000, 1044480, PROT_NONE) = 0 mmap(0x2b407cdae000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x9000) = 0x2b407cdae000 close(4) = 0 munmap(0x2b407c38e000, 144922) = 0 open("/etc/services", O_RDONLY) = 4 fcntl(4, F_GETFD) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 fstat(4, {st_mode=S_IFREG|0644, st_size=35832, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407c38e000 read(4, "# /etc/services\n#\n# Network serv"..., 131072) = 35832 close(4) = 0 munmap(0x2b407c38e000, 131072) = 0 open("/home/plouj/.cupsrc", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/cups/client.conf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=2345, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407c38e000 read(4, "\n# \"$Id: client.conf,v 1.9 2005/"..., 131072) = 2345 close(4) = 0 munmap(0x2b407c38e000, 131072) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 getpid() = 2177 open("/etc/resolv.conf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=52, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407c38e000 read(4, "nameserver 216.254.141.13\nnamese"..., 131072) = 52 read(4, "", 131072) = 0 close(4) = 0 munmap(0x2b407c38e000, 131072) = 0 uname({sys="Linux", node="Gray", ...}) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(4) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) close(4) = 0 open("/etc/host.conf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=937, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407c38e000 read(4, "# /etc/host.conf:\n# $Header: /va"..., 131072) = 937 read(4, "", 131072) = 0 close(4) = 0 munmap(0x2b407c38e000, 131072) = 0 open("/etc/hosts", O_RDONLY) = 4 fcntl(4, F_GETFD) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 fstat(4, {st_mode=S_IFREG|0644, st_size=794, ...}) = 0 mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407c38e000 read(4, "# /etc/hosts: This file describ"..., 131072) = 794 close(4) = 0 munmap(0x2b407c38e000, 131072) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [22924886158606337], 4) = 0 setsockopt(4, SOL_TCP, TCP_NODELAY, [22924886158606337], 4) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("10.1.1.4")}, 16) = -1 EHOSTUNREACH (No route to host) close(4) = 0 dup(2) = 4 fcntl(4, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat(4, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b407c38e000 lseek(4, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(4, "lpstat: Unable to connect to ser"..., 54) = 54 close(4) = 0 munmap(0x2b407c38e000, 4096) = 0 exit_group(1) = ? ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-07-01 13:47 ` Michael [Plouj] Ploujnikov @ 2006-07-01 13:49 ` Michael [Plouj] Ploujnikov 2006-07-01 22:09 ` Mick 0 siblings, 1 reply; 18+ messages in thread From: Michael [Plouj] Ploujnikov @ 2006-07-01 13:49 UTC (permalink / raw To: gentoo-user Bah! Now I found it. The server was set wrong in /etc/cups/client.conf ! So, I have everything fixed now. Thanks. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [gentoo-user] cannot print after changing CUPS printer 2006-07-01 13:49 ` Michael [Plouj] Ploujnikov @ 2006-07-01 22:09 ` Mick 0 siblings, 0 replies; 18+ messages in thread From: Mick @ 2006-07-01 22:09 UTC (permalink / raw To: gentoo-user On 01/07/06, Michael [Plouj] Ploujnikov <ploujj@gmail.com> wrote: > Bah! Now I found it. The server was set wrong in /etc/cups/client.conf ! > So, I have everything fixed now. > > Thanks. Phew! At long last . . . I was running out of ideas. :-) Glad you got it fixed now. -- Regards, Mick -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2006-07-01 22:16 UTC | newest] Thread overview: 18+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-06-28 19:27 [gentoo-user] cannot print after changing CUPS printer Michael [Plouj] Ploujnikov 2006-06-28 19:50 ` Mick 2006-06-28 21:10 ` Michael [Plouj] Ploujnikov 2006-06-28 21:28 ` Mick 2006-06-28 21:57 ` Michael [Plouj] Ploujnikov 2006-06-28 22:29 ` Mick 2006-06-28 22:55 ` Michael [Plouj] Ploujnikov 2006-06-28 23:30 ` Sarpy Sam 2006-06-29 1:13 ` Michael [Plouj] Ploujnikov 2006-06-29 21:57 ` Mick 2006-06-29 22:38 ` Michael [Plouj] Ploujnikov 2006-06-30 23:01 ` Mick 2006-07-01 2:09 ` Michael [Plouj] Ploujnikov 2006-07-01 2:12 ` Michael [Plouj] Ploujnikov 2006-07-01 9:09 ` Mick 2006-07-01 13:47 ` Michael [Plouj] Ploujnikov 2006-07-01 13:49 ` Michael [Plouj] Ploujnikov 2006-07-01 22:09 ` Mick
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox