|
From: Leonard Chatagnier on 13 Feb 2005 15:40 I need help to determine why I can't set up an Epson Stylus CX6400 using either KDE Print Manager or the command line using lpadmin. Here are my problems: When I call up the KDE Print manager, after trying to initialize, this message pops up: Error-KDE Control Module Unable to retrieve the printer list. Error message received from manager: Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: host not found. or this message appears depending on how I start Print Manager: Error - kprinter Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: connection refused. Not sure the cupsd server is running. When I do ps -ef | cupsd, I get: lchata(a)ChatagnierL-Home:/opt$ ps -ef | grep cupsd lchata 1608 958 0 11:31 pts/2 00:00:00 grep cupsd lchata(a)ChatagnierL-Home:/opt$ (Being a newbie, not sure what this means) If, I try to restart cupsd, I get an error: (copies from my post to KDE print list) Restarting printing system service: cupsdcupsd: Child exited with status 98! Sometimes I can get the Add Printer Wizzard to start instead of hanging, but when I click the next buton the screen is greyed out This is a long standing problem and I'm new to linux. Hope someone can help me to correct this problem. Found several posts relating to this problem and tried all suggestions. None helped me. My system follows: Dell Dimensions XPS T450, 128M ram on Debian GNU Linus v3.0, Woody-2.4.18-bf2.4 KDE version 3.3.2 CUPS version - 1.1.23 Upgrading under Testing Thanks for your help, (Below is a first reply from my post to the KDE print list,still waiting on second reply) >>It looks like the CUPS server is not running or has some problems >>to run. First check that CUPS is running, in a terminal, type >>"ps -ef | grep cupsd". If it's not running, start it. How to start >>a service depends on the Linux distro, so you should refer to Debian >>doc to learn how to start CUPS (for example under Mandrake, it's >>"service cups start" as root). >>Once the CUPS server is running, you should check if everything is >>OK. Start konqueror and go to http://localhost:631, you should see >>the CUPS web interface. >>If everything is OK, you should now be able to use the KDE print >>manager. (part of my reply to the first KDE Print list feedback that's typical) So, I start Kongueror, put http://localhost:631 in the address bar, and hit enter. Kongueror give me this message: An error occurred while loading http://localhost:631: Could not connect to host localhost (port 631). I used Konqueror, instead of Mozilla, and the result the same. I've done all the above, several times, before posting the first time. Can we try something else? Thanks, Leonard Chatagnier When I use lpadmin from a terminal command line, I get: ChatagnierL-Home:/usr/bin# /usr/sbin/lpadmin -p StylusColor -E -m stcolor.ppd -v direct usb:/dev/usb/lp0 lpadmin: Unable to connect to server: Connection timed out I gave up on using the print manager and tried the above right out of the CUPS Software Administrators Manual. Nothing works I've modified the cupsd.conf sereral times in attempting to get http://localhost:631 to do something besides give an errror output. My cupsd.conf file is copied below: Please help as I've done all I can on my own, Leonard Chatagnier my cupsd.conf(just the parts I uncommented or added) ServerName myhost.domain.com ServerAdmin root(a)your.domain.com AccessLog /var/log/cups/access_log DataDir /usr/share/cups DefaultCharset notused DefaultLanguage en DocumentRoot /usr/share/cups/doc-root FileDevice Yes ErrorLog /var/log/cups/error_log FontPath /usr/share/cups/fonts LogLevel debug2 MaxCopies 100 MaxJobs 500 MaxJobsPerPrinter 0 MaxJobsPerUser 0 MaxPrinterHistory 5 Printcap /var/run/cups/printcap PrintcapFormat BSD RequestRoot /var/spool/cups ServerBin /usr/lib/cups ServerRoot /etc/cups ServerTokens Full FaxRetryLimit 5 FaxRetryInterval 300 User lp Group lpadmin RIPCache 8m TempDir /var/spool/cups/tmp FilterLimit 0 Port 80 Port 631 Listen hostname Listen hostname:80 Listen hostname:631 Listen 127.0.0.1 Listen 127.0.0.1:631 Listen 209.34.98.*:631 Port 80 Port 443 Port 631 HostNameLookups On KeepAlive On MaxClients 100 MaxClientsPerHost 0 Browsing On BrowseProtocols cups BrowseAddress 127.0.0.255 BrowseAddress 209.34.98.255 BrowseAllow address All BrowseAllow address 209.34.98.* BrowseAllow address 127.0.0.* BrowseDeny address None BrowseInterval 0 BrowseOrder allow,deny BrowsePoll address:port BrowsePort 631 BrowseTimeout 300 ImplicitAnyCLasses Off SystemGroup lpadmin RootCertDuration 300 <Location /> Order Deny,Allow Deny From None </Location> Allow From 127.0.0.1 Allow From 127.0.0.2 Allow From 209.34.98.* AuthType Basic AuthClass User </Location> AuthType None Order Deny,Allow Deny From None Allow From 127.0.0.1 Allow From 127.0.0.2 Allow From 209.34.98.* Note: cupsd.conf was used originally with the default values, with same errors, then modified a number of times to this final configuration. None ever worked. Any help much appreciated, Leonard Chatagnier -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Clive Menzies on 13 Feb 2005 18:20 On (13/02/05 14:23), Leonard Chatagnier wrote: > I need help to determine why I can't set up an Epson Stylus CX6400 using > either KDE Print Manager or the command line using lpadmin. Here are my > problems: > When I call up the KDE Print manager, after trying to initialize, this > message pops up: > > Error-KDE Control Module > Unable to retrieve the printer list. Error message received from manager: > Connection to CUPS server failed. Check that the CUPS server is > correctly installed and running. > Error: host not found. > or this message appears depending on how I start Print Manager: > > Error - kprinter > > Connection to CUPS server failed. Check that the CUPS server is > correctly installed and running. Error: connection refused. Hi Leonard It sounds as though cups may not be configured correctly of fully installed. Try 'dpkg-reconfigure cupsys' first off. If you still can't access localhost:631 (you either need to be in group lpadmin when asked to login or else use root), have a look at the following documentation: http://www.tldp.org/HOWTO/Debian-and-Windows-Shared-Printing/ Although it is geared to networked printers in is applicable to setting up a local printer under debian. Works for me ;) Regards Clive > > Not sure the cupsd server is running. When I do ps -ef | cupsd, I get: > lchata(a)ChatagnierL-Home:/opt$ ps -ef | grep cupsd > lchata 1608 958 0 11:31 pts/2 00:00:00 grep cupsd > lchata(a)ChatagnierL-Home:/opt$ (Being a newbie, not sure what this means) > > If, I try to restart cupsd, I get an error: (copies from my post to KDE > print list) > Restarting printing system service: cupsdcupsd: Child exited > with status 98! > > Sometimes I can get the Add Printer Wizzard to start instead > of hanging, but when I click the next buton the screen is greyed out > This is a long standing problem and I'm new to linux. Hope > someone can help me to correct this problem. Found several posts > relating to this > problem and tried all suggestions. None helped me. > > My system follows: > Dell Dimensions XPS T450, 128M ram on Debian GNU Linus v3.0, > Woody-2.4.18-bf2.4 > KDE version 3.3.2 CUPS version - 1.1.23 > Upgrading under Testing > > Thanks for your help, > > (Below is a first reply from my post to the KDE print list,still waiting > on second reply) > >>It looks like the CUPS server is not running or has some problems > >>to run. First check that CUPS is running, in a terminal, type > >>"ps -ef | grep cupsd". If it's not running, start it. How to start > >>a service depends on the Linux distro, so you should refer to Debian > >>doc to learn how to start CUPS (for example under Mandrake, it's > >>"service cups start" as root). > >>Once the CUPS server is running, you should check if everything is > >>OK. Start konqueror and go to http://localhost:631, you should see > >>the CUPS web interface. > >>If everything is OK, you should now be able to use the KDE print > >>manager. > (part of my reply to the first KDE Print list feedback that's typical) > So, I start Kongueror, put http://localhost:631 in the address bar, and hit > enter. Kongueror give me this message: > An error occurred while loading http://localhost:631: > Could not connect to host localhost (port 631). > > I used Konqueror, instead of Mozilla, and the result the same. > I've done all the above, several times, before posting the first > time. Can we try something else? > Thanks, > Leonard Chatagnier > > When I use lpadmin from a terminal command line, I get: > ChatagnierL-Home:/usr/bin# /usr/sbin/lpadmin -p StylusColor -E -m > stcolor.ppd -v direct usb:/dev/usb/lp0 > lpadmin: Unable to connect to server: Connection timed out > I gave up on using the print manager and tried the above right out of > the CUPS Software > Administrators Manual. Nothing works > > I've modified the cupsd.conf sereral times in attempting to get > http://localhost:631 to do > something besides give an errror output. My cupsd.conf file is copied > below: > Please help as I've done all I can on my own, > Leonard Chatagnier > > > my cupsd.conf(just the parts I uncommented or added) > ServerName myhost.domain.com > ServerAdmin root(a)your.domain.com > AccessLog /var/log/cups/access_log > DataDir /usr/share/cups > DefaultCharset notused > DefaultLanguage en > DocumentRoot /usr/share/cups/doc-root > FileDevice Yes > ErrorLog /var/log/cups/error_log > FontPath /usr/share/cups/fonts > LogLevel debug2 > MaxCopies 100 > MaxJobs 500 > MaxJobsPerPrinter 0 > MaxJobsPerUser 0 > MaxPrinterHistory 5 > Printcap /var/run/cups/printcap > PrintcapFormat BSD > RequestRoot /var/spool/cups > ServerBin /usr/lib/cups > ServerRoot /etc/cups > ServerTokens Full > FaxRetryLimit 5 > FaxRetryInterval 300 > User lp > Group lpadmin > RIPCache 8m > TempDir /var/spool/cups/tmp > FilterLimit 0 > Port 80 > Port 631 > Listen hostname > Listen hostname:80 > Listen hostname:631 > Listen 127.0.0.1 > Listen 127.0.0.1:631 > Listen 209.34.98.*:631 > Port 80 > Port 443 > Port 631 > HostNameLookups On > KeepAlive On > MaxClients 100 > MaxClientsPerHost 0 > Browsing On > BrowseProtocols cups > BrowseAddress 127.0.0.255 > BrowseAddress 209.34.98.255 > BrowseAllow address All > BrowseAllow address 209.34.98.* > BrowseAllow address 127.0.0.* > BrowseDeny address None > BrowseInterval 0 > BrowseOrder allow,deny > BrowsePoll address:port > BrowsePort 631 > BrowseTimeout 300 > ImplicitAnyCLasses Off > SystemGroup lpadmin > RootCertDuration 300 > <Location /> > Order Deny,Allow > Deny From None > </Location> > Allow From 127.0.0.1 > Allow From 127.0.0.2 > Allow From 209.34.98.* > AuthType Basic > AuthClass User > </Location> > AuthType None > Order Deny,Allow > Deny From None > Allow From 127.0.0.1 > Allow From 127.0.0.2 > Allow From 209.34.98.* > > Note: cupsd.conf was used originally with the default values, with same > errors, then > modified a number of times to this final configuration. None ever worked. > Any help much appreciated, > > Leonard Chatagnier > > > > > > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmaster(a)lists.debian.org > -- www.clivemenzies.co.uk ... ....strategies for business -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Leonard Chatagnier on 15 Feb 2005 04:50 Reconfigure popped up a wizard that I haven't seen before, and I was hopeful, but this message appeared on completion: ChatagnierL-Home:/opt# dpkg-reconfigure cupsys Stopping printing system service: cupsd. Starting printing system service: cupsdcupsd: Child exited with status 98! invoke-rc.d: initscript cupsys, action "start" failed. ChatagnierL-Home:/opt# This is the message I get whenever I try to start or restart cupsys. I've added my user id. to lpadmin and lp quite a while ago and I never get passed the localhost refused part(never asks for Password). I think, from all I've seen trying to solve this problem, that there is some issue with localhost as I can not access it from cups, kde print or whatever and have no idea what to do. Thanks for your reply. I have seen a similiar how-to before but it wasn't Debian. I'll take a look see at it and hope it helps before I get back to list. I forgot to say: NOT SUBSCRIBED: PLEASE COPY MY EMAIL ADDRESS Thanks, Leonard PS-I'm adding a portion of my cups error-log that probably say more than I've put into this post so far. Hope someone looks at it and comments. Error-log I [10/Feb/2005:10:56:16 -0600] Listening to 0:80 I [10/Feb/2005:10:56:16 -0600] Listening to 0:631 I [10/Feb/2005:10:56:16 -0600] Listening to 0:101 E [10/Feb/2005:10:56:16 -0600] httpGetHostByName("hostname") failed - Host name lookup failure! E [10/Feb/2005:10:56:16 -0600] Bad Listen address hostname:80 at line 411. E [10/Feb/2005:10:56:16 -0600] httpGetHostByName("hostname") failed - Host name lookup failure! E [10/Feb/2005:10:56:16 -0600] Bad Listen address hostname:631 at line 412. I [10/Feb/2005:10:56:16 -0600] Listening to 7f000001:631 I [10/Feb/2005:10:56:16 -0600] Listening to 7f000001:631 I [10/Feb/2005:10:56:16 -0600] Listening to 0:80 I [10/Feb/2005:10:56:16 -0600] Listening to 0:443 I [10/Feb/2005:10:56:16 -0600] Listening to 0:631 I [10/Feb/2005:10:56:16 -0600] Sending browsing info to 7f0000ff:631 I [10/Feb/2005:10:56:16 -0600] Sending browsing info to d12262ff:631 D [10/Feb/2005:10:56:16 -0600] AddLocation: added location 'CUPS_INTERNAL_BROWSE_ACL' D [10/Feb/2005:10:56:16 -0600] AllowHost: CUPS_INTERNAL_BROWSE_ACL allow address All D [10/Feb/2005:10:56:16 -0600] AllowHost: CUPS_INTERNAL_BROWSE_ACL allow address 209.34.98.* D [10/Feb/2005:10:56:16 -0600] AllowHost: CUPS_INTERNAL_BROWSE_ACL allow address 127.0.0.* D [10/Feb/2005:10:56:16 -0600] DenyHost: CUPS_INTERNAL_BROWSE_ACL deny address None E [10/Feb/2005:10:56:16 -0600] httpGetHostByName("address") failed - Host name lookup failure! E [10/Feb/2005:10:56:16 -0600] Bad poll address address:port at line 603. E [10/Feb/2005:10:56:16 -0600] httpGetHostByName("destination-address") failed - Host name lookup failure! E [10/Feb/2005:10:56:16 -0600] Bad relay address destination-address at line 617. D [10/Feb/2005:10:56:16 -0600] AddLocation: added location '/' D [10/Feb/2005:10:56:16 -0600] DenyIP: / deny ffffffff/00000000 E [10/Feb/2005:10:56:16 -0600] Unknown directive Allow on line 774. E [10/Feb/2005:10:56:16 -0600] Unknown directive Allow on line 775. E [10/Feb/2005:10:56:16 -0600] Unknown directive Allow on line 776. E [10/Feb/2005:10:56:16 -0600] Unknown directive AuthType on line 796. E [10/Feb/2005:10:56:16 -0600] Unknown directive AuthClass on line 797. E [10/Feb/2005:10:56:16 -0600] Unknown directive </Location> on line 798. E [10/Feb/2005:10:56:16 -0600] Unknown directive AuthType on line 814. D [10/Feb/2005:10:56:16 -0600] AddLocation: added location '/admin' D [10/Feb/2005:10:56:16 -0600] DenyIP: /admin deny ffffffff/00000000 D [10/Feb/2005:10:56:16 -0600] AllowIP: /admin allow 7f000001/ffffffff I [10/Feb/2005:10:56:16 -0600] Loaded configuration file "/etc/cups/cupsd.conf" I [10/Feb/2005:10:56:16 -0600] Configured for up to 100 clients. I [10/Feb/2005:10:56:16 -0600] Allowing up to 100 client connections per host. I [10/Feb/2005:10:56:16 -0600] Full reload is required. D [10/Feb/2005:10:56:16 -0600] LoadDevices: Added device "parallel:/dev/lp0"... D [10/Feb/2005:10:56:16 -0600] LoadDevices: Added device "parallel:/dev/lp1"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "smb"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "ipp"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "lpd"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "socket"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "usb://EPSON/Stylus%20CX6400"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "usb:/dev/usb/lp1"... <snipped> D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "usb:/dev/usb/lp15"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "http"... I [10/Feb/2005:10:56:17 -0600] LoadPPDs: Read "/etc/cups/ppds.dat", 13 PPDs... I [10/Feb/2005:10:56:17 -0600] LoadPPDs: No new or changed PPDs... D [10/Feb/2005:10:56:17 -0600] LoadAllJobs: Scanning /var/spool/cups... I [10/Feb/2005:10:56:17 -0600] Full reload complete. D [10/Feb/2005:10:56:17 -0600] StartListening: NumListeners=8 D [10/Feb/2005:10:56:17 -0600] StartListening: address=00000000 port=80 D [10/Feb/2005:10:56:17 -0600] StartListening: address=00000000 port=631 D [10/Feb/2005:10:56:17 -0600] StartListening: address=00000000 port=101 D [10/Feb/2005:10:56:17 -0600] StartListening: address=7f000001 port=631 E [10/Feb/2005:10:56:17 -0600] StartListening: Unable to bind socket for address 7f000001:631 - Address already in use. I [10/Feb/2005:11:37:09 -0600] Listening to 0:80 I [10/Feb/2005:11:37:09 -0600] Listening to 0:631 I [10/Feb/2005:11:37:09 -0600] Listening to 0:101 E [10/Feb/2005:11:37:09 -0600] httpGetHostByName("hostname") failed - Unknown host! E [10/Feb/2005:11:37:09 -0600] Bad Listen address hostname:80 at line 411. E [10/Feb/2005:11:37:09 -0600] httpGetHostByName("hostname") failed - Unknown host! E [10/Feb/2005:11:37:09 -0600] Bad Listen address hostname:631 at line 412. I [10/Feb/2005:11:37:09 -0600] Listening to 7f000001:631 I [10/Feb/2005:11:37:09 -0600] Listening to 7f000001:631 I [10/Feb/2005:11:37:09 -0600] Listening to 0:80 I [10/Feb/2005:11:37:09 -0600] Listening to 0:443 I [10/Feb/2005:11:37:09 -0600] Listening to 0:631 I [10/Feb/2005:11:37:09 -0600] Sending browsing info to 7f0000ff:631 I [10/Feb/2005:11:37:09 -0600] Sending browsing info to d12262ff:631 D [10/Feb/2005:11:37:09 -0600] AddLocation: added location 'CUPS_INTERNAL_BROWSE_ACL' D [10/Feb/2005:11:37:09 -0600] AllowHost: CUPS_INTERNAL_BROWSE_ACL allow address All D [10/Feb/2005:11:37:09 -0600] AllowHost: -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Leonard Chatagnier on 16 Feb 2005 13:30 * /To/: debian-user(a)lists.debian.org <mailto:debian-user%40lists.debian.org> * /Subject/: Re: Re: Printer Setup Using CUPS-KDE * /From/: Leonard Chatagnier <lenc(a)ruralcomm.com <mailto:lenc%40ruralcomm.com>> * /Date/: Tue, 15 Feb 2005 03:31:38 -0600 * /Message-id/: <4211C17A.8070104(a)ruralcomm.com <http://lists.debian.org/debian-user/2005/02/msg01927.html>> * /Old-return-path/: <lenc(a)ruralcomm.com> * /Organization/: ChatagnierL-Home * /Reply-to/: lenc(a)ruralcomm.com <mailto:lenc%40ruralcomm.com> * /User-agent/: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 ------------------------------------------------------------------------ This is a followup to the suggesions posted by Clive Menzies. Please forgive the top posting, but I had to copy my last reply from the web as I,m not subscribed and fear my new followup post would by lost. Clive, I thought I had used the Debian Howto before without any success. But, I went through it again start to finish and did everything listed. I still can't restart cupsd without error. The output from the troubleshooting section of the howto is below: Maybe you could send me a copy of your cupsd.conf file if you are using a dialup modem as it seems no one chose to comment on mine. If I can't get a good copy of the cupsd.conf file, I consider purging the cups and related distributions and do a fresh reinstall. However, doing so hasn't been too successful in the past. I'll try any suggestions I get and thanks for your help, Len Chatagnier Troubleshooting Output: ChatagnierL-Home:/etc/cups/ppd# /et c/init.d/cupsys restart Restarting printing system service: cupsdcupsd: Child exited with status 98! ChatagnierL-Home:/etc/cups/ppd# /usr/bin/tail /var/log/cups/error_log D [16/Feb/2005:10:59:22 -0600] LoadDevices: Ad ded device "epson:/dev/lp1"... D [16/Feb/2005:10:59:22 -0600] LoadDevices: Ad ded device "canon:/dev/lp0"... D [16/Feb/2005:10:59:22 -0600] LoadDevices: Ad ded device "canon:/dev/lp1"... I [16/Feb/2005:10:59:23 -0600] LoadPPDs: Read "/etc/cups/ppds.dat", 2399 PPDs... I [16/Feb/2005:10:59:25 -0600] LoadPPDs: No ne w or changed PPDs... D [16/Feb/2005:10:59:25 -0600] LoadAllJobs: Sc anning /var/spool/cups... I [16/Feb/2005:10:59:25 -0600] Full reload com plete. D [16/Feb/2005:10:59:25 -0600] StartListening: NumListeners=8 ChatagnierL-Home:/etc/cups/ppd# /etc/init.d/cupsys restart Restarting printing system service: cupsdcupsd: Chi ld exited with status 98! ChatagnierL-Home:/etc/cups/ppd# /etc/init.d/cupsys restart Restarting printing system service: cupsdcupsd: Chi ld exited with status 98! ChatagnierL-Home:/etc/cups/ppd# /usr/bin/tail -f /v ar/log/cups/error_log D [16/Feb/2005:11:13:22 -0600] LoadDevices: Added d evice "epson:/dev/lp1"... D [16/Feb/2005:11:13:22 -0600] LoadDevices: Added d evice "canon:/dev/lp0"... D [16/Feb/2005:11:13:22 -0600] LoadDevices: Added d evice "canon:/dev/lp1"... I [16/Feb/2005:11:13:22 -0600] LoadPPDs: Read "/etc /cups/ppds.dat", 2399 PPDs... I [16/Feb/2005:11:13:23 -0600] LoadPPDs: No new or changed PPDs... D [16/Feb/2005:11:13:23 -0600] LoadAllJobs: Scannin g /var/spool/cups... I [16/Feb/2005:11:13:23 -0600] Full reload complete . D [16/Feb/2005:11:13:23 -0600] StartListening: NumL isteners=8 D [16/Feb/2005:11:13:23 -0600] StartListening: addr ess=00000000 port=80 E [16/Feb/2005:11:13:23 -0600] StartListening: Unab le to bind socket for address 00000000:80 - Address already in use. Len Chatagnier Wrote: Reconfigure popped up a wizard that I haven't seen before, and I was hopeful, but this message appeared on completion: ChatagnierL-Home:/opt# dpkg-reconfigure cupsys Stopping printing system service: cupsd. Starting printing system service: cupsdcupsd: Child exited with status 98! invoke-rc.d: initscript cupsys, action "start" failed. ChatagnierL-Home:/opt# This is the message I get whenever I try to start or restart cupsys. I've added my user id. to lpadmin and lp quite a while ago and I never get passed the localhost refused part(never asks for Password). I think, from all I've seen trying to solve this problem, that there is some issue with localhost as I can not access it from cups, kde print or whatever and have no idea what to do. Thanks for your reply. I have seen a similiar how-to before but it wasn't Debian. I'll take a look see at it and hope it helps before I get back to list. I forgot to say: NOT SUBSCRIBED: PLEASE COPY MY EMAIL ADDRESS Thanks, Leonard PS-I'm adding a portion of my cups error-log that probably say more than I've put into this post so far. Hope someone looks at it and comments. Error-log I [10/Feb/2005:10:56:16 -0600] Listening to 0:80 I [10/Feb/2005:10:56:16 -0600] Listening to 0:631 I [10/Feb/2005:10:56:16 -0600] Listening to 0:101 E [10/Feb/2005:10:56:16 -0600] httpGetHostByName("hostname") failed - Host name lookup failure! E [10/Feb/2005:10:56:16 -0600] Bad Listen address hostname:80 at line 411. E [10/Feb/2005:10:56:16 -0600] httpGetHostByName("hostname") failed - Host name lookup failure! E [10/Feb/2005:10:56:16 -0600] Bad Listen address hostname:631 at line 412. I [10/Feb/2005:10:56:16 -0600] Listening to 7f000001:631 I [10/Feb/2005:10:56:16 -0600] Listening to 7f000001:631 I [10/Feb/2005:10:56:16 -0600] Listening to 0:80 I [10/Feb/2005:10:56:16 -0600] Listening to 0:443 I [10/Feb/2005:10:56:16 -0600] Listening to 0:631 I [10/Feb/2005:10:56:16 -0600] Sending browsing info to 7f0000ff:631 I [10/Feb/2005:10:56:16 -0600] Sending browsing info to d12262ff:631 D [10/Feb/2005:10:56:16 -0600] AddLocation: added location 'CUPS_INTERNAL_BROWSE_ACL' D [10/Feb/2005:10:56:16 -0600] AllowHost: CUPS_INTERNAL_BROWSE_ACL allow address All D [10/Feb/2005:10:56:16 -0600] AllowHost: CUPS_INTERNAL_BROWSE_ACL allow address 209.34.98.* D [10/Feb/2005:10:56:16 -0600] AllowHost: CUPS_INTERNAL_BROWSE_ACL allow address 127.0.0.* D [10/Feb/2005:10:56:16 -0600] DenyHost: CUPS_INTERNAL_BROWSE_ACL deny address None E [10/Feb/2005:10:56:16 -0600] httpGetHostByName("address") failed - Host name lookup failure! E [10/Feb/2005:10:56:16 -0600] Bad poll address address:port at line 603. E [10/Feb/2005:10:56:16 -0600] httpGetHostByName("destination-address") failed - Host name lookup failure! E [10/Feb/2005:10:56:16 -0600] Bad relay address destination-address at line 617. D [10/Feb/2005:10:56:16 -0600] AddLocation: added location '/' D [10/Feb/2005:10:56:16 -0600] DenyIP: / deny ffffffff/00000000 E [10/Feb/2005:10:56:16 -0600] Unknown directive Allow on line 774. E [10/Feb/2005:10:56:16 -0600] Unknown directive Allow on line 775. E [10/Feb/2005:10:56:16 -0600] Unknown directive Allow on line 776. E [10/Feb/2005:10:56:16 -0600] Unknown directive AuthType on line 796. E [10/Feb/2005:10:56:16 -0600] Unknown directive AuthClass on line 797. E [10/Feb/2005:10:56:16 -0600] Unknown directive </Location> on line 798. E [10/Feb/2005:10:56:16 -0600] Unknown directive AuthType on line 814. D [10/Feb/2005:10:56:16 -0600] AddLocation: added location '/admin' D [10/Feb/2005:10:56:16 -0600] DenyIP: /admin deny ffffffff/00000000 D [10/Feb/2005:10:56:16 -0600] AllowIP: /admin allow 7f000001/ffffffff I [10/Feb/2005:10:56:16 -0600] Loaded configuration file "/etc/cups/cupsd.conf" I [10/Feb/2005:10:56:16 -0600] Configured for up to 100 clients. I [10/Feb/2005:10:56:16 -0600] Allowing up to 100 client connections per host. I [10/Feb/2005:10:56:16 -0600] Full reload is required. D [10/Feb/2005:10:56:16 -0600] LoadDevices: Added device "parallel:/dev/lp0"... D [10/Feb/2005:10:56:16 -0600] LoadDevices: Added device "parallel:/dev/lp1"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "smb"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "ipp"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "lpd"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "socket"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "usb://EPSON/Stylus%20CX6400"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "usb:/dev/usb/lp1"... <snipped> D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "usb:/dev/usb/lp15"... D [10/Feb/2005:10:56:17 -0600] LoadDevices: Added device "http"... I [10/Feb/2005:10:56:17 -0600] LoadPPDs: Read "/etc/cups/ppds.dat", 13 PPDs... I [10/Feb/2005:10:56:17 -0600] LoadPPDs: No new or changed PPDs... D [10/Feb/2005:10:56:17 -0600] LoadAllJobs: Scanning /var/spool/cups... I [10/Feb/2005:10:56:17 -0600] Full reload complete. D [10/Feb/2005:10:56:17 -0600] StartListening: NumListeners=8 D [10/Feb/2005:10:56:17 -0600] StartListening: address=00000000 port=80 D [10/Feb/2005:10:56:17 -0600] StartListening: address=00000000 port=631 D [10/Feb/2005:10:56:17 -0600] StartListening: address=00000000 port=101 D [10/Feb/2005:10:56:17 -0600] StartListening: address=7f000001 port=631 E [10/Feb/2005:10:56:17 -0600] StartListening: Unable to bind socket for address 7f000001:631 - Address already in use. I [10/Feb/2005:11:37:09 -0600] Listening to 0:80 I [10/Feb/2005:11:37:09 -0600] Listening to 0:631 I [10/Feb/2005:11:37:09 -0600] Listening to 0:101 E [10/Feb/2005:11:37:09 -0600] httpGetHostByName("hostname") failed - Unknown host! E [10/Feb/2005:11:37:09 -0600] Bad Listen address hostname:80 at line 411. E [10/Feb/2005:11:37:09 -0600] httpGetHostByName("hostname") failed - Unknown host! E [10/Feb/2005:11:37:09 -0600] Bad Listen address hostname:631 at line 412. I [10/Feb/2005:11:37:09 -0600] Listening to 7f000001:631 I [10/Feb/2005:11:37:09 -0600] Listening to 7f000001:631 I [10/Feb/2005:11:37:09 -0600] Listening to 0:80 I [10/Feb/2005:11:37:09 -0600] Listening to 0:443 I [10/Feb/2005:11:37:09 -0600] Listening to 0:631 I [10/Feb/2005:11:37:09 -0600] Sending browsing info to 7f0000ff:631 I [10/Feb/2005:11:37:09 -0600] Sending browsing info to d12262ff:631 D [10/Feb/2005:11:37:09 -0600] AddLocation: added location 'CUPS_INTERNAL_BROWSE_ACL' D [10/Feb/2005:11:37:09 -0600] AllowHost: CUPS_INTERNAL_BROWSE_ACL allow address All D [10/Feb/2005:11:37:09 -0600] AllowHost: -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Clive Menzies on 17 Feb 2005 09:50 On (16/02/05 12:06), Leonard Chatagnier wrote: > This is a followup to the suggesions posted by Clive Menzies. Please > forgive the top posting, > but I had to copy my last reply from the web as I,m not subscribed and > fear my new followup post > would by lost. Clive, I thought I had used the Debian Howto before > without any success. But, I went > through it again start to finish and did everything listed. I still > can't restart cupsd without error. The output from the troubleshooting > section of the howto is below: Maybe you could send me a copy of your > cupsd.conf file if you are using a dialup modem as it seems no one chose > to comment on mine. > If I can't get a good copy of the cupsd.conf file, I consider purging > the cups and related distributions > and do a fresh reinstall. However, doing so hasn't been too successful > in the past. I'll try any suggestions I get and thanks for your help, Hi Leonard Attached is my cupsd.conf file but I'm not sure it shows you a lot - sorry but I a bit short on ideas Regards Clive -- www.clivemenzies.co.uk ... ....strategies for business
|
Next
|
Last
Pages: 1 2 Prev: mysqladmin: unable to change password Next: Compiling Sigmatel USB/IRDA software |