前文已经太长,当时出现了两个错误,经过搜索,发现是apache2的问题,内部默认使用了apaceh2-mpm-worker,check_mk的网站应该在多线程处理上有些问题,因此老出错。
在Ubuntu下解决这个问题很简单,就是安装apache2-mpm-prefork,这是每个请求独立用一个进程的方式。
root@icinga:/etc/check_mk# apt-get install apache2-mpm-prefork
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
apache2-mpm-worker
The following NEW packages will be installed:
apache2-mpm-prefork
0 upgraded, 1 newly installed, 1 to remove and 2 not upgraded.
Need to get 2,352 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main apache2-mpm-prefork amd64 2.2.22-6ubuntu2.2 [2,352 B]
Fetched 2,352 B in 2s (1,071 B/s)
dpkg: apache2-mpm-worker: dependency problems, but removing anyway as you requ