Running gekko on a ubuntu server with apache
#13
(02-15-2018, 02:05 PM)SirTificate Wrote: it does help. Set the to 96 and restart the server:

systemctl restart nginx

if the still throws an error, it must be something else with a different message. Check journalctl and/or the nginx error log in /var/log/nginx.

so i guess i drove myself deeper into the shit lol.

tried to repair/reinstall package and got this now:
seems to be a problem with the package all along.
sry for the noob questions. im pretty new to linux

Quote:sudo apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
nginx is already the newest version (1.10.3-0ubuntu0.16.04.2).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up nginx-full (1.10.3-0ubuntu0.16.04.2) ...
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 Thu 2018-02-15 14:28:25 UTC; 6ms ago
  Process: 8016 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Feb 15 14:28:25 ip-172-31-35-179 systemd[1]: Starting A high performance web server and a reverse proxy server...
Feb 15 14:28:25 ip-172-31-35-179 nginx[8016]: nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (2: No such file or directory)
Feb 15 14:28:25 ip-172-31-35-179 nginx[8016]: nginx: configuration file /etc/nginx/nginx.conf test failed
Feb 15 14:28:25 ip-172-31-35-179 systemd[1]: nginx.service: Control process exited, code=exited status=1
Feb 15 14:28:25 ip-172-31-35-179 systemd[1]: nginx.service: Failed with result 'exit-code'.
Feb 15 14:28:25 ip-172-31-35-179 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-full (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-core (>= 1.10.3-0ubuntu0.16.04.2) | nginx-full (>= 1.10.3-0ubuntu0.16.04.2) | nginx-light (>= 1.10.3-0ubuntu0.16.04.2) | nginx-extras (>= 1.10.3-0ubuntu0.16.04.2); however:
  Package nginx-core is not installed.
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-core (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-full (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-light (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-extras (<< 1.10.3-0ubuntu0.16.04.2.1~); however:
  Package nginx-core is not installed.
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nginx-full
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

Ps. just tried on another instance. as soon as i change the nginx config. the whole service stops working.
just to be clear: in the config i just have to set the DNS name nothing else right?

Edit2: got the server to run. with su sudo bla bla i got it to restart with the higher buffer value.

still no luck to edit or create htpasswd
  Reply


Messages In This Thread
RE: Running gekko on a ubuntu server with apache - by donkykong017 - 02-15-2018, 02:32 PM

Forum Jump:


Users browsing this thread: