Diréktori Tulisan
ParantosPamasaran InternétStaf diLinuxDina server, installPanel kontrol CWP7 Apache 2.4.25, tapi jasa Apache henteu ngamimitian, kasalahan di handap ieu muncul▼
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.
Kumaha ngahapus sareng pasang deui nalika Apache2 ngalaporkeun kasalahan?
Janten, diCentOS 7 Pupus sareng pupus ladenan Apache.
Lebetkeun paréntah CWP uninstall remove Apache service ▼
yum remove cwp-httpd
Paréntah yum jasa Apache pikeun mupus sareng pasang deui
第 1:yum paréntah pikeun masang jasa Apache
Saatos ngahapus CWP sareng ngahapus jasa Apache, anggo paréntah yum pikeun masang deui jasa Apache▼
yum install cwp-httpd
第 2:Pikeun ngaktipkeun Apache, anjeun kedah ngamimitian jasa Apache.
Lebetkeun paréntah di handap ieu dina SSH▼
systemctl start httpd
第 3:Salajengna, setel jasa Apache pikeun ngamimitian dina ngamimitian sistem:
systemctl enable httpd
第 4:Ningali status jasa Apache
Tampilkeun inpormasi ngeunaan Apache sareng tingali status jasa Apache anu ayeuna dijalankeun:
systemctl status httpd
Blog Hope Chen Weiliang ( https://www.chenweiliang.com/ ) dibagikeun "Kumaha carana ngahapus sareng pasang deui nalika Apache2 ngalaporkeun kasalahan? Paréntah yum jasa Apache pikeun mupus sareng pasang deui" ngabantosan anjeun.
Wilujeng ngabagikeun tautan artikel ieu:https://www.chenweiliang.com/cwl-27525.html
Wilujeng sumping di saluran Telegram blog Chen Weiliang pikeun kéngingkeun apdet panganyarna!
📚 Pituduh ieu ngandung nilai anu ageung, 🌟Ieu mangrupikeun kasempetan anu jarang, tong kantun! ⏰⌛💨
Bagikeun sareng suka upami anjeun resep!
Bagikeun sareng resep anjeun mangrupikeun motivasi kontinyu kami!