You are not logged in.

#1 2012-03-04 22:39:05

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

[ Solved (?) ] CUPS error - service doesn't start

I've posted this here, because it is a print server problem.

I've installed cups as usual on a machine (Yes, as in the wiki).
The packages installed were: cups gsfonts ghostscript and hplip (for a HP printer ).

If I do /etc/rc.d/cupsd start ( or anything else ) to launch the cupsd service,
it tells me that cupsd has failed to start ( child exited with status 4 ).

Nothing in the logs.

Somebody has an idea, what could this mean?

Last edited by scar (2012-03-23 08:08:50)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#2 2012-03-05 05:46:24

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: [ Solved (?) ] CUPS error - service doesn't start

Start the daemon directly from shell, not the rc script, and watch for helpful debug output. Probably you misconfigured the cupsd.conf file.

Offline

#3 2012-03-05 11:42:02

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [ Solved (?) ] CUPS error - service doesn't start

As I said, same result. No debug information appears, and I haven't configured anything yet.
I just did the install and tried to start the daemon, by the rc script, from cli with cupsd.


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#4 2012-03-06 18:29:51

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [ Solved (?) ] CUPS error - service doesn't start

cupsd -t shows config file is O.K.

If I set LogLevel to debug, no errors are shown in the /var/log/cups/error_log file.


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#5 2012-03-07 15:36:04

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: [ Solved (?) ] CUPS error - service doesn't start

Try this:
# rm -fr /etc/cups /var/spool/cups && pacman -S --noconfirm cups && cupsd -f


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#6 2012-03-09 21:21:28

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [ Solved (?) ] CUPS error - service doesn't start

Well, I've checked a working cups install, and when I set LogLevel in cupsd.conf to debug, I get this ( normal ) messages:

...
I [09/Mar/2012:22:18:04 +0100] Full reload complete.
D [09/Mar/2012:22:18:04 +0100] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")
I [09/Mar/2012:22:18:04 +0100] Cleaning out old files in "/var/spool/cups/tmp"...
D [09/Mar/2012:22:18:04 +0100] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")
I [09/Mar/2012:22:18:04 +0100] Cleaning out old files in "/var/cache/cups"...

( this far I get them on the "failing" machine too)

but the below lines appear only on a working install, not on the machine that fails to start:

I [09/Mar/2012:22:18:04 +0100] Listening to 0.0.0.0:631 on fd 8...
I [09/Mar/2012:22:18:04 +0100] Listening to [v1.::]:631 on fd 9...
I [09/Mar/2012:22:18:04 +0100] Listening to /var/run/cups/cups.sock:631 on fd 10...


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#7 2012-03-23 08:08:07

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [ Solved (?) ] CUPS error - service doesn't start

I've tried to install ubuntu server, fedora, debian, and arch linux distros on the machine, SAME RESULT ALWAYS.

So, I've tried to dig further on the web, and I've found lots of hints like this:

"However, C3 processors [...] are regarded as i586 in Linux"

Incompatibility maybe?

I"ve posted this on the cups forums too.


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

Board footer

Powered by FluxBB