hi,

I have 'solved' it with this changes to /etc/init.d/opsview

nagios:/etc/init.d# diff opsview opsview.bak
253,256c253,256
< # tty > /dev/null 2>&1
< # if [ $? = 0 -a "$OPSVIEW_BASE" != "/usr/local/nagios" ]; then
< #     die "Environment not set - have you run 'su - nagios'?"
< # fi
---
> tty > /dev/null 2>&1
> if [ $? = 0 -a "$OPSVIEW_BASE" != "/usr/local/nagios" ]; then
>     die "Environment not set - have you run 'su - nagios'?"
> fi


So I basically do not kill the startup script if that check is not
correct, but I do not think this is the right approach to the problem.
Why is it doing this? The only thing that has changed is: more ram for
the vm and the server has been rebooted.

Any ideas?

Thanks,

-- 
natxo
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to