I am upgrading nagios core from 3.2.3 to 3.4.1 on debian 3.2.0-2-686 pae using apache 2 and I get internal error when I bring up the web page
I did the ./configure
make all
make install
make install-config
make install-command
make install-webconfig
make install-classicui
I checked a lot of config files and cant seem to find the problem
When I copied the old 323 install back to its original location all was well.
Any Ideas
upgrading nagios core 3.2.3 to 3.4.1
Re: upgrading nagios core 3.2.3 to 3.4.1
Was the original installation of Nagios Core 3.2.3 also a source install?
Re: upgrading nagios core 3.2.3 to 3.4.1
correct.
I also have Zenoss 3.X running as well.
I bounced apache2
When I copied 323 back it told me that the apache2 web config was not an issue.
its something within nagios core.
how can I debug. I noticed there are 2 virtual paths in the nagios.conf under /etc/apache2/init.d
when the uri is hostname/nagios which path does it point? I assume /usr/local/nagios/share
then what file is run?
I did not take the time to install the graphics librars that change every version.
If this is required for main page thten that may be the problem.
I also have Zenoss 3.X running as well.
I bounced apache2
When I copied 323 back it told me that the apache2 web config was not an issue.
its something within nagios core.
how can I debug. I noticed there are 2 virtual paths in the nagios.conf under /etc/apache2/init.d
when the uri is hostname/nagios which path does it point? I assume /usr/local/nagios/share
then what file is run?
I did not take the time to install the graphics librars that change every version.
If this is required for main page thten that may be the problem.
Re: upgrading nagios core 3.2.3 to 3.4.1
I guess the upgrade to Debian has broken the nagios compile.
I started at debian 2.6.2 and updated to debian in place to debain 3.2.0.0-2
after this install the nagios 3.2.3 continues to run fine but when I try to install
nagios 3.4.1 the ./configure errors are:
checking pthreads.h usability... no
checking pthreads.h presence... no
checking for pthreads.h... no
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking uio.h usability... no
checking uio.h presence... no
checking for uio.h... no
cchecking for pthread_create in -lcma... no
checking for main in -liconv... no
checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... no
checking for gdImagePng in -lgd (order 3)... no
checking for gdImagePng in -lgd (order 4)... no
What am I missing?
I started at debian 2.6.2 and updated to debian in place to debain 3.2.0.0-2
after this install the nagios 3.2.3 continues to run fine but when I try to install
nagios 3.4.1 the ./configure errors are:
checking pthreads.h usability... no
checking pthreads.h presence... no
checking for pthreads.h... no
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking uio.h usability... no
checking uio.h presence... no
checking for uio.h... no
cchecking for pthread_create in -lcma... no
checking for main in -liconv... no
checking for gdImagePng in -lgd (order 1)... no
checking for gdImagePng in -lgd (order 2)... no
checking for gdImagePng in -lgd (order 3)... no
checking for gdImagePng in -lgd (order 4)... no
What am I missing?
Re: upgrading nagios core 3.2.3 to 3.4.1
I was able to remove the socket.h and uio.h errors then new version of debian adds a new /usr/include/linux directory where these compile.
An I was able to load half the GD stuff by apt-get install libghc-gd-dev and it still has some gd errors but it states that the GD lib is found.
I still have internal errors. The pthreads.h is a libc issue and resolution does not seem to be simple. pthread.h is there.
Any ideas?
An I was able to load half the GD stuff by apt-get install libghc-gd-dev and it still has some gd errors but it states that the GD lib is found.
I still have internal errors. The pthreads.h is a libc issue and resolution does not seem to be simple. pthread.h is there.
Any ideas?
Re: upgrading nagios core 3.2.3 to 3.4.1
I have reduced the configure errors to:
checking pthreads.h usability... no
checking pthreads.h presence... no
checking for pthreads.h... no
checking for pthread_create in -lcma... no
checking for main in -liconv... no
But still getting internal server error
checking for gdImagePng in -lgd (order 1)... no
checking pthreads.h usability... no
checking pthreads.h presence... no
checking for pthreads.h... no
checking for pthread_create in -lcma... no
checking for main in -liconv... no
But still getting internal server error
checking for gdImagePng in -lgd (order 1)... no
Re: upgrading nagios core 3.2.3 to 3.4.1
libghc-gd-dev is a Haskell binding to the GD library. It should have pulled in the C version as a dependency just fine, but I wouldn't be surprised if it also pulled in 700MB of other Haskell packages. You may want to uninstall it and just install libgd2-noxpm-dev or libgd2-xpm-dev instead. Also make sure you have libc6-dev installed. I imagine you already do, but I'm also not sure why it's saying you don't have libraries that are included in libc.
You could also try running 'apt-get build-dep nagios3' to make sure you aren't missing any other dependencies.
You could also try running 'apt-get build-dep nagios3' to make sure you aren't missing any other dependencies.