Kif tiddiżinstalla u terġa' tinstalla meta Apache2 jirrapporta żball? Kmand tas-servizz Apache yum biex tħassar u tinstalla mill-ġdid

Jkollhom网络 营销Il-persunal huwa preżentiLinuxFuq is-server, installaInstallajt il-pannell tal-kontroll CWP7 Apache 2.4.25, iżda s-servizz Apache ma bediex, u seħħ l-iżball li ġej▼

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.

Kif tiddiżinstalla u terġa' tinstalla Apache2 meta jseħħ żball?

Kif tiddiżinstalla u terġa' tinstalla meta Apache2 jirrapporta żball? Kmand tas-servizz Apache yum biex tħassar u tinstalla mill-ġdid

Allura, fiCentOS 7 Iddiżinstalla u ħassar is-servizz Apache.

Daħħal il-kmand tas-servizz Apache tad-diżinstalla u ħassar CWP li ġej ▼

yum remove cwp-httpd

Kmand tas-servizz Apache yum biex tħassar u tinstalla mill-ġdid

Pass 1:yum kmand biex tinstalla s-servizz Apache

Wara li d-diżinstallazzjoni tas-CWP tħassar is-servizz Apache, uża l-kmand yum biex tinstalla mill-ġdid is-servizz Apache▼

yum install cwp-httpd

Pass 2:Biex tattiva Apache, trid tibda s-servizz Apache.

Daħħal il-kmand li ġej f'SSH▼

systemctl start httpd

Pass 3:Sussegwentement, issettja s-servizz Apache biex jibda mal-istartjar tas-sistema:

systemctl enable httpd

Pass 4:Ara l-istatus tas-servizz Apache

Uri informazzjoni dwar Apache u ara l-istatus attwali tas-servizz Apache li qed jaħdem:

systemctl status httpd

 

发表 评论

您的邮箱地址不会被公开。 Jintużaw l-oqsma meħtieġa * Tikketta

Skrollja Top