ລາຍການຫົວເລື່ອງ
ມີເວັບໄຊທ໌ທີ່ກ່ຽວຂ້ອງພະນັກງານໃນLinuxໃນເຊີບເວີ, ຕິດຕັ້ງແຜງຄວບຄຸມ CWP7 Apache 2.4.25, ແຕ່ການບໍລິການ Apache ບໍ່ເລີ່ມຕົ້ນ, ຂໍ້ຜິດພາດຕໍ່ໄປນີ້ຈະປາກົດ▼
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.
ວິທີການຖອນການຕິດຕັ້ງແລະຕິດຕັ້ງໃຫມ່ເມື່ອ Apache2 ລາຍງານຂໍ້ຜິດພາດ?
ດັ່ງນັ້ນ, ໃນCentOS 7 ຖອນການຕິດຕັ້ງແລະລຶບການບໍລິການ Apache.
ໃສ່ຄຳສັ່ງ CWP uninstall remove Apache service ຕໍ່ໄປນີ້ ▼
yum remove cwp-httpd
ບໍລິການ Apache yum ຄໍາສັ່ງທີ່ຈະລຶບແລະຕິດຕັ້ງໃຫມ່
第1步:yum ຄໍາສັ່ງທີ່ຈະຕິດຕັ້ງການບໍລິການ Apache
ຫຼັງຈາກຖອນການຕິດຕັ້ງ CWP ແລະລຶບການບໍລິການ Apache, ໃຊ້ຄໍາສັ່ງ yum ເພື່ອຕິດຕັ້ງບໍລິການ Apache ຄືນໃໝ່▼
yum install cwp-httpd
第2步:ເພື່ອເປີດໃຊ້ Apache, ທ່ານຈໍາເປັນຕ້ອງເລີ່ມຕົ້ນການບໍລິການ Apache.
ໃສ່ຄໍາສັ່ງຕໍ່ໄປນີ້ໃນ SSH▼
systemctl start httpd
第3步:ຕໍ່ໄປ, ຕັ້ງຄ່າບໍລິການ Apache ເພື່ອເລີ່ມຕົ້ນໃນຕອນເລີ່ມຕົ້ນລະບົບ:
systemctl enable httpd
第4步:ເບິ່ງສະຖານະບໍລິການ Apache
ສະແດງຂໍ້ມູນກ່ຽວກັບ Apache ແລະເບິ່ງສະຖານະຂອງບໍລິການ Apache ທີ່ກໍາລັງແລ່ນຢູ່ໃນຂະນະນີ້:
systemctl status httpd
ຫວັງ Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "ວິທີການຖອນການຕິດຕັ້ງແລະຕິດຕັ້ງໃຫມ່ເມື່ອ Apache2 ລາຍງານຂໍ້ຜິດພາດ? ບໍລິການ Apache yum ຄໍາສັ່ງທີ່ຈະລຶບແລະຕິດຕັ້ງໃຫມ່" ແມ່ນເປັນປະໂຫຍດສໍາລັບທ່ານ.
ຍິນດີຕ້ອນຮັບແບ່ງປັນການເຊື່ອມຕໍ່ຂອງບົດຄວາມນີ້:https://www.chenweiliang.com/cwl-27525.html
ຍິນດີຕ້ອນຮັບສູ່ຊ່ອງ Telegram ຂອງບລັອກຂອງ Chen Weiliang ເພື່ອຮັບອັບເດດຫຼ້າສຸດ!
📚ຄູ່ມືນີ້ມີຄຸນຄ່າອັນມະຫາສານ, 🌟ນີ້ເປັນໂອກາດທີ່ຫາຍາກ, ຢ່າພາດມັນ! ⏰⌛💨
Share and like ຖ້າມັກ!
ການແບ່ງປັນແລະການຖືກໃຈຂອງທ່ານແມ່ນການຊຸກຍູ້ຢ່າງຕໍ່ເນື່ອງຂອງພວກເຮົາ!