Page 3 of 6
Re: Upgrading Nagios -- blew up
Posted: Tue Jan 07, 2014 5:38 pm
by gyr
No I didn't change anything, and the previous owner said he didn't "think he did either"
No I haven't exported anything, I just got this problem
One more thing. Before I started this upgrade yum was clean, now I get the following errors.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: libtds.so.5 for package: perl-DBD-Sybase
---> Package freetds.i386 0:0.91-2.el5 set to be updated
--> Processing Dependency: graphviz = 2.12-8.el5.centos for package: graphviz-gd
---> Package graphviz.i386 0:2.22.0-4.el5.rf set to be updated
--> Finished Dependency Resolution
perl-DBD-Sybase-1.10-1.el5.rf.i386 from installed has depsolving problems
--> Missing Dependency: libtds.so.5 is needed by package perl-DBD-Sybase-1.10-1.el5.rf.i386 (installed)
graphviz-gd-2.12-8.el5.centos.i386 from installed has depsolving problems
--> Missing Dependency: graphviz = 2.12-8.el5.centos is needed by package graphviz-gd-2.12-8.el5.centos.i386 (installed)
Error: Missing Dependency: graphviz = 2.12-8.el5.centos is needed by package graphviz-gd-2.12-8.el5.centos.i386 (installed)
Error: Missing Dependency: libtds.so.5 is needed by package perl-DBD-Sybase-1.10-1.el5.rf.i386 (installed)
You could try using --skip-broken to work around the problem
Re: Upgrading Nagios -- blew up
Posted: Tue Jan 07, 2014 5:43 pm
by abrist
Try:
Then try updating again.
Re: Upgrading Nagios -- blew up
Posted: Tue Jan 07, 2014 6:01 pm
by gyr
Ok I remove the perl-DBD stuff
Removed:
perl-DBD-Sybase.i386 0:1.10-1.el5.rf
Complete!
[root@nagiosxi ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: bay.uchicago.edu
* epel: mirror.cs.princeton.edu
* extras: centos.mirror.facebook.net
* updates: ftp.ussg.iu.edu
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package freetds.i386 0:0.91-2.el5 set to be updated
--> Processing Dependency: graphviz = 2.12-8.el5.centos for package: graphviz-gd
---> Package graphviz.i386 0:2.22.0-4.el5.rf set to be updated
--> Finished Dependency Resolution
graphviz-gd-2.12-8.el5.centos.i386 from installed has depsolving problems
--> Missing Dependency: graphviz = 2.12-8.el5.centos is needed by package graphviz-gd-2.12-8.el5.centos.i386 (installed)
Error: Missing Dependency: graphviz = 2.12-8.el5.centos is needed by package graphviz-gd-2.12-8.el5.centos.i386 (installed)
You could try using --skip-broken to work around the problem
Re: Upgrading Nagios -- blew up
Posted: Tue Jan 07, 2014 6:13 pm
by abrist
And:
Code: Select all
yum remove graphviz graphviz-gd
yum install graphviz graphviz-gd
Re: Upgrading Nagios -- blew up
Posted: Wed Jan 08, 2014 9:09 am
by gyr
[root@nagiosxi ~]# yum install graphviz graphviz-gd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: bay.uchicago.edu
* epel: mirror.cs.princeton.edu
* extras: centos.mirror.facebook.net
* updates: ftp.ussg.iu.edu
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package graphviz.i386 0:2.22.0-4.el5.rf set to be updated
---> Package graphviz-gd.i386 0:2.12-8.el5.centos set to be updated
--> Processing Dependency: graphviz = 2.12-8.el5.centos for package: graphviz-gd
--> Finished Dependency Resolution
graphviz-gd-2.12-8.el5.centos.i386 from extras has depsolving problems
--> Missing Dependency: graphviz = 2.12-8.el5.centos is needed by package graphviz-gd-2.12-8.el5.centos.i386 (extras)
Error: Missing Dependency: graphviz = 2.12-8.el5.centos is needed by package graphviz-gd-2.12-8.el5.centos.i386 (extras)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
[root@nagiosxi ~]#
I installed Installed:
graphviz.i386 0:2.22.0-4.el5.rf separately and it went in fine but graphviz-gd transactions still fails Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package graphviz-gd.i386 0:2.12-8.el5.centos set to be updated
--> Processing Dependency: graphviz = 2.12-8.el5.centos for package: graphviz-gd
--> Finished Dependency Resolution
graphviz-gd-2.12-8.el5.centos.i386 from extras has depsolving problems
--> Missing Dependency: graphviz = 2.12-8.el5.centos is needed by package graphviz-gd-2.12-8.el5.centos.i386 (extras)
Error: Missing Dependency: graphviz = 2.12-8.el5.centos is needed by package graphviz-gd-2.12-8.el5.centos.i386 (extras)
You could try using --skip-broken
Re: Upgrading Nagios -- blew up
Posted: Wed Jan 08, 2014 11:37 am
by abrist
We have seen this happen in the past. You may need to use the graphiz repo on older centos version to resolve this issue. See the following thread:
http://support.nagios.com/forum/viewtop ... 334#p39051
Re: Upgrading Nagios -- blew up
Posted: Wed Jan 08, 2014 11:59 am
by gyr
Ok well I will try that, what are we doing about the first problem.
The reason I brought that up was because you were questioning me about the database,
Since I dont know what database is on there, I was making sure that was not the problem
perl-DBD-Sybase-1.10-1.el5.rf.i386 from installed has depsolving problems
So you had me remove it
Thank you
Re: Upgrading Nagios -- blew up
Posted: Wed Jan 08, 2014 12:05 pm
by abrist
gyr wrote:Ok well I will try that, what are we doing about the first problem.
There have been a few issues in this thread. Are you referring to the 503 error from your first post?
gyr wrote:perl-DBD-Sybase-1.10-1.el5.rf.i386 from installed has depsolving problems
So you had me remove it
We stopped using the Sybase package in recent versions of XI. In fact, I am unsure if the component using it was ever fully implemented. . .
Re: Upgrading Nagios -- blew up
Posted: Wed Jan 08, 2014 12:14 pm
by gyr
Please read the upgrade.txt file that I included yesterday.
I cannot get the upgrade to work.
Thank you
Re: Upgrading Nagios -- blew up
Posted: Wed Jan 08, 2014 12:23 pm
by abrist
It looks like you are using a different password than the default for the nagiosql db. Can you run the following successfully from the XI server's cli:
Code: Select all
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login