Hi,

Having trouble getting nagios-pgsql to work. I created the database
using the .sql file given, and with pgaccess I can login to it using
user nagios.

I edited cgi.cfg and resources.cfg and set the username, host and
password.

Starting nagios gives me a segfault. This is the output (last lines) of 

$ strace nagios /etc/nagios/nagios.cfg

recv(4, "Pblank\0CDELETE 0\0Z", 16384, 0) = 18
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
send(4, "QDELETE FROM hoststatus;\0", 25, 0) = 25
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(5, [4], [], [4], NULL)           = 1 (in [4])
recv(4, "Pblank\0CDELETE 0\0Z", 16384, 0) = 18
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
send(4, "QDELETE FROM servicestatus;\0", 28, 0) = 28
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(5, [4], [], [4], NULL)           = 1 (in [4])
recv(4, "Pblank\0CDELETE 0\0Z", 16384, 0) = 18
getpid()                                = 15466
time([1047906229])                      = 1047906229
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
send(4, "QINSERT INTO programstatus (last"..., 436, 0) = 436
rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0
select(5, [4], [], [4], NULL)           = 1 (in [4])
recv(4, "Pblank\0EERROR:  Bad timestamp ex"..., 16384, 0) = 69
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

Can someone please shed some light on this? Same configuration with
nagios-text works fine.

-- 
Danie Roux *shuffle* Adore Unix



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to