[rt-users] cannot write session data

Jesse jesse at fsck.com
Sat Aug 4 00:57:54 EDT 2001


When you installed Apache::Session, you missed a dependency on "MD5"

perl -MCPAN -e'install MD5' should do you.


On Fri, Aug 03, 2001 at 03:44:20PM -0700, Nate Amsden wrote:
> Im tryin to install rt2.0.4 and am recieving this error
> from apache. I saw another guy had the same error so
> I'm hopin it may be possible to resolve it.
> 
> i saw this post:
> http://lists.fsck.com/pipermail/rt-users/2001-July/003237.html
> 
> and put the $@ in the script and the full error i get is:
> 
> [Fri Aug  3 15:34:51 2001] [error] RT Couldn't write to session directory
> '/usr/local/rt/WebRT/sessiondata'. Check that this directory's permissions are
> correct Can't locate object method "hexhash" via package "MD5" (perhaps you
> forgot to load "MD5"?) at /usr/share/perl5/Apache/Session/Generate/MD5.pm line
> 26.
> 	(in cleanup) Object already exists in the data store at
> /usr/share/perl5/Apache/Session/Store/File.pm line 38.
> . at /usr/local/rt/bin/webmux.pl line 144.
> 
> the thing im not sure about is which MD5.pm I should be using,
> both seem to generate the same error:
> gopher:/usr/local/rt# locate MD5.pm
> /usr/lib/perl5/Digest/MD5.pm
> /usr/share/perl5/Apache/Session/Generate/MD5.pm
> 
> I get matches for the word hexhash if i grep on the
> Apache/Session/Generate/MD5.pm but none on the Digest/MD5.pm
> So im using the Session/Generate/MD5.pm.
> 
> another odd thing is this:
> gopher:/usr/local/rt# apachectl start
> Subroutine generate redefined at /usr/share/perl5/Apache/Session/Generate/MD5.pm
> line 18.
> Subroutine validate redefined at /usr/share/perl5/Apache/Session/Generate/MD5.pm
> line 32.
> /usr/sbin/apachectl start: httpd started
> 
> I don't know if its important or not ? It does indeed
> write to /usr/local/rt/WebRT/sessiondata, if i rm the
> file(s) in there and restart apache and try to load the
> page it writes this file:
> -rw-------    1 www-data www-data        0 Aug  3 15:34 Apache-Session-.lock
> 
> my apache server runs as user/group www-data. I saw
> another posting reccomending turning on netscape's
> "prompt for cookies" option which i did and i did not
> recieve any cookies.
> 
> Yet another odd thing during installation was this:
> 
> 
> gopher:~/rt-2-0-4# make fixdeps
> /usr/bin/perl ./tools/testdeps -fix mysql
> Checking for DBI 1.18 ...found
> Checking for DBIx::DataSource 0.02 ...found
> Checking for DBIx::SearchBuilder 0.40 ...found
> Checking for HTML::Entities...found
> Checking for MLDBM...found
> Checking for Net::Domain...found
> Checking for Net::SMTP...found
> Checking for Params::Validate 0.02 ...found
> Checking for HTML::Mason 0.896 ...found
> Checking for CGI::Cookie 1.06 ...found
> Checking for Apache::Cookie....Apache::Cookie not installed.Installing with
> CPAN...CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
>   Database was generated on Fri, 03 Aug 2001 04:59:22 GMT
> Apache::Cookie is up to date.
> 
> Checking for Apache::Session 1.53 ...found
> Checking for Date::Parse...found
> Checking for Date::Format...found
> Checking for MIME::Entity 5.108 ...found
> Checking for Mail::Mailer 1.20 ...found
> Checking for Getopt::Long 2.24 ...found
> Checking for Tie::IxHash...found
> Checking for Text::Wrapper...found
> Checking for Text::Template...found
> Checking for File::Spec 0.8 ...found
> Checking for Errno...found
> Checking for FreezeThaw...found
> Checking for File::Temp...found
> Checking for Log::Dispatch 1.6 ...found
> Checking for DBD::mysql 2.0416 ...found
> gopher:~/rt-2-0-4# make testdeps
> /usr/bin/perl ./tools/testdeps -warn mysql
> [..]
> Checking for Apache::Cookie....Apache::Cookie not installed.
> [..]
> 
> So maybe that has something to do with it? a co worker
> had the same error when he was trying to install on a redhat
> machine(this is a debian machine)
> 
> I too tried to set the session dir to /tmp and it failed
> with same error, since its writing to it i know its not
> a permissions problem .......any ideas?
> 
> thanks!
> 
> nate
> 
> 
> -- 
> Nate Amsden
> System Administrator
> GraphOn
> http://www.graphon.com
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

Gur SOV jnagf gb znxr guvf fvt vyyrtny.




More information about the rt-users mailing list