offline install
offline install
I have followed the instructions in the offline install pdf document and nothing seems to be working.
The rpms installed, I got the "completed" message.
Apache was not running, I started it up and went to <myserver>/nagiosxi and got a "404 not found".
Went to <myserver>/nagios and I get a dialog asking for an id and password. I have tried every id and password I can find and none work.
I did a service nagios status and it came back as not running. So I did a service nagios start and got many errors about missing config files.
Checked the install.log file and it just lists all the rpm's that were installed, no other messages.
What do I do???
The rpms installed, I got the "completed" message.
Apache was not running, I started it up and went to <myserver>/nagiosxi and got a "404 not found".
Went to <myserver>/nagios and I get a dialog asking for an id and password. I have tried every id and password I can find and none work.
I did a service nagios status and it came back as not running. So I did a service nagios start and got many errors about missing config files.
Checked the install.log file and it just lists all the rpm's that were installed, no other messages.
What do I do???
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: offline install
Hello, @duane909. Do you remember seeing any errors on the screen while nagios was installing RPMs? If you haven't looked at the installation I suggest removing all nagios and nagiosxi rpms from the server and rerunning the full install script one more time. While it is running look at the output in the command line and if you see any errors share them with us in this thread.
Re: offline install
Hi,
I did not see any errors during the rpm install, was hoping I missed something and looked in the install.log but no errors there either.
I did remove all the naigios and nagiosxi rpm's (and all the config files I created), reinstalled the rpm's and got the same result.
No errors on the command line, no errors in the install.log file.
Would I see more install steps if I could log on to the web interface?
~Duane
I did not see any errors during the rpm install, was hoping I missed something and looked in the install.log but no errors there either.
I did remove all the naigios and nagiosxi rpm's (and all the config files I created), reinstalled the rpm's and got the same result.
No errors on the command line, no errors in the install.log file.
Would I see more install steps if I could log on to the web interface?
~Duane
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: offline install
@duane909, No, I don't think you'd see any more errors in the GUI. Please sign in to the console as the nagios user, run the reconfigure script and show me the output:
Please send me the list of the installed rpm packages. Run the command and upload the nagios.txt file from the /tmp/ folder:su - nagios
/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
Run this command and show me the output:rpm -qa > /tmp/nagios.txt
Upload the /etc/sudoers file.ls -l /usr/local/nagios/etc/
cat /etc/httpd/conf.d/nagios.conf
cat /etc/httpd/conf.d/nagiosxi.conf
grep nag /etc/passwd
grep nag /etc/group
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: offline install
Results for the questions are in the attached file.
You do not have the required permissions to view the files attached to this post.
Re: offline install
Do you have this file?
Please attach that if you do so that we can see what occurred.
Code: Select all
/tmp/xi-install.logRe: offline install
Ok, found part of the problem.
Our active directory server already had the "nagios" accounts but the local server did not. When the install creates those accounts and groups they have the wrong ID numbers causing permissions problems. I manually created local accounts that mirror the ones in active directory.
The install will now get far enough that I get the Nagios XI web interface (and finished the install), but the monitoring engine will not start.
The current error message and install.log is attached.
~D
Our active directory server already had the "nagios" accounts but the local server did not. When the install creates those accounts and groups they have the wrong ID numbers causing permissions problems. I manually created local accounts that mirror the ones in active directory.
The install will now get far enough that I get the Nagios XI web interface (and finished the install), but the monitoring engine will not start.
The current error message and install.log is attached.
~D
You do not have the required permissions to view the files attached to this post.
Re: offline install
Please try running these commands from the installation directory and see if it resolves your issue::
Code: Select all
yum remove nagiosxi
echo "delete from mysql.user where user='nagiosxi';delete from mysql.db where user='nagiosxi';drop database nagiosxi; flush privileges;" | mysql -uroot -pnagiosxi
yum install nagiosxi-5.*Re: offline install
Have a new error, see attached file.
~Duane
~Duane
You do not have the required permissions to view the files attached to this post.
Re: offline install
Nevermind, same problem as above. This time it was the apache user and group that needed to be created locally using the same id numbers as up in the active directory.
~Duane
~Duane