[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cups installation: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting




On Sat, 15 Mar 2003, Jerome Acks Jr wrote:

> On Sat, Mar 15, 2003 at 05:07:12PM +0100, iks_kzm wrote:
> > 
> > 
> > On Fri, 14 Mar 2003, Jerome Acks Jr wrote: 
> > > You have not mentioned anything about installing drivers for your
> > > printer. You probably need to install one of these packages:
> > 
> > I have HP Laserjet 1200 series. 
> > 
> > > 1) cupsys-driver-gimpprint, 
> > > 2) foomatic-bin and foomatic-db, or 
> > > 3) cupsomatic-ppd.
> > I have installed 1, 2 and 3.
> > 
> > But I just copied from the CD (which I obtained with the printer)
> > the original HP_Laserjet_1200.ppd
> > to /usr/share/cups/model/HP/, restarted cups and then connected to
> > http://localhost:631 and add new printer choosing the  
> > HP_Laserjet_1200 series model.
> 
> Is the version of HP_Laserjet_1200.ppd the same as other ppd's that
> come with the cupsys package? 
I did NOT have any  ppd files in the cupsys for HP Laserjet 1200 series
and I was advised to use the one from the CD.
I tried to use some ppd file for HP Laserjet 4 or something
like that but the result was similar.

> 
> > 
> > I noticed the following:
> > the files /etc/cups/cupsd.conf and printers.conf can be read and executed
> > ONLY by root. I changed the mode (using chmod) so any user
> > can read the files but nothing changed: the described above printing
> > problem remained the same. When I did '/etc/init.d/./cupsys restart'
> > the two files again can be read and executed ONLY by root.
> > 
> > I use debian 3.0 (woody)
> 
> I'm running the testing version of CUPS. I'm not sure what all the changes
> are between woody and testing. On my computer ownership and permission
> of files in /etc/cups are:
> 
> # ls -l /etc/cups
> total 160
> lrwxrwxrwx    1 root     root           21 Oct 16 21:46 certs -> /var/spool/cups/certs
> -rw-r--r--    1 root     root         2183 Feb  9  2002 client.conf
> -rw-r--r--    1 root     root         1215 Jun  6  2002 command.types
> -rw-------    1 lp       sys         19728 Aug 20  2002 cupsd.conf
> drwxr-xr-x    2 root     root         4096 Mar  9  2002 interfaces
> -rw-r--r--    1 root     root         2798 Aug 20  2002 mime.convs
> -rw-r--r--    1 root     root         5659 Aug 20  2002 mime.types
> drwxr-xr-x    2 lp       sys          4096 Aug  3  2002 ppd
> -rw-r--r--    1 root     root        94464 Oct 16 21:46 ppds.dat
> -rw-------    1 lp       sys           279 Oct  5 19:51 printers.conf
> -rw-------    1 lp       sys           279 Aug  8  2002 printers.conf.O
> -rw-r--r--    1 root     root          947 Aug  7  2002 pstoraster.convs
> 
my 'ls
# ls -l /etc/cups

drwx--x--x    2 lp       sys          4096 mar 16 18:47 certs
-rw-------    1 lp       sys         18394 mar 10  2002 cupsd.conf
drwxr-xr-x    2 root     root         4096 mar 13 20:27 interfaces
-rw-r--r--    1 root     root         2749 mar 10  2002 mime.convs
-rw-r--r--    1 root     root         5634 mar 10  2002 mime.types
drwxr-xr-x    2 lp       sys          4096 mar 13 20:30 ppd
-rw-r--r--    1 root     root       693392 mar 15 16:38 ppds.dat
-rw-------    1 lp       sys           285 mar 13 20:45 printers.conf
-rw-r--r--    1 lp       sys           285 mar 13 20:43 printers.conf.O

I do not have client.conf file.

(I use the cupsys for woody).


Jan
> Try running debsums against the cupsys packages to check the integrity
> of the installation. 
> 
> Edit /etc/cups/cupsd.conf, change "LogLevel info" to "LogLevel
> debug" and then restart cups. This should generate more message in the
> error log and may give you better idea of what the problem is.
> 
> > > Do you have libcupsys2 and gs-esp installed?
> > 
> > I installed libcupsys2 but I cannot figure out whether I have gs-esp.
> > What gs-esp is? Using search in dselect I cannot find it.
> 
> Wrong guess on my part. gs-esp is version of ghostscript from Easy
> Software Products (ESP). It is available in debian testing and
> unstable; you should not need it with woody.
> 
> -- 
> Jerome



Reply to: