#1 By: Enric, February 11th, 2012 10:32
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?
#2 By: Beltran Rueda Borrego, February 11th, 2012 14:08
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
#3 By: Enric, February 11th, 2012 14:23
Ok, It's working now.
Thank you very much Beltran.
Muchas gracias Beltrán, funciona correctamente.