Cumu disinstallà è reinstallà quandu Apache2 informa un errore? Apache service yum command per sguassà è reinstallà

Un espertu di marketing digitale hà installatu u pannellu di cuntrollu CWP7 è Apache 2.4.25 nant'à un servitore Linux , ma u serviziu Apache ùn hè micca riesciutu à inizià, ciò chì hà causatu u seguente errore: ▼

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.

Cumu disinstallà è reinstallà quandu Apache2 informa un errore?

Cumu disinstallà è reinstallà quandu Apache2 informa un errore? Apache service yum command per sguassà è reinstallà

Dunque, u serviziu Apache hè statu disinstallatu è eliminatu in CentOS 7.

Inserite u seguitu CWP disinstall remove Apache service command ▼

yum remove cwp-httpd

Apache service yum command per sguassà è reinstallà

Passu 1: Installate u serviziu Apache cù u cumandamentu yum.

Dopu avè disinstallatu CWP è sguassate u serviziu Apache, utilizate u cumandimu yum per reinstallà u serviziu Apache▼

yum install cwp-httpd

Passu 2: Attivate Apache, chì richiede l'avviu di u serviziu Apache.

Inserite u cumandimu seguitu in SSH▼

systemctl start httpd

Passu 3: Dopu, cunfigurate u serviziu Apache per principià quandu u sistema si avvia:

systemctl enable httpd

Passu 4: Verificate u statu di u serviziu Apache

Mostra l'infurmazioni nantu à Apache è vede u statutu di u serviziu Apache attualmente in esecuzione:

systemctl status httpd

 

发表 评论

您的邮箱地址不会被公开。必填项已用*标注

Libru di Top