LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   CUPS Help (https://www.linuxquestions.org/questions/linux-networking-3/cups-help-424491/)

carlosinfl 03-13-2006 02:48 PM

CUPS Help
 
OK - I think CUPS is installed but either it's not enabled or something is wrong.

1 - How can I verify if CUPS is installed and if so, working?
2 - How do I start and stop the service?

Code:

workstation:/# whereis cups
cups: /etc/cups
workstation:/# /etc/init.d/cups start
bash: /etc/init.d/cups: No such file or directory

I am using Debian "Etch".

ARC1450 03-13-2006 04:12 PM

Look for cupsd.

And if you're using debian, try something like "/etc/init.d/cupsd start" I believe.

carlosinfl 03-13-2006 04:30 PM

Code:

workstation:/home/carlos# /etc/init.d/cupsd start
bash: /etc/init.d/cupsd: No such file or directory

There is nothing under init.d that shows "cups*".

I do find this...

Code:

workstation:/home/carlos# whereis cups
cups: /etc/cups


jomen 03-13-2006 05:26 PM

As root - try:
which cupsd
if this is not there than the file in /etc is just there from a previous cups-install and did not get removed.
Can't you check with dselect or apt if it is indeed installed?
Or install it again?

carlosinfl 03-14-2006 02:13 PM

Quote:

Originally Posted by jomen
As root - try:
which cupsd
if this is not there than the file in /etc is just there from a previous cups-install and did not get removed.
Can't you check with dselect or apt if it is indeed installed?
Or install it again?

Code:

carlos@workstation:~$ su -
Password:
workstation:~# which cupsd
workstation:~#

Nothing shows up with the appove command. Now what I don't understand is why I can't determine on my system if a simple software app is installed or not.

I need to map a network printer which wont work unless I have cups running.

I tried searching for it with APT-GET and found this...but I don't know if this is what I need or something else.

Code:

cupsys - Common UNIX Printing System(tm) - server

jomen 03-14-2006 04:52 PM

Quote:

Now what I don't understand is why I can't determine on my system if a simple software app is installed or not.
because you don't seem to know how this is done... ;)
Code:

workstation:~# which cupsd
If this returns nothing then it is probably not installed. I say probably, because that is the name the program has on my machine - it might be different on yours (but this is not likely so).
When I was using Debian - years ago... - I was always using the tool "dselect" to install software.
It is a text-mode interface to the package management system and lets you see which packages are installed and which are not.
It also shows you descriptions of each package and installs packages which the one you want to install depends on. I found dselect to be the most sophisticated tool...later came apt and different frontends.
I'm not familiar with Debian anymore, but I'm sure they have very good documentation on what tools they provide to install and maintain the software on your machine.


All times are GMT -5. The time now is 01:21 AM.