Momwe mungachotsere ndikukhazikitsanso Apache2 ikanena cholakwika? Apache service yum command kuti muchotse ndikuyikanso

KhalaniKutsatsa Paintanetistaff muLinuxPa seva, ikaniCWP7 control panel Apache 2.4.25, koma ntchito ya Apache sinayambike, cholakwika chotsatirachi chikuwoneka▼

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.

Momwe mungachotsere ndikuyikanso pomwe Apache2 ikunena cholakwika?

Momwe mungachotsere ndikukhazikitsanso Apache2 ikanena cholakwika? Apache service yum command kuti muchotse ndikuyikanso

Chifukwa chake, muCentOS 7 Chotsani ndikuchotsa ntchito ya Apache.

Lowetsani kutsatira CWP chotsani chotsani lamulo la Apache ▼

yum remove cwp-httpd

Apache service yum command kuchotsa ndikuyikanso

Khwerero 1:yum command kukhazikitsa Apache service

Mukachotsa CWP ndikuchotsa ntchito ya Apache, gwiritsani ntchito lamulo la yum kukhazikitsanso ntchito ya Apache▼

yum install cwp-httpd

Khwerero 2:Kuti mutsegule Apache, muyenera kuyambitsa ntchito ya Apache.

Lowetsani lamulo ili mu SSH▼

systemctl start httpd

Khwerero 3:Kenako, ikani ntchito ya Apache kuti iyambike poyambitsa dongosolo:

systemctl enable httpd

Khwerero 4:Onani mawonekedwe a Apache service

Onetsani zambiri za Apache ndikuwona momwe ntchito ya Apache ikuyendera:

systemctl status httpd

 

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) adagawana "Momwe mungachotsere ndikuyikanso pomwe Apache2 ikunena cholakwika? Apache service yum command kuchotsa ndikuyikanso" ndizothandiza kwa inu.

Takulandirani kugawana ulalo wa nkhaniyi:https://www.chenweiliang.com/cwl-27525.html

Takulandilani panjira ya Telegraph yabulogu ya Chen Weiliang kuti mupeze zosintha zaposachedwa!

🔔 Khalani oyamba kupeza "ChatGPT Content Marketing AI Tool Usage Guide" m'ndandanda wapamwamba kwambiri! 🌟
📚 Bukuli lili ndi phindu lalikulu, 🌟Uwu ndi mwayi wosowa, musaphonye! ⏰⌛💨
Share ndi like ngati mukufuna!
Kugawana kwanu ndi zomwe mumakonda ndizomwe zimatilimbikitsa nthawi zonse!

 

发表 评论

Imelo yanu sidzasindikizidwa. Minda yofunikira imagwiritsidwa ntchito * Chizindikiro

pindani pamwamba