I'm having trouble running RT using the
PerlOptions +Parent
directive.
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
</Directory>
</VirtualHost>
<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
</Location>
</VirtualHost>
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
Versions:
rt: 3.6.5
perl: 5.8.8
mod_perl: 2.03
HTML-Mason: 1.35
httpd: 2.2.6
oracle: 11.1.0.6.0
linux: 2.6.22 (F7)
Any help is appreciated. Thanks.
--
George L. Roman
Arion Systems Inc.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch
today.
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com