[rt-users] Web Interface Doesn't Work

Barnett Hsu hsub at softhome.net
Thu Mar 9 01:03:35 EST 2000


At 11:17 PM 3/8/2000 -0500, you wrote:
>On Wed, Mar 08, 2000 at 01:05:26PM -0800, Barnett Hsu wrote:
> > I'm trying to install rt-1.0.2.  The CLI appears to work but the
> > web interface doesn't.  Attempting to use the web scripts,
> > I get "Internal Server Error... Premature end of script
> > headers: ..."
> >
>Apache's error logs should have more info than that.

Apache's error logs show:

[Wed Mar  8 10:55:41 2000] [error] [client 138.23.168.101] Premature end of 
script headers: /h/webdata/cgi-bin/admin-webrt.cgi
Can't locate /usr/local/reqtrack/etc/config.pm in @INC (@INC contains: 
/usr/local/lib/perl5/i386-freebsd/5.00404 /usr/local/lib/perl5 
/usr/local/lib/perl5/site_perl/i386-freebsd /usr/local/lib/perl5/site_perl 
/usr/local/reqtrack/lib) at /usr/local/reqtrack/bin/rtmux.pl line 20.

>What happens when you run the cgi from the commandline as the user
>that apache runs as?
>
$ ./admin-webrt.cgi
Can't locate /usr/local/reqtrack/etc/config.pm in @INC (@INC contains: 
/usr/local/lib/perl5/i386-freebsd/5.00404 /usr/local/lib/perl5 
/usr/local/lib/perl5/site_perl/i386-freebsd /usr/local/lib/perl5/site_perl 
/usr/local/reqtrack/lib) at /usr/local/reqtrack/bin/rtmux.pl line 20.


/usr/local/reqtrack/etc/config.pm does exist:

# cd /usr/local/reqtrack/etc
# ls -la
total 13
dr-xr-x---  3 reqtrack  reqtrack   512 Mar  8 10:15 .
dr-xr-xr-x  6 root      wheel      512 Mar  8 10:15 ..
-r-xr-x--x  1 reqtrack  reqtrack  3529 Mar  8 10:15 config.pm
-r-xr-x--x  1 reqtrack  reqtrack  3606 Sep 30 21:22 config.pm.old
-r-xr-x--x  1 reqtrack  reqtrack   516 Mar  8 10:15 mysql.acl
-r-xr-x--x  1 reqtrack  reqtrack   561 Feb 20  1999 mysql.acl.orig
drwxr-x---  3 reqtrack  reqtrack   512 Mar  8 10:15 templates


---
Barnett Hsu                Voicemail:  (714) 989-3100 x 1461
E-mail:  hsub at softhome.net       Web:  http://bhworld.cjb.net/
PGP Public Key at http://ucrbhsu.tripod.com/bio/pgp.html






More information about the rt-users mailing list