<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1">After an emerge on new apache(2.2.6) with modular vhost
configuration, i get the error "</font>Error: Could not open command
file '/var/log/nagios/rw/nagios.cmd' for update!" <font size="-1">when
try to use the re-scedule command function, i see no nagios.cmd in the
rw dir.<br>
All the other nagios function are ok.<br>
<br>
All my nagios cfg(follow) shold be correct. I miss some configuration
on apache?<br>
<br>
</font><font size="-1">#cgi.cfg<br>
nagios_check_command=/usr/nagios/libexec/check_nagios -e 5 -C
'/usr/nagios/bin/nagios' -F '/var/log/nagios/status.log'<br>
<br>
#nagios.cfg<br>
command_file=/var/log/nagios/rw/nagios.cmd<br>
command_check_interval=-1<br>
check_external_commands=1<br>
<br>
# ls -al /var/log/nagios/<br>
total 320<br>
drwxr-x--- 3 nagios apache 4096 Oct 18 10:50 .<br>
drwxr-xr-x 9 root root 4096 Oct 12 15:13 ..<br>
-rw-rw-r-- 1 nagios nagios 238 Oct 15 15:45 comment.log<br>
-rw-rw-r-- 1 nagios nagios 239 Oct 12 16:19 downtime.log<br>
-rw-r--r-- 1 nagios nagios 134089 Oct 18 10:50 nagios.log<br>
-rw------- 1 nagios nagios 36922 Oct 12 16:01 nagios.tmpqJpGIs<br>
drwxr-sr-x 2 nagios apache 4096 Oct 18 10:24 rw<br>
-rw-rw-r-- 1 nagios nagios 119715 Oct 18 10:50 status.log<br>
<br>
Ty<br>
</font>
<pre class="moz-signature" cols="72">--
Riccardo Cupardo
</pre>
</body>
</html>