All, Sorry for what might be a noob question but I am trying to understand what is throwing the following errors(httpd error_log): (13)Permission denied: exec of /opt/smokeping/htdocs/smokeping.fcgi.dist premature end of script headers: smokeping.fcgi.dist
When I was looking into the cgi script I ran: joe@server $ sudo ./smokeping.fcgi.dist I got this error: smokeping_cgi [client(unknown)]: Use of uninitialized value $hierarchy in substitution (s///) at /opt/smokeping/bin/..lib/Smokeping.pm line 1620. I looked at the referenced file and not being a great programmer could not make heads or tails of this. So in an attempt to figure this out I compiled version 2.6.7 and stole the Smokeping.pm file and get a similar error but on a different line. I looked for references for others having a similar issue but I keep hitting a wall. I was then thinking that this was something in the config but I copied a sample from the examples modifying the parts that need to be but largely keeping the example intact. I still get the same error. Important info about the error: I am going to http://localhost/smokeping/smokeping.cgi httpd config file I put in on the server: ScriptAlias /smokeping/smokeping.cgi /opt/smokeping/htdocs/smokeping.fcgi.dist Alias /smokeping /opt/smokeping/htdocs <Directory "/opt/smokeping/htdocs"> Options FollowSymLinks </Directory> /opt/smokeping/htdocs has 755 apache:apache Enterprise Linux 6.6 2.6.32 x86_64 Manually installed Smokping 2.6.11 to /opt/smokeping Thanks for any suggestions you may have! Joe
_______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
