Nagios 4.1.1 on Ubuntu 14.04
Nagios 4.1.1 on Ubuntu 14.04
I recently upgraded my Ubuntu Server to 14.04LTS and my Nagios installation to 4.1.1 and the Statusmap, Trends and Histogram stopped working. The other pages load fine. In the Apache error log it says "error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory". If I do a locate command for libgd.so.2, nothing shows up but I do have libgd.so.3. I guess some of the libraries are newer on 14.04 than they were on 12.04.
Re: Nagios 4.1.1 on Ubuntu 14.04
As in geographically? Canada.
Re: Nagios 4.1.1 on Ubuntu 14.04
The locale refers to the system language, such as en_US (American English), fr_FR (French), etc. - this can have an impact on the system, as different languages can have different number/date formats, character encodings, etc. libgd in particular has some language-sensitive functions. You can type locale to see what yours is.
Former Nagios employee
Re: Nagios 4.1.1 on Ubuntu 14.04
Ah. Here is a copy paste from the locale command.
LANG=en_CA.UTF-8
LANGUAGE=
LC_CTYPE="en_CA.UTF-8"
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_COLLATE="en_CA.UTF-8"
LC_MONETARY="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_PAPER="en_CA.UTF-8"
LC_NAME="en_CA.UTF-8"
LC_ADDRESS="en_CA.UTF-8"
LC_TELEPHONE="en_CA.UTF-8"
LC_MEASUREMENT="en_CA.UTF-8"
LC_IDENTIFICATION="en_CA.UTF-8"
LC_ALL=
LANG=en_CA.UTF-8
LANGUAGE=
LC_CTYPE="en_CA.UTF-8"
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_COLLATE="en_CA.UTF-8"
LC_MONETARY="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_PAPER="en_CA.UTF-8"
LC_NAME="en_CA.UTF-8"
LC_ADDRESS="en_CA.UTF-8"
LC_TELEPHONE="en_CA.UTF-8"
LC_MEASUREMENT="en_CA.UTF-8"
LC_IDENTIFICATION="en_CA.UTF-8"
LC_ALL=
Re: Nagios 4.1.1 on Ubuntu 14.04
Is that package available on apt for you to install?
Former Nagios Employee.
me.
me.
Re: Nagios 4.1.1 on Ubuntu 14.04
I installed libgd2-xpm-dev.
Re: Nagios 4.1.1 on Ubuntu 14.04
How did you update Core? Was this from apt-get, source, or some other method?
It almost sounds like the CGI portions need to be recompiled to work with the new libraries.
It almost sounds like the CGI portions need to be recompiled to work with the new libraries.
Former Nagios employee
Re: Nagios 4.1.1 on Ubuntu 14.04
I downloaded the source and compiled with make and then make install.
Re: Nagios 4.1.1 on Ubuntu 14.04
Just to clarify, did you upgrade your OS as a whole (Ubuntu) AND Nagios? What version of Nagios were you on previously?
What is the output of apachectl -v?
What is the output of apachectl -v?
Former Nagios Employee