 |
 |
Can't get CUPS working
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2007
Location: Stuttgart
Status:
Offline
|
|
Hi
A few weeks ago i bought a new harddisk. Then i used CCC to clone my harddisk to the new one.
After that i couldn't print anymore. I was looking on another forum for help someone told me that it maybe could have something to do with CUPS. He was right --- i think. When i try to start cupsd via terminal i got the Error that the child exited with status 2.
However i used Printer Setup Repair and found that some directories on my harddisk were missing essential files (don't ask i can't remember...)
But after that i get an error 13 now. Seems like i am on the right way because when asking a friend to start their cupsd they get the same error message.
The problem is i can't get my printer working - even with status 13.
Reinstalling the drivers takes almost 10 minutes(!!)
Does somebody here know how to get this thing working?
I am on a MacBook Pro with 10.4.10 installed. The printer, i think isn't relevant because it doesn't matter which printer i try to print to, is a Canon MP510.
Thanks in advance
Zettt
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
is cupsd running for you?
ps aux | grep cupsd
If so, this may account for the errors you are getting starting it up. If not, check out your /var/log/cups/error_log and post the error messages here...
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2007
Location: Stuttgart
Status:
Offline
|
|
Hi
cupsd doesn't need to be run all the time. When you have a look into your /private/etc/hostconfig file you see an entry something like cupsd -=AUTOMATIC=-
Anyway...when i look inside the error_log i just see that the last successful start of cupsd was at 16. July 2007.
I was hoping that the new cups 1.3 will get rid of the problem. I have installed it and built and everything. It seems to (surprisingly) do it's job. But now i get an error:
cupsd: Unable to read configuration file '/private/etc/cups/cupsd.conf' - exiting!
When i check the persmissions for cupsd.conf it says root:lp i know that it was root:wheel. Unfortunately i can't use PSR to see what this tool can fix, because demo persiod is over. argh...
BTW: Thanks for your help. I am very happy about that. 
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status:
Offline
|
|
Did you try fixing permissions? (One of the few times that suggestion may actually work. . . .)
|

"The natural progress of things is for liberty to yield and government to gain ground." TJ
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2007
Location: Stuttgart
Status:
Offline
|
|
Yes i did...yes i did
I read that Disk Utility recreates some symbolic links in the needed directories of CUPS. No change...sorry.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Code:
$ ls -l /private/etc/cups/
total 232
-rw-r--r-- 1 root lp 1774 Mar 20 2005 apple.convs
-rw-r--r-- 1 root lp 3036 Mar 20 2005 apple.types
drwx--x--x 3 root lp 102 Aug 20 01:04 certs
-rw------- 1 root lp 2430 Mar 20 2005 classes.conf
-rw-r--r-- 1 root lp 2344 Mar 20 2005 client.conf
-rw-r--r-- 1 root wheel 1225 Mar 20 2005 command.types
-rw-r--r-- 1 root lp 23546 Aug 22 2005 cupsd.conf
-rw-r--r-- 1 root lp 23546 Nov 4 2005 cupsd.conf.OLD
-rw-r--r-- 1 root lp 23546 Aug 22 2005 cupsd.conf.default
drwxr-xr-x 2 root lp 68 Mar 27 2005 interfaces
-rw-r--r-- 1 root lp 4585 Mar 20 2005 mime.convs
-rw-r--r-- 1 root lp 5923 Mar 20 2005 mime.types
drwxr-xr-x 2 root lp 68 Jul 2 00:40 ppd
-rw------- 1 root lp 93 Jul 2 00:40 printers.conf
-rw------- 1 root lp 320 Apr 21 21:22 printers.conf.O
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2007
Location: Stuttgart
Status:
Offline
|
|
I got the same!
Why can't cupsd read the cupsd.conf file then? Any suggestions?
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Can you show us the contents of your cupsd.conf?
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2007
Location: Stuttgart
Status:
Offline
|
|
Sure i can. But it's a little longer that you might think
Code:
#
# "$Id: cupsd.conf.in 6720 2007-07-25 00:40:03Z mike $"
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel info
# Administrator user group...
SystemGroup admin
SystemGroupAuthKey system.preferences
# Only listen for connections from the local machine.
Listen localhost:631
Listen /private/var/run/cupsd
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
Allow localhost
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
Allow localhost
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow localhost
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an administrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @AUTHKEY(system.print.admin) @admin @lpadmin
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @AUTHKEY(system.print.admin) @admin @lpadmin
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
#
# End of "$Id: cupsd.conf.in 6720 2007-07-25 00:40:03Z mike $".
#
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
My cups configuration file is totally different, but I'm also running with cups constantly active (still rather weird that our configuration files are world's apart).
What do you get when you type in:
cupsd -f
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2007
Location: Stuttgart
Status:
Offline
|
|
Thanks for your constant help.
I've changed in the hostconfig file in /private/etc/ the line for CUPS to -YES- instead of -AUTOMATIC-
Still no luck. cupsd says it can't read cupsd.conf
|
|
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Apr 2005
Location: Cambridge, UK
Status:
Offline
|
|
I have a feeling that when you installed CUPS 1.3, it wrote a completely new type of .conf file and for some reason, either CUPS 1.3 or the old version can't understand it.
I'm sure this could be fixed by doing an Archive and Install.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
It is also possible that the CUPS 1.3 binaries did not replace the ones Apple provided, and that you are trying to start up the Apple version of CUPS with the CUPS 1.3 config file.
Do you know what path CUPS 1.3 was installed into? Type in:
which cupsd
Chances are, the source install did not install in the same path. You can test this theory by typing in:
find /usr -name "cupsd"
If this turns up multiple results, one of us can send you a stock Apple cupsd.conf, which should get you back up and running again if the cups in your path is in /usr/sbin/cupsd (Apple's install path) and was unaltered.
Do a:
ls -l /usr/sbin/cupsd
to see when this file was written. Does this coincide with the date you installed CUPS 1.3?
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
From the CUPS VersionTracker page ( CUPS 1.3.0 - Mac OS X - VersionTracker)
We are no longer providing binaries for Mac OS X since CUPS 1.3.x is not fully compatible with Mac OS X 10.4.x.You can compile and install CUPS 1.3.x from source, however most of the GUI administration tools provided in Mac OS X will no longer work."
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2007
Location: Stuttgart
Status:
Offline
|
|
Ahhh! Sh...
I didn't see that. So when i do a downgrade everything should be fine or not?
cupsd is installed in /usr/sbin/
EDIT:
When call cupsd from the terminal, it doesn't matter if i do sudo or not, i get the following
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status:
Offline
|
|
I installed CUPS 1.3 and have since downgraded back to Apple's latest release. My printing is now fine with the exception that CUPS will not start at login. I have to manually start the CUPS daemon every time I am forced to reboot. My plan is to live with it until Leopard is released.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2007
Location: Stuttgart
Status:
Offline
|
|
Hi
Really? That would be great...erm...it would be better than now 
Could you please tell me how you exactly downgraded? :!
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|