From: James G. <ja...@m5...> - 2005-01-04 00:35:00
|
Hi all, I've been reading through the archives, and saw that Gili has had the same problem as myself. That is, error 500 on perfparse.cgi. The following is the error.. -- Server error! The server encountered an internal error and was unable to complete your request. Error message: malformed header from script. Bad header=perfparse.cgi: perfparse.cgi If you think this is a server error, please contact the webmaster Error 500 X.X.X.X Tue 04 Jan 2005 10:07:03 EST Apache/2.0.40 (Red Hat Linux) -- The error only occurs when there are arguments passed to perfparse.cgi. Eg perfparse.cgi?edit_host_list=1 When I go to perfparse.cgi, I can see the menu page correctly. The permissions for perfparse.cgi are exactly the same as those for the nagios cgi files. All of the nagios pages work correctly and have been working for a while. I am running nagios v1.1 I'm using perfparse-0.104.4. The following is some output from my perfdata-service.log 1104549133 services-cbr / DISK OK [241572 kB (51%) free on /dev/hda1] OK 1104549133 services3-cbr /var DISK OK [14202808 kB (98%) free on /dev/hda2] OK 1104549133 pix PING PING OK - Packet loss = 0%, RTA = 1.48 ms OK 1104549133 ids-cbr / DISK OK - free space: / 1317 MB (91%): OK /=1317MB;1235;1381;0;1454 Should I be seeing stuff after a '|' ? Does this mean that there is no useful perfdata? Also, and I think this may be intertwined with my cgi problem, I am getting no data at all in my database. The following is an error from perfparse.log.20050104.log 2005/01/04 10:54:54 [ storage.c:92 19064 ] storage_mysql module successfully loaded 2005/01/04 10:54:54 [log_reader.c:159 19064 ] No position mark path was specified. Either disable saving the position or specify a mark path. I have ran mysql_create.sql and created all the tables in the database, it seems it is connecting correctly, too, as I had to fix the config file to ensure this. As usual, any and all help would be extremely appreciated. I've read as much documentation as I can find, and I'm still at a loss. Thanks in advance! :) Kind Regards, James Greenhalgh |