> 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
I've just run into the same problem. I get the premission denied error when
ever I use %udat. Here is the information.
setup
Apache-Session-1.03
HTML-Embperl-1.2.1
mod_perl-1.24
apache_1.3.12
the startup
[jwalstra@www1 conf]$ ../bin/apachectl start
[5050]SES: Embperl Session manageme
> 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
I've been having a lot of problems with sessions lately. I'll run through
everything I've done so far.
I have currently downgraded my Apache::Session from 1.53 to 1.03 since I am
running Embperl 1.2.1 with mod_perl 1.24. In my original httpd.conf file I
previously used:
PerlSetEnv EMBPERL_SESS
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
Hi. On a recent restart of a service that previously had been runnning,
the following error came up:
Bareword "Apache::Session::NEW" not allowed while "strict subs" in use at
/opt/gnu/depot/perl5.004_04/lib/site_perl/HTML/Embperl/Session.pm line
105.
Syntax error on line 853 of
/opt/apache/ext-so
14 matches
Mail list logo