Yadda za a cirewa da sake shigarwa lokacin da Apache2 yayi rahoton kuskure? Sabis na Apache yum umarni don sharewa da sake shigarwa

DaTallan IntanetMa'aikata aLinuxA kan uwar garken, shigarKwamitin kula da CWP7 Apache 2.4.25, amma sabis na Apache baya farawa, kuskuren mai zuwa ya bayyana▼

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.

Yadda za a cirewa da sake shigarwa lokacin da Apache2 yayi rahoton kuskure?

Yadda za a cirewa da sake shigarwa lokacin da Apache2 yayi rahoton kuskure? Sabis na Apache yum umarni don sharewa da sake shigarwa

Don haka, inCentOS 7 Cire kuma share sabis na Apache.

Shigar da cirewar CWP mai zuwa cire umarnin sabis na Apache ▼

yum remove cwp-httpd

Sabis na Apache yum umarni don sharewa da sake shigarwa

shafi na 1:yum umarni don shigar da sabis na Apache

Bayan cire CWP da share sabis na Apache, yi amfani da yum umurnin don sake shigar da sabis na Apache▼

yum install cwp-httpd

shafi na 2:Don kunna Apache, kuna buƙatar fara sabis ɗin Apache.

Shigar da umarni mai zuwa a cikin SSH▼

systemctl start httpd

shafi na 3:Na gaba, saita sabis ɗin Apache don farawa a farawa tsarin:

systemctl enable httpd

shafi na 4:Duba matsayin sabis na Apache

Nuna bayanai game da Apache kuma duba matsayin sabis na Apache da ke gudana a halin yanzu:

systemctl status httpd

 

comments

Ba za a buga adireshin imel ɗin ku ba. Ana amfani da filayen da ake buƙata * Alamar

Gungura zuwa top