On Thu, Nov 4, 2010 at 1:53 PM, Ton Voon <[email protected]> wrote:
>
> Hi,
> This error means that the nagios user is not sourcing the 
> /usr/local/nagios/bin/profile script. You need to add it to the nagios user's 
> .profile (or .bash_profile).
> The script /usr/local/nagios/installer/set_profile should do the setting for 
> you.
> But this should have already been done on your VM - any idea why it was not 
> set?
> Ton

interesting :)

my nagios user is homeless:

nagios01:~# su - nagios
No directory, logging in with HOME=/

It looks like the /var/log/nagios dir was gone :?

I have recreated it and sourced the file from /var/log/nagios/.profile:

test -f /usr/local/nagios/bin/profile && . /usr/local/nagios/bin/profile

and now it works.

I have no idea how this can have happened

Thanks,

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

Reply via email to