Tun VestaCP tun bẹrẹ/fi sori ẹrọ lati yanju Ijabọ Iṣẹ Apache PHP aṣiṣe 500

VestaCPbẹẹni atilẹyin CentOS 7 eto, ṣiṣi orisun ati rọrun lati loLinuxibi iwaju alabujuto.

NiInternet MarketingẸnikan nlo igbimọ VestaCP ati lojiji pade iṣoro ti Apache Service PHP ti n ṣe iroyin aṣiṣe 500 kan ...

Tẹ aṣẹ iṣẹ Apache tun bẹrẹ ni SSH▼

service httpd restart

Lẹhin ti tun Apache bẹrẹ, ifiranṣẹ aṣiṣe atẹle yoo han▼

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
  • tan-anWordPressOju opo wẹẹbu, PHP ṣe ijabọ aṣiṣe 500 taara…

nigba titẹ awọn pipaṣẹ systemctl status httpd.service Lẹhin iyẹn, awọn iṣoro aṣiṣe atẹle naa han lẹẹkansi ▼

[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
  • Isoro yi jẹ gidigidi soro, ati ti o ba ti o ko ba wa ni re ni kiakia, o yoo sàì ni ipa lori awọnIgbega wẹẹbuišẹ atiSEOIpa……

Atẹle ni ojutu si aṣiṣe 500 ti o royin nipasẹ Iṣẹ Apache PHP▼

Ṣe imudojuiwọn VestaCP ki o tun olupin naa bẹrẹ

Igbesẹ 1:Ṣiṣe aṣẹ atẹle lati ṣe imudojuiwọn VestaCP ▼

v-update-sys-vesta-all

Igbesẹ 2:Tun VestaCP bẹrẹ ▼

service vesta restart

Igbesẹ 3:Tun olupin naa bẹrẹ▼

reboot
  • Lairotẹlẹ, lẹhin atunbere olupin naa, yoo pada si deede, haha!

Kini ti aṣiṣe ko ba le yanju?

Ti ẹgbẹ VestaCP ba ti ni imudojuiwọn ati pe olupin naa ti tun bẹrẹ, iṣoro ti “Apache Service PHP n ṣe ijabọ aṣiṣe 500 kan” ko le yanju. A gba ọ niyanju lati tun fi ẹgbẹ VestaCP sori ẹrọ.

Ṣe afẹyinti ati tun fi VestaCP sori ẹrọ

Igbesẹ 1:Ṣe afẹyinti aaye ayelujara rẹ ati aaye data

  • Atẹle naa nlo abojuto orukọ olumulo bi itọkasi kan.

SSH ṣiṣẹ aṣẹ atẹle ▼

v-backup-user admin
  • Ni kete ti o ti pari, zip pẹlu ọjọ ati akoko yoo ṣe ipilẹṣẹ.
  • Fun apẹẹrẹ: admin.year-month-day_hour-minute-second.tar

Apo afẹyinti yoo jẹ ipilẹṣẹ ninu ilana ▼ yii

/home/backup

Igbesẹ 2:liana yoo ṣe afẹyinti /home/backup, daakọ si Google Drive 

Daakọ itọsọna afẹyinti agbegbe /home/backup Lọ si itọsọna afẹyinti nibiti disk nẹtiwọọki ti a npè ni gdrive ti tunto, ati ni idakeji ▼

rclone copy /home/backup gdrive:backup
  • Daakọ faili afẹyinti si Google Cloud Drive, fifi sori ẹrọ nilooniye,

Jọwọ tọkasi ikẹkọ yii fun fifi sori Rclone ati lilo ▼

Igbesẹ 3:Tun VestaCP nronu sori ẹrọ 

Lẹhin ti n ṣe afẹyinti oju opo wẹẹbu ati data data, paarẹ awọn akoonu ti olupin Linux, lẹhinna tun fi sori ẹrọ igbimọ VestaCP ▼

Igbesẹ 4:Pada awọn faili afẹyinti pada

Lẹhin ti tun fi sori ẹrọ igbimọ VestaCP, mu pada package fisinuirindigbindigbin ni disiki nẹtiwọọki Google si /home/backup Katalogi▼

rclone copy gdrive:backup /home/backup

Igbesẹ 5:Tẹ aṣẹ mimu-pada sipo atẹle lati mu pada ▼

v-restore-user admin admin.年-月-日_时-分-秒.tar
  • admin.year-osu-day_hour-minute-second.tar ni orukọ ile-ipamọ afẹyinti.

Ti ifiranṣẹ aṣiṣe ba han ▼

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

Jọwọ tun olupin naa bẹrẹ▼

reboot

Lẹhinna, ṣiṣẹ pipaṣẹ afẹyinti pada.

Fun awọn ọran nronu VestaCP diẹ sii, o le rii nibi ▼

Ireti Chen Weiliang Blog ( https://www.chenweiliang.com/ ) pín “Tun bẹrẹ/Tun fi VestaCP sori ẹrọ lati yanju Aṣiṣe Iṣẹ Apache PHP Iroyin 500”, eyiti o ṣe iranlọwọ fun ọ.

Kaabo lati pin ọna asopọ ti nkan yii:https://www.chenweiliang.com/cwl-744.html

Kaabọ si ikanni Telegram ti bulọọgi Chen Weiliang lati gba awọn imudojuiwọn tuntun!

🔔 Jẹ ẹni akọkọ lati gba “ChatGPT Akoonu Titaja AI Itọsọna Lilo Ọpa” ti o niyelori ni itọsọna oke ikanni! 🌟
📚 Itọsọna yii ni iye nla, 🌟Eyi jẹ aye to ṣọwọn, maṣe padanu rẹ! ⏰⌛💨
Pin ati fẹran ti o ba fẹ!
Pinpin rẹ ati awọn ayanfẹ jẹ iwuri wa lemọlemọfún!

 

发表 评论

Adirẹsi imeeli rẹ kii yoo ṣe atẹjade. Awọn aaye ti o nilo ni a lo * 标注

yi lọ si oke