Google Answers Logo
View Question
 
Q: Apache (Oracle HTTP Server) mmap: Invalid argument on Linux system ( No Answer,   2 Comments )
Question  
Subject: Apache (Oracle HTTP Server) mmap: Invalid argument on Linux system
Category: Computers > Software
Asked by: ossentoo-ga
List Price: $5.00
Posted: 11 Jul 2002 00:35 PDT
Expires: 10 Aug 2002 00:35 PDT
Question ID: 38411
I have a Debian Linux 2.2.19 installation with 384MB RAM (unsupported I
know, but nearly everything seems to work correctly. i have applied all
redhat patches including binutils-2.10)
I have downloaded and installed a Oracle 9iAS installation.  All the
services started, except for the Oracle HTTP Server.  On trying to start it
manually, i get:

[Fri Jul  5 14:13:29 2002] [warn] pid file
/cache/oracle/product/9iAS_9.0.2/Apache/Apache/logs/httpd.pid overwritten --
Unclean shutdown of previous Apache run?
[Fri Jul  5 14:13:29 2002] [notice] FastCGI: process manager initialized
(pid 959)
[Fri Jul  5 14:13:29 2002] [notice] FastCGI: server
"/cache/oracle/product/9iAS_9.0.2/Apache/Apache/fcgi-bin/echo" started (pid
960)
mmap: Invalid argument
httpd: Could not mmap memory
[Fri Jul  5 14:13:36 2002] [error] Parent process has died... exiting

I think this is some to do with shm, semaphones etc.

The problem is, I have tried to set the /proc/sys/kernel values as specified
in the Installation Notes, but /proc/sys/kernel/sem is nowhere to be found.
I have tried rebuilding the kernel, but this seems to introduce more errors!

Questions are:

- Has anybody else come up with this error on Linux, and how can it be
solved.
- Secondly, how do I get the sem params to show up under /proc/sys/kernel?

Thanks
Answer  
There is no answer at this time.

Comments  
Subject: Re: Apache (Oracle HTTP Server) mmap: Invalid argument on Linux system
From: ozguru-ga on 11 Jul 2002 02:13 PDT
 
Dear ossentoo,

If you built your own kernel you probably need to rebuild enabling
System V IPC semaphores: under the "general setup" kernel config menu
(at least, that's
where it is in 2.4).

Please, let me know if this is the fix and I can repost as an answer.

Thanks.
Subject: Re: Apache (Oracle HTTP Server) mmap: Invalid argument on Linux system
From: ossentoo-ga on 27 Jul 2002 05:34 PDT
 
HI,

I already had System V IPC enabled (CONFIG_SYSVIPC).  That's the
correct option right?

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy