Hello everybody, <div><br></div><div>I have researched on Google about this problem but I haven&#39;t found anything that could help me solve my problem. In order to save some system resources on my two servers running mrtg, I decided to take mrtg out of the crontab and run it daemonized. I added the user mrtg with groups mrtg and root, like the following:</div>
<div><br></div><div>---</div><div><div># finger mrtg</div><div>Login: mrtg                             Name: MRTG Daemon</div><div>Directory: /etc/mrtg/                   Shell: /bin/bash</div><div><br></div><div><div># id mrtg</div>
<div>uid=1005(mrtg) gid=1005(mrtg) groups=1005(mrtg),0(root)</div></div><div>---</div><div><br></div><div>I figured this configuration would work. I chowned all mrtg files to mrtg:mrtg and added mrtg to group root in order to be able to write pid and lock files in different directories then its home (/etc/mrtg). </div>
<div><br></div><div>When I start mrtg as a daemon with user and group &#39;mrtg&#39; it works but it won&#39;t update any info. I tried running it without specifying user and group (so it runs under root:root) and it worked just fine. How could I fix this?</div>
<div><br></div><div>Thank you very much for any help available!</div><div>Sincerely,</div><div>Rafael</div><div><br></div></div>