Page 1 of 1
nagios log server installation failure
Posted: Tue Jun 07, 2016 5:55 am
by Monica7
Hi,
I am facing installation failure when installing nagios log server. Please help me on this.
Re: nagios log server installation failure
Posted: Tue Jun 07, 2016 9:26 am
by rkennedy
It looks like it's erroring out here -
Code: Select all
zipimport.ZipImportError: can't decompress data; zlib not available
Code: Select all
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named rpm
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.11 (default, May 3 2016, 08:07:05)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-16)]
Was this a minimal RHEL7 install? Are you using a satellite server for your repos? What is the full output of
ps -ef and
yum repolist?
Re: nagios log server installation failure
Posted: Thu Jun 09, 2016 1:01 am
by Monica7
Hi,
Output of ps -ef command:
Code: Select all
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 2015 ? 00:19:00 /usr/lib/systemd/systemd --system --deserialize 19
root 2 0 0 2015 ? 00:00:07 [kthreadd]
root 3 2 0 2015 ? 00:00:37 [ksoftirqd/0]
root 5 2 0 2015 ? 00:00:00 [kworker/0:0H]
root 7 2 0 2015 ? 00:00:59 [migration/0]
root 8 2 0 2015 ? 00:00:00 [rcu_bh]
root 9 2 0 2015 ? 00:00:00 [rcuob/0]
root 10 2 0 2015 ? 00:00:00 [rcuob/1]
root 11 2 0 2015 ? 00:00:00 [rcuob/2]
root 12 2 0 2015 ? 00:00:00 [rcuob/3]
root 13 2 0 2015 ? 00:00:00 [rcuob/4]
root 14 2 0 2015 ? 00:00:00 [rcuob/5]
root 15 2 0 2015 ? 00:00:00 [rcuob/6]
root 16 2 0 2015 ? 00:00:00 [rcuob/7]
root 17 2 0 2015 ? 00:00:00 [rcuob/8]
root 18 2 0 2015 ? 00:00:00 [rcuob/9]
root 19 2 0 2015 ? 00:00:00 [rcuob/10]
root 20 2 0 2015 ? 00:00:00 [rcuob/11]
root 21 2 0 2015 ? 00:00:00 [rcuob/12]
root 22 2 0 2015 ? 00:00:00 [rcuob/13]
root 23 2 0 2015 ? 00:00:00 [rcuob/14]
root 24 2 0 2015 ? 00:00:00 [rcuob/15]
root 25 2 0 2015 ? 00:00:00 [rcuob/16]
root 26 2 0 2015 ? 00:00:00 [rcuob/17]
root 27 2 0 2015 ? 00:00:00 [rcuob/18]
root 28 2 0 2015 ? 00:00:00 [rcuob/19]
root 29 2 0 2015 ? 00:00:00 [rcuob/20]
root 30 2 0 2015 ? 00:00:00 [rcuob/21]
root 31 2 0 2015 ? 00:00:00 [rcuob/22]
root 32 2 0 2015 ? 00:00:00 [rcuob/23]
root 33 2 0 2015 ? 00:00:00 [rcuob/24]
root 34 2 0 2015 ? 00:00:00 [rcuob/25]
root 35 2 0 2015 ? 00:00:00 [rcuob/26]
root 36 2 0 2015 ? 00:00:00 [rcuob/27]
root 37 2 0 2015 ? 00:00:00 [rcuob/28]
root 38 2 0 2015 ? 00:00:00 [rcuob/29]
root 39 2 0 2015 ? 00:00:00 [rcuob/30]
root 40 2 0 2015 ? 00:00:00 [rcuob/31]
root 41 2 0 2015 ? 00:00:00 [rcuob/32]
root 42 2 0 2015 ? 00:00:00 [rcuob/33]
root 43 2 0 2015 ? 00:00:00 [rcuob/34]
root 44 2 0 2015 ? 00:00:00 [rcuob/35]
root 45 2 0 2015 ? 00:00:00 [rcuob/36]
root 46 2 0 2015 ? 00:00:00 [rcuob/37]
root 47 2 0 2015 ? 00:00:00 [rcuob/38]
root 48 2 0 2015 ? 00:00:00 [rcuob/39]
root 49 2 0 2015 ? 00:00:00 [rcuob/40]
root 50 2 0 2015 ? 00:00:00 [rcuob/41]
root 51 2 0 2015 ? 00:00:00 [rcuob/42]
root 52 2 0 2015 ? 00:00:00 [rcuob/43]
root 53 2 0 2015 ? 00:00:00 [rcuob/44]
root 54 2 0 2015 ? 00:00:00 [rcuob/45]
root 55 2 0 2015 ? 00:00:00 [rcuob/46]
root 56 2 0 2015 ? 00:00:00 [rcuob/47]
root 57 2 0 2015 ? 00:00:00 [rcuob/48]
root 58 2 0 2015 ? 00:00:00 [rcuob/49]
root 59 2 0 2015 ? 00:00:00 [rcuob/50]
root 60 2 0 2015 ? 00:00:00 [rcuob/51]
root 61 2 0 2015 ? 00:00:00 [rcuob/52]
root 62 2 0 2015 ? 00:00:00 [rcuob/53]
root 63 2 0 2015 ? 00:00:00 [rcuob/54]
root 64 2 0 2015 ? 00:00:00 [rcuob/55]
root 65 2 0 2015 ? 00:00:00 [rcuob/56]
root 66 2 0 2015 ? 00:00:00 [rcuob/57]
root 67 2 0 2015 ? 00:00:00 [rcuob/58]
root 68 2 0 2015 ? 00:00:00 [rcuob/59]
root 69 2 0 2015 ? 00:00:00 [rcuob/60]
root 70 2 0 2015 ? 00:00:00 [rcuob/61]
root 71 2 0 2015 ? 00:00:00 [rcuob/62]
root 72 2 0 2015 ? 00:00:00 [rcuob/63]
root 73 2 0 2015 ? 00:14:47 [rcu_sched]
root 74 2 0 2015 ? 00:08:56 [rcuos/0]
root 75 2 0 2015 ? 00:08:45 [rcuos/1]
root 76 2 0 2015 ? 00:00:00 [rcuos/2]
root 77 2 0 2015 ? 00:00:00 [rcuos/3]
root 78 2 0 2015 ? 00:00:00 [rcuos/4]
root 79 2 0 2015 ? 00:00:00 [rcuos/5]
root 80 2 0 2015 ? 00:00:00 [rcuos/6]
root 81 2 0 2015 ? 00:00:00 [rcuos/7]
root 82 2 0 2015 ? 00:00:00 [rcuos/8]
root 83 2 0 2015 ? 00:00:00 [rcuos/9]
root 84 2 0 2015 ? 00:00:00 [rcuos/10]
root 85 2 0 2015 ? 00:00:00 [rcuos/11]
root 86 2 0 2015 ? 00:00:00 [rcuos/12]
root 87 2 0 2015 ? 00:00:00 [rcuos/13]
root 88 2 0 2015 ? 00:00:00 [rcuos/14]
root 89 2 0 2015 ? 00:00:00 [rcuos/15]
root 90 2 0 2015 ? 00:00:00 [rcuos/16]
root 91 2 0 2015 ? 00:00:00 [rcuos/17]
root 92 2 0 2015 ? 00:00:00 [rcuos/18]
root 93 2 0 2015 ? 00:00:00 [rcuos/19]
root 94 2 0 2015 ? 00:00:00 [rcuos/20]
root 95 2 0 2015 ? 00:00:00 [rcuos/21]
root 96 2 0 2015 ? 00:00:00 [rcuos/22]
root 97 2 0 2015 ? 00:00:00 [rcuos/23]
root 98 2 0 2015 ? 00:00:00 [rcuos/24]
root 99 2 0 2015 ? 00:00:00 [rcuos/25]
root 100 2 0 2015 ? 00:00:00 [rcuos/26]
root 101 2 0 2015 ? 00:00:00 [rcuos/27]
root 102 2 0 2015 ? 00:00:00 [rcuos/28]
root 103 2 0 2015 ? 00:00:00 [rcuos/29]
root 104 2 0 2015 ? 00:00:00 [rcuos/30]
root 105 2 0 2015 ? 00:00:00 [rcuos/31]
root 106 2 0 2015 ? 00:00:00 [rcuos/32]
root 107 2 0 2015 ? 00:00:00 [rcuos/33]
root 108 2 0 2015 ? 00:00:00 [rcuos/34]
root 109 2 0 2015 ? 00:00:00 [rcuos/35]
root 110 2 0 2015 ? 00:00:00 [rcuos/36]
root 111 2 0 2015 ? 00:00:00 [rcuos/37]
root 112 2 0 2015 ? 00:00:00 [rcuos/38]
root 113 2 0 2015 ? 00:00:00 [rcuos/39]
root 114 2 0 2015 ? 00:00:00 [rcuos/40]
root 115 2 0 2015 ? 00:00:00 [rcuos/41]
root 116 2 0 2015 ? 00:00:00 [rcuos/42]
root 117 2 0 2015 ? 00:00:00 [rcuos/43]
root 118 2 0 2015 ? 00:00:00 [rcuos/44]
root 119 2 0 2015 ? 00:00:00 [rcuos/45]
root 120 2 0 2015 ? 00:00:00 [rcuos/46]
root 121 2 0 2015 ? 00:00:00 [rcuos/47]
root 122 2 0 2015 ? 00:00:00 [rcuos/48]
root 123 2 0 2015 ? 00:00:00 [rcuos/49]
root 124 2 0 2015 ? 00:00:00 [rcuos/50]
root 125 2 0 2015 ? 00:00:00 [rcuos/51]
root 126 2 0 2015 ? 00:00:00 [rcuos/52]
root 127 2 0 2015 ? 00:00:00 [rcuos/53]
root 128 2 0 2015 ? 00:00:00 [rcuos/54]
root 129 2 0 2015 ? 00:00:00 [rcuos/55]
root 130 2 0 2015 ? 00:00:00 [rcuos/56]
root 131 2 0 2015 ? 00:00:00 [rcuos/57]
root 132 2 0 2015 ? 00:00:00 [rcuos/58]
root 133 2 0 2015 ? 00:00:00 [rcuos/59]
root 134 2 0 2015 ? 00:00:00 [rcuos/60]
root 135 2 0 2015 ? 00:00:00 [rcuos/61]
root 136 2 0 2015 ? 00:00:00 [rcuos/62]
root 137 2 0 2015 ? 00:00:00 [rcuos/63]
root 138 2 0 2015 ? 00:02:33 [watchdog/0]
root 139 2 0 2015 ? 00:01:15 [watchdog/1]
root 140 2 0 2015 ? 00:00:53 [migration/1]
root 141 2 0 2015 ? 00:00:37 [ksoftirqd/1]
root 143 2 0 2015 ? 00:00:00 [kworker/1:0H]
root 144 2 0 2015 ? 00:00:00 [khelper]
root 145 2 0 2015 ? 00:00:00 [kdevtmpfs]
root 146 2 0 2015 ? 00:00:00 [netns]
root 147 2 0 2015 ? 00:00:00 [writeback]
root 148 2 0 2015 ? 00:00:00 [kintegrityd]
root 149 2 0 2015 ? 00:00:00 [bioset]
root 150 2 0 2015 ? 00:00:00 [kblockd]
root 151 2 0 2015 ? 00:00:00 [khubd]
root 152 2 0 2015 ? 00:00:00 [md]
root 155 2 0 2015 ? 00:08:51 [kswapd0]
root 156 2 0 2015 ? 00:00:00 [ksmd]
root 157 2 0 2015 ? 00:06:49 [khugepaged]
root 158 2 0 2015 ? 00:00:00 [fsnotify_mark]
root 159 2 0 2015 ? 00:00:00 [crypto]
root 168 2 0 2015 ? 00:00:00 [kthrotld]
root 170 2 0 2015 ? 00:00:00 [kmpath_rdacd]
root 171 2 0 2015 ? 00:00:00 [kpsmoused]
root 191 2 0 2015 ? 00:00:00 [deferwq]
root 214 2 0 2015 ? 00:00:04 [kauditd]
root 384 2 0 2015 ? 00:00:00 [ata_sff]
root 388 2 0 2015 ? 00:00:00 [scsi_eh_0]
root 395 2 0 2015 ? 00:00:00 [scsi_tmf_0]
root 396 2 0 2015 ? 00:00:00 [scsi_eh_1]
root 397 2 0 2015 ? 00:00:00 [scsi_tmf_1]
root 399 2 0 2015 ? 00:00:00 [mpt_poll_0]
root 400 2 0 2015 ? 00:00:00 [mpt/0]
root 401 2 0 2015 ? 00:00:00 [scsi_eh_2]
root 402 2 0 2015 ? 00:00:00 [scsi_tmf_2]
root 404 2 0 2015 ? 00:00:00 [ttm_swap]
root 407 2 0 2015 ? 00:00:30 [kworker/0:1H]
root 408 2 0 2015 ? 00:00:00 [mpt_poll_1]
root 409 2 0 2015 ? 00:00:00 [mpt/1]
root 411 2 0 2015 ? 00:00:00 [scsi_eh_3]
root 412 2 0 2015 ? 00:00:00 [scsi_tmf_3]
root 413 2 0 2015 ? 00:00:00 [mpt_poll_2]
root 414 2 0 2015 ? 00:00:00 [mpt/2]
root 415 2 0 2015 ? 00:00:00 [scsi_eh_4]
root 416 2 0 2015 ? 00:00:00 [scsi_tmf_4]
root 417 2 0 2015 ? 00:00:00 [mpt_poll_3]
root 418 2 0 2015 ? 00:00:00 [mpt/3]
root 419 2 0 2015 ? 00:00:00 [scsi_eh_5]
root 420 2 0 2015 ? 00:00:00 [scsi_tmf_5]
root 506 2 0 2015 ? 00:00:00 [kdmflush]
root 507 2 0 2015 ? 00:00:00 [bioset]
root 514 2 0 2015 ? 00:00:00 [kdmflush]
root 515 2 0 2015 ? 00:00:00 [bioset]
root 533 2 0 2015 ? 00:00:00 [xfsalloc]
root 534 2 0 2015 ? 00:00:00 [xfs_mru_cache]
root 535 2 0 2015 ? 00:00:00 [xfslogd]
root 536 2 0 2015 ? 00:00:00 [xfs-data/dm-1]
root 537 2 0 2015 ? 00:00:00 [xfs-conv/dm-1]
root 538 2 0 2015 ? 00:00:00 [xfs-cil/dm-1]
root 539 2 0 2015 ? 00:00:54 [kworker/1:1H]
root 540 2 0 2015 ? 01:19:58 [xfsaild/dm-1]
root 612 1 0 2015 ? 00:06:00 /usr/lib/systemd/systemd-journald
root 629 1 0 2015 ? 00:00:00 /usr/sbin/lvmetad -f
root 648 1 0 2015 ? 00:00:00 /usr/lib/systemd/systemd-udevd
root 694 2 0 2015 ? 00:00:00 [kdmflush]
root 695 2 0 2015 ? 00:00:00 [bioset]
root 784 2 0 2015 ? 00:00:00 [xfs-data/sda1]
root 785 2 0 2015 ? 00:00:00 [xfs-conv/sda1]
root 786 2 0 2015 ? 00:00:00 [xfs-cil/sda1]
root 787 2 0 2015 ? 00:00:00 [xfsaild/sda1]
root 799 2 0 2015 ? 00:00:00 [xfs-data/dm-2]
root 800 2 0 2015 ? 00:00:00 [xfs-conv/dm-2]
root 801 2 0 2015 ? 00:00:00 [xfs-cil/dm-2]
root 802 2 0 2015 ? 00:00:01 [xfsaild/dm-2]
root 807 1 0 2015 ? 00:00:27 /sbin/auditd -n
root 835 1 0 2015 ? 00:00:57 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
avahi 838 1 0 2015 ? 00:00:14 avahi-daemon: running [COGNISRV04.local]
root 846 1 0 2015 ? 00:02:43 /usr/bin/python -Es /usr/sbin/tuned -l -P
root 847 1 0 2015 ? 00:57:48 /usr/sbin/irqbalance --foreground
root 849 1 0 2015 ? 00:04:57 /usr/lib/systemd/systemd-logind
dbus 850 1 0 2015 ? 00:12:49 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 860 1 0 2015 tty1 00:00:00 /sbin/agetty --noclear tty1
avahi 863 838 0 2015 ? 00:00:00 avahi-daemon: chroot helper
root 872 1 0 2015 ? 00:00:00 /sbin/iprinit --daemon
root 875 1 0 2015 ? 00:00:00 /sbin/iprupdate --daemon
root 887 1 0 2015 ? 00:00:00 /sbin/iprdump --daemon
root 962 1 0 2015 ? 00:03:27 /usr/sbin/NetworkManager --no-daemon
polkitd 1176 1 0 2015 ? 00:01:11 /usr/lib/polkit-1/polkitd --no-debug
root 1352 962 0 2015 ? 00:00:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-eno16777752.pid -lf /var/lib/NetworkManager/dhcl
ient-74a6d1ca-d782-483c-9063-b961abaefd5c-eno16777752.lease -cf /var/lib/NetworkManager/dhclient-eno16777752.conf eno16777752
root 1500 1 0 2015 ? 00:00:01 /usr/bin/rhsmcertd
root 1533 1 0 2015 ? 00:00:04 /usr/sbin/sshd -D
root 2016 1 0 2015 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysq
ld.pid --basedir=/usr --user=mysql
mysql 2619 2016 0 2015 ? 04:32:07 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/
var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock
root 4925 1 0 2015 ? 10:38:26 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/bin/java -server -Dorg.opends.server.scriptName=start-ds org.opends.
server.core.DirectoryServer --configClass org.opends.server.extensions.ConfigFileHandler --configFile /usr/share/opendj/config/config.ldif
root 5622 1 0 May23 ? 02:57:51 splunkd -p 9997 start
root 5623 5622 0 May23 ? 00:00:00 [splunkd pid=5622] splunkd -p 9997 start [process-runner]
root 16359 1 0 May27 ? 00:01:08 /usr/sbin/httpd -DFOREGROUND
root 26939 1 0 2015 ? 00:10:45 sendmail: accepting connections
smmsp 26953 1 0 2015 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
apache 33298 16359 0 Jun05 ? 00:00:25 /usr/sbin/httpd -DFOREGROUND
apache 37150 16359 0 Jun07 ? 00:00:15 /usr/sbin/httpd -DFOREGROUND
apache 37437 16359 0 Jun07 ? 00:00:11 /usr/sbin/httpd -DFOREGROUND
root 37596 1 0 Jun07 ? 00:00:50 /usr/sbin/rsyslogd -n
root 37738 1 0 Jun07 ? 00:00:02 /usr/sbin/crond -n
apache 38209 16359 0 Jun07 ? 00:00:08 /usr/sbin/httpd -DFOREGROUND
apache 38541 16359 0 Jun07 ? 00:00:08 /usr/sbin/httpd -DFOREGROUND
apache 38543 16359 0 Jun07 ? 00:00:09 /usr/sbin/httpd -DFOREGROUND
apache 38732 16359 0 Jun07 ? 00:00:08 /usr/sbin/httpd -DFOREGROUND
apache 60769 16359 0 Jun08 ? 00:00:19 /usr/sbin/httpd -DFOREGROUND
root 61544 2 0 00:00 ? 00:00:10 [kworker/0:0]
apache 61577 16359 0 00:12 ? 00:00:01 /usr/sbin/httpd -DFOREGROUND
apache 61578 16359 0 00:12 ? 00:00:01 /usr/sbin/httpd -DFOREGROUND
root 61815 2 0 03:08 ? 00:00:00 [kworker/u128:0]
root 62115 2 0 06:21 ? 00:00:02 [kworker/0:2]
root 62144 2 0 06:45 ? 00:00:00 [kworker/u128:1]
root 62207 2 0 07:39 ? 00:00:00 [kworker/1:2]
root 62223 2 0 07:47 ? 00:00:00 [kworker/1:1]
root 62230 2 0 07:52 ? 00:00:00 [kworker/1:0]
root 62231 2 0 07:55 ? 00:00:00 [kworker/1:3]
root 62232 1533 0 07:56 ? 00:00:00 sshd: root@pts/0
root 62236 62232 0 07:56 pts/0 00:00:00 -bash
root 62257 62236 0 07:57 pts/0 00:00:00 ps -ef
root 62258 62236 0 07:57 pts/0 00:00:00 more
root 64190 1 0 May20 ? 01:42:23 /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.85-2.6.1.2.el7_1.x86_64/bin/java -Djava.util.logging.config.file=/usr/share/tomcat
/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat/endorsed -classpath /usr/share/tomcat/
bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat -Djava.io.tmpdir=/usr/share/tomcat/temp org.
apache.catalina.startup.Bootstrap start
Output of yum command:
Code: Select all
[root@COGNISRV04 ~]# yum repolist
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named rpm
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.11 (default, May 3 2016, 08:07:05)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-16)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
[root@COGNISRV04 ~]#
I am not sure whether RHEL is installed or not. But I think it is not installed.
Re: nagios log server installation failure
Posted: Thu Jun 09, 2016 9:42 am
by hsmith
Monica7 wrote:root 5622 1 0 May23 ? 02:57:51 splunkd -p 9997 start
root 5623 5622 0 May23 ? 00:00:00 [splunkd pid=5622] splunkd -p 9997 start [process-runner]
Are you running Splunk on this server?
Monica7 wrote:[root@COGNISRV04 ~]# yum repolist
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
Do you have a Linux administrator at your organization? They'll need to take a look at this.
Monica7 wrote:I am not sure whether RHEL is installed or not. But I think it is not installed.
RHEL = Red Hat Enterprise Linux. You definitely have that installed. I see systemd running, so this is likely RHEL7/CentOS7/Fedora(not supported).
Re: nagios log server installation failure
Posted: Fri Jun 10, 2016 12:34 am
by Monica7
Are you running Splunk on this server?
Yeah splunk forwarder is running on it.
Do you have a Linux administrator at your organization? They'll need to take a look at this.
I will check with Linux administrator on this issue(No module named rpm)
RHEL = Red Hat Enterprise Linux. You definitely have that installed. I see systemd running, so this is likely RHEL7/CentOS7/Fedora(not supported).
Ok Smith.
Re: nagios log server installation failure
Posted: Fri Jun 10, 2016 9:25 am
by hsmith
Let us know if you need anything else.
Re: nagios log server installation failure
Posted: Mon Jun 20, 2016 8:04 am
by Monica7
Sure Smith
Re: nagios log server installation failure
Posted: Mon Jun 20, 2016 10:25 am
by rkennedy
Please post back if you have any further questions regarding this.