From: Duclos Andre (Andre.Duclos_at_cnes.fr)
Date: Thu 15 Jan 2004 - 13:36:40 GMT
Hi,
(My english is poor)
When i use vserver script to build a new vserver (test), i get many lines :
No configuration for this vserver: /etc/vservers/test.conf
Why:
This script, after having to copy the directories, turn off some services on the new vserver.
It is even called him with chkconfig command :
$0 --silent $1 chkconfig --level 2345 $serv off
But it checks the presence of the file of configuration : $1 (test) which was not to create yet by first instance.
The solution:
Before the line which contains :
for serv in *
add
touch /etc/vservers/$1.conf
and after the line which contains :
done
add
rm -f /etc/vservers/$1.conf
Bye.
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver