OpenVZ Forum


Home » General » Support » Template and Wrong permision's.
Re: Template and Wrong permision's. [message #37836 is a reply to message #37834] Tue, 27 October 2009 14:29 Go to previous messageGo to previous message
AshleyUk is currently offline  AshleyUk
Messages: 6
Registered: October 2009
Location: Essex, UK
Junior Member
Hello,

Still getting this problem, if template is used on the Node it was created on it's fine however straight away i move the tar.gz to another node mysql fails to start becuase of user/group ownership of certain directories.

For example

running ls -l in /var/run shows :

drwxr-xr-x 2 102 104 4096 Oct 27 14:56 mysqld

Where the actual output for the mysqld folder should be

drwxr-xr-x 2 mysql mysql 4096 Oct 27 14:56 mysqld

running "chown -R mysql:mysql mysqld", mysql then starts fine, however I am trying to release these template's for openvz hosts.

I know it must be possible as for example the 3rd party OS templates on openvz.org work fine.

Im using "tar -pczf --numeric-owner /vz/template/cache/CentOS-5.4-i386-ISPConfig2.tar.gz" to tar the files after changing to "/vz/private/#vzid#" directory and stopping the VPS.

Thanks,
Ashley

[Updated on: Tue, 27 October 2009 14:31]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenVZ on SheevaPlug
Next Topic: I dont have access to internet in the vps
Goto Forum:
  


Current Time: Tue Jul 16 11:54:49 GMT 2024

Total time taken to generate the page: 0.02810 seconds