On Thu, Dec 09, 1999, Scott R. Every wrote:
> we are trying to switch one of our new servers to mod_ssl from stronghold
> on solaris 2.6. using a similar setup to what works on our linux machine,
> get the following error at runtime:
> /usr/local/apache/bin/apachectl startssl
> Ouch! ap_mm_create(1048576, "/usr/local/apache/logs/httpd.mm.6553") failed
> Error: MM: mm:core: failed to acquire shared memory segment (Invalid
> argument):
> OS: No such file or directory
> /usr/local/apache/bin/apachectl startssl: httpd could not be started
>
> everything appears to compile fine, but i'm at a loss as to what to try
> next.
The value 1048576 is 1024*1024 = 1MB. AFAIK Solaris doesn't allow such large
shared memory segments when using IPC shm. Use "SSLSessioCache
shm:/path(1000000)", i.e. a little bit less than 1MB, because Solaris's value
is a little bit less than 1MB. If you really need such a large size, compile
MM differently, i.e. let MM use mmap(2) instead shmget(2). See MM's configure
--help output for hints.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]