Welcome to the Monastery | |
PerlMonks |
Re: Sys::Syslog Hangsby andreychek (Parson) |
on Apr 06, 2002 at 05:54 UTC ( [id://157128]=note: print w/replies, xml ) | Need Help?? |
I was messing with this myself a little while ago, and had similar problems. It appears that in order for Sys::Syslog to function properly, the syslog daemon must actually be running with the -r flag set. From the syslogd manpage:
So, even if your Perl script is running on the same machine as the syslog daemon, you still need to use the -r flag. Beware, however, that running syslog with -r opens the door for security issues. Now, anyone can send messages to your syslog daemon. You may wish to use some sort of firewall rules to block incoming traffic to your syslog daemon from the outside world. Good luck! -Eric
In Section
Seekers of Perl Wisdom
|
|