You are not logged in.

#1 2013-03-08 11:01:36

Ztjuh
Member
Registered: 2011-05-30
Posts: 58

Monitorix not working.

I installed Monitorix using the wiki page, using apache and FastCGI.

When I goto http://ip/monitorix I get a nice HTML page, but after selecting the graph and clicking OK, I get a internal server error after about 30 seconds of loading.

/var/log/monitorix

Fri Mar  8 11:40:27 2013 - Starting Monitorix version 3.0.0 (pid 28655).
WARNING: The state match is obsolete. Use conntrack instead.

/var/log/httpd/error_log

[Fri Mar 08 11:52:05 2013] [warn] FastCGI: (dynamic) server "/srv/http/monitorix/cgi/monitorix.cgi" (pid 29826) terminated by calling exit with status '0'
[Fri Mar 08 11:52:05 2013] [warn] FastCGI: (dynamic) server "/srv/http/monitorix/cgi-bin/monitorix.cgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Fri Mar 08 11:52:10 2013] [warn] FastCGI: (dynamic) server "/srv/http/monitorix/cgi/monitorix.cgi" restarted (pid 29827)
[Fri Mar 08 11:52:10 2013] [warn] FastCGI: (dynamic) server "/srv/http/monitorix/cgi-bin/monitorix.cgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
Use of uninitialized value $ENV{"HTTP_HOST"} in concatenation (.) or string at /srv/http/monitorix/cgi/monitorix.cgi line 213.
Use of uninitialized value $when in pattern match (m//) at /srv/http/monitorix/cgi/monitorix.cgi line 271.
Use of uninitialized value $val in string ne at /srv/http/monitorix/cgi/monitorix.cgi line 333.
Use of uninitialized value $mode in string ne at /srv/http/monitorix/cgi/monitorix.cgi line 333.
Use of uninitialized value $val in pattern match (m//) at /srv/http/monitorix/cgi/monitorix.cgi line 341.
Use of uninitialized value $mode in string eq at /srv/http/monitorix/cgi/monitorix.cgi line 354.
Use of uninitialized value $mode in string eq at /srv/http/monitorix/cgi/monitorix.cgi line 354.
Use of uninitialized value $mode in string eq at /srv/http/monitorix/cgi/monitorix.cgi line 356.
Use of uninitialized value $title in substitution (s///) at /srv/http/monitorix/cgi/monitorix.cgi line 373.
Use of uninitialized value $title in concatenation (.) or string at /srv/http/monitorix/cgi/monitorix.cgi line 374.
Use of uninitialized value $mode in string eq at /srv/http/monitorix/cgi/monitorix.cgi line 399.
Use of uninitialized value $mode in string eq at /srv/http/monitorix/cgi/monitorix.cgi line 417.
Use of uninitialized value $mode in string eq at /srv/http/monitorix/cgi/monitorix.cgi line 419.
<html>
  <head>
    <title>Stats for Ztjuh</title>
    <link rel='shortcut icon' href='http://127.0.0.1/monitorix/monitorixico.png'>
    <meta http-equiv='Refresh' content='150'>
  </head>
  <body bgcolor='#FFFFFF' vlink='#888888' link='#888888'>
  <center>
  <table cellspacing='5' cellpadding='0' bgcolor='#CCCCCC' border='1'>
  <tr>
  <td bgcolor='#777777'>
  <font face='Verdana, sans-serif' color='#CCCC00'>
    <font size='5'><b>&nbsp;&nbsp;Host:&nbsp;<b></font>
  </font>
  </td>
  <td bgcolor='#FFFFFF'>
  <font face='Verdana, sans-serif' color='#000000'>
    <font size='5'><b>&nbsp;&nbsp;&nbsp;&nbsp;</b></font>
  </font>
  </td>
  <td bgcolor='#777777'>
  <font face='Verdana, sans-serif' color='#CCCC00'>
    <font size='5'><b>&nbsp;&nbsp;last&nbsp;day&nbsp;&nbsp;<b></font>
  </font>
  </td>
  </tr>
  </table>
  <font face='Verdana, sans-serif' color='#000000'>
    <h4><font color='#888888'>Fri Mar  8 11:52:10 CET 2013</font></h4>

  </font>
  </center>
  <p>
  <a href='http://www.monitorix.org'><img src='http://127.0.0.1/monitorix/logo_bot.png' border='0'></a>
  <br>
  <font face='Verdana, sans-serif' color='#000000' size='-2'>
Copyright &copy; 2005-2013 Jordi Sanfeliu
  </font>
  </body>
</html>
[Fri Mar 08 11:52:10 2013] [warn] FastCGI: (dynamic) server "/srv/http/monitorix/cgi/monitorix.cgi" (pid 29827) terminated by calling exit with status '0'
[Fri Mar 08 11:52:10 2013] [warn] FastCGI: (dynamic) server "/srv/http/monitorix/cgi-bin/monitorix.cgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds

Is the AUR outdated? How can I fix these errors?

If this is not fixable, can someone help me installing monitorix manually?

Offline

Board footer

Powered by FluxBB