<br>Hello All,<br><br>I am having an issue with collection.cgi <br><br>If I run it under the root account from a shell I see the right output however running under the nobody account (via the web server or any other account) I get no output.
<br><br>Normal non root<br><br>Content-Type: application/xhtml+xml; charset=utf-8<br>Cache-Control: no-cache<br><br><?xml version="1.0" encoding="utf-8"?><br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.1//EN"<br> "<a href="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</a>"><br><br><html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml
</a>" xml:lang="en"><br> <head><br> <title>collection.cgi, Version 2</title><br> <style type="text/css"><br> img<br> {<br> border: none;<br> }
<br> table.graphs<br> {<br> border-collapse: collapse;<br> }<br> table.graphs td,<br> table.graphs th<br> {<br> border: 1px solid black;<br> empty-cells: hide;<br> }
<br> </style><br> </head><br><br> <body><br> <form action="" method="get"><br> <fieldset><br> <legend>Selector</legend><br> <select name="host" multiple="multiple" size="10">
<br> </select><br> <select name="timespan"><br> <option value="hour">Hour</option><br> <option value="day" selected="selected">Day</option>
<br> <option value="week">Week</option><br> <option value="month">Month</option><br> <option value="year">Year</option><br> </select>
<br> <input type="submit" name="button" value="Ok" /><br> </fieldset><br> </form><br><ul><br></ul><br> </body><br></html><br><br><br>
<br>With the root account <br><br>Content-Type: application/xhtml+xml; charset=utf-8<br>Cache-Control: no-cache<br><br><?xml version="1.0" encoding="utf-8"?><br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.1//EN"<br> "<a href="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</a>"><br><br><html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml
</a>" xml:lang="en"><br> <head><br> <title>collection.cgi, Version 2</title><br> <style type="text/css"><br> img<br> {<br> border: none;<br> }
<br> table.graphs<br> {<br> border-collapse: collapse;<br> }<br> table.graphs td,<br> table.graphs th<br> {<br> border: 1px solid black;<br> empty-cells: hide;<br> }
<br> </style><br> </head><br><br> <body><br> <form action="" method="get"><br> <fieldset><br> <legend>Selector</legend><br> <select name="host" multiple="multiple" size="10">
<br> <option value="cpu-0">cpu-0</option><br> <option value="df">df</option><br> <option value="disk-hda">disk-hda</option><br> <option value="disk-hda1">disk-hda1</option>
<br> <option value="disk-hda2">disk-hda2</option><br> <option value="disk-hda3">disk-hda3</option><br> <option value="disk-hdc">disk-hdc</option>
<br> <option value="disk-hdc1">disk-hdc1</option><br> <option value="disk-hdc2">disk-hdc2</option><br> <option value="dns">dns</option>
<br> <option value="entropy">entropy</option><br> <option value="interface">interface</option><br> <option value="irq">irq</option>
<br> <option value="load">load</option><br> <option value="memory">memory</option><br> <option value="nfs-v2client">nfs-v2client</option>
<br> <option value="processes">processes</option><br> <option value="sensors-via686a-isa-6000">sensors-via686a-isa-6000</option><br> <option value="swap">swap</option>
<br> <option value="tcpconns-1344-local">tcpconns-1344-local</option><br> <option value="tcpconns-22-local">tcpconns-22-local</option><br> <option value="tcpconns-25-local">tcpconns-25-local</option>
<br> <option value="tcpconns-2626-local">tcpconns-2626-local</option><br> <option value="tcpconns-3306-local">tcpconns-3306-local</option><br> <option value="tcpconns-443-local">tcpconns-443-local</option>
<br> <option value="tcpconns-53-local">tcpconns-53-local</option><br> <option value="tcpconns-80-local">tcpconns-80-local</option><br> <option value="tcpconns-8110-local">tcpconns-8110-local</option>
<br> <option value="tcpconns-8181-local">tcpconns-8181-local</option><br> <option value="tcpconns-953-local">tcpconns-953-local</option><br> <option value="users">users</option>
<br> </select><br> <select name="timespan"><br> <option value="hour">Hour</option><br> <option value="day" selected="selected">Day</option>
<br> <option value="week">Week</option><br> <option value="month">Month</option><br> <option value="year">Year</option><br> </select>
<br> <input type="submit" name="button" value="Ok" /><br> </fieldset><br> </form><br><ul><br> <li><a href="?action=show_host;host=cpu-0">cpu-0</a></li>
<br> <li><a href="?action=show_host;host=df">df</a></li><br> <li><a href="?action=show_host;host=disk-hda">disk-hda</a></li><br> <li><a href="?action=show_host;host=disk-hda1">disk-hda1</a></li>
<br> <li><a href="?action=show_host;host=disk-hda2">disk-hda2</a></li><br> <li><a href="?action=show_host;host=disk-hda3">disk-hda3</a></li><br> <li><a href="?action=show_host;host=disk-hdc">disk-hdc</a></li>
<br> <li><a href="?action=show_host;host=disk-hdc1">disk-hdc1</a></li><br> <li><a href="?action=show_host;host=disk-hdc2">disk-hdc2</a></li><br> <li><a href="?action=show_host;host=dns">dns</a></li>
<br> <li><a href="?action=show_host;host=entropy">entropy</a></li><br> <li><a href="?action=show_host;host=interface">interface</a></li><br> <li><a href="?action=show_host;host=irq">irq</a></li>
<br> <li><a href="?action=show_host;host=load">load</a></li><br> <li><a href="?action=show_host;host=memory">memory</a></li><br> <li><a href="?action=show_host;host=nfs-v2client">nfs-v2client</a></li>
<br> <li><a href="?action=show_host;host=processes">processes</a></li><br> <li><a href="?action=show_host;host=sensors-via686a-isa-6000">sensors-via686a-isa-6000</a></li>
<br> <li><a href="?action=show_host;host=swap">swap</a></li><br> <li><a href="?action=show_host;host=tcpconns-1344-local">tcpconns-1344-local</a></li><br>
<li><a href="?action=show_host;host=tcpconns-22-local">tcpconns-22-local</a></li><br> <li><a href="?action=show_host;host=tcpconns-25-local">tcpconns-25-local</a></li>
<br> <li><a href="?action=show_host;host=tcpconns-2626-local">tcpconns-2626-local</a></li><br> <li><a href="?action=show_host;host=tcpconns-3306-local">tcpconns-3306-local</a></li>
<br> <li><a href="?action=show_host;host=tcpconns-443-local">tcpconns-443-local</a></li><br> <li><a href="?action=show_host;host=tcpconns-53-local">tcpconns-53-local</a></li>
<br> <li><a href="?action=show_host;host=tcpconns-80-local">tcpconns-80-local</a></li><br> <li><a href="?action=show_host;host=tcpconns-8110-local">tcpconns-8110-local</a></li>
<br> <li><a href="?action=show_host;host=tcpconns-8181-local">tcpconns-8181-local</a></li><br> <li><a href="?action=show_host;host=tcpconns-953-local">tcpconns-953-local</a></li>
<br> <li><a href="?action=show_host;host=users">users</a></li><br></ul><br> </body><br></html><br><br>I tried moving the data files to the webroot and many other places but always with the same result
<br>What do I miss....????<br><br>Running slackware apache 2.2.6 collectd 4.2.1<br><br>Please advice me on this..<br><br>Chrs...<br><br>