Tuhinga Tuhinga
VestaCPae tautoko CentOS 7 punaha, tuwhera puna me te ngawari ki te whakamahiLinuxpaewhiri mana.
WhakauruaTauhokohoko IpurangiKei te whakamahi tetahi i te paewhiri VestaCP ka tupono ohorere ki te raru o Apache Service PHP e whakaatu ana i te hapa 500...
Whakauruhia te whakahau ratonga Apache ki te SSH▼
service httpd restart
I muri i te whakaara ano i a Apache, ka puta te karere hapa e whai ake nei▼
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
- whakawetoWordPressPaetukutuku, PHP e whakaatu tika ana i te 500 hapa...
i te wa e uru ana ki te whakahau systemctl status httpd.service
Whai muri i tera, ka puta ano nga raru hapa e whai ake nei ▼
[root@ten ~]# systemctl status httpd.service * httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Drop-In: /etc/systemd/system/httpd.service.d `-limits.conf Active: failed (Result: exit-code) since Mon 2018-05-14 20:22:29 +08; 1min 1s ago Process: 1633 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) Process: 1631 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 1631 (code=exited, status=1/FAILURE) May 14 20:22:28 CentOS systemd[1]: Starting The Apache HTTP Server... May 14 20:22:29 CentOS httpd[1631]: [Mon May 14 20:22:29.000941 2018] [so:warn] [pid 1631] AH01574: module ruid2_module is already loaded, skipping May 14 20:22:29 CentOS systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE May 14 20:22:29 CentOS kill[1633]: kill: cannot find process "" May 14 20:22:29 CentOS systemd[1]: httpd.service: control process exited, code=exited status=1 May 14 20:22:29 CentOS systemd[1]: Failed to start The Apache HTTP Server. May 14 20:22:29 CentOS systemd[1]: Unit httpd.service entered failed state. May 14 20:22:29 CentOS systemd[1]: httpd.service failed. [root@ten ~]# ^C
- He tino uaua tenei raruraru, a, ki te kore e whakatau tere, kare e kore ka pa ki teWhakatairanga Tukutukumahi meSEOPānga……
E whai ake nei ko te otinga ki te hapa 500 i korerotia e Apache Service PHP▼
Whakahoutia te VestaCP ka whakaara ano i te tūmau
taahiraa 1:Whakahaerehia te whakahau e whai ake nei hei whakahou i te VestaCP ▼
v-update-sys-vesta-all
taahiraa 2:Tīmataria anō a VestaCP ▼
service vesta restart
taahiraa 3:Tīmataria anō te tūmau ▼
reboot
- I te ohorere, i muri i te whakaara ano i te tūmau, ka hoki mai ano, haha!
Ka pehea mena kaore e taea te whakatau i te hapa?
Mena ka whakahouhia te paewhiri VestaCP ka timata ano te tūmau, kaore e taea te whakatau i te raruraru o "Apache Service PHP he hapa 500". E taunaki ana kia whakauruhia ano te paewhiri VestaCP.
Pūrua me te tāuta anō i te VestaCP
taahiraa 1:Pūrua tō paetukutuku me te pātengi raraunga
- Ko nga mea e whai ake nei ka whakamahi i te ingoa kaiwhakamahi kaiwhakahaere hei tohutoro.
Whakahaerehia e SSH te whakahau e whai ake nei ▼
v-backup-user admin
- Kia oti, ka puta he kotutu me te ra me te wa.
- Hei tauira: admin.year-month-day_hour-minute-second.tar
Ka hangaia te kete taapiri ki tenei whaiaronga ▼
/home/backup
taahiraa 2:ka tāruahia te whaiaronga /home/backup
, kape ki Google Drive
Tāruatia te whaiaronga pūrua paetata /home/backup
Haere ki te whaiaronga taapiri i whirihorahia ai te kōpae whatunga ko te gdrive, me te ▼
rclone copy /home/backup gdrive:backup
- Tāruatia te kōnae pūrua ki te kōpae whatunga Google, me tāutaRclone.
Tena tirohia tenei akoranga mo te whakaurunga me te whakamahinga o Rclone ▼
taahiraa 3:Tāuta anō te paewhiri VestaCP
Whai muri i te tautoko i te paetukutuku me te patengi raraunga, mukua nga ihirangi o te tūmau Linux, ka tāuta anō i te paewhiri VestaCP ▼
taahiraa 4:Te whakaora i nga konae taapiri
I muri i te whakaurunga ano i te paewhiri VestaCP, whakahokia te kete taapiri kua kopeke i roto i te kōpae whatunga Google ki /home/backup
Putumōhio▼
rclone copy gdrive:backup /home/backup
taahiraa 5:Whakauruhia te whakahau whakaora e whai ake nei hei whakaora ▼
v-restore-user admin admin.年-月-日_时-分-秒.tar
- admin.year-month-day_hour-minute-second.tar te ingoa o te pūranga tārua.
Mena ka puta he karere hapa ▼
-bash: v-restore-user: command not found
Me tīmata anō te tūmau ▼
reboot
Na, mahia te whakahau whakaora whakaora.
Mo etahi atu take a te roopu VestaCP, ka kite koe i konei ▼
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) i tiri "Whakahoutia/Tautaa ano te VestaCP ki te Whakaoti i te Ratonga Apache PHP Report 500 Hapa", he pai ki a koe.
Nau mai ki te tohatoha i te hono o tenei tuhinga:https://www.chenweiliang.com/cwl-744.html
Nau mai ki te hongere Telegram o te blog a Chen Weiliang ki te tiki i nga korero hou!
📚 He uara nui tenei aratohu, 🌟He waahi onge tenei, kaua e ngaro! ⏰⌛💨
Tohaina me te pai ki te pai koe!
Ko to tiritiri me o hiahia ko to maatau hihiri tonu!