2016-02-02

OpenProject installation fails in RHEL 6.7

Error: Error running /opt/openproject/mysql/scripts/myscript.sh
/opt/openproject/mysql ****: 160202 9:22:42 [Note]
/opt/openproject/mysql/bin/mysqld.bin (mysqld 5.5.47) starting as process 3489
...
160202 9:22:43 [Note] /opt/openproject/mysql/bin/mysqld.bin (mysqld 5.5.47)
starting as process 3496 ...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/opt/openproject/mysql/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/opt/openproject/mysql/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/opt/openproject/mysql/tmp/mysql.sock' (2)
Press [Enter] to continue:

from error log

Start: Installing and Initializing MySQL Database
Initializing MySQL Database. This could take a couple of minutes.
Executing /opt/openproject/mysql/scripts/myscript.sh /opt/openproject/mysql ****
Script exit code: 1

Script output:

Script stderr:
160202 9:22:42 [Note] /opt/openproject/mysql/bin/mysqld.bin (mysqld 5.5.47) starting as process 3489 ...
160202 9:22:43 [Note] /opt/openproject/mysql/bin/mysqld.bin (mysqld 5.5.47) starting as process 3496 ...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/openproject/mysql/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/openproject/mysql/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/openproject/mysql/tmp/mysql.sock' (2)

Error running /opt/openproject/mysql/scripts/myscript.sh /opt/openproject/mysql ****: 160202 9:22:42 [Note] /opt/openproject/mysql/bin/mysqld.bin (mysqld 5.5.47) starting as process 3489 ...
160202 9:22:43 [Note] /opt/openproject/mysql/bin/mysqld.bin (mysqld 5.5.47) starting as process 3496 ...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/openproject/mysql/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/openproject/mysql/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/openproject/mysql/tmp/mysql.sock' (2)
[09:25:39] End: Installing and Initializing MySQL Database

Show more