LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-14-2008, 09:30 AM   #1
albracco
Member
 
Registered: Jan 2003
Posts: 48

Rep: Reputation: 15
CUPS printers.conf reverts to old settings


Recently removed a Digi terminal server from a red Hat ES V4 system and took the printers that were previously on the Digi and configured them as straight network printers. (Using GUI printers config) Every once in a while, those printers stop working and the reason is that printers.conf somehow gets the old device names back in. I login remotely, use lpadmin to set the correct IPs again and all is well until the next time. Maybe it's happening if the server is restarted - I don't know because I am not there. Where could CUPS be getting the old port info from and how can I stop this behavior?

Thanks,

Al
 
Old 03-14-2008, 02:34 PM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
How are you configuring these printers?

I re-read your post, and your problem is probably different than mine, but I'll share the experience with you anyway.

On RH EL systems, at least our EL 4 systems, if I use

Applications --> System Settings --> Printing

to configure our printers, all kinds of annoying things happen. I'll elaborate in a moment.

The "other" GUI method has never given me a problem. That is start a browser session; enter address localhost:631; and login as root when prompted. I have never had a trouble configuring our CUPS printers using this method.

One side effect of the menu-based printer-configuration way is that some printers' Location fields are filled in by the Red Hat printer configuration name and revision.

The other is for our App Jet Direct print servers that are not listening port 9100 -- they happen to be connected to older Net Print print servers that default to port 10001, those Net Print print servers' entries all get defaulted to port 9100 after running printer-configuration.

I never found this problem on Fedora 6 or Ubuntu 6.06, 7.04, and 7.10.
 
Old 03-16-2008, 06:54 PM   #3
albracco
Member
 
Registered: Jan 2003
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks for the info - my guess is the GUI has it's own version of printers.conf by some other name and it is overwriting printers.conf when CUPS is restarted. Haven't figured this out yet...
 
Old 03-17-2008, 08:16 AM   #4
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Red Hat and CUPS

I do not know if, when, and how things have changed, but it has been understood for the past couple of years that the Red Hat EL application did not support CUPS well. At least it is still that way in RH EL 4. Between editing the conf files by hand and the GUI interface, our needs seem to be well covered.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cups/samba print w/o passwd in printers.conf? jshaffer Linux - Networking 1 03-29-2010 06:26 AM
Cups printers getting disabled. Why? blizunt7 Linux - Server 6 12-28-2007 03:35 PM
CUPS: Printers.conf and printconf-tui display different information; how do I fix? lefty.crupps Linux - Software 0 08-13-2007 02:49 PM
Problems with printers.conf, cups and samba wauwha Linux - Software 0 05-30-2007 08:34 AM
Printers and cups Pedroski Linux - Hardware 1 10-05-2003 06:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:52 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration