[rt-devel] "RT Couldn't write to session directory

Jesse Vincent jesse at bestpractical.com
Wed Aug 27 13:41:08 EDT 2003


Sounds like the mysql morning bug. The latest pre-release has better
protections against that. 

	-j


On Wed, Aug 27, 2003 at 04:42:39PM +1000, Lecul, Fred wrote:
> Im getting the following error with my rt3, very strange.. Any idea's???
> 
> error:  RT Couldn't write to session directory '/opt/rt3/var/session_data':
> Can't call method "dbh" on an undefined value at
> /opt/rt3/share/html/Elements/SetupSessionCookie line 35.
> 
> Stack:
> [/opt/rt3/share/html/Elements/SetupSessionCookie:35]
> [/opt/rt3/share/html/autohandler:46]
> . Check that this dir ectory's permissions are correct. at
> /opt/rt3/share/html/Elements/SetupSessionCookie line 60.
>  
> context:  ...   
> 56:  }; 
> 57:  undef $cookies{'RT_SID'}; 
> 58:  } 
> 59:  else { 
> 60:  die "RT Couldn't write to session directory '$RT::MasonSessionDir': $@.
> Check that this dir ectory's permissions are correct."; 
> 61:  } 
> 62:  } 
> 63:   
> 64:  if ( !$cookies{'RT_SID'} ) { 
>  
> 
> Heres my apache conf...
> 
> PerlSetVar MasonCompRoot /opt/rt3/share/html/
> PerlSetVar MasonDataDir /opt/rt3/var/session_data/
> PerlModule HTML::Mason::ApacheHandler
> PerlModule Apache::DBI
> PerlRequire /opt/rt3/bin/webmux.pl
> <FilesMatch "*.html">
>         SetHandler perl-script
>         PerlHandler HTML::Mason::ApacheHandler
> </FilesMatch>
> Alias /rt3/ /opt/rt3/share/html/
> <Location /rt3>
> SetHandler perl-script
> DirectoryIndex index.html
> </Location>
> 
> 
> 
> 
> 
> Frederic Lecul
> 
> 
> **************   IMPORTANT MESSAGE  **************
> This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries.
> **************************************************
> 
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
> 

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the Rt-devel mailing list