Click to See Complete Forum and Search --> : Cups setup problem - not loading properly at boot.


fatshady
09-22-2003, 05:40 PM
I have installed cupsd and foomatic, but when the cups server tries to sart in boot up i get the following message...

child exited with status 1

I cannot restart or stop the server using /etc/init.d/cupsd restart/stop, and when i ask it to start it tells me that it is already started.

Can anyone help me out? I don't unbderstand what the rror is..

Cheers

F

hard candy
09-22-2003, 10:26 PM
This is an error 99, maybe it has something in it to help
cupsd problem (http://forums.gentoo.org/viewtopic.php?t=73432&highlight=cupsd+child+exited)

fatshady
09-23-2003, 02:18 AM
hmm - i tried this but no joy. I have a slightly different problem, that if i start it from the command line i get the same error.

Cheers for the suggestion, but any others?

fatshady
09-23-2003, 03:26 AM
Problem solved - its because it is not being started as root apparently. It is not being started as root, but things like eth0 are being started in the same run level, and they're working, and they are starting in the same run level.

Which run level will I need to start it as root?

<edit> I have also looked at all the processes running on the machine, and cupsd does not appear anywhere, yet when i try and start it, it tells me there is already one version running. I used ps-ax
but it isn't listed. I think if i can solved this one, then I can solve the other bits of the problem providing I can work out which run level to put it in..</edit>

fatshady
09-23-2003, 03:40 PM
Hmm - this is nice a thread of me talking to me...

I have solved my problem, and if anyone has a similar problemwthe thing to do is remove cups. I did this using emerge -C on gentoo, but it left the config files behind, so i also deleted my *.ppd in /etc/cups/ppd/ and that solved that problem.

I then re-installed according to the instruction manual on the gentoo site, and hey presto I have a printer and print server - yay!!!