enric at February 11th, 2012 10:32 — #1
I restore a full Alfresco backup from one machine with Ubuntu server 11.10 to another with LinuxMint 12, both 64 bits and I get this message:
120211 16:25:32 mysqld_safe Logging to '/opt/alfresco-4.0.b-1/mysql/data/mysqld.log'.
chown: usuario inválido: «mysql»
120211 16:25:32 mysqld_safe Starting mysqld.bin daemon with databases from /opt/alfresco-4.0.b-1/mysql/data
120211 16:25:32 mysqld_safe mysqld from pid file /opt/alfresco-4.0.b-1/mysql/data/quique-ProLiant-MicroServer.pid ended
/opt/alfresco-4.0.b-1/mysql/scripts/ctl.sh : mysql could not be started
/opt/alfresco-4.0.b-1/apache-tomcat/scripts/ctl.sh : tomcat (pid 9726) already running
How can I solve?
beltran at February 11th, 2012 14:08 — #2
It seems that the "mysql" user does not exist in the new machine. Try to create the "mysql" server and the "mysql" group.
$ sudo useradd mysql
$ sudo groupadd mysql
$ sudo usermod -a -G mysql mysql
enric at February 11th, 2012 14:23 — #3
Ok, It's working now.
Thank you very much Beltran.
Muchas gracias Beltrán, funciona correctamente.