Uhla lwemibhalo ye-athikili
UbeI-Internet Marketingabasebenzi kuLinuxKuseva, fakaIphaneli yokulawula ye-CWP7 i-Apache 2.4.25, kodwa isevisi ye-Apache ayiqali, kuvela iphutha elilandelayo▼
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.
Ungakhipha kanjani futhi ufake kabusha lapho i-Apache2 ibika iphutha?
Ngakho, kuCentOS 7 Khipha bese ususa isevisi ye-Apache.
Faka i-CWP elandelayo yokukhipha khipha umyalo wesevisi ye-Apache ▼
yum remove cwp-httpd
I-Apache service yum umyalo wokususa nokufaka kabusha
Isinyathelo sesi-1:yum umyalo wokufaka isevisi ye-Apache
Ngemva kokukhipha i-CWP nokususa isevisi ye-Apache, sebenzisa umyalo we-yum ukuze ufake kabusha isevisi ye-Apache▼
yum install cwp-httpd
Isinyathelo sesi-2:Ukuze uvule i-Apache, udinga ukuqala isevisi ye-Apache.
Faka umyalo olandelayo ku-SSH▼
systemctl start httpd
Isinyathelo sesi-3:Okulandelayo, setha isevisi ye-Apache ukuze iqale ekuqaleni kwesistimu:
systemctl enable httpd
Isinyathelo sesi-4:Buka isimo sesevisi ye-Apache
Bonisa ulwazi mayelana ne-Apache futhi ubuke isimo sesevisi ye-Apache esebenzayo njengamanje:
systemctl status httpd
I-Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) kwabelwane "Indlela yokukhipha nokufaka kabusha lapho i-Apache2 ibika iphutha? I-Apache service yum command yokususa nokufaka kabusha" iyasiza kuwe.
Siyakwamukela ukwabelana ngesixhumanisi salesi sihloko:https://www.chenweiliang.com/cwl-27525.html
Uyemukelwa esiteshini seTelegram sebhulogi ka-Chen Weiliang ukuze uthole izibuyekezo zakamuva!
📚 Lo mhlahlandlela uqukethe inani elikhulu, 🌟Leli ithuba eliyivelakancane, ungaphuthelwa! ⏰⌛💨
Yabelana futhi uthanda uma uthanda!
Ukwabelana kwakho nokuthanda kwakho kuyisisusa sethu esiqhubekayo!