[phpa] Re: Bug in phpa 1.3.1pre3 for PHP4.1.1 (glibc 2.2.4)??

  • From: "Simon Lee" <simon.lee@xxxxxxxxxxxxxxx>
  • To: "'Nick Lindridge'" <nick@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 12 Jul 2002 14:44:41 +0100

I read a previous thread and managed to work that out!! Thanks though
Nick!
BTW, how come it's been working fine for about 2 months, and then fell
over yesterday?
They recently upgraded Apache which may explain it....

If setting the user and group in the php.ini is that important, then
would it be worthwhile to put that step into the Installation docs for
the future?

Also, I have a problem in that I can't remove the semaphore / shared
memory segment because I'm on a virtual server with a virtual root
account (called 'admin'), but the semaphore / shared memory segment is
owned by 'root' of the actual host of the virtual servers.....any ideas?

ISP is a bit miffed with me using PHPA and it causing these problems!
Cheers,
simon

> -----Original Message-----
> From: Nick Lindridge [mailto:nick@xxxxxxxxxxxxxxxxxxxxx] 
> Sent: 12 July 2002 12:42
> To: simon.lee@xxxxxxxxxxxxxxx
> Cc: phpa@xxxxxxxxxxxxx
> Subject: Re: [phpa] Bug in phpa 1.3.1pre3 for PHP4.1.1 (glibc 2.2.4)??
> Importance: High
> 
> 
> Hi Simon,
> 
> This is not a bug, but a configuration error in your setup.
> 
> You need to set shm_user and shm_group to be the same user id 
> that apache is using. Having done this, please read the 
> information at http://phpa.co.uk/server_hang.php
> 
> Please also be sure to *not* use single quotes around the 
> user and group id because php treats those as part of the 
> token and not as delimiters.
> 
> nick
> 
> 
> >
> > Hi,
> >
> > Just wondering if anyone else is getting this error msg 
> which started 
> > popping up yesterday. Everything has been running smoothly for a
> couple
> > of months until yesterday. Details below....
> >
> > ipcs gives this......my web account runs off a virtual 
> server, and my 
> > virtual root user is 'admin'. 'root' as you can see below 
> is the root 
> > user of the WHOLE system itself, so I can't delete that semaphore.
> >
> > ------ Semaphore Arrays --------
> > key        semid      owner      perms      nsems      status
> > 0x0053a611 18284567   admin     600        17
> > 0x0053a612 18317343   admin     600        17
> > 0x0053a613 18350112   admin     600        17
> > 0x0c0deb00 22413354   root      666        3
> > 0x00539a59 16646196   admin     600        17
> > 0x00539a5a 16678973   admin     600        17
> > 0x00539a5b 16711742   admin     600        17
> > 0x0053a229 22151231   admin     600        17
> > 0x0053a22a 22184000   admin     600        17
> > 0x0053a22b 22216769   admin     600        17
> >
> > Apache error log as below.......there were lots of files 
> expiring....
> >
> >
> > [Fri Jul 12 02:22:24 2002] [notice-phpa] Entry 
> > /usr/local/home/httpd/vhtdocs/XXXXXXXXXXXX expired (pid 15946) [Fri 
> > Jul 12 04:03:26 2002] [notice] SIGUSR1 received.  Doing graceful 
> > restart [Fri Jul 12 04:03:26 2002] [warn-phpa] release_shm_cache 
> > failed to delete - Operation not permitted (pid 15948)
> > [Fri Jul 12 04:03:26 2002] [warn-phpa] Failed to remove sems -
> > Operation not permitted (pid 15948)
> >
> >
> > Any help would be appreciated!!
> > _________
> > Simon Lee
> >
> >                --- LeapForward ---
> > creative intelligence for the networked economy
> >
> >     167a Clapham High Street, London SW4 7SS
> >            t: +44(0)70 9234 1503
> >            f: +44(0)70 9234 1787
> >
> >            e: simon.lee@xxxxxxxxxxxxxxx
> >               www.leapforward.net
> >
> >
> --------------------------------------------------------------
> ----------
> >  www.php-accelerator.co.uk           Home of the free PHP 
> Accelerator
> >
> > To post, send email to phpa@xxxxxxxxxxxxx
> > To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject 
> > unsubscribe
> 
> 
> 
> 

------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: