Tsab ntawv teev npe
Ib tug neeg ua lag luam digital tau nruab CWP7 Control Panel Apache 2.4.25 rau ntawm lub Linux server , tab sis qhov kev pabcuam Apache tsis tau pib, ua rau muaj qhov yuam kev hauv qab no: ▼
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.
Yuav ua li cas tshem tawm thiab rov nruab dua thaum Apache2 qhia txog qhov yuam kev?

Yog li ntawd, qhov kev pabcuam Apache tau raug tshem tawm thiab tshem tawm ntawm CentOS 7.
Nkag mus rau CWP hauv qab no uninstall tshem tawm Apache kev pabcuam hais kom ua ▼
yum remove cwp-httpd
Apache kev pabcuam yum hais kom tshem tawm thiab rov nruab dua
Kauj Ruam 1: Nruab Apache kev pabcuam siv cov lus txib yum.
Tom qab tshem tawm CWP thiab tshem tawm qhov kev pabcuam Apache, siv yum hais kom rov nruab Apache kev pabcuam ▼
yum install cwp-httpd
Kauj Ruam 2: Qhib Apache, uas yuav tsum tau pib qhov kev pabcuam Apache.
Sau cov lus txib hauv qab no hauv SSH▼
systemctl start httpd
Kauj Ruam 3: Tom ntej no, teeb tsa Apache kev pabcuam kom pib thaum lub kaw lus khau raj:
systemctl enable httpd
Kauj Ruam 4: Tshawb xyuas qhov xwm txheej ntawm Apache kev pabcuam
Tso cov ntaub ntawv hais txog Apache thiab saib cov xwm txheej ntawm kev pabcuam Apache tam sim no:
systemctl status httpd
Vam tias, tsab xov xwm "Yuav Ua Li Cas Uninstall thiab Rov Nruab Apache2 Thaum Muaj Qhov Yuam Kev? Tshem Tawm thiab Rov Nruab Apache Service Siv yum Command" uas tau muab faib rau ntawm Chen Weiliang lub blog ( https://www.chenweiliang.com/ ) yuav pab tau koj.
Xav qhia qhov txuas ntawm tsab xov xwm no: https://www.chenweiliang.com/cwl-27525.html
