RT::Init() Segmentation Fault

Hi all,

I have a system running Solaris 9 (sparc). I followed the instructions
on the Sun website that are linked to from the Wiki, and after quite a
bit of meddling with the installation of the perl modules, I finally got
all the Perl Dependencies installed. I got RT Compiled and installed.

I can start the Mysql Service, I can start the apache service.

When I point my browser to the web address, I get an internal server
error, error 500. I checked the apache error_log, and get the below set
of error messages every time I try to access the web page:

[Thu Oct 12 13:37:14 2006] [warn] pid file
/usr/local/apache/logs/httpd.pid overwritten – Unclean shutdown of
previous Apache run?
[Thu Oct 12 13:37:14 2006] [notice] FastCGI: process manager initialized
(pid 361)
[Thu Oct 12 13:37:14 2006] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" started (pid 364)
[Thu Oct 12 13:37:14 2006] [notice] Apache/1.3.37 (Unix)
mod_fastcgi/2.4.2 mod_ssl/2.8.28 OpenSSL/0.9.7b configured – resuming
normal operations
[Thu Oct 12 13:37:14 2006] [notice] Accept mutex: fcntl (Default: fcntl)
[Thu Oct 12 13:37:15 2006] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" started (pid 370)
[Thu Oct 12 13:37:16 2006] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" started (pid 371)
[Thu Oct 12 13:37:17 2006] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" started (pid 372)
[Thu Oct 12 13:37:24 2006] [error] [client 10.31.3.0] FastCGI:
incomplete headers (0 bytes) received from server
"/usr/local/rt3/bin/mason_handler.fcgi"
[Thu Oct 12 13:37:24 2006] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" (pid 364) terminated due to
uncaught signal ‘11’ (Segmentation Fault)
[Thu Oct 12 13:37:24 2006] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" restarted (pid 378)

When I try to run mason_handler.fcgi directly, I get:

su www

cd /usr/local/rt3/bin

./mason_handler.fcgi

Segmentation Fault

I opened the mason_handler.fcgi, and tried inserting print statements,
to isolate where the failure was occurring. I isolated it to the line
in mason_handler that says: “RT::Init();”. When I commented that line
out, I got the login screen on the web page, so I know the issue is
coming from RT::Init().

The problem is that I’m not sure where to look to debug perl/cgi
stuff…Has anyone encountered this before?

I am using:
RT v 3.6.1
Perl v 5.8.7
Apache v 1.3.37

I believe my apache setup is correct, as the server is correctly sending
off to the mason_handler, and I can log into the database using the
username and password I set up in the config file (currently the
defaults, will change later).

Anyone have any ideas? I’m not entirely sure where to look from here…

Allan Reko

Hi Allen;

This probably isn’t the kind of help you want, but …

I’ve been administering our RT install on Solaris 8, 9 and now 10 for
the past few years. This experience has taught that it’s much easier to
use the RT package from blastwave.org
(http://www.blastwave.org/packages/rt) which uses mod_perl.

Isaac Vetter

Allan Reko wrote:

smime.p7s (2.85 KB)