昨天我毫無問題地執行了訂單localhost/phpmyadmin
,但從那以後,它就不再起作用了。當我localhost/phpmyadmin
在瀏覽器中這樣做時,我只會得到一個空白頁面。
這是我的文件/var/log/apache2/error.log
:
[Wed Mar 14 23:49:47.718093 2018] [mpm_prefork:notice] [pid 3412]
AH00163: Apache/2.4.29 (Debian) configured -- resuming normal
operations
[Wed Mar 14 23:49:47.718156 2018] [core:notice] [pid 3412] AH00094:
Command line: '/usr/sbin/apache2'
[Wed Mar 14 23:49:50.449163 2018] [mpm_prefork:notice] [pid 3412]
AH00169: caught SIGTERM, shutting down
[Wed Mar 14 23:49:50.547506 2018] [mpm_prefork:notice] [pid 3478]
AH00163: Apache/2.4.29 (Debian) configured -- resuming normal
operations
[Wed Mar 14 23:49:50.547550 2018] [core:notice] [pid 3478] AH00094:
Command line: '/usr/sbin/apache2'
請幫我了解出了什麼問題!
答案1
$ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.045 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.042 ms
^C
--- localhost ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.042/0.043/0.045/0.006 ms
OP 得到:
# ping localhost
PING localhost (localhost (:: 1)) 56 octets de données
64 octets de localhost (:: 1): icmp_seq = 1 ttl = 64 temps = 0.027 ms
64 octets de localhost (:: 1): icmp_seq = 2 ttl = 64 temps = 0.095 ms
他嘗試透過 IPv6 存取他的伺服器,但他的伺服器僅配置為 IPv4。
答案2
問題已經解決了,用的是最簡單、最愚蠢的可能方法。我只是卸載並重新安裝 phpmyadmin,一切又恢復正常了。老實說,我不知道首先發生了什麼,但我正在努力解決。對於所有遇到類似問題的人來說,嘗試這個好的舊方法,它幾乎總是有效的。