axauser is not in the sudoers file. This incident will be reported. Do you want the self-signed certificate to be created?y SELF-SEIGNED CERTIFICATE MAY NOT DECRYPT HTTPS PAYLOAD, PLEASE USE VALID CERTIFICATE/KEY. Location to be copied: /etc/nginx/ssl/. Generating self-signed certificate... key : /home/axauser/nginx/ssl/client.key cert : /home/axauser/nginx/ssl/client.crt Generating a 2048 bit RSA private key ...............................+++ .+++ writing new private key to '/home/axauser/nginx/ssl/client.key' /home/axauser/nginx/ssl/client.key: No such file or directory 140122337867664:error:02001002:system library:fopen:No such file or directory:bss_file.c:402:fopen('/home/axauser/nginx/ssl/client.key','w') 140122337867664:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:404: Key is generated and can be found at: /home/axauser/nginx/ssl/client.key Certificate is generated and can be found at: /home/axauser/nginx/ssl/client.crt Starting nginx service Reloading systemd: ==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon === Authentication is required to reload the systemd state. Authenticating as: Cloud User (ec2-user) Password: ==== AUTHENTICATION COMPLETE === [ OK ] Starting nginx.sh (via systemctl): ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === Authentication is required to manage system services or units. Authenticating as: Cloud User (ec2-user) Password: ==== AUTHENTICATION COMPLETE === Failed to start nginx.sh.service: Unit not found. [FAILED] Checking nginx service state Unit nginx.sh.service could not be found. Executing the DB Scripts. POSTGRES_HOST: DX-AXA POSTGRES_PORT: 5432 POSTGRES_DB_NAME: ao_platform POSTGRES_USER: aopuser ----------------- Executing installPSQL.sh ----------------- Configuring psql environment... ----------------- Execution of installPSQL.sh complete ----------------- ERROR! Installation failed psql: FATAL: no pg_hba.conf entry for host "fe80::f2:fff:fe9c:2cb0%eth0", user "aopuser", database "ao_platform", SSL off You have new mail in /var/spool/mail/root