Sometime, an upstart job can stay in an inconsistent state, resulting to the impossibility to restart it. When this problem occurs, the i-MSCP installer is not able to restart the related service and is hanging.
For instance, an upstart job which is in inconsistent state can be shown as follow
To fix this problem, you can apply the following procedure
where <job_pid> must be replaced with the pid of the upstart job process which cause problem. In the exemple above, this should be 2001. Once the script is started, you must wait it ending and once done, you should be able to rerun the imscp-autoinstall script without any problem.
See https://github.com/i-MSCP/workaround-upstart-snafu for more details.