From: Lars Braeuer (lbraeuer_at_mpex.net)
Date: Thu 12 Sep 2002 - 21:39:55 BST
Per R Laursen wrote:
>>does the rh 7.3 vserver also start the scripts in your /etc/rc.d/rcX.d
>>dir?
>
> I dont know, but it was working alright in RH, and the server could start
> at boot, be stopped at the console and be startet again.
maybe there's someone in this group who could send the redhat rc scripts.
> But if this should be persistant, then i dont understand why the SuSE
> vserver starts at boot ?????
Well I think we might be talking about the same problem. The RH server starts
the services in the runlevel, because the scripts in /etc./rc.d/rcX.d are
executed. SuSE doesn't start the scripts because of the faulty /etc/rc.d/rc script.
You can still make it work until this issue is fixed. Add the following line to
your /etc/vserver/v1.sh under post-start:
vserver $2 exec <path-to-rcapache>/rcapache start
This will execute the script in the vserver context. So making a vserver v1
status shows that the vserver is up, because that single service is running.