Hello All, Running Solaris 9. I installed syslog-ng. I kill solaris syslogd and then start syslog-ng. I get nothing. I even tried "syslog-ng -d -d" It says it started, nothing else. I use logger to test, nothing. Any suggestions? Some details: I've installed syslog-ng from sunfreeware.com packages: libol-0.3.13-sol9-sparc-local.gz syslogng-1.6.4-sol9-sparc-local.gz /etc/syslog-ng/syslog-ng.conf: # # Syslog-ng example configuration file for Solaris # # Copyright (c) 1999 Balazs Scheidler # $Id: syslog-ng.conf.solaris,v 1.2 1999/11/15 12:30:41 bazsi Exp $ # # Solaris 2.5.1 and below uses the STREAMS driver, above extends it # with doors. For 2.5.1 remove the door() option from the source declaration. # source local { sun-streams("/dev/log" door("/etc/.syslog_door")); internal(); }; #destination all { file("/var/log/messages"); }; destination all { file("/var/log/syslog"); }; log { source(local); destination(all); }; Thanks in advance, odk -- Oscar D. Knight knightod at appstate dot edu Voice: 828-262-6946 Appalachian State University, Boone, NC 28608 FAX: 828-262-2236
2004-05-26, sze keltezéssel 22:58-kor Oscar Knight ezt írta:
Hello All,
Running Solaris 9. I installed syslog-ng. I kill solaris syslogd and then start syslog-ng. I get nothing. I even tried "syslog-ng -d -d" It says it started, nothing else.
The door name was changed in Solaris 9 from /etc/.syslog_door to /var/run/syslog_door (or .syslog_door, I can't remember exactly) Nevermind, I've checked it for you, it is really called /var/run/syslog_door, so you need to change your configuration to this line: source local { sun-streams("/dev/log" door("/var/run/syslog_door")); internal(); }; -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
Thanks Bazsi, That was part of the problem. However, I made that change but still no joy. The trick was realizing that the config was by def in /usr/local/etc/syslog-ng and not in /etc/syslog-ng. It's how they compile the packages at sunfreeware.com. THANKS for the help. It would not have worked without the change in the location of the door file. Great program. Thanks for all your efforts! Good day! odk
2004-05-26, sze keltez�ssel 22:58-kor Oscar Knight ezt �rta:
Hello All,
Running Solaris 9. I installed syslog-ng. I kill solaris syslogd and then start syslog-ng. I get nothing. I even tried "syslog-ng -d -d" It says it started, nothing else.
The door name was changed in Solaris 9 from /etc/.syslog_door to /var/run/syslog_door (or .syslog_door, I can't remember exactly)
Nevermind, I've checked it for you, it is really called /var/run/syslog_door, so you need to change your configuration to this line:
source local { sun-streams("/dev/log" door("/var/run/syslog_door")); internal(); };
-- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
-- Oscar D. Knight knightod at appstate dot edu Voice: 828-262-6946 Appalachian State University, Boone, NC 28608 FAX: 828-262-2236
participants (2)
-
Balazs Scheidler
-
Oscar Knight