2001-11-21 01:31:01

by David Relson

[permalink] [raw]
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.
[email protected] Ann Arbor, MI 48103
http://www.osagesoftware.com tel: 734.821.8800


2001-11-21 01:45:43

by Davide Libenzi

[permalink] [raw]
Subject: Re: Shared Memory Problem

On Tue, 20 Nov 2001, David Relson wrote:

> 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:

# grep CONFIG_SYSVIPC .config




- Davide


2001-11-21 08:47:19

by Alan

[permalink] [raw]
Subject: Re: Shared Memory Problem

> 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?

CONFIG_SYSVIPC probably. TMPFS is a shared memory file system and posix
shared memory. Apache uses the older sys5 shared memory standard