[Nagios-devel] problem with cgiutils.c on solaris 10?
Posted: Tue May 09, 2006 3:51 pm
I'm having a problem getting the avail.cgi and trend.cgi scripts
working on Solaris 10. They both seem to seg fault while processing
the archive logs in a memcpy function found in cgiutils.c. Has
anyone else seen this or know how to get around this problem? The
problem seems to exist in 2.0 as well as 2.3.
Here's a quick dbx trace of the seg fault.
#244 dbx avail.cgi
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.5' in
your .dbxrcReading avail.cgi
Reading ld.so.1
Reading librt.so.1
Reading libc.so.1
Reading libaio.so.1
Reading libmd5.so.1
(dbx) run
Running: avail.cgi
(process id 8256)
Cache-Control: no-store
Pragma: no-cache
Last-Modified: Tue, 09 May 2006 23:39:55 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-type: text/html
Nagios Availability
Host Availability Report
Last Updated: Tue May 9 16:39:55 PDT 2006
NagiosĀ® - www.nagios.org
Logged in as guest
All Hosts
05-08-2006 15:41:29 to
05-09-2006 15:41:29
Duration: 1d 0h 0m 0s
First assumed host
state:First assumed
service state
Unspecified
Current State
Host Up
Host Down
Host Unreachable
Unspecified
Current State
Service Ok
Service Warning
Service Unknown
Service Critical
Report period:Backtracked
archives:
[ Current time range ]
Today
Last 24 Hours
Yesterday
This Week
Last 7 Days
Last Week
This Month
Last 31 Days
Last Month
This Year
Last Year
<td valign=top alig
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
working on Solaris 10. They both seem to seg fault while processing
the archive logs in a memcpy function found in cgiutils.c. Has
anyone else seen this or know how to get around this problem? The
problem seems to exist in 2.0 as well as 2.3.
Here's a quick dbx trace of the seg fault.
#244 dbx avail.cgi
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.5' in
your .dbxrcReading avail.cgi
Reading ld.so.1
Reading librt.so.1
Reading libc.so.1
Reading libaio.so.1
Reading libmd5.so.1
(dbx) run
Running: avail.cgi
(process id 8256)
Cache-Control: no-store
Pragma: no-cache
Last-Modified: Tue, 09 May 2006 23:39:55 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-type: text/html
Nagios Availability
Host Availability Report
Last Updated: Tue May 9 16:39:55 PDT 2006
NagiosĀ® - www.nagios.org
Logged in as guest
All Hosts
05-08-2006 15:41:29 to
05-09-2006 15:41:29
Duration: 1d 0h 0m 0s
First assumed host
state:First assumed
service state
Unspecified
Current State
Host Up
Host Down
Host Unreachable
Unspecified
Current State
Service Ok
Service Warning
Service Unknown
Service Critical
Report period:Backtracked
archives:
[ Current time range ]
Today
Last 24 Hours
Yesterday
This Week
Last 7 Days
Last Week
This Month
Last 31 Days
Last Month
This Year
Last Year
<td valign=top alig
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]