I'm running 3.0.4. There are errors in the logfile as follows:

[2009/05/19 15:55:04] [import_ndologsd] [WARN] Received kill signal -
gracefully shutting down
[2009/05/19 15:55:04] [import_ndologsd] [INFO] Stopping ndo2db
[2009/05/19 15:55:04] [opsviewd] [WARN] Received SIGTERM
[2009/05/19 15:55:04] [opsviewd] [INFO] Stopping opsviewd
[2009/05/19 15:55:04] [opsviewd] [INFO] Stopping tunnels
[2009/05/19 15:55:06] [import_ndologsd] [INFO] Stopping import_ndologsd
[2009/05/20 15:33:25] [import_ndologsd] [INFO] Starting
[2009/05/20 15:33:26] [import_ndologsd] [INFO] ndo2db started
[2009/05/20 15:33:26] [import_ndologsd] [INFO] Daemonised
[2009/05/20 15:33:30] [opsviewd] [INFO] Starting opsviewd
[2009/05/20 15:44:21] [import_ndologsd] [ERROR] file2sock command
'/usr/local/nagios/bin/file2sock -s 1242830661.254348 -d
/usr/local/nagios/var/ndo.sock -t unix' failed: rc=13: Inappropriate ioctl
for device
[2009/05/20 16:01:21] [import_ndologsd] [ERROR] file2sock command
'/usr/local/nagios/bin/file2sock -s 1242831681.236077 -d
/usr/local/nagios/var/ndo.sock -t unix' failed: rc=13: Inappropriate ioctl
for device
[2009/05/20 16:06:11] [import_ndologsd] [ERROR] file2sock command
'/usr/local/nagios/bin/file2sock -s 1242831971.120773 -d
/usr/local/nagios/var/ndo.sock -t unix' failed: rc=13: Inappropriate ioctl
for device
[2009/05/20 16:07:11] [import_ndologsd] [ERROR] file2sock command
'/usr/local/nagios/bin/file2sock -s 1242832031.139506 -d
/usr/local/nagios/var/ndo.sock -t unix' failed: rc=13: Inappropriate ioctl
for device



2009/5/22 Ton Voon <[email protected]>

>
> On 22 May 2009, at 13:14, Derek Hardiman wrote:
>
> I'm testing out Opsview on CentOS 5.3 running on VirtualBox ahead of a full
> install.
>
> Everything appears to be fine until I enabled SNMP trapping as per the RHEL
> instructions. Upon a config reload I now get the following error:
>
> Cannot reload: Bad: Connection refused at
> /usr/local/nagios/bin/send_opsview_cmd line 49
>
> This line is
>
> my $server = IO::Socket::UNIX->new(
>                            Peer => $file,
>                            Type => SOCK_STREAM,
>                            Timeout => 10
>                            ) or die "Bad: S!";
>
> I can't confirm that this definitely related to enable SNMP, but it did
> occur after it. The VM was also rebooted. Any direction would be
> appreciated.
>
>
> That connection refused is due to the opsview.cmd pipe not being available.
> The pipe is at /usr/local/nagios/var/rw/opsview.cmd. This is created by the
> opsviewd daemon, and is usually very solid.
>
> There was a bug around 3.0.2 where forking errors could cause the daemon to
> die, but is definitely fixed in 3.0.4.
>
> What do the logs in /var/log/opsviewd.log say? What version of Opsview are
> you using?
>
> Ton
>
>
> _______________________________________________
> Opsview-users mailing list
> [email protected]
> http://lists.opsview.org/listinfo/opsview-users
>
>
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/listinfo/opsview-users

Reply via email to