Unix/Linux Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

CUPS has gone away

UNIX for Advanced & Expert Users


Tags
cups, hp 1012

Reply    
 
Thread Tools Search this Thread Display Modes
    #8  
Old Unix and Linux 3 Days Ago
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Last Activity: 19 September 2017, 2:34 PM EDT
Location: In the leftmost byte of /dev/kmem
Posts: 5,561
Thanks: 106
Thanked 1,569 Times in 1,161 Posts
I am not a Linux expert but this:


Code:
Message from syslogd@server1 at Sep  9 23:31:35 ...
 cupsd: Unable to read "/etc/cups/cupsd.conf" due to errors.

seems to be quite clearly phrased, no?

If there are not non-printable characters in the file (as Corona688 suggested) and there are no privilege problems (post an output of ls -l /etc/cups/cupsd.conf if unsure) I suppose the file is syntactically wrong (i.e. it has content that makes no sense to CUPS).

Try commenting out everything, then try to stop/start the service again. If it works uncomment one part of the file and stop/start again. Repeat this until you have found the part which prevents CUPS from starting.

I hope this helps.

bakunin
Sponsored Links
    #9  
Old Unix and Linux 2 Days Ago
Meow613 Meow613 is offline
Registered User
 
Join Date: Oct 2014
Last Activity: 20 September 2017, 12:01 PM EDT
Posts: 100
Thanks: 4
Thanked 1 Time in 1 Post
Can anybody see any non printing characters?

If so, where are they?

---------- Post updated at 07:04 PM ---------- Previous update was at 06:59 PM ----------

Bakunin -

Sorry, I did not see your reply.

Anyway...

Code:
root@server1:/home/server1#  ls -l /etc/cups/cupsd.conf
-rw-r----- 1 root lp 6737 Sep 10 00:25 /etc/cups/cupsd.conf

TIA

---------- Post updated at 08:11 PM ---------- Previous update was at 07:04 PM ----------

I have commented out ALL the lines. This is what I get from attempting to run CUPS

Code:
This site can’t be reached
localhost refused to connect.
ERR_CONNECTION_REFUSED

I think it is a permission error. Whast is wrong here -


Code:
root@server1:/home/server1#  ls -l /etc/cups/cupsd.conf
-rw-r----- 1 root lp 6895 Sep 19 20:04 /etc/cups/cupsd.conf

Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Installation of CUPS in AIX meeraramanathan AIX 3 05-29-2008 03:59 PM



All times are GMT -4. The time now is 04:12 AM.