Maitiro ekubvisa uye kumisazve kana Apache2 inoshuma kukanganisa? Apache service yum command kudzima uye kuisazve

Wana网络 营销vashandi mukatiLinuxPa server, installCWP7 control panel Apache 2.4.25, asi sevhisi yeApache haina kutanga, kukanganisa kunotevera kunooneka▼

httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2022-04-13 05:21:29 EST; 4min 53s ago
  Process: 12087 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)
Apr 13 05:21:29 www.etufo.org systemd[1]: Starting Web server Apache...
Apr 13 05:21:29 www.etufo.org apachectl[12087]: AH00526: Syntax error on line 12 of /usr/local/apache/conf/sharedip.conf:
Apr 13 05:21:29 www.etufo.org apachectl[12087]: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
Apr 13 05:21:29 www.etufo.org systemd[1]: httpd.service: control process exited, code=exited status=1
Apr 13 05:21:29 www.etufo.org systemd[1]: Failed to start Web server Apache.
Apr 13 05:21:29 www.etufo.org systemd[1]: Unit httpd.service entered failed state.
Apr 13 05:21:29 www.etufo.org systemd[1]: httpd.service failed.

Maitiro ekubvisa uye kumisazve kana Apache2 inoshuma kukanganisa?

Maitiro ekubvisa uye kumisazve kana Apache2 inoshuma kukanganisa? Apache service yum command kudzima uye kuisazve

Saka, mukatiCentOS 7 Bvisa uye dzima sevhisi yeApache.

Pinda inotevera CWP uninstall bvisa Apache service command ▼

yum remove cwp-httpd

Apache service yum command kudzima uye kuisazve

Chikamu 1 步:yum command yekuisa Apache service

Mushure mekusunungura CWP uye kudzima sevhisi yeApache, shandisa iyo yum command kudzosera iyo Apache sevhisi▼

yum install cwp-httpd

Chikamu 2 步:Kuti uite Apache, unofanirwa kutanga sevhisi yeApache.

Isa murairo unotevera muSSH▼

systemctl start httpd

Chikamu 3 步:Tevere, gadzira sevhisi yeApache kuti utange pakutanga system:

systemctl enable httpd

Chikamu 4 步:Ona Apache sevhisi mamiriro

Ratidza ruzivo nezveApache uye tarisa mamiriro eiyo iri kushanda Apache sevhisi:

systemctl status httpd

 

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) yakagovaniswa "Sei kuburitsa uye kumisazve kana Apache2 yataura kukanganisa? Apache service yum command yekudzima uye kuisazve" inobatsira kwauri.

Welcome to share link yechinyorwa chino:https://www.chenweiliang.com/cwl-27525.html

Tikugashirei kuTeregiramu chiteshi cheChen Weiliang's blog kuti uwane zvichangobva kuitika!

🔔 Iva wekutanga kuwana yakakosha "ChatGPT Yemukati Yekushambadzira AI Chishandiso Chekushandisa Guide" muchiteshi chepamusoro dhairekitori! 🌟
📚 Iri gwara rine kukosha kukuru, 🌟Uyu mukana usingawanzo, usapotsa! ⏰⌛💨
Govera uye like kana uchida!
Kugovera kwako uye kuda ndiko kukurudzira kwedu kunoramba kuripo!

 

发表 评论

Kero yako yeemail haizoburitswe. Minda inodiwa inoshandiswa * Chitaera

skrorukira kumusoro