in reply to Re: Perl daemon exiting without warning
in thread Perl daemon exiting without warning

There is permission for writing the file temp.txt. i debugged the daemon, it is exiting after the " open STDIN, '/dev/null' " statement.
  • Comment on Re^2: Perl daemon exiting without warning

Replies are listed 'Best First'.
Re^3: Perl daemon exiting without warning
by ikegami (Patriarch) on Feb 11, 2011 at 17:30 UTC

    If you're saying it's exiting immediately after that open, I don't believe you. Did you perhaps trace the code by printing to STDOUT?

    I find it very unlikely that you have permission to create and write to /temp.txt (and that you intended to do so). Are you running as root?