Page 1 of 1

Nagios Log Server failed install

Posted: Thu Jul 14, 2016 10:20 am
by lehc01
https://support.nagios.com/forum/viewto ... backend%27

I found the above topic that is very similar to my issue, but has no resolution or further comments since Feb 2015.

Here is the error from the log file, there are no further indications of an error. I am trying to install logserver (lateset free version) along side Nagios Core 4.1.1

Successfully installed argparse-1.4.0 click-6.6 elasticsearch-2.0.0 elasticsearch-curator-3.4.0 jsonselect-0.2.3
prereqs step completed OK
Running 'sourceguardian'...
Installing sourceguardian...
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.4.lin
Sourceguardian extension found for PHP version 5.4
Adding Sourceguardian extension to php.ini
sourceguardian step completed OK
Running 'timezone'...
sed: -e expression #1, char 57: unknown option to `s'
timezone step completed OK
Running 'nagioslogserver'...
Loaded plugins: package_upload, product-id, search-disabled-repos, subscription-
: manager
Package php-common-5.4.16-36.1.el7_2.1.x86_64 already installed and latest version
Nothing to do
nagioslogserver step completed OK
Running 'backend'...
groupadd: group 'nagios' already exists

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios Enterprises technical support.

The step that failed was: 'backend'
-bash-4.2$

Re: Nagios Log Server failed install

Posted: Thu Jul 14, 2016 10:29 am
by hsmith
Nagios Core and Nagios Log Server running on the same VM is not supported, and should be avoided.

Re: Nagios Log Server failed install

Posted: Thu Jul 14, 2016 10:48 am
by lehc01
thanks for the info, i was unable to find anything that suggested the two running on the same server was unsupported.

so it's not supported and recommended, so it can be done then? :D

i'm looking for un-install directions but again i can't seem to find them.

Re: Nagios Log Server failed install

Posted: Thu Jul 14, 2016 11:10 am
by rkennedy
Could it be done? Possibly. Would it take manually modifying a lot of different pieces? Yes. The other issue becomes dependencies, as everything is going to require different packages.

I would start fresh with both of them, as it's hard to say what's been done at this point.

Re: Nagios Log Server failed install

Posted: Thu Jul 14, 2016 11:38 am
by lehc01
thanks for the replies!

so far nothing is broke, other than log server not working. we'll let it sit and rebuild if necessary.

thanks again for the input.

Re: Nagios Log Server failed install

Posted: Thu Jul 14, 2016 2:00 pm
by bwallace
You're welcome - Although nothing is broke at the moment, something will likely break in the future with Core + Log Server running on the same server so better to start fresh with each on their own server as rkennedy suggested. Are we good to close this thread or did you have any other questions?

Re: Nagios Log Server failed install

Posted: Thu Jul 14, 2016 2:03 pm
by lehc01
thanks, yes this can be closed.