小编Lin*_*der的帖子

时钟比正常快 10%

我的服务器上的时钟出现了一些奇怪的问题——它比正常情况快了大约 10%。

问题开始于 2 天前,我没有对服务器做任何特别的事情。

我试图通过停止 ntpd 守护进程来关闭 ntp 更新。

看起来硬件时钟被禁用了。

? sudo hwclock --show
select() to /dev/rtc to wait for clock tick timed out
Run Code Online (Sandbox Code Playgroud)
  • 服务器已超过 100 天未重新启动
  • Linus 发行版是 Debian 挤压/sid
  • ntpd 守护进程已关闭
  • 服务器是VPS,其他客户都没有遇到任何问题
  • 我没有在软件方面更改与时钟相关的任何内容
  • 运行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)

linux debian time clock-synchronization

6
推荐指数
1
解决办法
2433
查看次数

Postgresql 9.3 安装失败

我正在尝试在我的 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)

postgresql ubuntu ubuntu-10.04

6
推荐指数
1
解决办法
8035
查看次数

什么日志包含服务器崩溃?

我的Debian 2.6.38-3服务器出现问题,每 3 个月 ** 崩溃* 一次,但我不知道为什么。

根据 Pingdom 的说法,该站点在凌晨 4 点左右关闭,但我查看的日志中没有一个包含有关任何类型错误的任何信息。

这是我浏览过的日志文件:

  • /var/日志/消息
  • /var/日志/系统日志
  • /var/日志/调试
  • /var/log/kern.log

根据给定的日志,没有错误。这是来自/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 访问它。*

linux debian logging

3
推荐指数
1
解决办法
2万
查看次数