[csw-users] Unable to run apache from read-only filesystem

Cory Omand Cory.Omand at Sun.COM
Wed Jan 12 23:08:14 CET 2005

>From what I can see, EAPI_MM_CORE_PATH as configured in the CSWapache
package will always be relative to ServerRoot.  You can change the
server root by passing the '-d' argument to httpd.  This will then
change where you load configs from, and will mean you'll probably have
to specify a full path to module files to load up modules.


On Wed, 2005-01-12 at 13:27, Oscar del Rio wrote:
> We install all CSW stuff on a file server and export
> it read-only to servers and workstations.
> I tried to run apache on a server with /opt/csw/apache
> NFS mounted, with local configuration /etc/apache/conf/httpd.conf
> edited so that log files and document root are defined in
> /etc/apache/logs and /etc/apache/htdocs and then running
> /opt/csw/apache/bin/httpd -f /etc/apache/conf/httpd.conf
> I get the error
> Ouch! ap_mm_create(1048576, "/opt/csw/apache/logs/httpd.mm.19880")
> failed
> Error: MM: mm:core: failed to open semaphore file (Read-only file 
> system): OS: No such file or directory
> There is no configuration for the path of the httpd.mm file, it
> seems to be always relative to the Server Root.
> #/opt/csw/apache/bin/httpd -V
> Server version: Apache/1.3.33 (Unix)
> Server built:   Nov  5 2004 01:25:20
> Server compiled with....
>   -D EAPI_MM_CORE_PATH="logs/httpd.mm"
> As a workaround, I made /opt/csw/apache/logs a symlink to
> /etc/apache/logs on the NFS server but it is going to
> break at the next package upgrade.
> Should I file a bug requesting that the httpd.mm file be
> configured outside the server root, perhaps in /var/run?
> Anyone can think of another solution or a problem with
> having httpd.mm in /var/run?
> Thanks
> Oscar
> _______________________________________________
> users mailing list
> users at lists.blastwave.org
> https://lists.blastwave.org/mailman/listinfo/users
Cory C. Omand                  Cory.Omand at Sun.COM
SSG Operations Engineering           510.315.5959
Sun Microsystems, Newark CA             NWK20-210

More information about the users mailing list