I am sorry, my English is not good.

I have a problem when my server restarts, the nginx service won't autostart. must be started manually. please solution. i am using ubuntu 20.04, aapanel version 6.8.24, nginx 1.21.4.

    aaP_Fr4n5
    Hello, try to execute the following command as root to set nginx to start on boot.
    /sbin/update-rc.d nginx defaults
    If there is an error, please paste it.

      aaP_Fr4n5
      Try to set nginx to start on boot. Pay attention to check whether it starts automatically the next time you restart.

        aaP_Fr4n5
        Tip 888 and 80 ports are occupied. When the problem occurs, you can use the following command to check which program is occupying the port
        lsof -i:80
        netstat -tulnp|grep 80

          aaP_Fr4n5
          Hello, openlitespeed cannot coexist with nginx, please remove one.
          The nginx start command is
          /etc/init.t/nginx start

            aaPanel_Kern
            thanks. problem solved. I meant to install WebSite Speed, but what I installed was Openlitespeed. Once again I thank you.

            2 years later
            a month later