[syslog-ng] Solaris-9 Syslog-ng

Rory Savage rsavage at nuvox.net
Wed Jul 25 23:38:13 CEST 2007


I just installed syslog-ng on a Solaris 9 (SPARC) server.   It will  
not log anything to the console nor to /var/adm/messages.   Does  
anyone have any idea of what I am doing wrong?

No existing syslog processes are running, I killed them and stopped  
them from start on reboot.    I can not reboot this server now, it is  
something that has to remain up and running.

The service is running:

# ps -ef|grep syslog-ng
     root 29422 29002  0 17:33:14 pts/3    0:00 grep syslog-ng
     root 29364     1  0 17:27:44 ?        0:00 /usr/local/sbin/ 
syslog-ng -f /etc/syslog-ng/syslog-ng.conf -p /etc/syslog-ng/sy

My /var/run/syslog_door file exists:

# ls -la /var/run/syslog_door
Drw-r--r--   1 root     other          0 Jul 25 16:49 /var/run/ 
syslog_door

The contents of my syslog-ng.conf file:

# syslog-ng configuration file.
# See syslog-ng(8) and syslog-ng.conf(5) for more information.
#
# 20070727 rsavage at nuvox.net

options { sync (1);
           time_reopen (10);
           log_msg_size(8192);
           log_fifo_size(2048);
           long_hostnames (off);
           use_dns (no);
           use_fqdn (no);
           create_dirs (no);
           keep_hostname (yes);
           stats(3600);
           mark_freq(1);
         };

source s_sys { internal(); sun-streams ("/dev/log" door("/var/run/ 
syslog_door")); };

destination d_cons { file("/dev/console"); };
destination d_mesg { file("/var/adm/messages"); };
destination d_mail { file("/var/log/syslog"); };
destination d_auth { file("/var/log/authlog"); };
destination d_mlop { usertty("operator"); };
destination d_mlrt { usertty("root"); };
destination d_mlal { usertty("*"); };

filter f_filter1   { level(err) or
                      (level(notice) and facility (auth, kern)); };
filter f_filter2   { level(err) or
                      (facility(kern) and level(notice)) or
                      (facility(daemon) and level(notice)) or
                      (facility(mail) and level(crit)); };
filter f_filter3   { level(alert) or
                      (facility(kern) and level(err)) or
                      (facility(daemon) and level(err)); };
filter f_filter4   { level(alert); };
filter f_filter5   { level(emerg); };
filter f_filter6   { facility(kern) and level(notice); };
filter f_filter7   { facility(mail) and level(debug); };
filter f_filter8   { facility(user) and level(err); };
filter f_filter9   { facility(user) and level(alert); };

log { source(s_sys); filter(f_filter1); destination(d_cons); };
log { source(s_sys); filter(f_filter2); destination(d_mesg); };
log { source(s_sys); filter(f_filter3); destination(d_mlop); };
log { source(s_sys); filter(f_filter4); destination(d_mlrt); };
log { source(s_sys); filter(f_filter5); destination(d_mlal); };
log { source(s_sys); filter(f_filter6); destination(d_auth); };
log { source(s_sys); filter(f_filter7); destination(d_mail); };
log { source(s_sys); filter(f_filter8); destination(d_cons);
                                         destination(d_mesg); };
log { source(s_sys); filter(f_filter9); destination(d_mlop);
                                         destination(d_mlrt); };



--
Rory Savage, Systems Administrator
Nuvox Communications, Server Operations
A Data, Voice, and Solutions Provider
Email: rsavage at nuvox.net



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070725/1628946d/attachment-0001.htm 


More information about the syslog-ng mailing list