Page 1 of 1

httpd, nginx and named fail to start after reboot

Posted: Tue Dec 22, 2015 7:47 pm
by spacing
I just did a new VestaCP installation, but Im testing it out and after restarting my VPS httpd, nginx and named all fail to start.

Is there any way to fix this?

Here's a few error logs

httpd

Code: Select all

[Mon Dec 21 05:44:40.606372 2015] [suexec:notice] [pid 32420] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Dec 21 05:44:40.660831 2015] [so:warn] [pid 32420] AH01574: module ruid2_module is already loaded, skipping
[Mon Dec 21 05:44:40.667527 2015] [auth_digest:notice] [pid 32420] AH01757: generating secret for digest authentication ...
[Mon Dec 21 05:44:40.679095 2015] [:notice] [pid 32420] mod_ruid2/0.9.8 enabled
[Mon Dec 21 05:44:40.811537 2015] [mpm_prefork:notice] [pid 32420] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.45 configured -- resuming normal operations
[Mon Dec 21 05:44:40.811625 2015] [core:notice] [pid 32420] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Dec 21 05:45:26.598704 2015] [mpm_prefork:notice] [pid 32420] AH00171: Graceful restart requested, doing restart
[Mon Dec 21 05:45:26.737783 2015] [so:warn] [pid 32420] AH01574: module ruid2_module is already loaded, skipping
[Mon Dec 21 05:45:26.745092 2015] [auth_digest:notice] [pid 32420] AH01757: generating secret for digest authentication ...
[Mon Dec 21 05:45:26.757351 2015] [:notice] [pid 32420] mod_ruid2/0.9.8 enabled
[Mon Dec 21 05:45:26.840139 2015] [mpm_prefork:notice] [pid 32420] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.45 configured -- resuming normal operations
[Mon Dec 21 05:45:26.840187 2015] [core:notice] [pid 32420] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Dec 21 05:45:32.397890 2015] [mpm_prefork:notice] [pid 32420] AH00171: Graceful restart requested, doing restart
[Mon Dec 21 05:45:32.540447 2015] [so:warn] [pid 32420] AH01574: module ruid2_module is already loaded, skipping
[Mon Dec 21 05:45:32.549484 2015] [auth_digest:notice] [pid 32420] AH01757: generating secret for digest authentication ...
[Mon Dec 21 05:45:32.563424 2015] [:notice] [pid 32420] mod_ruid2/0.9.8 enabled
[Mon Dec 21 05:45:32.658601 2015] [mpm_prefork:notice] [pid 32420] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.45 configured -- resuming normal operations
[Mon Dec 21 05:45:32.658677 2015] [core:notice] [pid 32420] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Dec 21 05:51:26.907591 2015] [mpm_prefork:notice] [pid 32420] AH00171: Graceful restart requested, doing restart
[Mon Dec 21 05:51:27.048380 2015] [so:warn] [pid 32420] AH01574: module ruid2_module is already loaded, skipping
[Mon Dec 21 05:51:27.054819 2015] [auth_digest:notice] [pid 32420] AH01757: generating secret for digest authentication ...
[Mon Dec 21 05:51:27.067240 2015] [:notice] [pid 32420] mod_ruid2/0.9.8 enabled
[Mon Dec 21 05:51:27.151308 2015] [mpm_prefork:notice] [pid 32420] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.45 configured -- resuming normal operations
[Mon Dec 21 05:51:27.151372 2015] [core:notice] [pid 32420] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Dec 21 05:58:52.754412 2015] [mpm_prefork:notice] [pid 32420] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Dec 21 06:07:00.530730 2015] [suexec:notice] [pid 2595] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Dec 21 06:07:00.586617 2015] [so:warn] [pid 2595] AH01574: module ruid2_module is already loaded, skipping
[Mon Dec 21 06:07:00.593975 2015] [auth_digest:notice] [pid 2595] AH01757: generating secret for digest authentication ...
[Mon Dec 21 06:07:00.603019 2015] [:notice] [pid 2595] mod_ruid2/0.9.8 enabled
nginx

Code: Select all

2015/12/21 16:50:11 [emerg] 558#0: bind() to (IPHERE) failed (99: Cannot assign requested address)
2015/12/21 16:54:22 [emerg] 547#0: bind() to (IPHERE) failed (99: Cannot assign requested address)
2015/12/21 16:54:50 [emerg] 565#0: bind() to (IPHERE) failed (99: Cannot assign requested address)
2015/12/21 17:01:11 [emerg] 555#0: bind() to (IPHERE) failed (99: Cannot assign requested address)

Re: httpd, nginx and named fail to start after reboot

Posted: Wed Dec 23, 2015 6:53 am
by skurudo
Your IP changed?

Re: httpd, nginx and named fail to start after reboot

Posted: Wed Dec 23, 2015 2:05 pm
by spacing
skurudo wrote:Your IP changed?
You mean my "home ip" or the vps IP? Because the VPS IP afaik remained the same through the wwhole process

Re: httpd, nginx and named fail to start after reboot

Posted: Wed Dec 30, 2015 3:10 pm
by spacing
bump

Re: httpd, nginx and named fail to start after reboot

Posted: Wed Jan 13, 2016 12:35 am
by spacing
can you help me through this? I still haven't been able to fix it

Re: httpd, nginx and named fail to start after reboot

Posted: Thu Jan 14, 2016 11:43 am
by tjebbeke
Can you show result of:

Code: Select all

ls -la /etc/nginx/conf.d/
ifconfig