Can't run nagios 2.0b3

Ogee ogee at oldany.cz
Mon Apr 11 13:28:00 CEST 2005


Hello,

    I have problem running nagios at all.

    I've compiled and install nagios 2.0b3, but had the same problem 
with 2.0b1 before.

    I'm able to tun daemon, but no data are generated rather no service 
or checks are made.

    Configuration is fine, I think.

    When I staert nagios, 3 daemons are created. Part of strace of 
parent process is attach in this mail.

    In web interface I can see that no checks for service and hosts was 
made.

    I use Debian Woody, running nagios with user nagios everything 
writeable, but I am crazy yet, because I don't know where problem could.

    Thanks a lot for your advice!

--ogee

<======== nagios.log
root at althea:nagios$ /etc/init.d/nagios start
Starting network monitor: nagios

Nagios 2.0b3
Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org)
Last Modified: 04-03-2005
License: GPL

Nagios 2.0b3 starting... (PID=4174)
Warning: Service 'eth0 Traffic' on host 'althea'  has no default contact 
group(s) defined!
Warning: Service 'lo Traffic' on host 'althea'  has no default contact 
group(s) defined!
Warning: Service 'sit0 Traffic' on host 'althea'  has no default contact 
group(s) defined!
Warning: Service 'tap0 Traffic' on host 'althea'  has no default contact 
group(s) defined!
Warning: Host 'sirael' has no services associated with it!


<====== end of strace output
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218696])          = 1113218696
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218696])          = 1113218696
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218697])          = 1113218697
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218697])          = 1113218697
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218697])          = 1113218697
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218697])          = 1113218697
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13511] <... poll resumed> [{fd=7, events=POLLIN}], 1, 2000) = 0
[pid 13511] getppid()                   = 13510
[pid 13511] poll( <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218698])          = 1113218698
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218698])          = 1113218698
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218698])          = 1113218698
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218698])          = 1113218698
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218699])          = 1113218699
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218699])          = 1113218699
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218699])          = 1113218699
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218699])          = 1113218699
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13511] <... poll resumed> [{fd=7, events=POLLIN}], 1, 2000) = 0
[pid 13511] getppid()                   = 13510
[pid 13511] poll( <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218700])          = 1113218700
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218700])          = 1113218700
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218700])          = 1113218700
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218700])          = 1113218700
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218701])          = 1113218701
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218701])          = 1113218701
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218701])          = 1113218701
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13511] <... poll resumed> [{fd=7, events=POLLIN}], 1, 2000) = 0
[pid 13510] time( <unfinished ...>
[pid 13511] getppid( <unfinished ...>
[pid 13510] <... time resumed> [1113218702]) = 1113218702
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13511] <... getppid resumed> )     = 13510
[pid 13511] poll( <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218702])          = 1113218702
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218702])          = 1113218702
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218702])          = 1113218702
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218703])          = 1113218703
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218703])          = 1113218703
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] time([1113218703])          = 1113218703
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218703])          = 1113218703
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13511] <... poll resumed> [{fd=7, events=POLLIN}], 1, 2000) = 0
[pid 13511] getppid()                   = 13510
[pid 13511] poll( <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218704])          = 1113218704
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218704])          = 1113218704
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] time([1113218704])          = 1113218704
[pid 13510] nanosleep({0, 250000000}, NULL) = 0
[pid 13510] time([1113218704])          = 1113218704
[pid 13510] nanosleep({0, 250000000},  <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = 0
[pid 13512] poll( <unfinished ...>
[pid 13510] <... nanosleep resumed> NULL) = 0
[pid 13510] time([1113218705])          = 1113218705
[pid 13510] time([1113218705])          = 1113218705
[pid 13510] time([1113218705])          = 1113218705
[pid 13510] gettimeofday({1113218705, 213299}, NULL) = 0
[pid 13510] time([1113218705])          = 1113218705
[pid 13510] time([1113218705])          = 1113218705
[pid 13510] time([1113218705])          = 1113218705
[pid 13510] gettimeofday({1113218705, 213965}, NULL) = 0
[pid 13510] time([1113218705])          = 1113218705
[pid 13510] open("/usr/local/apps/nagios/2.0/libexec/check_ping", 
O_RDONLY|O_LARGEFILE) = 9
[pid 13510] fstat64(9, {st_mode=S_IFREG|0775, st_size=218350, ...}) = 0
[pid 13510] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fec000
[pid 13510] read(9, 
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0004\231"..., 4096) = 4096
[pid 13510] close(9)                    = 0
[pid 13510] munmap(0xb7fec000, 4096)    = 0
[pid 13510] pipe([9, 10])               = 0
[pid 13510] fcntl64(9, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
[pid 13510] fcntl64(10, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
[pid 13510] gettimeofday({1113218705, 247473}, NULL) = 0
[pid 13510] fork()                      = 13547
[pid 13510] close(10)                   = 0
[pid 13510] wait4(13547,  <unfinished ...>
[pid 13547] setpgid(0, 0)               = 0
[pid 13547] rt_sigaction(SIGQUIT, {SIG_DFL}, {0xb7d90e80, [QUIT], 
SA_RESTART|0x4000000}, 8) = 0
[pid 13547] rt_sigaction(SIGTERM, {SIG_DFL}, {0xb7d90e80, [TERM], 
SA_RESTART|0x4000000}, 8) = 0
[pid 13547] rt_sigaction(SIGHUP, {SIG_DFL}, {0xb7d90e80, [HUP], 
SA_RESTART|0x4000000}, 8) = 0
[pid 13547] rt_sigaction(SIGSEGV, {SIG_DFL}, {0xb7d90e80, [SEGV], 
SA_RESTART|0x4000000}, 8) = 0
[pid 13547] close(9)                    = 0
[pid 13547] rt_sigaction(SIGALRM, {0xb7d90e80, [ALRM], 
SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
[pid 13547] alarm(30)                   = 0
[pid 13547] pipe([9, 11])               = 0
[pid 13547] vfork()                     = 13548
[pid 13547] close(11)                   = 0
[pid 13547] fstat64(9, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid 13547] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fec000
[pid 13547] read(9,  <unfinished ...>
[pid 13548] close(9)                    = 0
[pid 13548] dup2(11, 1)                 = 1
[pid 13548] close(11)                   = 0
[pid 13548] write(8, 
"\240\220\331\267\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 148) = 148
[pid 13511] <... poll resumed> [{fd=7, events=POLLIN, revents=POLLIN}], 
1, 2000) = 1
[pid 13511] getppid()                   = 13510
[pid 13511] read(7, 
"\240\220\331\267\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 148) = 148
[pid 13511] kill(13512, SIGRT_1 <unfinished ...>
[pid 13512] <... poll resumed> [{fd=5, events=POLLIN}], 1, 500) = -1 
EINTR (Interrupted system call)
[pid 13511] <... kill resumed> )        = 0
[pid 13512] --- SIGRT_1 (Real-time signal 1) ---
[pid 13511] wait4(13512,  <unfinished ...>
[pid 13512] _exit(0)                    = ?
[pid 13548] rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
[pid 13548] rt_sigsuspend([]


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list