Argus 3.0 dies in daemon mode
grinnell at american.edu
Thu Sep 4 00:06:47 EDT 2008
It does seem to be a PID permissions issue. Commenting out the
ARGUS_SETUSER_ID and ARGUS_SETGROUP_ID fixes the issue. Commenting
out the freopen calls yields:
ArgusError: argus: 03 Sep 08 23:43:31.530640 daemon cannot
create pid file
The default PID file location is /var/run, which is chmod 755 and
Does it try to create the PID file before set_uid or after?
On Sep 3, 2008, at 7:31 PM, Tomoyuki Sakurai wrote:
> On Wed, Sep 03, 2008 at 05:05:46PM -0400, Carter Bullard wrote:
>> Hey Michael,
>> If you feel adventurous, comment out the two "freopen()" calls in
>> recompile, and then see what kind of messages you get. If you're not
>> that adventurous, take out the GENERATE_PID directive in the
>> file. You maybe getting a "Can't create PID directory/file" like
>> error message.
> I also experienced the same problem before. When argus runs as non-
> user, it cannnot create pid file. Very likely if you run argus using
> startup script like one provided by OS (I don't know much about
> Argus should log something like "cannot open file: $!"
> Tomoyuki Sakurai
More information about the argus