> I have 3 RH 6.2 boxes where in 2 the Semaphore locking gives
> "permission denied" and in one it works. The difference is that the
> one that works is running apache and mod_perl from rpm's and the 2
> that don't work have Apache and mod_perl compiled from source! I
> wonder if this is the cas
I have 3 RH 6.2 boxes where in 2 the Semaphore locking gives
"permission denied" and in one it works. The difference is that the
one that works is running apache and mod_perl from rpm's and the 2
that don't work have Apache and mod_perl compiled from source! I
wonder if this is the case with oth
>
> [Fri Sep 22 13:56:47 2000] [error] Cannot require
> Apache::Session::Lock::SysVSem aphoreLocker at
> /usr/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl/Session.pm
> line 204.
>
> However everything seems to work OK if I changed
>
> PerlSetEnv EMBPERL_SESSION_CLASSES "File SysVSemaphoreLoc
> > -- Semaphore Arrays
> > key semid owner perms nsems status
> > 0x000d9479 0 daemon666 1
> > 0x000d946e 1 daemon666 1
> >
>
> The nsems values must be higher for Apache::Session (>=8). I am not an IPC
> guru, but if you are
> [5052]ERR: 24: Line 1: Error in Perl code: Permission denied at
> /usr/lib/perl5/site_perl/5.005/Apache/Session/SysVSemaphoreLocker.pm line
63.
>
>
This is because Apache::Session cannot create/open the semaphore
> -- Semaphore Arrays
> key semid owner perms nsems
> 1. What is the difference between NullLocker and SysVSemaphoreLocker and
is
> there anyway to fix this mysterious disappearing of sessions with
> NullLocker?
>
NullLocker does not any locking at all, SysVSemaphoreLocker serialize
session access.
> 2. Can I go back to SysVSemaphoreLocker which
essage-
> From: Christian Gilmore [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 25, 2000 1:41 PM
> To: 'Gerald Richter'; 'Embperl Mailing List (E-mail)'
> Subject: RE: Session errors
>
>
>
>
> I just took a look, and Apache::Session is version 0.17, but
&
> I just took a look, and Apache::Session is version 0.17, but
> Apache::Session::epDBI is installed. Further, this code worked yesterday
> and for the past many months.
>
[..]
> PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker"
> PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mys
I just took a look, and Apache::Session is version 0.17, but
Apache::Session::epDBI is installed. Further, this code worked yesterday
and for the past many months.
Regards,
Christian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]; Embperl Mailing List (E-mail)
> Subject: RE: Session errors
>
>
>
>
> >
> > Here's the configuration of importance in httpd.conf:
> >
> > PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker"
> > PerlSetEnv EMBPE
>
> Here's the configuration of importance in httpd.conf:
>
> PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker"
> PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:sessions
> UserName=root NSe
> ms=8"
>
Try to insert as first module that loads:
PerlModule Apache::Session
11 matches
Mail list logo