LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 03: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, 11:40 AM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
$ pgrep cupsd

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

Rep: Reputation: 0
you no permission for the directory and files.
 
Old 02-06-2009, 01: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:42 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
Open Source Consulting | Domain Registration