Error with mysql support



I installed Nagios with mysql support, when I try to launch ‘’ with perl, I get this error:

“Use of uninitialized value in subtraction (-) at /usr/local/nagios/libexec/ line 74.
Use of uninitialized value in concatenaction (.) or string at /usr/local/nagios/libexec/ line 79.”

What can I do?

Edited ]


Check your cgi.cfg file and make sure you have the correct database info in there. To test, connect to the database with those credentials, or just double check all the permission’s, etc to the tables. I use phpmyadmin to admin a mysql db.