Installation error RHEL 5 64-Bit

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Installation error RHEL 5 64-Bit

Post by BanditBBS »

I think we found the issue with CPU spikes and got my hand on a new system so I could start over.(I'll report on CPU spikes soon)

However, when installing on RHEL 5 64bit I am running into issues. Here is the interesting part of the install log:

Code: Select all

Adding users and groups...
Account creation failed: entry already present in file.
Group creation failed: entry already present in file
Users and groups added OK
PostgresQL installed OK - continuing...
Initializing PostgresQL...
Starting PostgresQL...
chown: `postgres:postgres': invalid user
Initializing database: chown: `postgres:postgres': invalid user
^[[60G[^[[0;31mFAILED^[[0;39m]^M
Starting postgresql service: ^[[60G[^[[0;31mFAILED^[[0;39m]^M
ERROR: Could not start PostgresQL - exiting.
I don't know if this part matters, but this is there too:

Code: Select all

^M  Installing     : mysql-server                                           15/82
warning: user mysql does not exist - using root
warning: group mysql does not exist - using root
warning: user mysql does not exist - using root
warning: group mysql does not exist - using root
warning: user mysql does not exist - using root
warning: group mysql does not exist - using root
^M  Installing     : php-mcrypt                                             16/82
^M  Installing     : postgresql-devel                                       17/82
^M  Installing     : postgresql-server                                      18/82
warning: user postgres does not exist - using root
warning: group postgres does not exist - using root
warning: user postgres does not exist - using root
warning: group postgres does not exist - using root
warning: user postgres does not exist - using root
warning: group postgres does not exist - using root
warning: user postgres does not exist - using root
warning: group postgres does not exist - using root
Any hints? I think the problem is happening because nagios user already exists due to we sync ppk's. It isn't creating the mysql user or the postgres user though, where ever that is supposed to happen.

Edit: Yeah, all my issues are related to useradd and groupadd not existing. I have luseradd and lgroupadd instead and copying them to the other filenames don't seem to make it work. Also, mysql and postgresql installs are not working well. postgresql is tryign to install old 8.1 version and not sure about mysql.

EDIT2: AHHHH So easy to get past. I did a yum reinstall shadow-utils and it installed the missing utils and install is proceeding much further
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Installation error RHEL 5 64-Bit

Post by tmcdonald »

BanditBBS wrote:EDIT2: AHHHH So easy to get past. I did a yum reinstall shadow-utils and it installed the missing utils and install is proceeding much further
How much further? Like "Close this thread" further?
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Installation error RHEL 5 64-Bit

Post by BanditBBS »

tmcdonald wrote:
BanditBBS wrote:EDIT2: AHHHH So easy to get past. I did a yum reinstall shadow-utils and it installed the missing utils and install is proceeding much further
How much further? Like "Close this thread" further?
Yeah, looks like my install completed.

So just for anyone else that installs and gets weird user issues, verify useradd and groupadd exist and if not, fix that!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Locked