Kalozera wa Nkhani
Katswiri wa zamalonda wayika CWP7 Control Panel Apache 2.4.25 pa seva ya Linux , koma ntchito ya Apache yalephera kuyamba, zomwe zapangitsa kuti pakhale cholakwika ichi: ▼
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?

Chifukwa chake, ntchito ya Apache idachotsedwa ndikuchotsedwa pa CentOS 7.
Lowetsani kutsatira CWP chotsani chotsani lamulo la Apache ▼
yum remove cwp-httpd
Apache service yum command kuchotsa ndikuyikanso
Gawo 1: Ikani ntchito ya Apache pogwiritsa ntchito lamulo la yum.
Mukachotsa CWP ndikuchotsa ntchito ya Apache, gwiritsani ntchito lamulo la yum kukhazikitsanso ntchito ya Apache▼
yum install cwp-httpd
Gawo 2: Yambitsani Apache, yomwe imafuna kuyambitsa ntchito ya Apache.
Lowetsani lamulo ili mu SSH▼
systemctl start httpd
Gawo 3: Kenako, konzani ntchito ya Apache kuti iyambe pamene dongosolo likuyamba:
systemctl enable httpd
Gawo 4: Yang'anani momwe ntchito ya Apache ilili
Onetsani zambiri za Apache ndikuwona momwe ntchito ya Apache ikuyendera:
systemctl status httpd
Tikukhulupirira kuti nkhani yakuti "Momwe Mungachotsere ndi Kuyikanso Apache2 Pamene Zolakwika Zachitika? Kuchotsa ndi Kuyikanso Apache Service Pogwiritsa Ntchito Yum Command" yomwe yagawidwa pa blog ya Chen Weiliang ( https://www.chenweiliang.com/ ) idzakuthandizani.
Khalani omasuka kugawana ulalo wa nkhaniyi: https://www.chenweiliang.com/cwl-27525.html
