Nginx fail after reboot server

Discussion in 'ISPConfig 3 Priority Support' started by ktownmods, Oct 26, 2018.

  1. ktownmods

    ktownmods Member HowtoForge Supporter

    And after reboot (not restarting manually nginx)

    Code:
    nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
    nginx: configuration file /etc/nginx/nginx.conf test is successful
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. ktownmods

    ktownmods Member HowtoForge Supporter

  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If it happens every reboot, my quess is the startup order is wrong or nginx otherwise starts too soon, in other words something that it needs is not running when nginx tries to start. Examine the startup order, and examine the logs, there should be someting about why nginx either does not start or exits right after starting.
    Or one possibility is that when you start nginx manually, you use a different command or different settings compared to the startup script.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The most likely reason is the start order indeed. Seems as if Nginx starts before the IP address that you try to bind nginx to is available.
     
  6. florian030

    florian030 Well-Known Member HowtoForge Supporter

  7. ktownmods

    ktownmods Member HowtoForge Supporter

Share This Page