Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Sys::Syslog help

by Cat Herder (Initiate)
on Nov 25, 2012 at 00:08 UTC ( #1005439=perlquestion: print w/replies, xml ) Need Help??
Cat Herder has asked for the wisdom of the Perl Monks concerning the following question:


I am trying to send event messages from one server to another, but they are not going through.

Is there any way to have Sys::Syslog spit out an error as to why it is failing? This is obviously a system issue because I moved the script to another box, and it works fine


Cat Herder

Replies are listed 'Best First'.
Re: Sys::Syslog help
by Tommy (Chaplain) on Nov 25, 2012 at 04:02 UTC

    What you've described is a system issue... and you want Perl to point out what's wrong with the system, essentially. The problem with this is simply that the module doesn't appear to have been written to troubleshoot system configurations for syslog. It tests for certain conditions and failure scenarios and provides error messages for such (you can see that from the source code.) However this is limited to only the problems it can detect. Issues further upstream in your system configuration aren't even examined by this module.

    After having looked at the source code briefly myself, I don't see anything there which is going to help you troubleshoot your system setup.

    I feel your pain, and I'm sorry it's not working for you. Unfortunately I must say that I don't think approaching the problem with Sys::Syslog is the right way to troubleshoot the root cause. Best to work it out from the system level.

    Check your firewall rules on all machines, and vimdiff the config files. You'll figure it out, but not by using this module.

    $ perl -MMIME::Base64 -e 'print decode_base64 "YWNlQHRvbW15YnV0bGVyLm1lCg=="'

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1005439]
Approved by sundialsvc4
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2018-07-22 13:02 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (454 votes). Check out past polls.