<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=783375218-29092005>I have recently
installed RT 3.4.4 (Solaris 10, Apache2+mod_perl2, remote Oracle host) and
everything has been ok till now (of course it is my last step). When I
inserted my virtual host into my httpd.conf file and tried to restart Apache, I
got this error in the error_log:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT><FONT face=Arial><FONT size=2><STRONG><SPAN
class=783375218-29092005>[error]</SPAN>Can't locate object method "server" via
package "Apache" at /local/rt/lib/RT/Interface/Web/Handler.pm line 12<SPAN
class=783375218-29092005>1</SPAN>.\nCompilation failed in require at (eval 2)
line 1.\n</STRONG></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=783375218-29092005>The code where it
errors (line 121) in Handler.pm is:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=783375218-29092005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=783375218-29092005>115 unless ( $RT::DatabaseType =~
/(?:mysql|Pg)/ ) {</SPAN></FONT></DIV>
<DIV><SPAN class=783375218-29092005><FONT face=Arial
size=2>116</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=783375218-29092005>117 # Clean up our
umask to protect session files<BR>118
umask(0077);</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=783375218-29092005>119</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=783375218-29092005>120 if
($CGI::MOD_PERL)
{<BR>121 chown(
Apache->server->uid,
Apache->server->gid,<BR>122
$RT::MasonSessionDir
)<BR>123 if
Apache->server->can('uid');<BR>124 }</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=783375218-29092005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=783375218-29092005>Is this because I am
using Oracle so it does session handling with Mason, and mod_perl2 does not have
the 'server' method? Could I possible hardcode the uid and gid in 'chown'
with my Apache user and group? Do I need another perl module or does
mod_perl2 have a separate package and method to getting uid and gid
from mod_perl1?</SPAN></FONT><FONT face=Arial size=2><SPAN
class=783375218-29092005> </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=783375218-29092005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=783375218-29092005>Any help or info
will be useful and greatly appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left>
<DIV align=left><FONT face=Arial size=2><SPAN
class=783375218-29092005>Thanks!</SPAN></FONT></DIV>
<DIV align=left><FONT face=Arial size=2><SPAN
class=783375218-29092005>Adam</SPAN></FONT></DIV></DIV></BODY></HTML>