LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 02-27-2007, 03:48 PM   #1
realnerd
Member
 
Registered: Aug 2004
Distribution: Gentoo (main), FreeBSD, Slackware, Debian, Arch
Posts: 49
Blog Entries: 1

Rep: Reputation: 15
Cups no longer working: printer useless


Hello Debianers!

I need your help: I run Sarge with kernel 2.6.18-3-686 and my printer Epson Stylus color 600 can no longer use cups. This is the message I get when I try to use foomatic-gui to reconfigure my printer:

"(foomatic-gui:7111): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
/usr/bin/foomatic-gui:264: GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead
win.set_sensitive(gtk.TRUE)
lpadmin: Unable to connect to server: Network is unreachable
Could not set up/change the queue "stylus_color_600"!
Reloading Common Unix Printing System: cupsd."

When I don't use cups (for example: cat file.txt > /dev/lp0) the printer is correctly working.

lpq and lprm don't work and seem to simply wait without providing any message.

The printer is linked to the computer using parallel port.

I'm a little bit lost, I don't even know how I can help you to help me. What is the information that you need?

Thanks in advance !!!
 
Old 02-27-2007, 03:58 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
"lpadmin: Unable to connect to server: Network is unreachable"

Are you trying to use CUPS on an attached printer?

Did you make some network changes just before this happened? Did you update your kernel or anything relate to CUPS? Have you tried checking the CUPS configuration here? http://localhost:631/ That usually works for me when things mess up on my XP "printserver" due to my hacking around on things.
 
Old 02-28-2007, 02:42 PM   #3
realnerd
Member
 
Registered: Aug 2004
Distribution: Gentoo (main), FreeBSD, Slackware, Debian, Arch
Posts: 49
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Thanks for your reply.

I don't know what is an attached printer; mine is connected using parallel port.

I tried to connect to http://localhost:631/ but it fails.

I tried:

ping -c3 localhost
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.

--- localhost.localdomain ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2001ms

As I have a message when I shutdown the computer indicating that a "named" cannot stop I somewhat googled and found that this is related to a programme "bind9".

I tried what I found on the Internet to localize the problem:

mabecane:/etc/init.d# /etc/init.d/bind9 stop
Stopping domain name service: namedrndc: connect failed: operation canceled

hostname gives "mabecane" which is the name I gave to my computer.

cat /etc/hosts gives:

### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.

127.0.0.1 localhost.localdomain localhost mabecane
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


### END OF DEBCONF AREA. PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.

If I cat /var/log/syslog | grep named

I get:

Feb 28 18:40:10 localhost named[5001]: starting BIND 9.2.4 -u bind
Feb 28 18:40:10 localhost named[5001]: using 1 CPU
Feb 28 18:40:10 localhost named[5001]: loading configuration from '/etc/bind/named.conf'
Feb 28 18:40:11 localhost named[5001]: ifiter_ioctl.c:236: REQUIRE(iter->pos < (unsigned int) iter->ifc.ifc_len) failed
Feb 28 18:40:11 localhost named[5001]: exiting (due to assertion failure)

I stop this, as I don't know if it is related to my problem.

I have one connection to Internet (via a usb modem Sagem 800) and no other network.
I do remember that some time ago I tried to get rid of a message concerning eth0 as I have nothing connected there...I may have broken something there!

NB: I do thank you for your reply: I had told my friends using Windoze that I was sure to get a reply at most one hour later, and you replied 10 minutes later!!

Thanks for your next suggestions.
 
Old 02-28-2007, 03:15 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
I can't think of any reason that you should be running named; especially since you don't seem to really understand what it is. Also, if your browser won't bring up http://localhost:631/, then it seems that cupsd is no longer running on your system. Did you reconfigure your system or load a bunch of new software or remove some software without truly understanding what you were doing just before this happened?

Is the "cupsys" package still installed? Did you load "bind" for some reason?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] HP PSC 1315 - Printer detected under CUPs but not working (hplip/hpijs driver) vharishankar Linux - Hardware 19 09-01-2009 02:26 PM
New brother DCP 110C printer not working CUPS babil Linux - Hardware 8 07-03-2005 07:24 AM
CUPS update - can no longer print in MDK 10.1 OE crispus Mandriva 0 01-04-2005 07:07 AM
Printer not working, CUPs problem, and freezing jrdioko Linux - Software 1 08-03-2004 03:18 PM
My printer stopped working and cups... BajaNick Linux - Hardware 3 11-23-2003 07:11 PM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration