Sut i ddatrys y broblem na all y backend HestiaCP gael mynediad i hestia.service failed?

🚀 HestiaCPMethu cyrchu'r backend?hestia.service failed Gwneud i chi lewygu?

Mae'r tiwtorial hwn yn eich dysgu sut i drwsio methiannau gweinydd HestiaCP yn gyflym gydag un clic hestia.service failed Problemau, gadewch i'ch gwefan adfer mewn eiliadau! 🔥 Cliciwch i wylio, mae'n hawdd!

Pam na allaf gael mynediad i gefn HestiaCP? ERR_CONNECTION_TIMED_OUT?

Oherwydd nad yw'r gwasanaeth HestiaCP yn rhedeg, os bydd HestiaCP yn damwain neu os na chaiff ei gychwyn, nid yw'r backend yn hygyrch wrth gwrs.

Sut i ddatrys y broblem na all y backend HestiaCP gael mynediad i hestia.service failed?

✅ Gwiriwch statws rhedeg HestiaCP:

sudo systemctl status hestia

Os nad yw'n rhedeg, ceisiwch ei ailgychwyn:

sudo systemctl restart hestia

Ni ellir ailgychwyn HestiaCP, pam mae'n annogJob for hestia.service failed?

systemctl restart hestia Job for hestia.service failed because the control process exited with error code. See "systemctl status hestia.service" and "journalctl -xeu hestia.service" for details.

Ni ellir ailgychwyn HestiaCP, yn brydlon Job for hestia.service failed, gan nodi bod HestiaCP wedi dod ar draws gwall wrth gychwyn. Mae angen i ni wirio'r neges gwall benodol.

🔍 I wirio statws HestiaCP, gweithredwch:

systemctl status hestia.service

Ffeiliau cyfluniad llygredig

Mae prif ffeil ffurfweddu HestiaCP yn /usr/local/hestia/conf/hestia.conf Gallwch wirio a yw wedi'i ddifrodi:

cat /usr/local/hestia/conf/hestia.conf

Os yw'r ffeil yn wag neu wedi'i llygru, gallwch chi adfer y ffurfweddiad rhagosodedig:

cp /usr/local/hestia/conf/hestia.conf.default /usr/local/hestia/conf/hestia.conf
sudo systemctl restart hestia

Ailosod HestiaCP (nid yw'n effeithio ar y wefan a grëwyd)

Os nad yw'r dulliau uchod yn gweithio, gallwch geisio ailosod HestiaCP:

wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh
bash hst-install.sh --force

Ni fydd hyn yn dileu safleoedd a data presennol, ond bydd yn atgyweirio ffeiliau sy'n gysylltiedig â HestiaCP.

⚠️ Problem: Methu ailosod HestiaCP

Rydych chi'n gweithredu bash hst-install.sh --force Yn ymddangos pan:

Error: Hestia install detected. Unable to continue

Ystyr geiriau: Mae'r system eisoes wedi gosod HestiaCP ac ni ellir ei throsysgrifo a'i gosod yn uniongyrchol.

🔧 Ateb

Gwiriwch Hestia am ddifrod Rhedeg y gorchymyn canlynol i wirio statws Hestia:

sudo systemctl status hestia

Os caiff ei annog “Faiarwain"“Gweithredol (wedi gadael)”, efallai y bydd y gydran Hestia yn cael ei niweidio.

Diweddaru ystorfa APT Ceisiwch ddiweddaru APT yn gyntaf:

sudo apt-get update --fix-missing

Yna ailosod Hestia:

sudo apt-get install --reinstall hestia

Yna ailgychwyn Hestia:

sudo systemctl restart hestia

Gallwch geisio Trwsio dibyniaethau Hestia â llaw:

sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install --reinstall hestia hestia-nginx hestia-php

Yna ailgychwyn:

sudo systemctl restart hestia

Yr ateb eithaf: tynnu ac ailosod yn llwyr

⚠️ Nodyn: Bydd y dull hwn yn clirio cyfluniad HestiaCP a data gwefan. Gwneud copïau wrth gefn Yna gweithredu eto!

Os nad yw unrhyw un o'r dulliau uchod yn gweithio, gallwch chi yn gyntaf Dileu Hestia yn llwyr, yna ailosod:

sudo systemctl stop hestia
sudo apt-get remove --purge hestia -y
sudo rm -rf /usr/local/hestia /var/log/hestia /etc/hestia

yna Ailosod:

wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh
bash hst-install.sh

Gwiriwch a yw Hestia yn rhedeg

Os yw Hestia yn dal yn anhygyrch, gall fod yn broblem porthladd:

sudo netstat -tulnp | grep 8083

Os na welwch chi hestia-nginx Gwrando 8083 porthladd, ailgychwynwch ef â llaw:

sudo systemctl restart hestia-nginx

Neu gwiriwch eich wal dân:

sudo ufw allow 8083/tcp
sudo ufw reload

Rhowch gynnig arni, ac os oes gennych unrhyw gwestiynau gadewch sylw!

发表 评论

Ni fydd eich cyfeiriad e-bost yn cael ei gyhoeddi. 必填 项 已 用 * Label

Sgroliwch i'r brig