Qala hape / kenya hape VestaCP ho rarolla phoso ea Apache Service PHP 500

VestaCPe, tšehetso CentOS 7, mohloli o bulehileng ebile o bonolo ho o sebelisaLinuxlekhotla la taolo.

Ebe网络 营销Motho e mong o sebelisa phanele ea VestaCP mme ka tšohanyetso o kopana le bothata ba Apache Service PHP e tlaleha phoso ea 500 ...

Kenya taelo ea ho qala tšebeletso ea Apache ho SSH▼

service httpd restart

Kamora ho qala Apache bocha, molaetsa o latelang oa phoso o hlaha▼

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
  • bulelaWordpressWebosaete, PHP e tlaleha liphoso tse 500 ka kotloloho ...

ha o ntse o kenya taelo systemctl status httpd.service Kamora moo, mathata a latelang a phoso a ile a hlaha hape ▼

[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
  • Bothata bona bo thata haholo, 'me haeba bo sa rarolloe ka potlako, bo tla amaKholiso ea Marang-rangtshebetso leSEOPhello……

E latelang ke tharollo ea phoso ea 500 e tlalehiloeng ke Apache Service PHP▼

Ntlafatsa VestaCP 'me u qale seva hape

mohato oa 1:Sebelisa taelo e latelang ho ntlafatsa VestaCP ▼

v-update-sys-vesta-all

mohato oa 2:Qala hape VestaCP ▼

service vesta restart

Likhahlelo tsa 3:Qala seva hape ▼

reboot
  • Ka mokhoa o sa lebelloang, ka mor'a ho tsosolosa seva, e tla khutlela ho tloaelehileng, haha!

Ho thoe'ng haeba phoso e ke ke ea rarolloa?

Haeba o ntlafatsa phanele ea VestaCP mme o qala seva hape, bothata ba "Apache Service PHP e tlaleha phoso ea 500" e ke ke ea rarolloa. Ho kgothaletswa ho kenya hape phanele ea VestaCP.

Boloka le ho kenya VestaCP hape

Likhahlelo tsa 1:Boloka sebaka sa hau sa marang-rang le database

  • Lintlha tse latelang li sebelisa lebitso la mosebelisi joalo ka litšupiso.

SSH tsamaisa taelo e latelang ▼

v-backup-user admin
  • Ha e felile, ho tla hlahisoa zip e nang le letsatsi le nako.
  • Ka mohlala: admin.year-month-day_hour-minute-second.tar

Sephutheloana sa "backup" se tla hlahisoa bukeng ena ▼

/home/backup

mohato oa 2:directory tla bekapo /home/backup, kopitsa ho Google Drive 

Kopitsa bukana ea polokelo ea lehae /home/backup Eya ho "backup directory" moo "network disk" e bitsoang gdrive e hlophisitsoeng, 'me ka tsela e fapaneng ▼

rclone copy /home/backup gdrive:backup
  • Kopitsa faele ea "backup" ho Google Cloud Drive, ho hlokahalaLeholiotsoana.

Ka kopo sheba thuto ena bakeng sa ho kenya le ho sebelisa Rclone ▼

Likhahlelo tsa 3:Kenya hape phanele ea VestaCP 

Kamora ho boloka sebaka sa marang-rang le database, hlakola litaba tse ka har'a seva ea Linux, ebe u khutlisetsa phanele ea VestaCP ▼

Likhahlelo tsa 4:Ho tsosolosa lifaele tsa bekapo

Kamora ho kenya hape phanele ea VestaCP, khutlisetsa sephutheloana se hatelletsoeng ka har'a marang-rang a Google disk ho /home/backup Catalog▼

rclone copy gdrive:backup /home/backup

Likhahlelo tsa 5:Kenya taelo e latelang ea ho khutlisa ho khutlisetsa ▼

v-restore-user admin admin.年-月-日_时-分-秒.tar
  • admin.year-month-day_hour-minute-second.tar ke lebitso la bekapo ya polokelo.

Haeba molaetsa oa phoso o hlaha ▼

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

Ka kopo qala seva bocha ▼

reboot

Ebe, phethisa taelo ea ho khutlisetsa backup.

Bakeng sa lintlha tse ling tsa phanele ea VestaCP, u ka bona mona ▼

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) o ile a arolelana "Restart / Reinstall VestaCP ho Rarolla Apache Service PHP Report 500 Phoso", e leng thuso ho uena.

Rea u amohela ho arolelana sehokelo sa sengoloa sena:https://www.chenweiliang.com/cwl-744.html

Rea u amohela ho mocha oa Telegraph oa blog ea Chen Weiliang ho fumana lintlha tsa morao-rao!

🔔 Eba oa pele oa ho fumana Tataiso ea Tšebeliso ea "ChatGPT Content Marketing AI" ea bohlokoa bukeng ea holimo ea seteishene! 🌟
📚 Tataiso ena e na le boleng bo boholo, 🌟Ona ke monyetla o sa tloaelehang, se ke oa o fetoa! ⏰⌛💨
Share le rata haeba u rata!
Ho arolelana le lintho tseo u li ratang ke khothatso ea rona e tsoelang pele!

 

Comments

Aterese ea hau ea lengolo tsoibila e ke ke ea phatlalatsoa. Ho sebelisoa masimo a hlokahalang * Letšoao

tsamaisetsa hodimo