[rt-users] Problem with Multiple Instances

George L. Roman groman at arionsys.com
Sun Nov 11 05:43:47 EST 2007

I'm having trouble running RT using the

        PerlOptions +Parent


My httpd.conf file:

  NameVirtualHost *

  <VirtualHost *>
    ServerName          default.name.com
    DocumentRoot        "/var/www/html"
    <Directory          "/var/www/html">
        Options                 FollowSymLinks
        AllowOverride           None
        Order                   allow,deny
        Allow                   from all

  <VirtualHost *>
    ServerName          rt.name.com
    DocumentRoot        "/opt/rt3/share/html"
    AddDefaultCharset   UTF-8

    ErrorLog            logs/error_log_foo2
    CustomLog           logs/access_log_foo2 combined

    # This PerlOptions line causes DB connect failure
    #PerlOptions +Parent

    PerlRequire /opt/rt3/bin/webmux.pl

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

This config file works great.  I can surf to rt.name.com (port 80) and
login to RT.

When I uncomment the

    PerlOptions +Parent

line, however, and restart Apache, I get the following errors:

  DBI connect('ORA001,'rt',...) failed: ERROR OCIEnvNlsCreate. Check
  ORACLE_HOME and NLS settings etc.
  at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106

  Connect Failed ERROR OCIEnvNlsCreate. (check ORACLE_HOME and NLS
  settings etc.)
  at /opt/rt3/lib/RT.pm line 220


  rt:           3.6.5
  perl:         5.8.8
  mod_perl:     2.03
  HTML-Mason:   1.35
  httpd:        2.2.6
  linux:        2.6.22 (F7)

Any help is appreciated.  Thanks.

George L. Roman
Arion Systems Inc.

More information about the rt-users mailing list