Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   Shell execution generating error, posted by Steve Jones on Tue Sep 19 20:37:59 2006 
    icon2.gif   Re: Shell execution generating error, posted by Stefan Ritt on Fri Sep 22 07:42:57 2006 
       icon2.gif   Re: Shell execution generating error, posted by Steve Jones on Fri Sep 22 19:31:15 2006 
Message ID: 1946     Entry time: Fri Sep 22 07:42:57 2006     In reply to: 1944     Reply to this: 1953
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Bug report  OS: Other  ELOG Version: 2.6.2-1714 
Subject: Re: Shell execution generating error 

Steve Jones wrote:
When started as root *but not running as a daemon* shell execution results in the following errors that are sent to Standard Error:
Cannot restore original GID/UID.
Cannot remove pidfile "/var/run/cr-elogd.pid"
; Permission denied
Cannot restore original GID/UID.
Cannot remove pidfile "/var/run/cr-elogd.pid"
; Permission denied


The "/var/run/elogd.pid" file is created from elogd to indicate under which PID it is running. If you run elogd once under root, this file then belongs to root. If you afterwards run it under a user account, it cannot delete or change the file belonging to root. In that case, just delete that file manually.
ELOG V3.1.5-fe60aaf