Re: Template and Wrong permision's. [message #37836 is a reply to message #37834] |
Tue, 27 October 2009 14:29 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
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
|
|
|