Page 2 of 4
Re: Nagios 4.1.1 on Ubuntu 14.04
Posted: Fri Apr 08, 2016 8:21 am
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
Re: Nagios 4.1.1 on Ubuntu 14.04
Posted: Fri Apr 08, 2016 1:55 pm
by rkennedy
Got it, thanks for clarifying how you upgraded.
Can you please post the result of these two commands?
Re: Nagios 4.1.1 on Ubuntu 14.04
Posted: Fri Apr 08, 2016 2:05 pm
by andresr
whereis gd
gd: /usr/include/gd.h
whereis libgd
libgd:
Re: Nagios 4.1.1 on Ubuntu 14.04
Posted: Fri Apr 08, 2016 2:07 pm
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.
Re: Nagios 4.1.1 on Ubuntu 14.04
Posted: Fri Apr 08, 2016 2:19 pm
by rkennedy
This is odd indeed. What about whereis libgd2?
Re: Nagios 4.1.1 on Ubuntu 14.04
Posted: Fri Apr 08, 2016 2:25 pm
by andresr
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
Re: Nagios 4.1.1 on Ubuntu 14.04
Posted: Mon Apr 11, 2016 1:58 pm
by ssax
What is the output of this command:
Re: Nagios 4.1.1 on Ubuntu 14.04
Posted: Mon Apr 11, 2016 2:21 pm
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
Re: Nagios 4.1.1 on Ubuntu 14.04
Posted: Mon Apr 11, 2016 5:09 pm
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?
Re: Nagios 4.1.1 on Ubuntu 14.04
Posted: Wed Apr 13, 2016 6:35 am
by andresr
Here is the config.log.