E faʻafefea ona aveese ma toe faʻapipiʻi pe a lipotia e Apache2 se mea sese? Apache service yum poloaiga e tape ma toe faʻapipiʻi

LeInitaneti MaketiO lo'o iai le aufaigaluegaLinuxI luga o le server, faʻapipiʻiNa ou faʻapipiʻiina le CWP7 control panel Apache 2.4.25, ae leʻi amataina le auaunaga a Apache, ma o le mea sese na tupu na tupu▼

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.

E faʻafefea ona aveese ma toe faʻapipiʻi Apache2 pe a tupu se mea sese?

E faʻafefea ona aveese ma toe faʻapipiʻi pe a lipotia e Apache2 se mea sese? Apache service yum poloaiga e tape ma toe faʻapipiʻi

O lea, iCentOS 7 Aveese ma tape le auaunaga a Apache.

Ulufale i le CWP lea e aveese ma tape le Apache service command ▼

yum remove cwp-httpd

Apache service yum poloaiga e tape ma toe faʻapipiʻi

Laasaga 1:yum poloaiga e faʻapipiʻi le auaunaga a Apache

A maeʻa le CWP uninstallation tape le Apache service, faʻaoga le yum command e toe faʻapipiʻi le Apache service▼

yum install cwp-httpd

Laasaga 2:Ina ia faʻagaoioia Apache, e tatau ona e amataina le auaunaga a Apache.

Ulufale le poloaiga lenei ile SSH▼

systemctl start httpd

Laasaga 3:Sosoo ai, seti le auaunaga Apache e amata i le amataga o le polokalama:

systemctl enable httpd

Laasaga 4:Va'ai tulaga o auaunaga a Apache

Faʻaali faʻamatalaga e uiga i Apache ma vaʻai i le tulaga o loʻo i ai nei Apache auaunaga:

systemctl status httpd

 

发表 评论

E le fa'asalalauina lau tuatusi imeli. Faʻaoga fanua e manaʻomia * Igoa

Tusi i pito i luga