in reply to Proc::PID::File problem generating pid files, or: does it matter where a pid file lives?

Have you tried putting the pid file in /tmp ? That's a more typical location for processes that don't run with root privileges, because there's no permission problems there (every user can write to /tmp, whereas write access to /var/run/ is more likely to be restricted).
  • Comment on Re: Proc::PID::File problem generating pid files, or: does it matter where a pid file lives?