<html><head><title>Re: [smokeping-users] smokeping2.6.11 -- 500 internal server error</title>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">1) Set SEL to permissive or disable. [At least for testing.]<br>
(I'm not sure what you did about SEL, but do the above if you haven't already.)<br>
<br>
2) Who owns/has permissions for the CGI? root only? Make sure Apache can serve it. [i.e. has permissions.]<br>
<br>
Watching/reviewing the log files for Apache, and/or the debug output from smokeping is almost always quite useful. [And if you can't find what's wrong after doing so, that's the next thing I'd ask you for...]<br>
<br>
Your problem, while not related to RRD read/writes [the typical problem for most people], still looks like a permissions issue to me - but the apache logs should tell you something.<br>
<br>
Also, see the general FAQ that solves most problems:<br>
</span><a style=" font-family:'Courier New'; font-size: 9pt;" href="https://github.com/oetiker/SmokePing/wiki/FAQ">https://github.com/oetiker/SmokePing/wiki/FAQ</a> <br>
<br>
<span style=" font-family:'Courier New'; font-size: 9pt;">Once you have a base setup working, then you can turn SEL back on, if you like.<br>
<br>
-Greg<br>
<br>
</span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 9pt;">thx,<br>
I tried that and also ran through the steps posted on </span><a style=" font-family:'courier new'; font-size: 9pt;" href="http://www.wedebugyou.com/2012/11/how-to-install-and-configure-smokeping-on-centos-6/">http://www.wedebugyou.com/2012/11/how-to-install-and-configure-smokeping-on-centos-6/</a><br>
<br>
<span style=" font-family:'courier new'; font-size: 9pt;">at this point this is the error that now pops up in the logs:<br>
<br>
<br>
 (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server<br>
 Premature end of script headers: smokeping.fcgi<br>
<br>
has anyone seen this?  thx <br>
<br>
On Thu, Jul 2, 2015 at 11:50 AM, Joseph Kieffer <</span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:joseph.kieffer@gmail.com">joseph.kieffer@gmail.com</a><span style=" font-family:'courier new'; font-size: 9pt;">> wrote:<br>
I ran into this as well and found that it was SELinux blocking http connections. I stopped running the server I had this issue with but I have a note that I used "setbool httpd_can_network_connect=1" to fix this for my install.<br>
<br>
On Thu, Jul 2, 2015, 1:31 PM Christian Vo <</span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:christian.vo@gmail.com">christian.vo@gmail.com</a><span style=" font-family:'courier new'; font-size: 9pt;">> wrote:<br>
hi all,<br>
,<br>
this is a new install of smokeping2.6.11 on centos6.6<br>
<br>
compilation and installation ran fine without any issues.<br>
<br>
the smokeping process itself is running...<br>
<br>
however  all attempts to access  the url  (http:<webserver>/smokeping/smokeping.cgi) errors out and apache error log shows the following<br>
<br>
(13)Permission denied: exec of '/opt/smokeping/htdocs<br>
/smokeping.fcgi' failed<br>
<br>
Premature end of script headers: smokeping.fcgi<br>
<br>
<br>
I'm stuck here, not sure where else to look.<br>
<br>
_____________________________________________<br>
</span><a style=" font-family:'courier new'; font-size: 9pt;" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users"></a></td>
</tr>
</table>
<br></body></html>