[Mono-list] Problem with 1.2.6

Ben Clewett ben at roadrunner.uk.com
Fri Dec 28 08:26:27 EST 2007



Hi Madars, Marek and others,

URL: http://lists.ximian.com/pipermail/mono-list/2007-September/036430.html

Error:
[crit] (17)File exists: Failed to create shared memory segment for 
backend 'XXGLOBAL'

I have been playing with this problem some more.  I think the diagnostic 
in the URL you passed me may be wrong.

There are memory segments owned by root which come and go with Apache. 
I start Apache as root, but it then spawns by the uid.conf:
	User wwwrun
	Group www
This is unambiguous, should be owned by 'wwwrun' or 'root'?  Also, any 
which were not there before start of Apache seem to go after termination?

However the other suggestion to re-boot the server makes no difference. 
  I get the reported error from a brand new boot.  This is therefore 
directly contradictory to the reported error:

# uptime
   1:22pm  up   0:02,  4 users,  load average: 0.65, 0.40, 0.16

# ipcs -m
------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status

# /etc/rc.d/apache2 start
Starting httpd2 (prefork)
[Fri Dec 28 13:23:27 2007] [crit] (17)File exists: Failed to create 
shared memory segment for backend 'XXGLOBAL'

Therefore I think this is still outstanding.

This has been a problem for a long time.  It forces me to completely 
take a server off-line in order to start it.  This is a real pain.  (All 
our users loose their sessions and complain like a regiment of old 
ladies, and it takes me an hour to do a job which should take a few 
seconds.)  If there is anything I can do to assist the correction of 
this problem, please let me know!

Ben


Madars Vitolins wrote:
> Hi,
> 
> Check this 
> "http://lists.ximian.com/pipermail/mono-list/2007-September/036430.html"
> Sound like releated with IPC.
> "....
> 
> You have two options at this point:
> 
> - reboot the server
> - use the ipcs -m command to list the shared memory segments and then ipcrm -m
> shmid for each of the former apache segments (you can tell which belonged to
> 
> apache by the owner - it will be the user apache runs as). Before removing the
> segments, though, make sure that you stop apache. "
> 
> 
> May be helps!
> 
> Thanks,
> Madars
> 
> On Dec 21, 2007 11:22 AM, Ben Clewett <ben at roadrunner.uk.com 
> <mailto:ben at roadrunner.uk.com>> wrote:
> 
> 
> 
>     Dear Mono,
> 
>     I have just upgraded from 1.2.5 to 1.2.6.
> 
>     The startup problem I was getting on 1.2.5 has now gone:
> 
>     [Tue Sep 25 14:24:20 2007] [crit] Failed to remove dashboard file
>     '/tmp/mod_mono_dashboard_XXGLOBAL_1', further actions impossible.
>     Operation not permitted
> 
>     Many thanks!  It was driving me mad as I had to take an entire server
>     offline to upgrade Mono code.
> 
>     However I now have a new startup problem:
> 
>     [Fri Dec 21 09:18:28 2007] [crit] (17)File exists: Failed to create
>     shared memory segment for backend 'XXGLOBAL'
> 
>     This does not cause as many problems, but the mod_mono Control Panel
>     does not work all the time.
> 
>     Any ideas???
> 
>     Thanks again,
> 
>     Ben Clewett.
> 
> 
>     *************************************************************************
>     This e-mail is confidential and may be legally privileged. It is
>     intended
>     solely for the use of the individual(s) to whom it is addressed. Any
>     content in this message is not necessarily a view or statement from Road
>     Tech Computer Systems Limited but is that of the individual sender. If
>     you are not the intended recipient, be advised that you have received
>     this e-mail in error and that any use, dissemination, forwarding,
>     printing, or copying of this e-mail is strictly prohibited. We use
>     reasonable endeavours to virus scan all e-mails leaving the company but
>     no warranty is given that this e-mail and any attachments are virus
>     free.
>     You should undertake your own virus checking. The right to monitor
>     e-mail
>     communications through our networks is reserved by us
> 
>      Road Tech Computer Systems Ltd. Shenley Hall, Rectory Lane, Shenley,
>      Radlett, Hertfordshire, WD7 9AN. - VAT Registration No GB 449 3582 17
>      Registered in England No: 02017435, Registered Address: Charter Court,
>      Midland Road, Hemel Hempstead,  Hertfordshire, HP2 5GE.
>     *************************************************************************
>     _______________________________________________
>     Mono-list maillist  -  Mono-list at lists.ximian.com
>     <mailto:Mono-list at lists.ximian.com>
>     http://lists.ximian.com/mailman/listinfo/mono-list
>     <http://lists.ximian.com/mailman/listinfo/mono-list>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list


*************************************************************************
This e-mail is confidential and may be legally privileged. It is intended
solely for the use of the individual(s) to whom it is addressed. Any
content in this message is not necessarily a view or statement from Road
Tech Computer Systems Limited but is that of the individual sender. If
you are not the intended recipient, be advised that you have received
this e-mail in error and that any use, dissemination, forwarding,
printing, or copying of this e-mail is strictly prohibited. We use
reasonable endeavours to virus scan all e-mails leaving the company but
no warranty is given that this e-mail and any attachments are virus free.
You should undertake your own virus checking. The right to monitor e-mail
communications through our networks is reserved by us

  Road Tech Computer Systems Ltd. Shenley Hall, Rectory Lane, Shenley,
  Radlett, Hertfordshire, WD7 9AN. - VAT Registration No GB 449 3582 17
  Registered in England No: 02017435, Registered Address: Charter Court, 
  Midland Road, Hemel Hempstead,  Hertfordshire, HP2 5GE. 
*************************************************************************


More information about the Mono-list mailing list