You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by dean gaudet <de...@arctic.org> on 2001/12/03 10:06:11 UTC

Shared Memory Problem (fwd)

fyi:  in 1.3.x this used to give an informative error on linux telling the
user to recompile their kernel for sysv ipc support.

(i'm assuming ap_mm_create is a 2.0 symbol name...?)

-dean

---------- Forwarded message ----------
Date: Tue, 20 Nov 2001 20:30:34 -0500
To: linux-kernel@vger.kernel.org
From: David Relson <re...@osagesoftware.com>
Subject: Shared Memory Problem

Greetings,

A simple question, I believe ...

I built my own 2.4.15-pre7 kernel today and have a problem - I can't start
httpd.  Whenever I try I get the following messages:

Nov 20 18:53:35 walnut httpd: Ouch! ap_mm_create(1048576,
"/var/apache-mm/mm.1529") failed
Nov 20 18:53:35 walnut httpd: Error: MM: mm:core: failed to acquire shared
memory segment (Function not implemented): OS: No such file or directory

Which kernel CONFIG symbol I have set wrong?

Thanks.

David

P.S. I do have CONFIG_TMPFS=y and the df command shows:

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda6              4111268   1564388   2338040  41% /
/dev/sda1                15522      4266     10455  29% /boot
none                     63736         0     63736   0% /dev/shm

--------------------------------------------------------
David Relson                   Osage Software Systems, Inc.
relson@osagesoftware.com       Ann Arbor, MI 48103
www.osagesoftware.com          tel:  734.821.8800

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Shared Memory Problem (fwd)

Posted by David Reid <dr...@jetnet.co.uk>.
> On Mon, 3 Dec 2001, dean gaudet wrote:
>
> > fyi:  in 1.3.x this used to give an informative error on linux telling
the
> > user to recompile their kernel for sysv ipc support.
> >
> > (i'm assuming ap_mm_create is a 2.0 symbol name...?)
>
> Nope, it's 1.3.  (EAPI, I guess?)

Wouldn't it be part of Ralf's mm library?  Just a guess given the function
name.

david



Re: Shared Memory Problem (fwd)

Posted by Cliff Woolley <cl...@yahoo.com>.
On Mon, 3 Dec 2001, dean gaudet wrote:

> fyi:  in 1.3.x this used to give an informative error on linux telling the
> user to recompile their kernel for sysv ipc support.
>
> (i'm assuming ap_mm_create is a 2.0 symbol name...?)

Nope, it's 1.3.  (EAPI, I guess?)


root@deepthought:/root/apache/httpd-2.0# find . -type f -exec grep
ap_mm_create {} \; -print
    if ((mm = ap_mm_create(mc->nSessionCacheDataSize,
./modules/ssl/ssl_scache_shmcb.c
    if ((mm = ap_mm_create(mc->nSessionCacheDataSize,
./modules/ssl/ssl_scache_shmht.c


And both of those are #if 0'ed out.

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA