On Thu, 29 Aug 2002 10:59:38 +0300, "Christos Charalampous" <[EMAIL PROTECTED]> said: > > I am using mon in a Solaris 2.8 box. Mon uses /dev/console for logging > even if the syslog is running with specific entry:
The most likely cause is that your syslogd doesn't listen for UDP packets. Try this test program: #!/usr/bin/perl -w use strict; use Sys::Syslog qw(:DEFAULT setlogsock); if ($^O eq 'linux' || $^O eq 'openbsd') { setlogsock 'unix' or die "can't setlogsock: $!\n";; } openlog 'syslog-test', 'cons,pid', 'daemon' or die "can't talk to syslogd: $!\n"; syslog 'info', 'hi mom' or die "error writing to syslogd: $!\n"; If you get "hi mom" on the console instead of in /var/log/daemon.info try adding your OS to the setlogsock test. If this is the case you can either patch mon the same way, or tell your syslogd to listen for UDP packets. -- Roderick Schertler [EMAIL PROTECTED] _______________________________________________ Mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon