Posted: Fri 07 Jan 2011, 17:39
You can try reinstalling CUPS using the instructions above.
READ-ONLY Archive
https://oldforum.puppylinux.com/
Code: Select all
# ps | grep cups
5830 root 0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
# /etc/init.d/cups status
cups: scheduler is running.
# /etc/init.d/cups restart
cups: restarted scheduler.
# cups-config --version
1.3.11
Code: Select all
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
Code: Select all
options parport_pc io=0x378 irq=7 dma=3
Code: Select all
D [12/Jan/2011:20:03:03 +2300] cupsdReadClient: 10 GET /admin?OP=add-printer HTTP/1.1
D [12/Jan/2011:20:03:03 +2300] cupsdAuthorize: No authentication data provided.
D [12/Jan/2011:20:03:03 +2300] [CGI] /usr/lib/cups/cgi-bin/admin.cgi started - PID = 9232
I [12/Jan/2011:20:03:03 +2300] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=9232)
D [12/Jan/2011:20:03:03 +2300] cupsdSendCommand: 10 file=17
D [12/Jan/2011:20:03:03 +2300] Report: clients=6
D [12/Jan/2011:20:03:03 +2300] Report: jobs=0
D [12/Jan/2011:20:03:03 +2300] Report: jobs-active=0
D [12/Jan/2011:20:03:03 +2300] Report: printers=0
D [12/Jan/2011:20:03:03 +2300] Report: printers-implicit=0
D [12/Jan/2011:20:03:03 +2300] Report: stringpool-string-count=169
D [12/Jan/2011:20:03:03 +2300] Report: stringpool-alloc-bytes=4896
D [12/Jan/2011:20:03:03 +2300] Report: stringpool-total-bytes=3664
E [12/Jan/2011:20:03:03 +2300] PID 9232 (/usr/lib/cups/cgi-bin/admin.cgi) stopped with status 22!
D [12/Jan/2011:20:03:03 +2300] [CGI] /usr/lib/cups/cgi-bin/admin.cgi: Permission denied
Code: Select all
#define EINVAL 22 /* Invalid argument */
Code: Select all
top
Code: Select all
# top
4836 1 root S 4112 0% 0 0% /usr/sbin/cupsd -C /etc/cups/cupsd.conf
Code: Select all
# ps | egrep "cupsd|USER"
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 4836 0.0 0.2 4112 2084 ? Ss 21:23 0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
Code: Select all
/usr/lib/cups/cgi-bin/admin.cgi: Permission denied
Code: Select all
chown root:root xxx
chmod 755 xxx
Code: Select all
# ls -l /initrd/pup_ro2/etc/cups/
total 19
-rw-r--r-- 1 root root 1077 2010-09-13 21:47 command.types
-rw-r----- 1 root root 1218 2010-01-14 00:50 cupsd.conf
-rw-r----- 1 root 7 2470 2010-09-13 12:41 cupsd.conf.default
drwxr-xr-x 2 root root 3 2010-09-20 17:21 interfaces
-rw-r--r-- 1 root root 4543 2010-09-13 12:41 mime.convs
-rw-r--r-- 1 root root 6298 2010-09-13 12:41 mime.types
drwxr-xr-x 2 root root 35 2007-09-23 00:28 ppd
-rw-r----- 1 root root 405 2009-11-19 10:03 printers.conf
-rw-r--r-- 1 root root 946 2009-11-19 10:03 pstoraster.convs
-rw-r----- 1 root nobody 186 2010-09-13 12:41 snmp.conf
drwxr-xr-x 2 root root 3 2010-09-20 17:21 ssl
# ls -l /etc/cups/
total 40
-rw-r----- 1 root nobody 1247 2011-01-11 22:12 cupsd.conf
-rw-r----- 1 root 7 2470 2010-09-13 12:41 cupsd.conf.default
drwxr-xr-x 2 root root 4096 2009-07-20 02:08 interfaces
-rw-r--r-- 1 root root 4543 2010-09-13 12:41 mime.convs
-rw-r--r-- 1 root root 6298 2010-09-13 12:41 mime.types
drwxr-xr-x 2 root nobody 4096 2009-07-20 02:08 ppd
-rw-r----- 1 root root 186 2010-09-13 12:41 snmp.conf
drwx------ 2 root nobody 4096 2009-07-20 02:08 ssl
Code: Select all
find / -type d ! -perm 755
Code: Select all
/etc/cups/ssl
/etc/cups-old/ssl
Yes... all right... no changesrcrsn51 wrote:The root:nobody ownerships are fine. CUPS wants them that way. Did you also check the folders I listed above?