News:

Holy shit, it's 2018 2019 2020 2021 2022 2023 2024, and the US isn't a fascist country! What a time to be alive. Well, shit.

Main Menu

CUPS/cupsd?

Started by rabbit, April 14, 2006, 10:22:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rabbit

Quotespencer@Paradise:~$ which cups
which: no cups in (/usr/local/bin:/usr/bin:/bin:/sbin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:.)
spencer@Paradise:~$ which cupsd
which: no cupsd in (/usr/local/bin:/usr/bin:/bin:/sbin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:.)
I need to have CUPS run at boot, but I can't even find it.  I did try going to slackware.com and getting the cups package and then installing it, but it didn't work.  Help?

Sidoh

Try # locate -u && locate cups

rabbit

It's all in /opt/kde.  Does that affect how it can be used?

[hrm]
I ran #/opt/kde/bin/cupsdconf and an error box came up that says:
"Unable to retrieve configuration file from the CUPS server.  You probably don't have access permissions to perform this operation".

Eh?

Sidoh

You installed the package when you set up slackware, right?

iago

The package may not be installed by default.  If it is, it'll be in /usr/sbin/cupsd. 

Once CUPS is installed, enable its startup file:
chmod +x /etc/rc.d/rc.cupsd

Sidoh

I know it's one of the options you can enable when Slackware lists a bunch of different servres you can install.

rabbit

I did the install, but still no startup module?  Hrm.

Quoteroot@Paradise:/home/spencer/downloads# installpkg cups-1.1.23-i486-1.tgz
Installing package cups-1.1.23-i486-1...
PACKAGE DESCRIPTION:
cups: CUPS (Common UNIX Printing System)
[...etc...]
Executing install script for cups-1.1.23-i486-1...

root@Paradise:/home/spencer/downloads# chmod +x /etc/rc.d/rc.cupsd
chmod: getting attributes of `/etc/rc.d/rc.cupsd': No such file or directory

Sidoh

Quote from: rabbit on April 15, 2006, 06:46:03 AM
I did the install, but still no startup module?  Hrm.

Quoteroot@Paradise:/home/spencer/downloads# installpkg cups-1.1.23-i486-1.tgz
Installing package cups-1.1.23-i486-1...
PACKAGE DESCRIPTION:
cups: CUPS (Common UNIX Printing System)
[...etc...]
Executing install script for cups-1.1.23-i486-1...

root@Paradise:/home/spencer/downloads# chmod +x /etc/rc.d/rc.cupsd
chmod: getting attributes of `/etc/rc.d/rc.cupsd': No such file or directory

I don't think you initially installed the package. :P

Anyway, find where it installed the binaries and add a line to /etc/rc.d/rc.local to execute it.

iago

Quote from: Sidoh on April 15, 2006, 01:03:19 PM
Quote from: rabbit on April 15, 2006, 06:46:03 AM
I did the install, but still no startup module?  Hrm.

Quoteroot@Paradise:/home/spencer/downloads# installpkg cups-1.1.23-i486-1.tgz
Installing package cups-1.1.23-i486-1...
PACKAGE DESCRIPTION:
cups: CUPS (Common UNIX Printing System)
[...etc...]
Executing install script for cups-1.1.23-i486-1...

root@Paradise:/home/spencer/downloads# chmod +x /etc/rc.d/rc.cupsd
chmod: getting attributes of `/etc/rc.d/rc.cupsd': No such file or directory

I don't think you initially installed the package. :P

Anyway, find where it installed the binaries and add a line to /etc/rc.d/rc.local to execute it.

The file is /etc/rc.d/rc.local
And the path should be /usr/sbin/cupsd

So "echo '/usr/sbin/cupsd' >> /etc/rc.d/rc.local'" should fix everything,  But that shouldn't be necessary. 

Do a "tar -tvvzf" on the package.  See if it has a /etc file.  It should...

Sidoh

Quote from: iago on April 15, 2006, 01:26:18 PM
The file is /etc/rc.d/rc.local

That's what I said. o_o

iago

Quote from: Sidoh on April 15, 2006, 01:50:07 PM
Quote from: iago on April 15, 2006, 01:26:18 PM
The file is /etc/rc.d/rc.local

That's what I said. o_o

Sorry, I read it fast and saw "find the ... rc.local" :P

rabbit

CUPS loads! Yay!

Okay, not I aparently need cupsomatic, but I can't find it.

I'm given http://www.linuxprinting.org/cupsomatic, but it's 404.