OpenVZ Forum


Home » General » Support » Warning: Variable TEMPLATE not found in /etc/sysconfig/vz
Warning: Variable TEMPLATE not found in /etc/sysconfig/vz [message #24159] Sun, 02 December 2007 01:33 Go to next message
powervps is currently offline  powervps
Messages: 54
Registered: December 2007
Member
[root@vps1 cache]# vzctl create 101 --ostemplate centos-4-i386-default
/usr/share/vzpkg/functions: line 233: /etc/sysconfig/vz: No such file or directory
Warning: Variable TEMPLATE not found in /etc/sysconfig/vz; using default (/vz/template).

hello how ican fix the problem Sad
Re: Warning: Variable TEMPLATE not found in /etc/sysconfig/vz [message #24165 is a reply to message #24159] Sun, 02 December 2007 03:18 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello powervps,

You have a lot of strange errors (I read other your posts). It seems that OpenVZ is not properly installed on your node. So, how did you install it? What distribution do you use?

Thank you,
Vasily
Re: Warning: Variable TEMPLATE not found in /etc/sysconfig/vz [message #24185 is a reply to message #24165] Sun, 02 December 2007 18:15 Go to previous messageGo to next message
powervps is currently offline  powervps
Messages: 54
Registered: December 2007
Member
Thx you sir my vps was up and running but one of my frindes he have delete som file

i have install the vps from http://openvz.org/documentation/guides/


i need som one can help me with reinstall the vps server
Re: Warning: Variable TEMPLATE not found in /etc/sysconfig/vz [message #24190 is a reply to message #24185] Sun, 02 December 2007 20:58 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
OK, if some files were removed, the most consistent way is to reinstall OpenVZ packages.
Seems that you need to reinstall only "vzctl" and "vzctl-lib" packages. Try to do it.

HTH,
Vasily

[Updated on: Sun, 02 December 2007 21:22]

Report message to a moderator

Previous Topic: Unable to run OpenVPN - "openvpn --mktun --dev tap0" fails
Next Topic: How to run OSPF inside VE? (or: multicast support in VE in general)
Goto Forum:
  


Current Time: Sun Aug 11 20:22:07 GMT 2024

Total time taken to generate the page: 0.03580 seconds