Page 4 of 4
Re: Web interface Error:Could not read object configuration
Posted: Tue Aug 20, 2013 11:09 am
by abrist
Is selinux enabled on the remote system?
Is your home directory encrypted?
Re: Web interface Error:Could not read object configuration
Posted: Tue Aug 20, 2013 1:27 pm
by zander_2
abrist wrote:Is selinux enabled on the remote system?
Is your home directory encrypted?
No and no.
Re: Web interface Error:Could not read object configuration
Posted: Tue Aug 20, 2013 1:48 pm
by abrist
Do you have any restrictions on the nagios account on the remote host?
I ask because I have often seen "nologin" configured on the nagios user in /etc/shadow.,
Re: Web interface Error:Could not read object configuration
Posted: Tue Aug 20, 2013 2:50 pm
by zander_2
abrist wrote:Do you have any restrictions on the nagios account on the remote host?
I ask because I have often seen "nologin" configured on the nagios user in /etc/shadow.,
Code: Select all
grep nagios /etc/shadow
nagios::15931:0:99999:7:::
Re: Web interface Error:Could not read object configuration
Posted: Tue Aug 20, 2013 2:58 pm
by sreinhardt
That looks good, lets just be 100% and check /etc/passwd.
Re: Web interface Error:Could not read object configuration
Posted: Tue Aug 20, 2013 4:22 pm
by zander_2
sreinhardt wrote:That looks good, lets just be 100% and check /etc/passwd.
Code: Select all
nagios:x:502:505::/home/nagios:/bin/bash
Hm...
So, I'm pretty sure that there's just some seriously messed up stuff going on with ssh on the remote host, because I successfully SSH'd from the Nagios server to another machine that I know works, but could not SSH from a known working machine to the remote host without a password. I have a feeling that just wiping the machine and starting over would make it work (what DOESN'T that make work, right?) but I have people using that box for a bunch of other important services, so that's not going to happen. I'd like to reinstall sshd, too, but those services use it as well.
Anyway, for people that come across this thread in the future, I'd advise you to check your /etc/ssh/sshd_config file and make sure PermitEmptyPasswords is set to yes, that might help.
Either way, I'll never fix this problem because in about two hours I will be done with this job and will no longer have access to any of these VMs. Sorry to leave any future readers hanging, feel free to post on this thread if you have the same problem. That'll be it for me, though. Thanks to the few guys who responded and did what they could.
Re: Web interface Error:Could not read object configuration
Posted: Wed Aug 21, 2013 3:27 pm
by slansing
Thank you for the information, definately sounds like an issue on that server specifically, we will lock this thread up but will keep it as a reference, let us know if you come back to this in the future!