Author Topic: CUPS/cupsd?  (Read 4545 times)

0 Members and 1 Guest are viewing this topic.

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
CUPS/cupsd?
« on: April 14, 2006, 10:22:52 pm »
Quote
spencer@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?

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: CUPS/cupsd?
« Reply #1 on: April 14, 2006, 10:41:39 pm »
Try # locate -u && locate cups

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: CUPS/cupsd?
« Reply #2 on: April 14, 2006, 10:59:27 pm »
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?

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: CUPS/cupsd?
« Reply #3 on: April 14, 2006, 11:27:53 pm »
You installed the package when you set up slackware, right?

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: CUPS/cupsd?
« Reply #4 on: April 14, 2006, 11:44:14 pm »
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

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: CUPS/cupsd?
« Reply #5 on: April 15, 2006, 12:03:44 am »
I know it's one of the options you can enable when Slackware lists a bunch of different servres you can install.

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: CUPS/cupsd?
« Reply #6 on: April 15, 2006, 06:46:03 am »
I did the install, but still no startup module?  Hrm.

Quote
root@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

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: CUPS/cupsd?
« Reply #7 on: April 15, 2006, 01:03:19 pm »
I did the install, but still no startup module?  Hrm.

Quote
root@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.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: CUPS/cupsd?
« Reply #8 on: April 15, 2006, 01:26:18 pm »
I did the install, but still no startup module?  Hrm.

Quote
root@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...

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: CUPS/cupsd?
« Reply #9 on: April 15, 2006, 01:50:07 pm »
The file is /etc/rc.d/rc.local

That's what I said. o_o

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: CUPS/cupsd?
« Reply #10 on: April 15, 2006, 02:02:08 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

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: CUPS/cupsd?
« Reply #11 on: April 15, 2006, 03:24:08 pm »
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.