Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
for about some time i have a problem with my printer under fedora core 3. suddenly it won't print anymore. I have googled for some time but can't find anything usefull.
The problem is i can not print from any application. I tried the printconf-gui tool but no effect.
If I try some commands like "lpinfo -m" or lpstat there's allways the same message: "lpstat: Unable to connect to server: Connection refused" even if I am locked in as root.
When I am trying to print a testpage, it says this: "lpr: error - unable to print file: server-error-service-unavailable". But the cups daemon is running. I checked that: [root@mow ~]# ps -A|grep cups
3830 ? 00:00:03 cupsd
4023 ? 00:00:00 cups-config-dae
4839 ? 00:00:00 eggcups
[root@mow ~]#
I also tried the web interface. There is no printer listed. So I tried to set up a new one. I only get to the point, where i have to select a device but the drop down list is empty.
I have no clue what to do next. Thanks for any comment.
It's a HP Deskjet 815C and I installed CUPS with the distribution as an rpm and further with the printconf-gui tool. I even installed the ppd of the printer but no effect.
For some reason FC2 and FC3 want you to use the system-config-whatever scripts. I tried that initially and had mixed results with off-brand printers, though yours is not off-brand and was working. I would suggest trying the CUPS admin tool. Bring up your browser and got to http://localhost:631 or http://xxx.xxx.xxx.xxx:631 (the IP of the host you are on) and try it there. To do admin stuff you will need to supply the root pasword.
Is the printer connected and turned on? (I know it sounds silly, but it's happened before)
Have you checked printer compatibility in HCL?
Have you tried booting the system with the printer connected and turned on? (autodetect might pick it up)
I have had that happen with CUPS running and the printer turned on. My solution was to go into the admin web interface and actually start the printer. I believe it is under administration-> printers -> start printer (I'm not at my Linux box at the moment).
If you turn off your printer when CUPS is running, it sometimes stops the printer for you (I couldn't tell you why, though) but isn't really an error, per se. Hopefully if you've had it working up until now that is the issue.
In fact, using Cups web inteface I could not add the printer. There were no classes available.
But I added it using the GUI, but it does not work.
The printer is always up and running, but i Double checked it anayway.
So did you find the ppd for your printer? Usually you need a file for your printer for CUPS to read off of, and you drop that file (ppd extension) into the CUPS directory. Check out linuxprinting.org, and it will give you much better instructions than I ever can. Setting up printing is a whole different world in Linux, I know.
This is how my problem was resolved. I hope it will help others:
Apparently, something nasty (maybe an oracle client I installed) remove a line abouth the 127.0.0.1 my /etc/hosts file. I added it back, and no more cups problem.
Please correct your /etc/hosts.
The following lines should be preserved in it:
--snip--
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
--snip--
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.