Bug#354007: [Pkg-nagios-devel] Bug#354007: Error: Cannot open config file '/etc/nagios-plugins/config/imap.cfg' for reading: Invalid argument

Peter Schwindt schwindt at ba-loerrach.de
Mon Mar 6 10:55:31 UTC 2006


Package: nagios2
Followup-For: Bug #354007


I also encountered upper mentioned bug. strace follows:

-- snip --
...
open("/etc/nagios-plugins/config/ifstatus.cfg", O_RDONLY|O_LARGEFILE) =
5
fstat64(5, {st_mode=S_IFREG|0644, st_size=580, ...}) = 0
mmap2(NULL, 580, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb7c05000
munmap(0xb7c05000, 580)                 = 0
close(5)                                = 0
open("/etc/nagios-plugins/config/imap.cfg", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 0, PROT_READ, MAP_PRIVATE, 5, 0) = -1 EINVAL (Invalid
argument)
close(5)                                = 0
write(1, "Error: Cannot open config file \'"..., 99Error: Cannot open
config file '/etc/nagios-plugins/config/imap.cfg' for reading: Invalid
argument) = 99
-- snap --

Pe'debian/sarge, nagios 2.0.1~zg1'ter




More information about the Pkg-nagios-devel mailing list