Hello,
I've a big problem with 3 of my nagios xi servers
i've upgraded mysql to 5.5 and php to 5.3 and i saw that nagios was not able to support them so i removed them and rolling back to previous versions
mysql is running well and i can access to database using phpmyadin and psql is started properly too BUT
i have this error message when i connection on http://ipdadress/nagiosxi
i think that maybe a php config file is wrong ?
Can you help ? it's really urgent
DB connection failed on 3 nagios xi server
-
- Posts: 105
- Joined: Wed Sep 14, 2011 9:47 am
DB connection failed on 3 nagios xi server
You do not have the required permissions to view the files attached to this post.
-
- Posts: 105
- Joined: Wed Sep 14, 2011 9:47 am
Re: DB connection failed on 3 nagios xi server
it's not a php file problem,
so i checked :
users in mysql db > seem ok
service ndo2db give me this message when i try to restart it
I don' t know if it's normal or not ...
i removed mysql and php and installed once again this services my version are
PHP Version 5.1.6
Mysql Version 5.0.95
so i checked :
users in mysql db > seem ok
service ndo2db give me this message when i try to restart it
Code: Select all
[root@nagiosrs nagiosxi]# service ndo2db restart
ndo2db was not running... could not stop
Starting ndo2db:Support for the specified database server is either not yet supported, or was not found on your system.
done.
i removed mysql and php and installed once again this services my version are
PHP Version 5.1.6
Mysql Version 5.0.95
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: DB connection failed on 3 nagios xi server
The error you are displaying in the webpage are for the postgres database.
There is definitely a problem with the mysql databases too..
Are mysql & postgresql running?
There is definitely a problem with the mysql databases too..
Are mysql & postgresql running?
Code: Select all
service mysqld status
service postgresql status
-
- Posts: 105
- Joined: Wed Sep 14, 2011 9:47 am
Re: DB connection failed on 3 nagios xi server
yes for sure !!
have you got a skype id ? it would be faster for solving this issue before week end ...
have you got a skype id ? it would be faster for solving this issue before week end ...
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: DB connection failed on 3 nagios xi server
I don't have skype but if you open a support ticket we I could try to remote in and take a look
-
- Posts: 105
- Joined: Wed Sep 14, 2011 9:47 am
Re: DB connection failed on 3 nagios xi server
ok no problem, let me know how to open a new support ticket ?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
-
- Posts: 105
- Joined: Wed Sep 14, 2011 9:47 am
Re: DB connection failed on 3 nagios xi server
i've just sent an email
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: DB connection failed on 3 nagios xi server
Resolved.
For completeness of others that may find this thread, the problem was caused by yum removing required php packages when trying to upgrade.
For completeness of others that may find this thread, the problem was caused by yum removing required php packages when trying to upgrade.