.. beginner question src Sol 7 (intel)
hello after trying to get a usefull logging with the standart solaris syslog i removed that damn program and install the newest version of syslog-ng. i compiled it (straight) using gcc and took a basic configuration and changed it. but i ran into one trouble.... my syslog-ng deamon runs fine and when i send a -HUP to it i get a nice message that syslog-ng initiolized a new configuration. but i can´t get it to log system messages. i used: source src { unix-stream("/dev/log"); internal(); }; and source src { unix-stream("/etc/.syslog_door"); internal(); }; i tested both configurations with # logger -t auth.debug "bla" .. but never got a response into my logfile. system is a solaris 7 intel machine. filter and log for auth.* should be up and running .... does anybody know what i did wrong ? ciao and thx werner
initiolized a new configuration. but i can´t get it to log system messages. i used:
source src { unix-stream("/dev/log"); internal(); }; and source src { unix-stream("/etc/.syslog_door"); internal(); };
i tested both configurations with # logger -t auth.debug "bla" .. but never got a response into my logfile.
Solaris uses STREAMS instead of AF_UNIX sockets to deliver log messages. Support for this is not perfect yet, though you may give it a try. You should use this source statement: source src { sun-streams("/dev/log" door("/etc/.syslog_door")); }; As it seems from the previous posts, Solaris support is broken right now, but I plan to release 1.1.30 RSN, and it will contain a few fixes. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1 url: http://www.balabit.hu/pgpkey.txt
participants (2)
-
Balazs Scheidler
-
Werner Dundler