Notes |
|
(0006649)
|
maciej
|
2009-08-30 11:01
|
|
To remove the broken package:
sudo rm /var/sadm/pkg/CSWsyslogng/install/postremove
sudo touch /etc/opt/csw/syslog-ng.conf.CSW
sudo pkgrm CSWsyslogng
sudo rm /etc/opt/csw/syslog-ng.conf.CSW
The updated packages are in testing. |
|
|
(0006651)
|
tim
|
2009-08-31 11:24
|
|
I've tried the new package and unfortunately I encountered some problems, although different ones.
The first is this error:
bash-2.05# /etc/init.d/cswsyslog_ng start
syslog-ng service starting.
ld.so.1: syslog-ng: fatal: relocation error: file /opt/csw/sbin/syslog-ng: symbol g_option_context_new: referenced symbol not found
Killed
My default LD_LIBRARY_PATH is /usr/lib:/usr/server/X11/lib:/usr/openwin/lib:/usr/sfw/lib:/usr/local/lib. I got it work work by doing LD_LIBRARY_PATH='' /etc/init.d/cswsyslog_ng start but even then it still didn't work as it had started 2 syslog_ng processes:
bash-2.05# ps -ef | grep syslo
root 1513 1 0 11:05:36 ? 0:00 /opt/csw/sbin/syslog-ng -f /etc/opt/csw/syslog-ng.conf -p /var/run/syslog-ng.pi
root 1514 1513 0 11:05:36 ? 0:00 /opt/csw/sbin/syslog-ng -f /etc/opt/csw/syslog-ng.conf -p /var/run/syslog-ng.pi
(killing one didn't get it to work either) |
|
|
(0006652)
|
maciej
|
2009-08-31 13:52
|
|
With your LD_LIBRARY_PATH you're on your own[1], I'm afraid. I'd suggest you do a local modification of your own to make syslog_ng run.
About the two processes, I'm seeing the them on Solaris 8 as well. My suspicion is that there's something going wrong when syslog attempts to daemonize itself. I'm thinking whether it would make sense to try syslog-ng-2.x instead of 3.x. Did 2.x version work for you on Solaris 8?
[1] http://www.opencsw.org/userguide/#using [^] |
|
|
(0006653)
|
tim
|
2009-08-31 16:50
|
|
Yes I've already reverted to 2.x. BTW it's actually a Solaris 9 machine, sparc processor.
I'd might still be able to test packages though if you think you have a fix |
|
|
(0006736)
|
maciej
|
2009-09-21 00:47
|
|
I believe this is fixed, the updated package has been released into current and is available from mirrors. Tim, can you check please if it's working for you?
Maciej |
|
|
(0006761)
|
maciej
|
2009-09-27 15:26
|
|
Tim, can you check please if it's working for you? |
|
|
(0006826)
|
maciej
|
2009-10-11 09:24
|
|
This issue has been fixed (in 3.0.4,REV=2009.08.30) and released. Closing this issue. |
|