Configuring Filr appliance gives 'Unable to set root password' error

  • 7012716
  • 26-Jun-2013
  • 26-Jun-2013

Environment

Filr 1.0

Situation

Performing initial configuration of Filr in the 9443 interface.
After selecting small deployment, setting the root password, selecting default language, then click finish, results in a "Unable to set root password" error.
Error in the /var/log/boot.msg file:
Starting service MySQL warning: /var/lib/mysql/mysql.sock didn't appear within 30 seconds done
^Gmysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


In the jetty log the following error can also be seen:
Gmysqladmin: connect to server at 'localhost' failed
error:'Access denied for user 'root'@'localhost' (using password: YES)'

Resolution

Login to the server console as root and execute the following command:
mysqladmin -uroot password root

A fix has also been checked into 1.0.1 to help prevent this from occurring, though it would be better to just get a machine with better disks.

Cause

This error typically happens on machines with slower disk access. MySQL times out during the config so, the database doesn't get configured with the correct information.

Additional Information

After the command is executed at the server console, log back into the interface on 9443 and complete the initial configuration.  When prompted to input a password for the root user, during the initial configuration, any password will work at this point.