These accounts for Nagios XI are shown in /etc/passwd:
nagios
apache
postgres
mysql
ajaxterm
in /etc/group:
nagios
nagcmd
apache
postgres
mysql
ajaxterm
Then, we ran the "fullinstall". The installation failed when initializing PostgresQL. The following is the install.log:
Nagios XI Installation Log
==========================
DATE: Mon Jan 18 18:27:12 EST 2016
DISTRO INFO:
RedHatEnterpriseServer
6.7
x86_64
THIS IS A NEW INSTALL!
INSTALLING:
full=2014R2.6
major=2014
minor=R2.7
releasedate=2015-04-23
release=416
Repos already configured - exiting.
Prereqs already installed - skipping...
Note: If you want to update the RPMs installed on this system, run your package manager's update command
Adding users and groups...
useradd: user 'nagios' already exists
groupadd: group 'nagios' already exists
groupadd: group 'nagcmd' already exists
Users and groups added OK
PostgresQL installed OK - continuing...
Initializing PostgresQL...
Starting PostgresQL...
/var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first.
[FAILED]
ERROR: Could not start PostgresQL - exiting.
--------------
Previously, I installed Nagios XI 2014R2.7 on the systems that do not require these accounts be created first before running "fullinstall". In all these cases, Nagios XI 2014R2.7 was installed on these systems successfully. This is the first time we were asked to create these accounts and groups first before installing the Nagios XI, and the installation failed when setting up the PostgreSQL (Initializing PostgresQL).
Can you help look into this problem and provide a solution for this problem? It is very urgent to get this problem resolved. Thanks!