Preparing to unpack .../nginx-common_1.10.3-0ubuntu0.16.04.2_all.deb ... Unpacking nginx-common (1.10.3-0ubuntu0.16.04.2) ... Selecting previously unselected package nginx-core. Preparing to unpack .../nginx-core_1.10.3-0ubuntu0.16.04.2_amd64.deb ... Unpacking nginx-core (1.10.3-0ubuntu0.16.04.2) ... Selecting previously unselected package nginx. Preparing to unpack .../nginx_1.10.3-0ubuntu0.16.04.2_all.deb ... Unpacking nginx (1.10.3-0ubuntu0.16.04.2) ... Processing triggers for ureadahead (0.100.0-19) ... ureadahead will be reprofiled on next reboot Processing triggers for ufw (0.35-0ubuntu2) ... Processing triggers for systemd (229-4ubuntu19) ... Setting up nginx-common (1.10.3-0ubuntu0.16.04.2) ... insserv: warning: script is corrupt or invalid: /etc/init.d/../rc2.d/S01shm_load Setting up nginx-core (1.10.3-0ubuntu0.16.04.2) ... Enter passphrase for SSL/TLS keys for symphony-dev.dalab.syniverse.com:443 (RSA): Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. invoke-rc.d: initscript nginx, action "start" failed. ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2017-08-08 11:33:58 +0530; 1min 11s ago Process: 11954 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE) Process: 11949 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Aug 08 11:33:57 wso2dinali-ThinkPad-X1-Carbon-4th nginx[11954]: nginx: [emerg... Aug 08 11:33:57 wso2dinali-ThinkPad-X1-Carbon-4th nginx[11954]: nginx: [emerg... Aug 08 11:33:57 wso2dinali-ThinkPad-X1-Carbon-4th nginx[11954]: nginx: [emerg... Aug 08 11:33:58 wso2dinali-ThinkPad-X1-Carbon-4th nginx[11954]: nginx: [emerg... Aug 08 11:33:58 wso2dinali-ThinkPad-X1-Carbon-4th nginx[11954]: nginx: [emerg... Aug 08 11:33:58 wso2dinali-ThinkPad-X1-Carbon-4th nginx[11954]: nginx: [emerg... Aug 08 11:33:58 wso2dinali-ThinkPad-X1-Carbon-4th systemd[1]: nginx.service: ... Aug 08 11:33:58 wso2dinali-ThinkPad-X1-Carbon-4th systemd[1]: Failed to start... Aug 08 11:33:58 wso2dinali-ThinkPad-X1-Carbon-4th systemd[1]: nginx.service: ... Aug 08 11:33:58 wso2dinali-ThinkPad-X1-Carbon-4th systemd[1]: nginx.service: ... Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package nginx-core (--configure): subprocess installed post-installation script returned error exit status 1