Tag Archive for error

FIXED – Checking config for nagios: Configuration validation failed[FAILED]

nagios logo

Checking config for nagios: Configuration validation failed[FAILED]

I got this error when i tried to take a host out of nagios configuration, after simply removing the host conf file , and i knew i have to delete from the services configuration as well but couldn’t find which service the host were added to .

fount this solution , you simply check your conf file with below command to fix the error. very handy

 

nagios -v /etc/nagios/nagios.cfg

 

Found the error

Error: Could not find any host matching ‘stratos.ajayadas.com’ (config file ‘/etc/nagios/services/linux1.cfg’, starting on line 14)
Error: Could not expand hostgroups and/or hosts specified in service (config file ‘/etc/services/linux1.cfg’, starting on line 14)
Error processing object config files!

 

as you know which line the error is , it’s a piece of cake to fix it!…

 

 

 

 

php53-common conflicts with php-common

php

php53-common-5.3.3-13.el5_8.x86_64 from installed has depsolving problems
–> php53-common conflicts with php-common
Error: php53-common conflicts with php-common

 

This issue normally happens when you have upgraded your PHP to new version 5.3 and try to install a old extension

Solution:  find the extension which in the same version or install extension from source file