Nagios 4.1.1 on Ubuntu 14.04

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
andresr
Posts: 17
Joined: Tue Apr 05, 2016 7:52 pm

Re: Nagios 4.1.1 on Ubuntu 14.04

Post by andresr »

I upgraded from Ubuntu 10.04 to 12.04 and finally to 14.04. I then did an upgrade from Nagios 3.something to 4.1.1.

Here is the output from apachectl -v.
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jan 14 2016 17:45:23
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios 4.1.1 on Ubuntu 14.04

Post by rkennedy »

Got it, thanks for clarifying how you upgraded.

Can you please post the result of these two commands?

Code: Select all

whereis gd
whereis libgd
Former Nagios Employee
andresr
Posts: 17
Joined: Tue Apr 05, 2016 7:52 pm

Re: Nagios 4.1.1 on Ubuntu 14.04

Post by andresr »

whereis gd
gd: /usr/include/gd.h

whereis libgd
libgd:
andresr
Posts: 17
Joined: Tue Apr 05, 2016 7:52 pm

Re: Nagios 4.1.1 on Ubuntu 14.04

Post by andresr »

It's odd that it doesn't report a path for libgd. Here is the output from apt-get regarding libgd2.

sudo apt-get install libgd2-xpm-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgd2-xpm-dev is already the newest version.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios 4.1.1 on Ubuntu 14.04

Post by rkennedy »

This is odd indeed. What about whereis libgd2?
Former Nagios Employee
andresr
Posts: 17
Joined: Tue Apr 05, 2016 7:52 pm

Re: Nagios 4.1.1 on Ubuntu 14.04

Post by andresr »

Code: Select all

whereis libgd2
libgd2:
Strange... Here is the output from locate.

Code: Select all

locate libgd
/usr/lib/x86_64-linux-gnu/libgd.a
/usr/lib/x86_64-linux-gnu/libgd.so
/usr/lib/x86_64-linux-gnu/libgd.so.3
/usr/lib/x86_64-linux-gnu/libgd.so.3.0.0
/usr/lib/x86_64-linux-gnu/libgdbm.so.3
/usr/lib/x86_64-linux-gnu/libgdbm.so.3.0.0
/usr/lib/x86_64-linux-gnu/libgdbm_compat.so.3
/usr/lib/x86_64-linux-gnu/libgdbm_compat.so.3.0.0
/usr/share/doc/libgd-dev
/usr/share/doc/libgd2-xpm-dev
/usr/share/doc/libgd3
/usr/share/doc/libgdbm3
/usr/share/doc/libgd-dev/changelog.Debian.gz
/usr/share/doc/libgd-dev/copyright
/usr/share/doc/libgd-dev/examples
/usr/share/doc/libgd-dev/examples/demoin.png
/usr/share/doc/libgd-dev/examples/gd2time.c
/usr/share/doc/libgd-dev/examples/gddemo.c.gz
/usr/share/doc/libgd-dev/examples/gdtest.c.gz
/usr/share/doc/libgd-dev/examples/gdtest.gd2.gz
/usr/share/doc/libgd-dev/examples/gdtest.png
/usr/share/doc/libgd-dev/examples/gdtest_200_300_150_100.png
/usr/share/doc/libgd-dev/examples/gdtest_merge.png
/usr/share/doc/libgd-dev/examples/gdtest_wbmp_to_png.png
/usr/share/doc/libgd-dev/examples/gdtestft.c.gz
/usr/share/doc/libgd-dev/examples/testac.c.gz
/usr/share/doc/libgd3/changelog.Debian.gz
/usr/share/doc/libgd3/copyright
/usr/share/doc/libgdbm3/changelog.Debian.gz
/usr/share/doc/libgdbm3/copyright
/usr/share/lintian/overrides/libgd2-xpm-dev
/usr/share/lintian/overrides/libgd3
/var/lib/dpkg/info/libgd-dev:amd64.list
/var/lib/dpkg/info/libgd-dev:amd64.md5sums
/var/lib/dpkg/info/libgd2-xpm-dev.list
/var/lib/dpkg/info/libgd2-xpm-dev.md5sums
/var/lib/dpkg/info/libgd2-xpm-dev.postinst
/var/lib/dpkg/info/libgd2-xpm:amd64.list
/var/lib/dpkg/info/libgd2-xpm:amd64.postrm
/var/lib/dpkg/info/libgd3:amd64.list
/var/lib/dpkg/info/libgd3:amd64.md5sums
/var/lib/dpkg/info/libgd3:amd64.postinst
/var/lib/dpkg/info/libgd3:amd64.postrm
/var/lib/dpkg/info/libgd3:amd64.shlibs
/var/lib/dpkg/info/libgd3:amd64.symbols
/var/lib/dpkg/info/libgdbm3:amd64.list
/var/lib/dpkg/info/libgdbm3:amd64.md5sums
/var/lib/dpkg/info/libgdbm3:amd64.postinst
/var/lib/dpkg/info/libgdbm3:amd64.postrm
/var/lib/dpkg/info/libgdbm3:amd64.shlibs
/var/lib/dpkg/info/libgdbm3:amd64.symbols
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios 4.1.1 on Ubuntu 14.04

Post by ssax »

What is the output of this command:

Code: Select all

dpkg --get-selections | grep gd
andresr
Posts: 17
Joined: Tue Apr 05, 2016 7:52 pm

Re: Nagios 4.1.1 on Ubuntu 14.04

Post by andresr »

Code: Select all

libgd-dev:amd64                          install
libgd2-xpm:amd64                                deinstall
libgd2-xpm-dev                                     install
libgd3:amd64                                        install
libgdbm3:amd64                                   install
php5-gd                                               deinstall
python-gdbm                                        install
python3-gdbm:amd64                           install
wireless-regdb                                      install
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios 4.1.1 on Ubuntu 14.04

Post by tgriep »

In the folder where you compiled Nagios, there should be a configure log file, can you post that?
What were the steps that you did to upgrade your server to 14.04?
Be sure to check out our Knowledgebase for helpful articles and solutions!
andresr
Posts: 17
Joined: Tue Apr 05, 2016 7:52 pm

Re: Nagios 4.1.1 on Ubuntu 14.04

Post by andresr »

Here is the config.log.
Attachments
config.log
Nagios Config log.
(69.77 KiB) Downloaded 247 times
Locked