I tried the php function chmod($sem, 0644) which works fine even if it
converts the octal number too, cf. xdebug trace file:
0.0037 50280 -> chmod('/tmp/1521387531.sem', 420)
...myScripts/test.php:11
>=> TRUE
0.0039 50280 -> shmop_open(2013277949,
Richard Lynch wrote:
> On Thu, December 6, 2007 2:44 am, Rolf_ wrote:
>> I have a problem working with shmop_open() in a Solaris environment.
>> The
>> following cli-script works fine, except shmod_open returns a warning
>> 'unable
>> to attach or create shared memory segment':
>>
>> > $sem = "/tmp
Yes, thank you. I checked this thread before writing here. But following the
hints there does not help either.
Rolf.
Daniel Brown-5 wrote:
>
> On Dec 6, 2007 3:44 AM, Rolf_ <[EMAIL PROTECTED]> wrote:
>>
>> Dear List,
>>
>> I have a problem working with shmop_open() in a Solaris environment.
Thank you for your reply.
shmop_open($sem_key, "w", 420, 1) creates the same error message:
---
[07-Dec-2007 12:34:23] PHP Warning: shmop_open(): unable to attach or
create shared memory segment in ...
[07-Dec-2007 12:34:23] PHP Stack trace:
[07-Dec-2007 12:34:23] PHP 1. {main}() ...
On Thu, December 6, 2007 2:44 am, Rolf_ wrote:
> I have a problem working with shmop_open() in a Solaris environment.
> The
> following cli-script works fine, except shmod_open returns a warning
> 'unable
> to attach or create shared memory segment':
>
> $sem = "/tmp/" . rand() . ".sem";
> touch (
On Dec 6, 2007 3:44 AM, Rolf_ <[EMAIL PROTECTED]> wrote:
>
> Dear List,
>
> I have a problem working with shmop_open() in a Solaris environment. The
> following cli-script works fine, except shmod_open returns a warning 'unable
> to attach or create shared memory segment':
[snip!]
Rolf,
I
Dear List,
I have a problem working with shmop_open() in a Solaris environment. The
following cli-script works fine, except shmod_open returns a warning 'unable
to attach or create shared memory segment':
I checked the $sem_key with the Solaris ipcs command. The file exists and
the read/write
7 matches
Mail list logo