Artikulo Direktoryo
PagbatonMarketing sa InternetMga kawani saLinuxSa server, i-installCWP7 control panel Apache 2.4.25, apan ang serbisyo sa Apache wala magsugod, ang mosunod nga sayop makita▼
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.
Giunsa ang pag-uninstall ug pag-install pag-usab kung ang Apache2 nagreport sa usa ka sayup?

Busa, saCentOS 7 I-uninstall ug tangtanga ang serbisyo sa Apache.
Pagsulod sa mosunod nga CWP uninstall remove Apache service command ▼
yum remove cwp-httpd
Apache service yum command aron mapapas ug i-install pag-usab
Lakang 1:yum command aron i-install ang serbisyo sa Apache
Pagkahuman sa pag-uninstall sa CWP ug pagtangtang sa serbisyo sa Apache, gamita ang yum command aron i-install pag-usab ang serbisyo sa Apache▼
yum install cwp-httpd
Lakang 2:Aron ma-aktibo ang Apache, kinahanglan nimo nga sugdan ang serbisyo sa Apache.
Pagsulod sa mosunod nga sugo sa SSH▼
systemctl start httpd
Lakang 3:Sunod, ibutang ang serbisyo sa Apache nga magsugod sa pagsugod sa sistema:
systemctl enable httpd
Lakang 4:Tan-awa ang kahimtang sa serbisyo sa Apache
Ipakita ang impormasyon bahin sa Apache ug tan-awa ang kahimtang sa kasamtangang nagdagan nga serbisyo sa Apache:
systemctl status httpd
Paglaum Chen Weiliang Blog ( https://www.chenweiliang.com/ ) mipakigbahin "Unsaon pag-uninstall ug pag-instalar pag-usab kung ang Apache2 nagreport sa usa ka sayup? Apache service yum command to delete and reinstall" makatabang kanimo.
Welcome sa pagpaambit sa link niini nga artikulo:https://www.chenweiliang.com/cwl-27525.html
Aron maablihan ang daghang tinago nga mga limbong🔑, welcome sa pag-apil sa among Telegram channel!
Share ug like kung ganahan ka! Ang imong mga share ug likes mao ang among padayon nga kadasig!