Mantis - syslog_ng
Viewing Issue Advanced Details
4308 regular use minor always 2010-02-26 00:13 2010-03-03 19:44
diget SPARC  
maciej Solaris  
normal 10u8 (10/09)  
closed  
3.0.4,REV=2009.12.30 fixed  
none    
none  
0004308: syslog_ng fails with exit status 2 on shutdown/reboot
On rebooting a Solaris 10u8 (10/09) SPARC machine it complains about shutting down syslog-ng with the following message:

<timestamp> svc.startd[7]: svc:/network/cswsyslog_ng:default: Method "/var/opt/csw/svc/method/svc-cswsyslog_ng stop" failed with exit status 2.


With syslog_ng running and running the manifest file by hand, it appears that the pid file as gone via the kill -15 and therefore the rm ${PID_FILE} in the stop section complains. I think adding a "-f" to the rm would fix the problem.
Issue History
2010-02-26 00:13 diget New Issue
2010-02-26 00:25 maciej Note Added: 0007525
2010-02-26 00:25 maciej Assigned To => maciej
2010-02-26 00:25 maciej Status new => assigned
2010-02-27 14:12 maciej Note Added: 0007539
2010-02-27 14:12 maciej Note Added: 0007540
2010-02-27 14:12 maciej Status assigned => feedback
2010-03-01 18:13 diget Note Added: 0007557
2010-03-03 19:44 maciej Note Added: 0007588
2010-03-03 19:44 maciej Status feedback => closed
2010-03-03 19:44 maciej Resolution open => fixed

Notes
(0007525)
maciej   
2010-02-26 00:25   
Thanks for the report. I'll look into it.
(0007539)
maciej   
2010-02-27 14:12   
Please try the new syslog-ng packages from experimental:

http://mirror.opencsw.org/experimental.html#maciej [^]
(0007540)
maciej   
2010-02-27 14:12   
http://mirror.opencsw.org/experimental.html#maciej [^]
(0007557)
diget   
2010-03-01 18:13   
Upgraded to the 3.0.5 in the experimental area of maciej's.

No more error on disabling the service or rebooting. :) Fixed.
(0007588)
maciej   
2010-03-03 19:44   
Thanks for the feedback!