I found the same issue on 1 of my servers. Solution is modified /usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/remotelib.php:
from:
if ($socket <= 0) {
if ($raddress === 'localhost' && !$sgbl->isDebug()) {
// lxshell_background("/usr/sbin/lxrestart", $sgbl->__var_program_name);
throw new lxException('no_socket_connect_to_server', '', $raddress);
throw new lxException('restarting_backend', '', $raddress);
} else {
throw new lxException('no_socket_connect_to_server', '', $raddress);
}
}
to:
if ($socket <= 0) {
if ($raddress === 'localhost' && !$sgbl->isDebug()) {
// lxshell_background("/usr/sbin/lxrestart", $sgbl->__var_program_name);
exec_with_all_closed("sh /script/restart >/dev/null 2>&1 &");
throw new lxException('no_socket_connect_to_server', '', $raddress);
throw new lxException('restarting_backend', '', $raddress);
} else {
throw new lxException('no_socket_connect_to_server', '', $raddress);
}
}
With modified above code, we still see error message but try again will be work. It's because before error message ('no_socket_connect_to_server'), panel execute 'exec_with_all_closed'.