LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 01-31-2009, 04:45 AM   #1
cjagdish69
Member
 
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Rep: Reputation: 15
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
 
Old 02-01-2009, 12:40 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
$ pgrep cupsd

?
 
Old 02-02-2009, 09:26 PM   #3
pswen
LQ Newbie
 
Registered: Dec 2008
Posts: 26

Rep: Reputation: 0
you no permission for the directory and files.
 
Old 02-06-2009, 02:32 AM   #4
cjagdish69
Member
 
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Original Poster
Rep: Reputation: 15
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.
 
  


Reply

Tags
cups, error, printers


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
unable to print file: server-error-service-unavailable mashed Linux - Newbie 2 10-22-2006 07:04 PM
server-error-service-unavailable lpr printing TheBrick Linux - General 1 07-11-2006 08:04 AM
lp:unable to print file:server-error-service-unavailable mitchloft Fedora 3 03-29-2005 01:26 PM
SendMail DNS: Service unavailable nutthick Linux - Newbie 1 01-24-2005 10:49 AM
Service unavailable tintin Linux - Newbie 2 11-25-2002 07:45 AM


All times are GMT -5. The time now is 10:08 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration