Unauthorized login in nagios 4.0.8

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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unauthorized login in nagios 4.0.8

Post by lmiltchev »

OK, I was able to install successfully nagios on ubuntu 10.04 64-bit by following our document. So I wonder if you got any errors while compiling. Were you able to install all of the prerequisites? Can you run the following command and show us the output?

Code: Select all

dpkg-query -l wget build-essential apache2 php5-gd libgd2-xpm libgd2-xpm-dev libapache2-mod-php5
Be sure to check out our Knowledgebase for helpful articles and solutions!
rafaelbraga
Posts: 8
Joined: Thu Sep 18, 2014 12:14 pm

Re: Unauthorized login in nagios 4.0.8

Post by rafaelbraga »

Hi!

I execute the command. See the result in the image below.
The package libgd2-xpm not found.
Obs: my system is updated.
Attachments
pre-requisitos-nagios-2
pre-requisitos-nagios-2
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unauthorized login in nagios 4.0.8

Post by lmiltchev »

I don't believe this package will cause the errors that you are getting... It's gd graphics library. Let's check some of the permissions - run the following commands and show us the output:

Code: Select all

ls -lad /etc/apache2
ls -la /etc/apache2
ls -la /etc/apache2/conf.d
Be sure to check out our Knowledgebase for helpful articles and solutions!
rafaelbraga
Posts: 8
Joined: Thu Sep 18, 2014 12:14 pm

Re: Unauthorized login in nagios 4.0.8

Post by rafaelbraga »

Hi!

Follows the result of the commands.
Sorry for the delay.
Attachments
permissões_apache.png
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unauthorized login in nagios 4.0.8

Post by lmiltchev »

It seems like you are using zabbix... ("/etc/zabbix/apache.conf" from your screenshot) I would recommend trying again your nagios install on a clean system.
Be sure to check out our Knowledgebase for helpful articles and solutions!
rafaelbraga
Posts: 8
Joined: Thu Sep 18, 2014 12:14 pm

Re: Unauthorized login in nagios 4.0.8

Post by rafaelbraga »

ok! I'll try.

Thanks for the trouble!
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Unauthorized login in nagios 4.0.8

Post by sreinhardt »

You're welcome! Going to lock this up for now, let us know if you still have issues later.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked