With stepping through the code here is where it fails in the logdog.pl

$SIG{'ALRM'} = sub { quit("ERROR => Timeout while opening FIFO [$ +conf{'fifo'}]. Possible solution: configure syslogd to log to this F +IFO and restart syslogd.", 1); };

Below is the entire function for opening the FIFO

###################################################################### +######################### ## FUNCTION: ## openFIFO ( $filename ) ## ## ## DESCRIPTION: ## Opens the fifo $filename for reading and attaches it to the fileh +andle "FIFO". Returns 0 on success ## and non-zero on failure. Error codes are listed below, and the e +rror message gets set in ## global variable $!. ## ## ## Example: ## openFIFO ("/var/log/fifo.rdp_monitorLogwatch"); ## ###################################################################### +######################### sub openFIFO { ## Get the incoming filename my $filename = $_[0]; ## Make sure our fifo exists, and if the fifo doesn't exist then c +reate it if ( ! -p $filename ) { quit("ERROR => FIFO does not exist or is not a FIFO at [$conf{ +'fifo'}]\nDid you forget to create it and configure syslogd to log to + it?\n", 1); } ## Open the FIFO socket we're supposed to listen to and attach it +to a filehandle $SIG{'ALRM'} = sub { quit("ERROR => Timeout while opening FIFO [$ +conf{'fifo'}]. Possible solution: configure syslogd to log to this F +IFO and restart syslogd.", 1); }; alarm(10); open (FIFO,"< $filename") or return(1); alarm(0); ## Return success return(0); }

In reply to Re^3: LOGDOG FIFO Issue by vhaphisasset
in thread LOGDOG FIFO Issue by vhaphisasset

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.