Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Looks like Pat beat me to it; the latest cups in slack-current source is
1.2.11 ...
So all you need to do is:
(I'm using the mirror closest to me)
Code:
wget -r -m -np -nH --cut-dirs=3 http://mirror.pacific.net.au/linux/slackware/slackware-current/source/a/cups/
cd source/a/cups/
su
sh cups.SlackBuild
installpkg /tmp/cups-1.2.11-i486-1.tgz
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320
Original Poster
Rep:
update
Hi Tinkster
Well, I am sorry to say-that cups has stopped working???!!!! After following your directions everything seemed OK, but I was left with two cups versions installed. I used packet manager to remove the older version. I tried to start cups afterwards and everything seemed OK. I was just about to start the next stage of installing my printer - when cups would not start!!! Did I remove some connection between the two versions when I removed the old one? Should I have done something different?
Sorry to be a pain, but this is getting the better of me!!
The removal (done with removepkg) should "know" that there are
two versions installed, and not remove stuff that could belong
to the newer version, or that has been modified. So you should
be safe with what you did.
Are you getting any error messages back from
/etc/rc.d/rc.cups start
?
To find out why cups isn't starting any more have a look at its
logfile in /var/log/ ... Lines beginning with E or e indicate
an error. Try
egrep "^[eE]" /var/log/cups/error_log
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320
Original Poster
Rep:
Hi Tinkster
Didn't expect you to reply so quick. Well, I ran /etc/rc.d/rc.cups start The only thing that came up was cups: started scheduler. When I checked the /var/log/cups I found that the error file had this to offer as a way of explanation:
I [30/May/2007:11:28:52 +0200] Listening to 0:631
I [30/May/2007:11:28:52 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [30/May/2007:11:28:52 +0200] Configured for up to 100 clients.
I [30/May/2007:11:28:52 +0200] Allowing up to 100 client connections per host.
I [30/May/2007:11:28:52 +0200] Full reload is required.
I [30/May/2007:11:28:53 +0200] LoadPPDs: Wrote "/etc/cups/ppds.dat", 671 PPDs...
I [30/May/2007:11:28:53 +0200] Full reload complete.
I [30/May/2007:11:37:01 +0200] Scheduler shutting down normally.
I [30/May/2007:11:39:57 +0200] Listening to 0:631
I [30/May/2007:11:39:57 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [30/May/2007:11:39:57 +0200] Configured for up to 100 clients.
I [30/May/2007:11:39:57 +0200] Allowing up to 100 client connections per host.
I [30/May/2007:11:39:57 +0200] Full reload is required.
I [30/May/2007:11:39:57 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 671 PPDs...
I [30/May/2007:11:39:57 +0200] LoadPPDs: No new or changed PPDs...
I [30/May/2007:11:39:57 +0200] Full reload complete.
I [30/May/2007:12:24:48 +0200] Scheduler shutting down normally.
I [30/May/2007:12:25:45 +0200] Listening to 0:631
I [30/May/2007:12:25:45 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [30/May/2007:12:25:45 +0200] Configured for up to 100 clients.
I [30/May/2007:12:25:45 +0200] Allowing up to 100 client connections per host.
I [30/May/2007:12:25:45 +0200] Full reload is required.
I [30/May/2007:12:25:45 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 671 PPDs...
I [30/May/2007:12:25:45 +0200] LoadPPDs: No new or changed PPDs...
I [30/May/2007:12:25:45 +0200] Full reload complete.
I [30/May/2007:13:03:54 +0200] Scheduler shutting down normally.
I [30/May/2007:13:04:53 +0200] Listening to 0:631
I [30/May/2007:13:04:53 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [30/May/2007:13:04:53 +0200] Configured for up to 100 clients.
I [30/May/2007:13:04:53 +0200] Allowing up to 100 client connections per host.
I [30/May/2007:13:04:53 +0200] Full reload is required.
I [30/May/2007:13:04:53 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 671 PPDs...
I [30/May/2007:13:04:53 +0200] LoadPPDs: No new or changed PPDs...
I [30/May/2007:13:04:53 +0200] Full reload complete.
I [30/May/2007:16:26:08 +0200] Scheduler shutting down normally.
I [30/May/2007:16:28:40 +0200] Listening to :::631 (IPv6)
I [30/May/2007:16:28:41 +0200] Listening to 0.0.0.0:631 (IPv4)
W [30/May/2007:16:28:41 +0200] "AuthClass System" is deprecated; consider using "Require @SYSTEM" on line 833.
I [30/May/2007:16:28:41 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [30/May/2007:16:28:41 +0200] Using default TempDir of /var/spool/cups/tmp...
I [30/May/2007:16:28:41 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [30/May/2007:16:28:41 +0200] Configured for up to 100 clients.
I [30/May/2007:16:28:41 +0200] Allowing up to 100 client connections per host.
I [30/May/2007:16:28:41 +0200] Creating CUPS default administrative policy:
I [30/May/2007:16:28:41 +0200] <Policy default>
I [30/May/2007:16:28:41 +0200] <Limit Send-Document Send-URI Cancel-Job 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 CUPS-Authenticate-Job>
I [30/May/2007:16:28:41 +0200] Order Deny,Allow
I [30/May/2007:16:28:41 +0200] Require user @OWNER @SYSTEM
I [30/May/2007:16:28:41 +0200] </Limit>
I [30/May/2007:16:28:41 +0200] <Limit Pause-Printer Resume-Printer Set-Printer-Attributes 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-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
I [30/May/2007:16:28:41 +0200] Order Deny,Allow
I [30/May/2007:16:28:41 +0200] AuthType Basic
I [30/May/2007:16:28:41 +0200] Require user @SYSTEM
I [30/May/2007:16:28:41 +0200] </Limit>
I [30/May/2007:16:28:41 +0200] <Limit All>
I [30/May/2007:16:28:41 +0200] Order Deny,Allow
I [30/May/2007:16:28:41 +0200] </Limit>
I [30/May/2007:16:28:41 +0200] </Policy>
I [30/May/2007:16:28:41 +0200] Full reload is required.
I [30/May/2007:16:28:41 +0200] Loaded MIME database from '/etc/cups': 28 types, 37 filters...
I [30/May/2007:16:28:41 +0200] Full reload complete.
I [30/May/2007:16:28:41 +0200] Listening to :::631 on fd 0...
I [30/May/2007:16:28:41 +0200] Listening to 0.0.0.0:631 on fd 2...
E [30/May/2007:16:28:41 +0200] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
I hope that helps you. When I installed cups I had a warning come up "mv: cannot stat 'etc/dbus-1/system.d/cups.conf.new'
When I removed the old version a warning came up "warning unique directory /etc/cups/certs/contains new files"
I did it wrong again mum.
Well, as you can see I have had a mental break down. I used your commands as written above apart from su because I was already working as root.
It should have the same results as the compilation of the source
tarball including build scripts. But mine isn't swearing about
d-bus which makes me think that maybe you still have the 'current'
binary installed. And I definitely haven't got d-bus on my box.
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320
Original Poster
Rep:
update
Well, I did a complete re-install of slackware 11 agaiiiiiiiiin!! Updated to 2.6.17.13 from cd 2 no problems. Used your package cups and pkgupgrade this time. Almost the same problem. Cups will not work!!!!! The error log is almost the same, so I don't know what to do???
I [01/Jun/2007:11:57:37 +0200] Listening to :::631 (IPv6)
I [01/Jun/2007:11:57:37 +0200] Listening to 0.0.0.0:631 (IPv4)
W [01/Jun/2007:11:57:37 +0200] "AuthClass System" is deprecated; consider using "Require @SYSTEM" on line 833.
I [01/Jun/2007:11:57:37 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [01/Jun/2007:11:57:37 +0200] Using default TempDir of /var/spool/cups/tmp...
I [01/Jun/2007:11:57:37 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [01/Jun/2007:11:57:37 +0200] Configured for up to 100 clients.
I [01/Jun/2007:11:57:37 +0200] Allowing up to 100 client connections per host.
I [01/Jun/2007:11:57:37 +0200] Creating CUPS default administrative policy:
I [01/Jun/2007:11:57:37 +0200] <Policy default>
I [01/Jun/2007:11:57:37 +0200] <Limit Send-Document Send-URI Cancel-Job 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 CUPS-Authenticate-Job>
I [01/Jun/2007:11:57:37 +0200] Order Deny,Allow
I [01/Jun/2007:11:57:37 +0200] Require user @OWNER @SYSTEM
I [01/Jun/2007:11:57:37 +0200] </Limit>
I [01/Jun/2007:11:57:37 +0200] <Limit Pause-Printer Resume-Printer Set-Printer-Attributes 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-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
I [01/Jun/2007:11:57:37 +0200] Order Deny,Allow
I [01/Jun/2007:11:57:37 +0200] AuthType Basic
I [01/Jun/2007:11:57:37 +0200] Require user @SYSTEM
I [01/Jun/2007:11:57:37 +0200] </Limit>
I [01/Jun/2007:11:57:37 +0200] <Limit All>
I [01/Jun/2007:11:57:37 +0200] Order Deny,Allow
I [01/Jun/2007:11:57:37 +0200] </Limit>
I [01/Jun/2007:11:57:37 +0200] </Policy>
I [01/Jun/2007:11:57:37 +0200] Full reload is required.
I [01/Jun/2007:11:57:37 +0200] Loaded MIME database from '/etc/cups': 28 types, 37 filters...
I [01/Jun/2007:11:57:37 +0200] Full reload complete.
I [01/Jun/2007:11:57:37 +0200] Listening to :::631 on fd 0...
I [01/Jun/2007:11:57:37 +0200] Listening to 0.0.0.0:631 on fd 2...
E [01/Jun/2007:11:57:37 +0200] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
I [01/Jun/2007:12:04:01 +0200] Saving remote.cache...
I [01/Jun/2007:12:04:01 +0200] Listening to :::631 (IPv6)
I [01/Jun/2007:12:04:01 +0200] Listening to 0.0.0.0:631 (IPv4)
W [01/Jun/2007:12:04:01 +0200] "AuthClass System" is deprecated; consider using "Require @SYSTEM" on line 833.
I [01/Jun/2007:12:04:01 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [01/Jun/2007:12:04:01 +0200] Using default TempDir of /var/spool/cups/tmp...
I [01/Jun/2007:12:04:01 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [01/Jun/2007:12:04:01 +0200] Configured for up to 100 clients.
I [01/Jun/2007:12:04:01 +0200] Allowing up to 100 client connections per host.
I [01/Jun/2007:12:04:01 +0200] Creating CUPS default administrative policy:
I [01/Jun/2007:12:04:01 +0200] <Policy default>
I [01/Jun/2007:12:04:01 +0200] <Limit Send-Document Send-URI Cancel-Job 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 CUPS-Authenticate-Job>
I [01/Jun/2007:12:04:01 +0200] Order Deny,Allow
I [01/Jun/2007:12:04:01 +0200] Require user @OWNER @SYSTEM
I [01/Jun/2007:12:04:01 +0200] </Limit>
I [01/Jun/2007:12:04:01 +0200] <Limit Pause-Printer Resume-Printer Set-Printer-Attributes 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-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
I [01/Jun/2007:12:04:01 +0200] Order Deny,Allow
I [01/Jun/2007:12:04:01 +0200] AuthType Basic
I [01/Jun/2007:12:04:01 +0200] Require user @SYSTEM
I [01/Jun/2007:12:04:01 +0200] </Limit>
I [01/Jun/2007:12:04:01 +0200] <Limit All>
I [01/Jun/2007:12:04:01 +0200] Order Deny,Allow
I [01/Jun/2007:12:04:01 +0200] </Limit>
I [01/Jun/2007:12:04:01 +0200] </Policy>
I [01/Jun/2007:12:04:01 +0200] Full reload is required.
I [01/Jun/2007:12:04:01 +0200] Saving job cache file "/var/cache/cups/job.cache"...
I [01/Jun/2007:12:04:01 +0200] Loaded MIME database from '/etc/cups': 28 types, 37 filters...
I [01/Jun/2007:12:04:01 +0200] Loading job cache file "/var/cache/cups/job.cache"...
I [01/Jun/2007:12:04:01 +0200] Full reload complete.
I [01/Jun/2007:12:04:01 +0200] Listening to :::631 on fd 0...
I [01/Jun/2007:12:04:01 +0200] Listening to 0.0.0.0:631 on fd 2...
I have no idea what to do? Why wont it work?
I have a tremendous amount of patience, but this is taking the ****. I think that it would be better to return to windows. I just don't understand linux.
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320
Original Poster
Rep:
Hi Tinkster, I am still here. I have some more info for you that I don't understand, but maybe it will shed some light on the subject. I have done a reinstall of slackware 11. and upgraded to 2.6.17.13 all well and good. Cups is working at the moment with the standard install cups 1.1.23-i486-4, but when I opened the package handler to check the file list for cups there are many red crosses for files that apparently don't exist. The list is as follows:
etc/cups/classes.conf.new
etc/cups/client.conf.new
etc/cups/cupsd.conf.new
etc/cupsmime.convs.new
etc/cups/printers.conf.new
I have tried to open these files from the package handler, but as you can imagine it didn't go very well. the standard files for all of the above could be found without the .new when I opened etc. The strange thing to me is when I downloaded the original package and checked those above files all were there with .new and not without? I haven't yet attempted to upgrade cups - thinking that this info might help you.
OK, I have no idea what "package handler" is and know nothing
about its red crosses. Usually the tar-balls for packages that
need configuration come with a .new extension, and the doinst.sh
will rename those if there's no previously installed config file
present. So not finding them is perfectly normal if you didn't
upgrade.
As for the "error log" above: they're all informational messages,
not a single line begins with e or E, so everything is fine, and
CUPS is running ....
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320
Original Poster
Rep:
Hi Tinkster
Well, there was an error above --- just not in the same place. Look in the middle.
I [01/Jun/2007:11:57:37 +0200] Full reload complete.
I [01/Jun/2007:11:57:37 +0200] Listening to :::631 on fd 0...
I [01/Jun/2007:11:57:37 +0200] Listening to 0.0.0.0:631 on fd 2...
E [01/Jun/2007:11:57:37 +0200] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
I [01/Jun/2007:12:04:01 +0200] Saving remote.cache...
I [01/Jun/2007:12:04:01 +0200] Listening to :::631 (IPv6)
I [01/Jun/2007:12:04:01 +0200] Listening to 0.0.0.0:631 (IPv4)
W [01/Jun/2007:12:04:01 +0200] "AuthClass System" is deprecated; consider using "Require
I am just wondering how I should proceed with the upgrade? It is getting a bit tedious upgrading and getting problems afterwards?!!
I can't understand why I am having problems with a simple upgrade - unless it has something to do with the kernel upgrade?
Sorry, to be such a pain. This does not make sense!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.