Page 2 of 4
Re: Can't add MiBs to Nagios XI
Posted: Tue May 07, 2013 4:27 pm
by rafaelvdberg
It failed again.
I ran that command and there was no output.
Best,
Rafael
Re: Can't add MiBs to Nagios XI
Posted: Tue May 07, 2013 4:34 pm
by rafaelvdberg
See attached log of upgrade.
Error is "NagiosQL failed to update user table!"
Best,
Rafael
Re: Can't add MiBs to Nagios XI
Posted: Tue May 07, 2013 4:58 pm
by abrist
Did you change the default database passwords?
Re: Can't add MiBs to Nagios XI
Posted: Tue May 07, 2013 5:10 pm
by rafaelvdberg
No, I don't think so - do i need to do that?
If so, how.
Re: Can't add MiBs to Nagios XI
Posted: Wed May 08, 2013 10:32 am
by sreinhardt
It actually looks as though sourceguardian has been added twice. Lets look into the php.ini configurations.
Code: Select all
grep -i guard /etc/php.ini
php -i | grep -i guardian
php -m | grep -i guardian
Re: Can't add MiBs to Nagios XI
Posted: Wed May 08, 2013 12:18 pm
by rafaelvdberg
Here is the output:
Code: Select all
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.05.08 10:16:23 =~=~=~=~=~=~=~=~=~=~=~=
login as: root
[email protected]'s password:
Last login: Tue May 7 21:28:06 2013 from 172.20.20.207
]0;root@nagios:~[?1034h[root@nagios ~]# grep -i guard /etc/php.ini
]0;root@nagios:~[root@nagios ~]# grep [K[K[K[K[Kphp -i | grep -i guardian
PHP Warning: Module 'SourceGuardian' already loaded in Unknown on line 0
/etc/php.d/sourceguardian.ini,
SourceGuardian
SourceGuardian Loader Support => enabled
SourceGuardian Loader Version => 8.2
SourceGuardian Loader Build Number => 0x00000011
sourceguardian.restrict_unencoded => 0 => 0
]0;root@nagios:~[root@nagios ~]# php -m | grep -i guardian
PHP Warning: Module 'SourceGuardian' already loaded in Unknown on line 0
SourceGuardian
]0;root@nagios:~[root@nagios ~]# exit
Best,
Rafael
Re: Can't add MiBs to Nagios XI
Posted: Wed May 08, 2013 1:57 pm
by abrist
I just talked to one of our sales reps. You may want to backup your config and install 2012. I am not even sure where you found 2011r1.7. The upgrade path for 2011r1.7 to 2012r.18 may not be stable, or the original 2011 install may not have completed correctly.
Re: Can't add MiBs to Nagios XI
Posted: Wed May 08, 2013 2:40 pm
by rafaelvdberg
Okay, I can do that and in fact I've already installed 2012 on a seperate VM.
Can you give me the procedure for backing up and transfering the config file + history information?
Best,
Rafael
Re: Can't add MiBs to Nagios XI
Posted: Wed May 08, 2013 2:45 pm
by abrist
Re: Can't add MiBs to Nagios XI
Posted: Wed May 08, 2013 3:03 pm
by rafaelvdberg
Okay, did that, how do I copy that backup from the old machine to the new machine?
best,
Rafael