Hi ,
I am unable to install Nagios XI in RHEL 6.2
PostgresQL installed OK - continuing...
Initializing PostgresQL...
Starting PostgresQL...
/var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first.
^[[60G[^[[0;31mFAILED^[[0;39m]^M
ERROR: Could not start PostgresQL - exiting.
It is production server setup. Please guide ASAP.
Thanks and Regards,
CCS team
Unable to install Nagios
-
wipro-cloud-services
- Posts: 58
- Joined: Thu Nov 11, 2010 4:42 am
Re: Unable to install Nagios
And when I also try
[root@zew-v-86a322c8 nagiosxi]# service postgresql initdb
Initializing database: mkdir: cannot create directory `/var/lib/pgsql/data/pg_log': File exists
[FAILED]
I am getting this error
Please Guide ASAP
Regards,
Renuka
[root@zew-v-86a322c8 nagiosxi]# service postgresql initdb
Initializing database: mkdir: cannot create directory `/var/lib/pgsql/data/pg_log': File exists
[FAILED]
I am getting this error
Please Guide ASAP
Regards,
Renuka
Re: Unable to install Nagios
Can you send us the full /tmp/install.log file?
-
wipro-cloud-services
- Posts: 58
- Joined: Thu Nov 11, 2010 4:42 am
Re: Unable to install Nagios
Hi ,
Please find the install.log file.
Thanks and Regards,
Renuka
Please find the install.log file.
Thanks and Regards,
Renuka
You do not have the required permissions to view the files attached to this post.
-
wipro-cloud-services
- Posts: 58
- Joined: Thu Nov 11, 2010 4:42 am
Re: Unable to install Nagios
Is there any update ? Please guide ASAP.
Re: Unable to install Nagios
Why you are trying to install Nagios XI ver. 2011R3.0?! I would recommend removing the "/tmp/nagiosxi" directory, downloading a newer version of XI from our main downloads page, and installing it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
wipro-cloud-services
- Posts: 58
- Joined: Thu Nov 11, 2010 4:42 am
Re: Unable to install Nagios
Hi ,
I have installed http://assets.nagios.com/downloads/nagi ... 1.2.tar.gz version. But still I am getting the same issue. Can you please guide quickly.
Installing prerequisites...
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
/tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: does not update installed package.
Examining /tmp/nagiosxi/nagiosxi-deps-2012r1.2-1.noarch.rpm: nagiosxi-deps-2012r1.2-1.noarch
/tmp/nagiosxi/nagiosxi-deps-2012r1.2-1.noarch.rpm: does not update installed package.
Nothing to do
Prerequisites installed OK
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.
^[[60G[^[[0;31mFAILED^[[0;39m]^M
ERROR: Could not start PostgresQL - exiting.
It is for Production environment . We also acquired the licenses. Please guide ASAP.
Thanks and Regards,
CCS team.
I have installed http://assets.nagios.com/downloads/nagi ... 1.2.tar.gz version. But still I am getting the same issue. Can you please guide quickly.
Installing prerequisites...
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
/tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: does not update installed package.
Examining /tmp/nagiosxi/nagiosxi-deps-2012r1.2-1.noarch.rpm: nagiosxi-deps-2012r1.2-1.noarch
/tmp/nagiosxi/nagiosxi-deps-2012r1.2-1.noarch.rpm: does not update installed package.
Nothing to do
Prerequisites installed OK
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.
^[[60G[^[[0;31mFAILED^[[0;39m]^M
ERROR: Could not start PostgresQL - exiting.
It is for Production environment . We also acquired the licenses. Please guide ASAP.
Thanks and Regards,
CCS team.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Unable to install Nagios
Was this a fresh clean system? It appears that postgresql was already installed.
http://assets.nagios.com/downloads/nagi ... stallation
http://assets.nagios.com/downloads/nagi ... stallation
Note: Nagios XI can only be installed to RHEL, CentOS, or Fedora Core Linux distributions. We highly recommend installing Nagios XI on a 32-bit distribution.
Important: Nagios Enterprises highly recommends and will only support installing Nagios XI on a newly installed, "clean" system. Attempting to install Nagios XI on a pre-existing system with other applications already installed can cause the Nagios XI installation process to fail, critical system components and settings (e.g. database servers) to be modified in a way that negatively affects other applications, and previously installed applications to be automatically upgraded or removed. While installing XI on a system with other applications is possible, it is not recommended due to the possible interactions and complexity of multiple components that are required for Nagios XI to function. If you choose to ignore these warnings, you do so at your own risk.
Internet access is required for installation and upgrades!