LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   CUPS error : Service unavailable (http://www.linuxquestions.org/questions/linux-server-73/cups-error-service-unavailable-701195/)

cjagdish69 01-31-2009 04:45 AM

CUPS error : Service unavailable
 
I have installed RHEL 3.0 on a server having cups-1.1.17-13.3.6 installed. The service is stated at the time of booting only. If i am giving command "lpstat -t" then i am getting errors as follows :

"lpstat : get-classes failed : server-error-service-unavailable
lpstat : get-printers-failed : server-error-service-unavailable
lpstat : get-printers-failed : server-error-service-unavailable
lpstat : get-printers-failed : server-error-service-unavailable
lpstat : get-jobs failed : server-error-service-unavailable".

I have formatted the server & installed the os freshly. But after 8-10 days once again the same problem is occuring.

I have checked the file "/etc/cups/printers.conf" which is showing me the printer details defined.

What will be the problem ?

- JAGDISH

anomie 02-01-2009 12:40 PM

$ pgrep cupsd

?

pswen 02-02-2009 09:26 PM

you no permission for the directory and files.

cjagdish69 02-06-2009 02:32 AM

Cups
 
The permissions of /etc/cups is : drwxr-xr-x lp sys 4096 cups

and the file permissions inside /etc/cups are as follows :


drwx--x--x 2 lp sys 4096 Feb 6 12:58 certs
drwxr-xr-x 78 root root 8192 Feb 6 09:58 ..
drwxr-xr-x 5 lp sys 4096 Feb 5 15:35 .
-rw------- 1 lp sys 874 Feb 5 15:35 printers.conf
-rw------- 1 lp sys 875 Jan 31 16:21 printers.conf.O
-rw------- 1 lp sys 875 Jan 30 12:46 jagdish.conf
drwxr-xr-x 2 lp sys 4096 Jan 30 12:46 ppd
-rw-r--r-- 1 root root 1819088 Jan 17 16:33 ppds.dat
-rw------- 1 lp sys 20282 Jan 17 15:47 cupsd.conf
-rw-r--r-- 1 root root 20189 Jan 17 14:46 cupsd.conf.save
-rw-r--r-- 1 root root 947 Sep 1 2003 pstoraster.convs
-rw------- 1 lp sys 2421 Sep 1 2003 classes.conf
-rw-r--r-- 1 root root 2183 Sep 1 2003 client.conf
drwxr-xr-x 2 root root 4096 Sep 1 2003 interfaces
-rw-r--r-- 1 root root 4462 Sep 1 2003 mime.convs
-rw-r--r-- 1 root root 5742 Sep 1 2003 mime.types
-rw-r--r-- 1 root root 1215 Jan 26 2003 command.types

kindly suggest.


All times are GMT -5. The time now is 07:55 AM.