Template and Wrong permision's. [message #37830] |
Tue, 27 October 2009 11:05 |
AshleyUk
Messages: 6 Registered: October 2009 Location: Essex, UK
|
Junior Member |
|
|
Hello,
I used the basic CentOS 5 Minimal Template, and then updated the template using yum and installed ISPConfig2.
I then shutdown most proccesses mysql,httpd,postfix e.t.c, then shutdown the VPS and tared the template up using " tar -pczf /vz/template/cache/CentOS-5.4-i386-ISPConfig.tar.gz ." while I was inside /vz/private/118
I have done a few templates now and they are all fine, however this one if I use it on the same node it's fine, however if I use it on another node mysql can not start.
For example the directory /var/run/mysql is not owned by mysql:mysql but instead some random number's like 140:140.
Is there a reason for this? Should I be excluding the run directory will it just get created when the VPS boot's up again, why am I not having problems with the other templates ive made?
Thanks,
Ashley
|
|
|