我的服务器上的时钟出现了一些奇怪的问题——它比正常情况快了大约 10%。
问题开始于 2 天前,我没有对服务器做任何特别的事情。
我试图通过停止 ntpd 守护进程来关闭 ntp 更新。
看起来硬件时钟被禁用了。
? sudo hwclock --show
select() to /dev/rtc to wait for clock tick timed out
Run Code Online (Sandbox Code Playgroud)
sudo date -s "Sun Feb 5 00:30:15 CET 2012"或sudo ntpdate -b prrr.se,暂时解决问题我尝试使用ntpdate -b prrr.se. 这是结果
后5秒
? sudo ntpdate -b prrr.se
5 Feb 00:19:54 ntpdate[24137]: step time server 178.78.255.254 offset -1.179405 sec
Run Code Online (Sandbox Code Playgroud)
后10秒
? sudo …Run Code Online (Sandbox Code Playgroud) 我正在尝试在我的 ubuntu lucid 机器上安装 postgresql 9.3。问题是我在运行 apt-get install postgresql-9.3 时遇到这个错误
=> apt-get install postgresql-9.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
postgresql-client-9.3
Suggested packages:
oidentd ident-server locales-all postgresql-doc-9.3
The following NEW packages will be installed:
postgresql-9.3 postgresql-client-9.3
0 upgraded, 2 newly installed, 0 to remove and 700 not upgraded.
Need to get 8,944 kB of archives.
After this operation, 23.6 MB of additional disk space will be used.
Do …Run Code Online (Sandbox Code Playgroud) 我的Debian 2.6.38-3服务器出现问题,每 3 个月 ** 崩溃* 一次,但我不知道为什么。
根据 Pingdom 的说法,该站点在凌晨 4 点左右关闭,但我查看的日志中没有一个包含有关任何类型错误的任何信息。
这是我浏览过的日志文件:
根据给定的日志,没有错误。这是来自/var/log/messages.
Jan 21 04:01:46 debian God[1195]:应用程序在 10 秒后仍然存在;发送 SIGKILL
1 月 21 日 11:18:20 debian 内核:imklog 3.18.6,日志源 = /proc/kmsg 启动。
任何想法日志可能包含我正在寻找的信息?
**崩溃,因为没有响应任何东西。屏幕变黑,不响应网络请求,我无法使用 SSH 访问它。*