apache wont start

Discussion in 'General' started by willoriker, Apr 28, 2021.

  1. willoriker

    willoriker Member

    hi kids!
    i have problem with apache , after clean a lot of data ( sites and client using ISP) after reboot apache give error
    Code:
    ● apache2.service - The Apache HTTP Server
       Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
      Drop-In: /lib/systemd/system/apache2.service.d
               └─apache2-systemd.conf
       Active: failed (Result: exit-code) since Wed 2021-04-28 15:32:38 CEST; 3h 35min ago
      Process: 4169 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
    
    abr 28 15:32:38 mnsvr.digiiberica.eu systemd[1]: Starting The Apache HTTP Server...
    abr 28 15:32:38 mnsvr.digiiberica.eu apachectl[4169]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.vhost:7
    abr 28 15:32:38 mnsvr.digiiberica.eu apachectl[4169]: AH00112: Warning: DocumentRoot [/var/www/cucucucu.com/web] does not exist
    abr 28 15:32:38 mnsvr.digiiberica.eu apachectl[4169]: AH00543: apache2: bad user name web6
    abr 28 15:32:38 mnsvr.digiiberica.eu apachectl[4169]: Action 'start' failed.
    abr 28 15:32:38 mnsvr.digiiberica.eu apachectl[4169]: The Apache error log may have more information.
    abr 28 15:32:38 mnsvr.digiiberica.eu systemd[1]: apache2.service: Control process exited, code=exited status=1
    abr 28 15:32:38 mnsvr.digiiberica.eu systemd[1]: apache2.service: Failed with result 'exit-code'.
    abr 28 15:32:38 mnsvr.digiiberica.eu systemd[1]: Failed to start The Apache HTTP Server.
    
    i modify vhost file and duplicate (copy ) folder "cucucucu.com" from a similar and i solve error 548 and 112 but i cannot fix 543, i try with useradd w/o success
    help please
    tx in advance
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    You could try removing all you website vhost files (sites-enabled/100-*-) and see if apache starts up; if so, resync all websites from the tools menu.
     
  3. willoriker

    willoriker Member

    tx , but i fix 1 and 2 error
    Code:
    abr 28 15:32:38 mnsvr.digiiberica.eu apachectl[4169]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.vhost:7
    abr 28 15:32:38 mnsvr.digiiberica.eu apachectl[4169]: AH00112: Warning: DocumentRoot [/var/www/cucucucu.com/web] does not exist
    
    the 3 line is my problem
    Code:
    abr 28 15:32:38 mnsvr.digiiberica.eu apachectl[4169]: AH00543: apache2: bad user name web6
     
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Yes, I did note that in your initial post.
     
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    How did you "clean"? You should remove/edit things through the ISPConfig UI.
    Find out which vhost uses the web6 user and disable that site.
     
  6. willoriker

    willoriker Member

    yes i "clean" using ispconfig ui
     
  7. willoriker

    willoriker Member

    i try, but i never use virtual host
     
  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    ISPConfig creates virtual hosts for the sites.
     

Share This Page