Strange crashing of RT

Dear Friends,

I am observing a strange crashing of RT installations.

  1. I have an RT installation of Version 3.6.6 on CentOS Linux scm
    2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 11:36:49 EST 2008 i686 i686 i386

  2. I configure RT with the following options.
    ./configure --with-web-user=apache --with-web-group=apache

  3. Following is the apache configuration file.
    <VirtualHost *>
    #DocumentRoot /opt/rt3/share/html
    Alias /rt “/opt/rt3/share/html”
    AddDefaultCharset UTF-8

    this line applies to Apache2+mod_perl2 only

    Below line might be incorrect, I had to use:

    PerlModule Apache2::compat

    mod_perl 2.0.1 from FC4 Linux

    PerlModule Apache2::compat

    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/

    <Location /rt>
    SetHandler perl-script
    PerlHandler RT::Mason

  4. I restart apache and everything runs normally.

  5. After sometime, seems randomly apache crashes with the following error
    in the Apache error_log .
    [Sun Apr 13 07:02:05 2008] [error] Insecure dependency in chdir while
    running with -T switch at /usr/lib/perl5/5.8.8/File/ line
    222.\nCompilation failed in require at (eval 2) line 1.\n
    [Sun Apr 13 07:02:05 2008] [error] Can’t load Perl file:
    /opt/rt3/bin/ for server, exiting…

  6. If I try to start Apache, it fails with the same error.

  7. At this stage, I delete the RT installation and go back to step 2 and
    reinstall RT without any change.

  8. Once again, it Apache starts smoothly.

I appreciate your help.

Kind regards.

Ravi Verma
Chief Executive Officer
Telecommand Software and Services
3175 Sunset Blvd, Suite 104-B
Rocklin, CA 95677

I don’t know if this helps, but here’s the file permissions and mode I have for that file:

ls -l /opt/rt3/bin/

-rwxr-xr-x 1 root apache 4288 Apr 8 14:18 /opt/rt3/bin/

This is also CentOS (5), RT 3.6.6 (in a similar setup) so I thought this might be a useful reference.

I don’t know what to make of that error though. You have run make testdeps many times already? That’s what I would have checked.


Dominic Lepiane