[csw-users] problem with cups 1.2.7
Markus Mayer
mmayer at blastwave.org
Thu Jun 7 19:12:22 CEST 2007
Hi Gérard,
>another problem:
>caiman-root% svcadm enable cswcups
>caiman-root% ps -ef | grep cups
> root 8776 5362 0 17:26:46 pts/31 0:00 grep cups
>caiman-root%
>
>cups doesn't launch!
>but svcs thinks it is ok?!
>caiman-root% svcs -l cswcups
>fmri svc:/application/print/cswcups:default
>enabled true
>state online
>next_state disabled
>state_time Wed Jun 06 17:26:31 2007
>logfile /var/svc/log/application-print-cswcups:default.log
What are you seeing in the CUPS log file in /var/svc/log? Any error
messages there?
>
>caiman-root% tail /var/svc/log/application-print-cswcups:default.log
>[ Jun 6 15:47:07 Executing stop method
>("/opt/csw/lib/svc/method/svc-cups stop") ]
>cups: stopped scheduler.
>[ Jun 6 15:47:07 Method "stop" exited with status 0 ]
>[ Jun 6 15:47:07 Executing start method
>("/opt/csw/lib/svc/method/svc-cups start") ]
>cups: started scheduler.
>[ Jun 6 15:47:07 Method "start" exited with status 0 ]
>[ Jun 6 17:26:31 Stopping because service disabled. ]
>[ Jun 6 17:26:31 Executing stop method
>("/opt/csw/lib/svc/method/svc-cups stop") ]
>cups: stopped scheduler.
>[ Jun 6 17:26:31 Method "stop" exited with status 0 ]
If I am interpreting this correctly, then CUPS started successfully at
15:47. At 17:26 SMF noticed that it wasn't working anymore and called
the 'stop' method.
This leads me to the question: Does CUPS initially work when started by
svcadm and stop working later on or does it not come up in the first
place?
>And it i start manually the method:
>caiman-root% /opt/csw/lib/svc/method/svc-cups status
>cups: scheduler is not running.
>caiman-root% /opt/csw/lib/svc/method/svc-cups start
>cups: started scheduler.
>caiman-root% /opt/csw/lib/svc/method/svc-cups status
>cups: scheduler is running.
May I ask if CUPS is working after you start it manually? Does it keep
running or does it go away after a while?
Thanks,
-Markus
More information about the users
mailing list