Re: Re: Re: Printer Setup Using CUPS-KDE
* /To/: debian-user@lists.debian.org
<mailto:debian-user%40lists.debian.org>
* /Subject/: Re: Re: Printer Setup Using CUPS-KDE
* /From/: Leonard Chatagnier <lenc@ruralcomm.com
<mailto:lenc%40ruralcomm.com>>
* /Date/: Tue, 15 Feb 2005 03:31:38 -0600
* /Message-id/: <[🔎] 4211C17A.8070104@ruralcomm.com
<http://lists.debian.org/debian-user/2005/02/msg01927.html>>
* /Old-return-path/: <lenc@ruralcomm.com>
* /Organization/: ChatagnierL-Home
* /Reply-to/: lenc@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:
Reply to: