我在带有Nagios的VirtualBox上有一个服务器,我想与套接字UNIX进行通信,但是因为一周就有问题......
apache error_log包含:
[Tue Jan 14 09:34:43 2014] [error] [client 192.168.2.36] PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to unix:///var/log/nagios/rw/live:0 (No such file or directory) in /usr/share/nagios/jNag/server/returndata.php on line 80, referer: http://192.168.2.97/nagios/jNag/client-web/index.html
[Tue Jan 14 09:34:43 2014] [error] [client 192.168.2.36] PHP Notice: Undefined variable: errstr in /usr/share/nagios/jNag/server/returndata.php on line 82, referer: http://192.168.2.97/nagios/jNag/client-web/index.html
[Tue Jan 14 09:34:43 2014] [error] [client 192.168.2.36] PHP Notice: Undefined variable: errno in /usr/share/nagios/jNag/server/returndata.php on line 82, referer: http://192.168.2.97/nagios/jNag/client-web/index.html
但实际上,套接字有效,并且存在......
如果您有任何想法......提前致谢
尼古拉斯