[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] apache2 in domU sometimes only



Dear Eli

here is what apache2-reconfigure-mpm threw at me:

apache2-reconfigure-mpm
Shutting down httpd2 (not running)                    
               done
Starting SuSEconfig, the SuSE Configuration Tool...
Running module apache2 only
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.apache2...
Looking for multi-processing modules (MPM)...
1 MPM installed (prefork)
APACHE_MPM is unset (/etc/sysconfig/apache2), picked
"prefork"
create symbolic link `/usr/sbin/httpd2' to
`/usr/sbin/httpd2-prefork'
create symbolic link
`/usr/share/apache2/build/config_vars.mk' to
`config_vars.mk-prefork'
Finished.

then I did:

:/ # rcapache2 start
        Starting httpd2 (prefork)                     
                       failed

in /var/log/appache/errorlog I find:

[emerg] (38)Function not implemented: Couldn't create
accept lock

This was after I disabled ssl and suexec modules in
/etc/sysconfig/apache2 from the line that starts with
APACHE_MODULES="...

The very strange thing is,  have two machines that I
are running fine, configured exactly the same way.
However my xen machine is running from softraid 1.

I started to look and compare config files in between
the different machines. but there are too many.
Without a good clue, I guess i'll have to dump the xen
installation and start all over :-C

greets chris

and thanks so far


--- "Anderson, Eli C" <Eli.C.Anderson@xxxxxxxxxx>
wrote:
> I use to have this problem on Debian using the
> worker Multi-Processing
> Module(MPM).  I switched to the prefork (MPM) and it
> worked.  This is
> related to the threading model and I suspect that is
> the problem you are
> having.  You will need to check which module you are
> using and switch to
> prefork if you are using worker.
> 
> I believe with yast you can just install
> apache2-prefork.  Also, from
> looking at Novell's site, it appears that Suse's
> Apache package comes
> with a program apache2-reconfigure-mpm that might be
> useful (never used
> it though).
> 
> 
> 
> 
> On Wed, 2005-04-06 at 20:16 +0200, Chris Epicier
> wrote:
> > Hi there
> > Yast says its 2.0.50 (latest you can get from yast
> > online update)
> > 
> > Do you think its a bug in apache?
> > 
> > greets chris
> > --- "Anderson, Eli C" <Eli.C.Anderson@xxxxxxxxxx>
> > wrote:
> > > What build of apache2 are you running?
> > > 
> > > 
> > > On Tue, 2005-04-05 at 15:48 +0200, Chris Epicier
> > > wrote:
> > > > Hi there
> > > >  
> > > > I Use suse 9.2 and
> www.suse.de/~garloff/linux/xen
> > > > 2.6.8-24.14-xen rpms
> > > >  
> > > > apart from some networking setup problems I
> got a
> > > > problem with apache2: it starts sometimes and
> > > > sometimes not. I removed it, reinstalled it,
> did
> > > an
> > > > online update and still, sometimes yes
> sometimes
> > > not
> > > >  
> > > > As /var/log/messages remains quiet,
> > > > /var/log/apache2/error_log spits
> > > > [Tue Apr 05 15:43:27 2005] [error]
> (38)Function
> > > not
> > > > implemented: Cannot create SSLMutex
> > > > Configuration Failed
> > > > 
> > > > It does so on both Dom0 and DomU
> > > > 
> > > > Any help greatly appreciated
> > > > 
> > > > Chris
> > > > 
> > > > PS: Postgres runs fine:xentest:~ # 
> > > > rcpostgresql status
> > > > Checking for PostgreSQL:                      
>    
> > >  
> > > >  
> > > >                running
> > > > 
> > > > 
> > > > 
> > > >         
> > > > 
> > > >         
> > > >                 
> > > >
> > >
> >
>
___________________________________________________________
> > > 
> > > > Gesendet von Yahoo! Mail - Jetzt mit 250MB
> > > Speicher kostenlos - Hier anmelden:
> > > http://mail.yahoo.de
> > > > 
> > > >
> _______________________________________________
> > > > Xen-users mailing list
> > > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > > http://lists.xensource.com/xen-users
> > > 
> > 
> > 
> >     
> > 
> >     
> >             
> >
>
___________________________________________________________
> 
> > Gesendet von Yahoo! Mail - Jetzt mit 250MB
> Speicher kostenlos - Hier anmelden:
> http://mail.yahoo.de
> 


        
                
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.