Installation error

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Installation error

Post by BanditBBS »

Code: Select all

[root@iss-chi-nag10 nagioslogserver]# cat install.log

Nagios Log Server Installation
==============================
DATE: Wed Dec  3 15:16:56 CST 2014

DISTRO INFO:
RedHatEnterpriseServer
6.6
x86_64

Running 'setup_local_syslog'...
Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
setup_local_syslog step completed OK
Running 'prereqs'...
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package gcc-4.4.7-11.el6.x86_64 already installed and latest version
Package glibc-2.12-1.149.el6.x86_64 already installed and latest version
Package 1:java-1.7.0-openjdk-1.7.0.71-2.5.3.1.el6.x86_64 already installed and latest version
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Package ntp-4.2.6p5-1.el6.x86_64 already installed and latest version
Package patch-2.6-6.el6.x86_64 already installed and latest version
Package perl-ExtUtils-MakeMaker-6.55-136.el6_6.1.x86_64 already installed and latest version
Package sudo-1.8.6p3-15.el6.x86_64 already installed and latest version
Package unzip-6.0-1.el6.x86_64 already installed and latest version
Package zip-3.0-1.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package byacc.x86_64 0:1.9.20070509-7.el6 will be installed
---> Package cairo-devel.x86_64 0:1.8.8-3.1.el6 will be installed
--> Processing Dependency: pkgconfig(xrender) >= 0.6 for package: cairo-devel-1.8.8-3.1.el6.x86_64
--> Processing Dependency: pkgconfig(pixman-1) >= 0.12.0 for package: cairo-devel-1.8.8-3.1.el6.x86_64
--> Processing Dependency: pkgconfig(freetype2) >= 9.7.3 for package: cairo-devel-1.8.8-3.1.el6.x86_64
--> Processing Dependency: pixman-devel >= 0.12.0 for package: cairo-devel-1.8.8-3.1.el6.x86_64
--> Processing Dependency: freetype-devel >= 2.1.9 for package: cairo-devel-1.8.8-3.1.el6.x86_64
--> Processing Dependency: fontconfig-devel >= 2.0 for package: cairo-devel-1.8.8-3.1.el6.x86_64
--> Processing Dependency: pkgconfig(x11) for package: cairo-devel-1.8.8-3.1.el6.x86_64
--> Processing Dependency: pkgconfig(libpng12) for package: cairo-devel-1.8.8-3.1.el6.x86_64
--> Processing Dependency: pkgconfig(fontconfig) for package: cairo-devel-1.8.8-3.1.el6.x86_64
--> Processing Dependency: libpng-devel for package: cairo-devel-1.8.8-3.1.el6.x86_64
--> Processing Dependency: libXrender-devel for package: cairo-devel-1.8.8-3.1.el6.x86_64
---> Package glib2-devel.x86_64 0:2.28.8-4.el6 will be installed
---> Package libxml2-devel.x86_64 0:2.7.6-17.el6_6.1 will be installed
---> Package net-snmp.x86_64 1:5.5-50.el6_6.1 will be installed
--> Processing Dependency: net-snmp-libs = 1:5.5-50.el6_6.1 for package: 1:net-snmp-5.5-50.el6_6.1.x86_64
--> Processing Dependency: libsensors.so.4()(64bit) for package: 1:net-snmp-5.5-50.el6_6.1.x86_64
--> Processing Dependency: libnetsnmptrapd.so.20()(64bit) for package: 1:net-snmp-5.5-50.el6_6.1.x86_64
--> Processing Dependency: libnetsnmpmibs.so.20()(64bit) for package: 1:net-snmp-5.5-50.el6_6.1.x86_64
--> Processing Dependency: libnetsnmphelpers.so.20()(64bit) for package: 1:net-snmp-5.5-50.el6_6.1.x86_64
--> Processing Dependency: libnetsnmpagent.so.20()(64bit) for package: 1:net-snmp-5.5-50.el6_6.1.x86_64
--> Processing Dependency: libnetsnmp.so.20()(64bit) for package: 1:net-snmp-5.5-50.el6_6.1.x86_64
---> Package net-snmp-utils.x86_64 1:5.5-50.el6_6.1 will be installed
---> Package pango-devel.x86_64 0:1.28.1-10.el6 will be installed
--> Processing Dependency: pkgconfig(xft) for package: pango-devel-1.28.1-10.el6.x86_64
--> Processing Dependency: libXft-devel for package: pango-devel-1.28.1-10.el6.x86_64
--> Processing Dependency: libXext-devel for package: pango-devel-1.28.1-10.el6.x86_64
---> Package php.x86_64 0:5.3.3-40.el6_6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-5.3.3-40.el6_6.x86_64
--> Processing Dependency: httpd-mmn = 20051115 for package: php-5.3.3-40.el6_6.x86_64
--> Processing Dependency: httpd for package: php-5.3.3-40.el6_6.x86_64
---> Package php-cli.x86_64 0:5.3.3-40.el6_6 will be installed
---> Package sendmail.x86_64 0:8.14.4-8.el6 will be installed
--> Processing Dependency: procmail for package: sendmail-8.14.4-8.el6.x86_64
--> Running transaction check
---> Package fontconfig-devel.x86_64 0:2.8.0-5.el6 will be installed
---> Package freetype-devel.x86_64 0:2.3.11-14.el6_3.1 will be installed
---> Package httpd.x86_64 0:2.2.15-39.el6 will be installed
--> Processing Dependency: httpd-tools = 2.2.15-39.el6 for package: httpd-2.2.15-39.el6.x86_64
--> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-39.el6.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.2.15-39.el6.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.2.15-39.el6.x86_64
---> Package libX11-devel.x86_64 0:1.6.0-2.2.el6 will be installed
--> Processing Dependency: pkgconfig(xcb) >= 1.1.92 for package: libX11-devel-1.6.0-2.2.el6.x86_64
--> Processing Dependency: pkgconfig(xproto) for package: libX11-devel-1.6.0-2.2.el6.x86_64
--> Processing Dependency: pkgconfig(xcb) for package: libX11-devel-1.6.0-2.2.el6.x86_64
--> Processing Dependency: pkgconfig(kbproto) for package: libX11-devel-1.6.0-2.2.el6.x86_64
---> Package libXext-devel.x86_64 0:1.3.2-2.1.el6 will be installed
---> Package libXft-devel.x86_64 0:2.3.1-2.el6 will be installed
---> Package libXrender-devel.x86_64 0:0.9.8-2.1.el6 will be installed
---> Package libpng-devel.x86_64 2:1.2.49-1.el6_2 will be installed
---> Package lm_sensors-libs.x86_64 0:3.1.1-17.el6 will be installed
---> Package net-snmp-libs.x86_64 1:5.5-50.el6_6.1 will be installed
---> Package php-common.x86_64 0:5.3.3-40.el6_6 will be installed
---> Package pixman-devel.x86_64 0:0.32.4-4.el6 will be installed
---> Package procmail.x86_64 0:3.22-25.1.el6_5.1 will be installed
--> Running transaction check
---> Package apr.x86_64 0:1.3.9-5.el6_2 will be installed
---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package httpd-tools.x86_64 0:2.2.15-39.el6 will be installed
---> Package libxcb-devel.x86_64 0:1.9.1-2.el6 will be installed
--> Processing Dependency: pkgconfig(xau) >= 0.99.2 for package: libxcb-devel-1.9.1-2.el6.x86_64
---> Package xorg-x11-proto-devel.noarch 0:7.7-9.el6 will be installed
--> Running transaction check
---> Package libXau-devel.x86_64 0:1.0.6-4.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch    Version              Repository             Size
================================================================================
Installing:
 byacc                 x86_64  1.9.20070509-7.el6   rhel-x86_64-server-6   48 k
 cairo-devel           x86_64  1.8.8-3.1.el6        rhel-x86_64-server-6  314 k
 glib2-devel           x86_64  2.28.8-4.el6         rhel-x86_64-server-6  299 k
 libxml2-devel         x86_64  2.7.6-17.el6_6.1     rhel-x86_64-server-6  1.1 M
 net-snmp              x86_64  1:5.5-50.el6_6.1     rhel-x86_64-server-6  306 k
 net-snmp-utils        x86_64  1:5.5-50.el6_6.1     rhel-x86_64-server-6  174 k
 pango-devel           x86_64  1.28.1-10.el6        rhel-x86_64-server-6  278 k
 php                   x86_64  5.3.3-40.el6_6       rhel-x86_64-server-6  1.1 M
 php-cli               x86_64  5.3.3-40.el6_6       rhel-x86_64-server-6  2.2 M
 sendmail              x86_64  8.14.4-8.el6         rhel-x86_64-server-6  717 k
Installing for dependencies:
 apr                   x86_64  1.3.9-5.el6_2        rhel-x86_64-server-6  123 k
 apr-util              x86_64  1.3.9-3.el6_0.1      rhel-x86_64-server-6   87 k
 apr-util-ldap         x86_64  1.3.9-3.el6_0.1      rhel-x86_64-server-6   15 k
 fontconfig-devel      x86_64  2.8.0-5.el6          rhel-x86_64-server-6  209 k
 freetype-devel        x86_64  2.3.11-14.el6_3.1    rhel-x86_64-server-6  364 k
 httpd                 x86_64  2.2.15-39.el6        rhel-x86_64-server-6  825 k
 httpd-tools           x86_64  2.2.15-39.el6        rhel-x86_64-server-6   75 k
 libX11-devel          x86_64  1.6.0-2.2.el6        rhel-x86_64-server-6  982 k
 libXau-devel          x86_64  1.0.6-4.el6          rhel-x86_64-server-6   14 k
 libXext-devel         x86_64  1.3.2-2.1.el6        rhel-x86_64-server-6   75 k
 libXft-devel          x86_64  2.3.1-2.el6          rhel-x86_64-server-6   19 k
 libXrender-devel      x86_64  0.9.8-2.1.el6        rhel-x86_64-server-6   17 k
 libpng-devel          x86_64  2:1.2.49-1.el6_2     rhel-x86_64-server-6  112 k
 libxcb-devel          x86_64  1.9.1-2.el6          rhel-x86_64-server-6  1.0 M
 lm_sensors-libs       x86_64  3.1.1-17.el6         rhel-x86_64-server-6   38 k
 net-snmp-libs         x86_64  1:5.5-50.el6_6.1     rhel-x86_64-server-6  1.5 M
 php-common            x86_64  5.3.3-40.el6_6       rhel-x86_64-server-6  527 k
 pixman-devel          x86_64  0.32.4-4.el6         rhel-x86_64-server-6   20 k
 procmail              x86_64  3.22-25.1.el6_5.1    rhel-x86_64-server-6  162 k
 xorg-x11-proto-devel  noarch  7.7-9.el6            rhel-x86_64-server-6  286 k

Transaction Summary
================================================================================
Install      30 Package(s)

Total download size: 13 M
Installed size: 0
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           1.0 MB/s |  13 MB     00:12
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : xorg-x11-proto-devel-7.7-9.el6.noarch                       1/30
  Installing : freetype-devel-2.3.11-14.el6_3.1.x86_64                     2/30
  Installing : fontconfig-devel-2.8.0-5.el6.x86_64                         3/30
  Installing : apr-1.3.9-5.el6_2.x86_64                                    4/30
  Installing : apr-util-1.3.9-3.el6_0.1.x86_64                             5/30
  Installing : lm_sensors-libs-3.1.1-17.el6.x86_64                         6/30
  Installing : 1:net-snmp-libs-5.5-50.el6_6.1.x86_64                       7/30
  Installing : php-common-5.3.3-40.el6_6.x86_64                            8/30
  Installing : php-cli-5.3.3-40.el6_6.x86_64                               9/30
  Installing : httpd-tools-2.2.15-39.el6.x86_64                           10/30
  Installing : apr-util-ldap-1.3.9-3.el6_0.1.x86_64                       11/30
  Installing : httpd-2.2.15-39.el6.x86_64                                 12/30
/var/tmp/rpm-tmp.5Fh2lm: line 2: groupadd: command not found
/var/tmp/rpm-tmp.5Fh2lm: line 4: useradd: command not found
warning: group apache does not exist - using root
warning: user apache does not exist - using root
warning: group apache does not exist - using root
warning: user apache does not exist - using root
warning: group apache does not exist - using root
warning: group apache does not exist - using root
  Installing : libXau-devel-1.0.6-4.el6.x86_64                            13/30
  Installing : libxcb-devel-1.9.1-2.el6.x86_64                            14/30
  Installing : libX11-devel-1.6.0-2.2.el6.x86_64                          15/30
  Installing : libXrender-devel-0.9.8-2.1.el6.x86_64                      16/30
  Installing : libXft-devel-2.3.1-2.el6.x86_64                            17/30
  Installing : libXext-devel-1.3.2-2.1.el6.x86_64                         18/30
  Installing : glib2-devel-2.28.8-4.el6.x86_64                            19/30
  Installing : 2:libpng-devel-1.2.49-1.el6_2.x86_64                       20/30
  Installing : procmail-3.22-25.1.el6_5.1.x86_64                          21/30
  Installing : pixman-devel-0.32.4-4.el6.x86_64                           22/30
  Installing : cairo-devel-1.8.8-3.1.el6.x86_64                           23/30
  Installing : pango-devel-1.28.1-10.el6.x86_64                           24/30
  Installing : sendmail-8.14.4-8.el6.x86_64                               25/30
warning: group smmsp does not exist - using root
warning: user smmsp does not exist - using root
warning: group smmsp does not exist - using root
  Installing : php-5.3.3-40.el6_6.x86_64                                  26/30
warning: group apache does not exist - using root
  Installing : 1:net-snmp-utils-5.5-50.el6_6.1.x86_64                     27/30
  Installing : 1:net-snmp-5.5-50.el6_6.1.x86_64                           28/30
  Installing : byacc-1.9.20070509-7.el6.x86_64                            29/30
  Installing : libxml2-devel-2.7.6-17.el6_6.1.x86_64                      30/30
  Verifying  : libxcb-devel-1.9.1-2.el6.x86_64                             1/30
  Verifying  : httpd-tools-2.2.15-39.el6.x86_64                            2/30
  Verifying  : libXau-devel-1.0.6-4.el6.x86_64                             3/30
  Verifying  : cairo-devel-1.8.8-3.1.el6.x86_64                            4/30
  Verifying  : php-cli-5.3.3-40.el6_6.x86_64                               5/30
  Verifying  : php-5.3.3-40.el6_6.x86_64                                   6/30
  Verifying  : httpd-2.2.15-39.el6.x86_64                                  7/30
  Verifying  : php-common-5.3.3-40.el6_6.x86_64                            8/30
  Verifying  : libxml2-devel-2.7.6-17.el6_6.1.x86_64                       9/30
  Verifying  : pixman-devel-0.32.4-4.el6.x86_64                           10/30
  Verifying  : procmail-3.22-25.1.el6_5.1.x86_64                          11/30
  Verifying  : libXft-devel-2.3.1-2.el6.x86_64                            12/30
  Verifying  : 1:net-snmp-utils-5.5-50.el6_6.1.x86_64                     13/30
  Verifying  : apr-1.3.9-5.el6_2.x86_64                                   14/30
  Verifying  : 1:net-snmp-5.5-50.el6_6.1.x86_64                           15/30
  Verifying  : xorg-x11-proto-devel-7.7-9.el6.noarch                      16/30
  Verifying  : apr-util-ldap-1.3.9-3.el6_0.1.x86_64                       17/30
  Verifying  : pango-devel-1.28.1-10.el6.x86_64                           18/30
  Verifying  : 2:libpng-devel-1.2.49-1.el6_2.x86_64                       19/30
  Verifying  : sendmail-8.14.4-8.el6.x86_64                               20/30
  Verifying  : libX11-devel-1.6.0-2.2.el6.x86_64                          21/30
  Verifying  : byacc-1.9.20070509-7.el6.x86_64                            22/30
  Verifying  : freetype-devel-2.3.11-14.el6_3.1.x86_64                    23/30
  Verifying  : fontconfig-devel-2.8.0-5.el6.x86_64                        24/30
  Verifying  : lm_sensors-libs-3.1.1-17.el6.x86_64                        25/30
  Verifying  : glib2-devel-2.28.8-4.el6.x86_64                            26/30
  Verifying  : 1:net-snmp-libs-5.5-50.el6_6.1.x86_64                      27/30
  Verifying  : apr-util-1.3.9-3.el6_0.1.x86_64                            28/30
  Verifying  : libXrender-devel-0.9.8-2.1.el6.x86_64                      29/30
  Verifying  : libXext-devel-1.3.2-2.1.el6.x86_64                         30/30

Installed:
  byacc.x86_64 0:1.9.20070509-7.el6    cairo-devel.x86_64 0:1.8.8-3.1.el6
  glib2-devel.x86_64 0:2.28.8-4.el6    libxml2-devel.x86_64 0:2.7.6-17.el6_6.1
  net-snmp.x86_64 1:5.5-50.el6_6.1     net-snmp-utils.x86_64 1:5.5-50.el6_6.1
  pango-devel.x86_64 0:1.28.1-10.el6   php.x86_64 0:5.3.3-40.el6_6
  php-cli.x86_64 0:5.3.3-40.el6_6      sendmail.x86_64 0:8.14.4-8.el6

Dependency Installed:
  apr.x86_64 0:1.3.9-5.el6_2
  apr-util.x86_64 0:1.3.9-3.el6_0.1
  apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1
  fontconfig-devel.x86_64 0:2.8.0-5.el6
  freetype-devel.x86_64 0:2.3.11-14.el6_3.1
  httpd.x86_64 0:2.2.15-39.el6
  httpd-tools.x86_64 0:2.2.15-39.el6
  libX11-devel.x86_64 0:1.6.0-2.2.el6
  libXau-devel.x86_64 0:1.0.6-4.el6
  libXext-devel.x86_64 0:1.3.2-2.1.el6
  libXft-devel.x86_64 0:2.3.1-2.el6
  libXrender-devel.x86_64 0:0.9.8-2.1.el6
  libpng-devel.x86_64 2:1.2.49-1.el6_2
  libxcb-devel.x86_64 0:1.9.1-2.el6
  lm_sensors-libs.x86_64 0:3.1.1-17.el6
  net-snmp-libs.x86_64 1:5.5-50.el6_6.1
  php-common.x86_64 0:5.3.3-40.el6_6
  pixman-devel.x86_64 0:0.32.4-4.el6
  procmail.x86_64 0:3.22-25.1.el6_5.1
  xorg-x11-proto-devel.noarch 0:7.7-9.el6

Complete!
 3 Dec 15:17:22 ntpdate[24151]: adjust time server 199.102.46.79 offset 0.001105 sec
Downloading/unpacking pip
Installing collected packages: pip
Successfully installed pip
Cleaning up...
Downloading/unpacking argparse
  Downloading argparse-1.2.2-py2.py3-none-any.whl
Downloading/unpacking jsonselect
  Downloading jsonselect-0.2.3.tar.gz
  Running setup.py (path:/tmp/pip_build_root/jsonselect/setup.py) egg_info for package jsonselect
    no previously-included directories found matching 'conformance_tests/upstream/.git'
Downloading/unpacking elasticsearch-curator==1.2.2
  Downloading elasticsearch-curator-1.2.2.tar.gz
  Running setup.py (path:/tmp/pip_build_root/elasticsearch-curator/setup.py) egg_info for package elasticsearch-curator
    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
Downloading/unpacking elasticsearch>=1.0.0,<2.0.0 (from elasticsearch-curator==1.2.2)
Downloading/unpacking urllib3>=1.8,<2.0 (from elasticsearch>=1.0.0,<2.0.0->elasticsearch-curator==1.2.2)
  Running setup.py (path:/tmp/pip_build_root/urllib3/setup.py) egg_info for package urllib3
    warning: no previously-included files matching '*' found under directory 'docs/_build'
Installing collected packages: argparse, jsonselect, elasticsearch-curator, elasticsearch, urllib3
  Running setup.py install for jsonselect
    no previously-included directories found matching 'conformance_tests/upstream/.git'
  Running setup.py install for elasticsearch-curator
    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
    Installing curator script to /usr/bin
    Installing es_repo_mgr script to /usr/bin
  Running setup.py install for urllib3
    warning: no previously-included files matching '*' found under directory 'docs/_build'
Successfully installed argparse jsonselect elasticsearch-curator elasticsearch urllib3
Cleaning up...
prereqs step completed OK
Running 'sourceguardian'...
Installing sourceguardian...
Archive:  sourceguardian/ixed4.lin.x86-64.zip
  inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Adding Sourceguardian extension to php.ini
sourceguardian step completed OK
Running 'timezone'...
timezone step completed OK
Running 'nagioslogserver'...
chgrp: invalid group: `apache'

===================
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: 'nagioslogserver'
[root@iss-chi-nag10 nagioslogserver]#
Umm, did I need to install something before log server? This didn't happen on the first node I installed.
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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Installation error

Post by sreinhardt »

Not technically no. However it looks like your system, somehow does not have the useradd and groupadd commands. Not entirely sure how that would even happen, unless PATH is messed up. Anyway, yum complains about it when installing apache and a few other things, and our script is complaining because there is no apache group, which it expected via yum. Instead presently your system is setup to use root for every daemon you just installed, which is not so good. You might get away with adding the package containing useradd and groupadd, then reinstalling other packages.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Installation error

Post by BanditBBS »

I did a

Code: Select all

yum reinstall shadow-utils.x86_64
  yum remove httpd-2.2.15-39
  yum remove httpd-2.2
  yum remove httpd
  yum remove sendmail
And then did the fullinstall again and everything working fine....thanks
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
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Installation error

Post by cmerchant »

You're welcome. We'll go ahead and close this one. Thanks.
Locked