You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jason Bodnar <jb...@tivoli.com> on 2000/02/29 18:41:13 UTC

RE: [Embperl] Session handling not working (FIXED - sort of)

Okay, it seems Apache::Session does not check to see if any of the IPC stuff is
installed. After installing IPC::SysV, Apache starts but I get the following on
my console:

$ sudo bin/httpd -d $PWD
Ambiguous use of read => resolved to "read" => at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 34.
Ambiguous use of write => resolved to "write" => at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 34.
Ambiguous use of {read} resolved to {"read"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 42.
Ambiguous use of {write} resolved to {"write"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 43.
Ambiguous use of {read} resolved to {"read"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 53.
Ambiguous use of {write} resolved to {"write"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 60.
Ambiguous use of {read} resolved to {"read"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 67.
Ambiguous use of {write} resolved to {"write"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 73.
Ambiguous use of {read} resolved to {"read"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 80.
Ambiguous use of {read} resolved to {"read"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 84.
Ambiguous use of {write} resolved to {"write"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 91.
Ambiguous use of {write} resolved to {"write"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 95.
Ambiguous use of {read} resolved to {"read"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 102.
Ambiguous use of {write} resolved to {"write"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 105.
Ambiguous use of {read} resolved to {"read"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 109.
Ambiguous use of {write} resolved to {"write"} at
/opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemaphoreLocker.pm
line 110.
[26561]SES:  Embperl Session management enabled (1.xx)

Some stuff now appears in my sessions database so I think everything is working.

On 29-Feb-00 Jason Bodnar wrote:
>> You have to move these two lines out of the Files/Directory block. These two
>> config directives, must be set at outer most level and before Embperl is
>> loaded, because they are needed at initialisation time
> 
> I've moved the EMBPERL_SESSION stuff right before PerlModule HTML::Embperl:
> 
># Set up session handling for embperl
> PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker"
> PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:sessions UserName=root
> nsems=16"  
> 
> PerlModule HTML::Embperl
> 
> When I start Apache I get:
> 
> $ sudo bin/httpd -d $PWD
> panic: restartop
> Segmentation Fault
> 
> Nothing in the error logs.
> 
> 
> ---
> Jason Bodnar + jbodnar@tivoli.com + Tivoli Systems
> 
> In Jail Rock house Rock, he was everything Rockabilly's about.
> No, I mean he is Rockabilly. Mean, Surly, Nasty, Brute.
> I mean in that movie he couldn't give a ---- about nothin'.
> Just rockin' and rollin', livin' fast, dying young, leavin' a good lookin'
> corpse.
> 
> --Clarence Worley, True Romance

---
Jason Bodnar + jbodnar@tivoli.com + Tivoli Systems

I swear I'd forget my own head if it wasn't up my ass. -- Jason Bodnar


RE: [Embperl] Session handling not working (FIXED - sort of)

Posted by Gerald Richter <ri...@ecos.de>.
> 
> $ sudo bin/httpd -d $PWD
> Ambiguous use of read => resolved to "read" => at
> /opt/gnu/depot/perl5.004_04/lib/site_perl/Apache/Session/SysVSemap
> horeLocker.pm
> line 34.

Looks like Jeff have to quote these words...

> [26561]SES:  Embperl Session management enabled (1.xx)
> 
> Some stuff now appears in my sessions database so I think 
> everything is working.
> 

Yes, the above message looks good

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------