Nagios4.0.8 bug修复
报错信息:
[1383116400] Worker 1277: Unknown jobtype: 10
[1383116400] wproc: Unknown job type: 10
[1383116400] Worker 1279: Unknown jobtype: 10
[1383116400] wproc: Unknown job type: 10
[1383116400] Worker 1278: Unknown jobtype: 10
[1383116400] wproc: Unknown job type: 10
nagios重启不生效:
[root@nagios init.d]# service nagios stop
Stopping nagios:kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
done.
[root@nagios init.d]#
进程号都不更新:
修复补丁介绍:
http://tracker.nagios.org/view.php?id=534
修复过程:
下载修复包放到源码目录:
bogus_warnings.patch
[root@nagios nagios-4.0.8]# ll
total 692
drwxrwxr-x 2 root root 4096 Jun 1 20:34 base
-rw-r--r-- 1 root root 771 Jun 1 20:25 bogus_warnings.patch
drwxrwxr-x 2 root root 4096 Jun 1 20:34 cgi
[root@nagios nagios-4.0.8]#yum install patch*
[root@nagios nagios-4.0.8]#patch -p1 < bogus_warnings.patch
重新编译安装:
[root@nagios nagios-4.0.8]#./configure --prefix=/usr/local/nagios --with-command-group=nagcmd --enable-nanosleep --enable-event-broker --enable-embedded-perl
[root@nagios nagios-4.0.8]#make all&&make install&&make install-init&&make install-commandmode&&make install-config&&make install-webconf
[root@nagios nagios-4.0.8]# service nagios restart
Running configuration check...
Stopping nagios: done.
Starting nagios: done.
[root@nagios nagios-4.0.8]#
正常!!
报错信息:
[1383116400] Worker 1277: Unknown jobtype: 10
[1383116400] wproc: Unknown job type: 10
[1383116400] Worker 1279: Unknown jobtype: 10
[1383116400] wproc: Unknown job type: 10
[1383116400] Worker 1278: Unknown jobtype: 10
[1383116400] wproc: Unknown job type: 10
nagios重启不生效:
[root@nagios init.d]# service nagios stop
Stopping nagios:kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
done.
[root@nagios init.d]#
进程号都不更新:
修复补丁介绍:
http://tracker.nagios.org/view.php?id=534
修复过程:
下载修复包放到源码目录:
bogus_warnings.patch
[root@nagios nagios-4.0.8]# ll
total 692
drwxrwxr-x 2 root root 4096 Jun 1 20:34 base
-rw-r--r-- 1 root root 771 Jun 1 20:25 bogus_warnings.patch
drwxrwxr-x 2 root root 4096 Jun 1 20:34 cgi
[root@nagios nagios-4.0.8]#yum install patch*
[root@nagios nagios-4.0.8]#patch -p1 < bogus_warnings.patch
重新编译安装:
[root@nagios nagios-4.0.8]#./configure --prefix=/usr/local/nagios --with-command-group=nagcmd --enable-nanosleep --enable-event-broker --enable-embedded-perl
[root@nagios nagios-4.0.8]#make all&&make install&&make install-init&&make install-commandmode&&make install-config&&make install-webconf
[root@nagios nagios-4.0.8]# service nagios restart
Running configuration check...
Stopping nagios: done.
Starting nagios: done.
[root@nagios nagios-4.0.8]#
正常!!
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29500582/viewspace-1681184/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29500582/viewspace-1681184/