Fresh NagiosXI installation issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
thanigaivel.a
Posts: 109
Joined: Mon Jan 22, 2018 3:38 pm

Fresh NagiosXI installation issues

Post by thanigaivel.a »

Initially, tried to install automatically, however after got issues in yum repos, tried manual installation. therefore installed all the packages without getting any errors, but none of the nagios services have been started.

Please guide on how to start nagioXI after manual install, even no install log generated for manual install.

[root@indeta3appu001 ~]# rpm -qa |grep -i nagios
nagiosxi-ajaxterm-5-4.12.el7.x86_64
nagiosxi-nagiosplugins-5-4.12.el7.x86_64
nagiosxi-nagiosmobile-5-4.12.el7.x86_64
nagiosxi-nrpe-5-4.12.el7.x86_64
nagiosxi-5-4.12.el7.x86_64
nagiosxi-nagioscore-5-4.12.el7.x86_64
nagios-repo-7-2.el7.noarch
nagiosxi-mrtg-5-4.12.el7.x86_64
nagiosxi-pnp-5-4.12.el7.x86_64
nagiosxi-nsca-5-4.12.el7.x86_64
nagiosxi-ndoutils-5-4.12.el7.x86_64
nagiosxi-nagvis-5-4.12.el7.x86_64
nagiosxi-nagiosql-5-4.12.el7.x86_64
nagiosxi-wmic-5-4.12.el7.x86_64
nagiosxi-nrds-5-4.12.el7.x86_64
nagiosxi-wkhtmltox-5-4.12.el7.x86_64
[root@indeta3appu001 ~]#
[root@indeta3appu001 ~]# rpm -qa |grep -i php
php-common-5.4.16-43.el7_4.x86_64
php-5.4.16-43.el7_4.x86_64
php-pear-1.9.4-21.el7.noarch
php-mcrypt-5.4.16-7.el7.x86_64
php-pdo-5.4.16-43.el7_4.x86_64
php-xml-5.4.16-43.el7_4.x86_64
php-pgsql-5.4.16-43.el7_4.x86_64
php-process-5.4.16-43.el7_4.x86_64
php-pecl-ssh2-0.12-1.el7.x86_64
php-snmp-5.4.16-43.el7_4.x86_64
php-ldap-5.4.16-43.el7_4.x86_64
php-mssql-5.4.16-7.el7.x86_64
php-cli-5.4.16-43.el7_4.x86_64
php-mysql-5.4.16-43.el7_4.x86_64
php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-mbstring-5.4.16-43.el7_4.x86_64
php-devel-5.4.16-43.el7_4.x86_64
php-gd-5.4.16-43.el7_4.x86_64
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Fresh NagiosXI installation issues

Post by scottwilkerson »

Connect to the IP of the server in a web browser

http://<SERVER_IP>/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
thanigaivel.a
Posts: 109
Joined: Mon Jan 22, 2018 3:38 pm

Re: Fresh NagiosXI installation issues

Post by thanigaivel.a »

thanks for that
thanigaivel.a
Posts: 109
Joined: Mon Jan 22, 2018 3:38 pm

Re: Fresh NagiosXI installation issues

Post by thanigaivel.a »

sorry still issue there
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Fresh NagiosXI installation issues

Post by scottwilkerson »

thanigaivel.a wrote:sorry still issue there
Can you give us a clue what you are experiencing?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
thanigaivel.a
Posts: 109
Joined: Mon Jan 22, 2018 3:38 pm

Re: Fresh NagiosXI installation issues

Post by thanigaivel.a »

see the error its showing nagiosxi rpm installed in /tmp, but there is no nagiosxi directory inside /usr/local,

[root@indeta3appu001 Backups]# cd /usr/local/
[root@indeta3appu001 local]# ls
bin cron etc games html include lib lib64 libexec nagios nagiosmobile nagvis nom nrdp nsis sbin scripts share src tmp tools var
[root@indeta3appu001 local]#


[root@indeta3appu001 nagiosxi]# rpm -ql nagiosxi-5-4.12.el7.x86_64
/tmp/nagiosxi
/tmp/nagiosxi/0-repos
/tmp/nagiosxi/1-prereqs
/tmp/nagiosxi/10-phplimits
/tmp/nagiosxi/11-sourceguardian
/tmp/nagiosxi/12-mrtg
/tmp/nagiosxi/13-timezone
/tmp/nagiosxi/2-usersgroups
/tmp/nagiosxi/3-dbservers
/tmp/nagiosxi/4-services
/tmp/nagiosxi/5-sudoers
/tmp/nagiosxi/6-firewall
/tmp/nagiosxi/7-sendmail
/tmp/nagiosxi/8-selinux
thanigaivel.a
Posts: 109
Joined: Mon Jan 22, 2018 3:38 pm

Re: Fresh NagiosXI installation issues

Post by thanigaivel.a »

could you please come in cisco webex and install nagiosxi ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Fresh NagiosXI installation issues

Post by scottwilkerson »

please post /tmp/xi-install.log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
thanigaivel.a
Posts: 109
Joined: Mon Jan 22, 2018 3:38 pm

Re: Fresh NagiosXI installation issues

Post by thanigaivel.a »

I've removed nagiosxi-* rpm packages and configured proxy settings properly as per your engineers suggestion. After this again tried to install, but now getting the below error

[root@indeta3appu001 nagiosxi]# cat /tmp/xi-install.log
Adding users and groups...
useradd: user 'nagios' already exists
groupadd: group 'nagios' already exists
groupadd: group 'nagcmd' already exists
Users and groups added OK
MySQL installed OK - continuing...
Starting MySQL...
Redirecting to /bin/systemctl restart mariadb.service
Initializing MySQL...
Saved password 'nagiosxi' worked...
MySQL initialized OK
Database servers initialized OK
/etc/services updated
sudoers configured OK
FirewallD is not running
FirewallD is not running
FirewallD is not running
FirewallD is not running
Firewall rules updated OK
SELinux Disabled
Database backups configured OK
PHP limits configured OK
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.4.lin
Sourceguardian extension found for PHP version 5.4
Sourceguardian extension already in php.ini
Redirecting to /bin/systemctl restart httpd.service
Installed SourceGuardian loaders
PHP timezone configured OK
Installing Nagios XI base files...
Creating product directory...
Adding password for user nagiosadmin
Checking MySQL status...
MySQL running - continuing...
Setting up Nagios XI database...
ERROR 1007 (HY000) at line 4: Can't create database 'nagiosxi'; database exists
ERROR: Nagios XI database was not setup properly - exiting.
[root@indeta3appu001 nagiosxi]#
thanigaivel.a
Posts: 109
Joined: Mon Jan 22, 2018 3:38 pm

Re: Fresh NagiosXI installation issues

Post by thanigaivel.a »

thank you,

I myself managed to install nagiosxi successfully.
Locked