这是我第一次在 Google Cloud Platfrom 上部署 wordpress,我的网站在将一些 jpg 图片上传到 wordpress 后出现错误 522。
我无法连接到 ssh,telnet 外部和内部 ip 都返回“连接超时”。
project@cloudshell:~ (project)$ gcloud -v
Google Cloud SDK 307.0.0
alpha 2020.08.21
app-engine-go 1.9.71
app-engine-java 1.9.82
app-engine-python 1.9.91
app-engine-python-extras 1.9.91
beta 2020.08.21
bigtable
bq 2.0.59
cbt 0.9.0
cloud-build-local 0.5.0
cloud-datastore-emulator 2.1.0
core 2020.08.21
datalab 20190610
gsutil 4.53
kind 0.7.0
kubectl 1.15.11
minikube 1.12.3
pubsub-emulator 0.1.0
skaffold 1.13.1
project@cloudshell:~ (project)$ service ssh status
[ ok ] sshd is running.
project@cloudshell:~ (project)$
project@cloudshell:~ (project)$ service --status-all
[ - ] apparmor
[ + ] cgroupfs-mount
[ - ] cron
[ - ] dbus
[ + ] docker
[ ? ] hwclock.sh
[ ? ] kmod
[ ? ] lxc
[ ? ] lxc-net
[ - ] postgresql
[ - ] procps
[ + ] rsyslog
[ + ] ssh
[ - ] sudo
[ - ] supervisor
[ + ] udev
[ - ] x11-common
我尝试多次重启虚拟机实例并增加机器内存,但仍然没有成功。有人能告诉我如何解决这个问题或如何调试吗?
*更新
我刚刚发现当我在 google shell 中输入 systemctl 时,它会返回System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
,这有关系吗?我是新手