Restarting nginx.
Starting nginx: nginx: [emerg] ModSecurityConfig in /etc/nginx/nginx-modsecurity-enable.conf:2: Unknown command in config: <LocationMatch
[FAILED]
nginx: [emerg] PEM_read_bio_X509_AUX("/usr/local/directadmin/data/users/myuser/domains/mydomain.com.cert.combined") failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)
nginx: configuration file /etc/nginx/nginx.conf test failed
./build modsecurity
2015/12/10 11:06:33 [error] 24107#0: *306[B] upstream prematurely closed connection while reading upstream[/B], request: "POST /orders/invoices HTTP/1.1", upstream: "https://111.111.111.111:8081/orders/invoices"
an 4 14:22:22 web systemd: Starting The nginx HTTP and reverse proxy server...
Jan 4 14:22:22 web nginx: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Jan 4 14:22:22 web nginx: nginx: [emerg] bind() to [xxxx:xxxx:xxxx::x]:80 failed (99: Cannot assign requested address)
Jan 4 14:22:22 web nginx: nginx: configuration file /etc/nginx/nginx.conf test failed
Jan 4 14:22:22 web systemd: nginx.service: control process exited, code=exited status=1
Jan 4 14:22:22 web systemd: Failed to start The nginx HTTP and reverse proxy server.
Jan 4 14:22:22 web systemd: Unit nginx.service entered failed state.
Jan 4 14:22:22 web systemd: nginx.service failed.
Jan 05 11:18:24 hosting1 systemd[1]: Starting The nginx HTTP and reverse proxy server...
Jan 05 11:18:24 hosting1 nginx[94766]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Jan 05 11:18:24 hosting1 nginx[94766]: nginx: [emerg] bind() to [fe80::4b5:3eff:fe00:3c8]:80 failed (22: Invalid argument)
Jan 05 11:18:24 hosting1 nginx[94766]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jan 05 11:18:24 hosting1 systemd[1]: nginx.service: control process exited, code=exited status=1
Jan 05 11:18:24 hosting1 systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
Jan 05 11:18:24 hosting1 systemd[1]: Unit nginx.service entered failed state.
Jan 05 11:18:24 hosting1 systemd[1]: nginx.service failed.
2016/02/04 00:25:02 [emerg] 11584#0: eventfd() failed (38: Function not implemented)
2016/02/04 00:25:02 [emerg] 11592#0: eventfd() failed (38: Function not implemented)
2016/02/04 00:25:02 [emerg] 11604#0: eventfd() failed (38: Function not implemented)
2016/02/04 00:25:02 [emerg] 11610#0: eventfd() failed (38: Function not implemented)
2016/02/04 00:25:03 [alert] 4897#0: worker process 11584 exited with fatal code 2 and cannot be respawned
2016/02/04 00:25:03 [alert] 4897#0: worker process 11592 exited with fatal code 2 and cannot be respawned
2016/02/04 00:25:03 [alert] 4897#0: worker process 11604 exited with fatal code 2 and cannot be respawned
2016/02/04 00:25:03 [alert] 4897#0: worker process 11610 exited with fatal code 2 and cannot be respawned
016/02/04 00:25:02 [emerg] 11584#0: eventfd() failed (38: Function not implemented)
2016/02/04 00:25:02 [emerg] 11592#0: eventfd() failed (38: Function not implemented)
2016/02/04 00:25:02 [emerg] 11604#0: eventfd() failed (38: Function not implemented)
2016/02/04 00:25:02 [emerg] 11610#0: eventfd() failed (38: Function not implemented)
2016/02/04 00:25:03 [alert] 4897#0: worker process 11584 exited with fatal code 2 and cannot be respawned
2016/02/04 00:25:03 [alert] 4897#0: worker process 11592 exited with fatal code 2 and cannot be respawned
2016/02/04 00:25:03 [alert] 4897#0: worker process 11604 exited with fatal code 2 and cannot be respawned
2016/02/04 00:25:03 [alert] 4897#0: worker process 11610 exited with fatal code 2 and cannot be respawned
Again, this is about efficiency in using a Nginx as a reverse proxy if you're just going to forward the all content to Apache anyways. If that's the case...then why run Nginx at all? The whole point of using Nginx in front of Apache is for efficency in serving static content and having method to deal with bad traffic.
Restarting nginx.
Starting nginx: nginx: [emerg] listen() to 138.201.112.35:80, backlog 511 failed (98: Address already in use)
nginx: [emerg] listen() to 127.0.0.1:80, backlog 511 failed (98: Address already in use)
nginx: [emerg] bind() to 31.25.89.11:80 failed (99: Cannot assign requested address)
[FAILED]
[root@server1 custombuild]#