Hi,
Currently testing out 1.3.x and have ran into a error while installing the control panel. The error occurs which what would seem at the end of installation when it is starting the services.
Currently I have selected for only IPv6 to be enabled on the control panel:
Error:
- [ERROR] Package::FrontEnd::start: Could not start the nginx service: iMSCP::Provider::Service::Sysvinit::_exec: Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details. at /usr/local/src/imscp-1.3.x/engine/PerlLib/iMSCP/Service.pm line 158.autoinstaller::Functions::install: An error occurred while performing installation steps
- root@beta:/usr/local/src/imscp-1.3.x# service nginx status● nginx.service - A high performance web server and a reverse proxy serverLoaded: loaded (/lib/systemd/system/nginx.service; enabled)Active: failed (Result: exit-code) since Sat 2016-05-28 15:36:42 EDT; 1min 23s agoProcess: 30373 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
I have investigated further using command nginx -t and it would seem nginx has a problem with IPv6:
- nginx: [emerg] invalid port in "4a069:b0c0:1:d0::30a:1001:8080" of the "listen" directive in /etc/nginx/sites-enabled/00_master:4
*** Please note above is a fake IPv6 address.
I have placed the IPv6 into squared brackets [ ] and this has resolved the above errors.
Cheers