Page 1 of 1
external commands not working
Posted: Thu Jul 19, 2012 4:33 am
by morabanc
Red Hat Enterprise Linux Server release 6.2 (Santiago)
64bit
Manual Install
Hello,
External commands has stopped working suddenly, without to change anything.
System component status have some components down (see attach), and pnp graphs are not drawing. I suspect it could be a permission issue, but apparently all permissions are correct...
Re: external commands not working
Posted: Thu Jul 19, 2012 9:10 am
by morabanc
And it seems nagios is seeing commands and services up...
Re: external commands not working
Posted: Thu Jul 19, 2012 9:17 am
by scottwilkerson
Is crond running?
If it is stopped that may be the problem
Re: external commands not working
Posted: Thu Jul 19, 2012 9:22 am
by morabanc
No, it is running...
service crond status
crond (pid 2104) is running...
Re: external commands not working
Posted: Thu Jul 19, 2012 9:31 am
by scottwilkerson
Lets try to restart it.
Also, lets tail the cron log
tail -f /var/log/cron
Additionally, can you post the output of
Re: external commands not working
Posted: Fri Jul 20, 2012 4:31 am
by morabanc
Here the cron log:
Jul 20 11:29:01 localhost crond[9454]: (nagios) FAILED to authorize user with PAM
Jul 20 11:29:01 localhost crond[9452]: (nagios) FAILED to authorize user with PAM
Jul 20 11:29:01 localhost crond[9451]: (nagios) FAILED to authorize user with PAM
Jul 20 11:29:01 localhost crond[9453]: (nagios) FAILED to authorize user with PAM
Jul 20 11:29:01 localhost crond[9449]: (nagios) FAILED to authorize user with PAM
Jul 20 11:29:01 localhost crond[9448]: (nagios) FAILED to authorize user with PAM
Jul 20 11:29:01 localhost crond[9450]: (nagios) FAILED to authorize user with PAM
Jul 20 11:29:01 localhost crond[9447]: (nagios) FAILED to authorize user with PAM
This messages repeats every minute!
and the df -h
/dev/mapper/vg_00-lv_root
9,9G 5,3G 4,2G 56% /
tmpfs 1004M 0 1004M 0% /dev/shm
/dev/sda1 243M 87M 144M 38% /boot
/dev/mapper/vg_00-lv_home
9,9G 249M 9,2G 3% /home
/dev/mapper/vg_00-lv_tmp
1008M 35M 923M 4% /tmp
/dev/mapper/vg_00-lv_var
2,0G 1,3G 602M 69% /var
/dev/mapper/vg_00-lv_var_log
2,0G 1,6G 284M 86% /var/log
/dev/mapper/vg_00-lv_var_log_audit
2,0G 562M 1,4G 30% /var/log/audit
Re: external commands not working
Posted: Fri Jul 20, 2012 6:38 am
by morabanc
Problem solved!
It was a permission problem with nagios user.
Thanks for you help
Re: external commands not working
Posted: Fri Jul 20, 2012 10:15 am
by lmiltchev
I am glad you got this resolved! I will be locking this post now but if you have any more issues or questions, please, start a new thread.