Qala kabusha/faka kabusha i-VestaCP ukuxazulula iphutha le-Apache Service PHP 500

VestaCPyebo support CentOS 7, umthombo ovulekile futhi kulula ukuyisebenzisaLinuxIphaneli yokulawula.

UbeI-Internet MarketingOthile usebenzisa iphaneli ye-VestaCP futhi kungazelelwe uhlangabezana nenkinga ye-Apache Service PHP ebika iphutha le-500...

Faka umyalo wesevisi yokuqalisa kabusha i-Apache ku-SSH▼

service httpd restart

Ngemva kokuqala kabusha i-Apache, umlayezo wephutha olandelayo uyavela▼

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
  • UkuqhekekaWordPressIwebhusayithi, i-PHP ibika amaphutha angama-500 ngokuqondile...

ngenkathi ifaka umyalo systemctl status httpd.service Ngemuva kwalokho, izinkinga zephutha ezilandelayo ziphinde zavela ▼

[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
  • Le nkinga inzima kakhulu, futhi uma ingaxazululwa ngokushesha, izoba nomthelela nakanjaniUkukhuthazwa Kwewebhuukusebenza kanyeSEOUmthelela……

Okulandelayo yisixazululo sephutha le-500 elibikwe yi-Apache Service PHP▼

Buyekeza i-VestaCP bese uqala kabusha iseva

isinyathelo 1:Qalisa umyalo olandelayo ukuze ubuyekeze i-VestaCP ▼

v-update-sys-vesta-all

isinyathelo 2:Qala kabusha i-VestaCP ▼

service vesta restart

Isinyathelo sesi-3:Qala kabusha iseva ▼

reboot
  • Ngokungazelelwe, ngemva kokuqala kabusha iseva, izobuyela kokujwayelekile, haha!

Kuthiwani uma iphutha lingaxazululeki?

Uma iphaneli ye-VestaCP ibuyekezwa futhi iseva iqalwa kabusha, inkinga "ye-Apache Service PHP ibika iphutha elingu-500" ayikwazi ukuxazululwa. Kunconywa ukuthi ufake kabusha iphaneli ye-VestaCP.

Yenza isipele futhi ufake kabusha i-VestaCP

Isinyathelo sesi-1:Gcina iwebhusayithi yakho kanye nesizindalwazi

  • Okulandelayo kusebenzisa umlawuli wegama lomsebenzisi njengesithenjwa.

I-SSH sebenzisa umyalo olandelayo ▼

v-backup-user admin
  • Uma sekuqediwe, kuzokwenziwa i-zip enedethi nesikhathi.
  • Isibonelo: admin.year-month-day_hour-minute-second.tar

Iphakheji yokusekelayo izokhiqizwa kulolu hlu lwemibhalo ▼

/home/backup

isinyathelo 2:uhla lwemibhalo luzosekelwa /home/backup, kopisha ku-Google Drayivu 

Kopisha inkomba yendawo yokusekelayo /home/backup Iya kumkhombandlela wokusekelayo lapho idiski yenethiwekhi ebizwa ngokuthi i-gdrive imisiwe, futhi okuphambene nalokho ▼

rclone copy /home/backup gdrive:backup
  • Kopisha ifayela eliyisipele ku-Google Cloud Drive, ukufakwa kuyadingekaI-Rclone,

Sicela ubheke lesi sifundo sokufakwa nokusetshenziswa kwe-Rclone ▼

Isinyathelo sesi-3:Faka kabusha iphaneli ye-VestaCP 

Ngemva kokulondoloza iwebhusayithi kanye nesizindalwazi, susa okuqukethwe kwiseva ye-Linux, bese ufaka kabusha iphaneli ye-VestaCP ▼

Isinyathelo sesi-4:Ibuyisela amafayela ayisipele

Ngemva kokufaka kabusha iphaneli ye-VestaCP, buyisela iphakheji ecindezelwe eyisipele kudiski yenethiwekhi ye-Google ukuze /home/backup Ikhathalogi▼

rclone copy gdrive:backup /home/backup

Isinyathelo sesi-5:Faka umyalo wokubuyisela olandelayo ukuze ubuyisele ▼

v-restore-user admin admin.年-月-日_时-分-秒.tar
  • admin.year-month-day_hour-minute-second.tar igama lengobo yomlando eyisipele.

Uma umlayezo wephutha uvela ▼

-bash: v-restore-user: command not found

Sicela uqale kabusha iseva ▼

reboot

Bese, ukhiphe umyalo wokubuyisela.

Ngezinkinga eziningi zephaneli ye-VestaCP, ungabona lapha ▼

I-Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) wabelane ngokuthi "Qala kabusha/Faka kabusha i-VestaCP ukuze Uxazulule Iphutha le-Apache Service PHP Report 500", okuwusizo kuwe.

Siyakwamukela ukwabelana ngesixhumanisi salesi sihloko:https://www.chenweiliang.com/cwl-744.html

Uyemukelwa esiteshini seTelegram sebhulogi ka-Chen Weiliang ukuze uthole izibuyekezo zakamuva!

🔔 Iba ngowokuqala ukuthola "I-ChatGPT Content Marketing AI Tool Usage Guide" ohlwini lwemibhalo ephezulu yesiteshi! 🌟
📚 Lo mhlahlandlela uqukethe inani elikhulu, 🌟Leli ithuba eliyivelakancane, ungaphuthelwa! ⏰⌛💨
Yabelana futhi uthanda uma uthanda!
Ukwabelana kwakho nokuthanda kwakho kuyisisusa sethu esiqhubekayo!

 

发表 评论

Ikheli lakho le-imeyili ngeke lishicilelwe. 必填 项 已 用 * Ilebula

pheqela phezulu