标签: debian

Debian linux 上的 NFS 服务器锁定超时问题

我们最近升级了一个 NFS 服务器(称为“ian”),升级后,NFS 损坏了,而以前没有。服务器现在运行 Debian“lenny”,内核版本为 2.6.26-2;这是一台真正古老的 Dell PowerEdge 2650。以下是我们在票务系统中记录的问题详细信息:

以下是 ian 上与此相关的一些日志消息:

内核日志:

Oct 7 10:37:50 ian kernel: [60831.093676] statd: server localhost not responding, timed out
Oct 7 10:37:50 ian kernel: [60831.093739] lockd: cannot monitor jade-30.example.com
Oct 7 10:38:20 ian kernel: [60871.021326] statd: server localhost not responding, timed out
Oct 7 10:38:20 ian kernel: [60871.021403] lockd: cannot monitor jade-30.example.com
Oct 7 10:38:50 ian kernel: [60913.065830] statd: server localhost not responding, timed out
Oct 7 10:38:50 ian kernel: [60913.065892] lockd: cannot …
Run Code Online (Sandbox Code Playgroud)

linux debian nfs

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

start-stop-daemon默认将pid文件存储在哪里?

当我有一个像这样的暴发户脚本时..

exec start-stop-daemon --exec /tmp/test.sh --background --start 
Run Code Online (Sandbox Code Playgroud)

我想将pid文件保存在某个地方,然后将其用于stopor restart,对吧?

那么默认创建的pid文件在哪里呢?

ubuntu debian shell bash upstart

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

crontab @reboot 在 debian 7 上工作吗?

我需要一种简单的方法来在重新启动时运行一些脚本:

我读到 crontab 中的 @reboot 可以工作,但看起来有些 linux 不接受它:

  • 它适用于 debian 7 吗?
  • 它适用于 debian 8 吗?
  • 它适用于 debian 9 吗?

debian cron reboot

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

kipmi0进程cpu利用率高

top在我们的 debian 8 专用服务器之一上运行,并注意到kipmi0使用 100% cpu 的进程。首先......有谁知道这个过程是什么,它做什么,或者什么程序正在使用它?删除是否安全,如果是,需要更改什么以删除它并确保在服务器重新启动时它不会再次启动?

在此处输入图片说明

linux debian process system-monitoring debian-jessie

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

获取 systemd 的实际状态

我们如何知道 systemd 是否已完成引导系统?

如果由于缺少网络连接,系统实际上处于启动过程中,我不想在 cron 作业上执行。我的由 cron 启动的脚本会在上面进行测试,如果启动过程没有完成,它会退出

#!/bin/sh
$STATE=`HERE ADD THE MISSING PART`
if [ $STATE != "active" ]; then
  exit
fi
# Actions to do on next cron after booting
Run Code Online (Sandbox Code Playgroud)

如果它也可以向我提供有关关闭过程的信息,因为问题可能是相同的..;

我使用运行级别命令使用 SystemV 执行此操作,但 Systemd 在启动结束时不会更改运行级别。

谢谢

debian boot systemd

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

更新了 DNS 区域,但在 TTL 到期后仍然看到不正确的记录

我在其真实 IP 上完全重新安装了debian9-ispconfig3服务器(该服务器之前安装在我不再使用的 IP FAILOVER上)。ks392200.kimsufi.com176.31.109.2687.98.160.188

这是虚拟主机的 DNS 区域:

root@ns1:/etc/postfix# cat /etc/bind/pri.webologix.com
$TTL        600
@       IN      SOA     ks392200.kimsufi.com. unemail@noname.com. (
                        2018042411       ; serial, todays date + todays serial #
                        7200              ; refresh, seconds
                        540              ; retry, seconds
                        604800              ; expire, seconds
                        3600 )            ; minimum, seconds
;
mail           3600 A        176.31.109.26
www            3600 A        176.31.109.26
webologix.com. 3600 A        176.31.109.26
webologix.com. 3600      MX    10   mail.webologix.com.
webologix.com. 3600      NS        ks392200.kimsufi.com.
default._domainkey.webologix.com. 3600      TXT        "v=DKIM1; t=s; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArucYlp2rHXPGB3Xn0IjSIXSqixF9kkauZCqo30XIsGe5RShQnGDEUgfPZbHdw7O4wkfoobA6Lt3XBV6T9Zh8UGUNZcd//CgePZAWL4r6fkIvzlVHEhidDfQwaIAGMCZi/SI9TR+rlm2H7HJXlyeV1q5OfUnTO8NblFZ2QNuLhTxqusRQ3BVphkwBkXlyoUQgikj" "eNnStnwRNKsEqQ+Kmy4hYP3IrqV6odRAXcGGSqHNd82v/N+00gj2k1anr0MHUV0DVRHoQPcxVHB+x1/khoUsPRRdHCShNg5fsQMYbGryTTSRw3tJFKdCw7OaBS4W9mGRF+9FG2+wuaGKcdHscGQIDAQAB"
ownercheck …
Run Code Online (Sandbox Code Playgroud)

domain-name-system debian

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

当我想在默认 443 以外的端口上设置 SSL 时,应该使用什么 CN 名称?

我的服务器既运行我的公共 Web 服务器,又运行本地服务器。本地服务器在333端口,我用了很长时间的无效证书,但我希望它正确配置,所以我做了自己的CA,在我的机器上安装了root权限,所以它不会给我“自签名”证书错误,为我的服务器创建证书,设置 apache2,但现在出现 CN 错误。我尝试了几个 CN 变体,我尝试了 server.home:333、server.home 和 server.home:*,但没有运气。甚至有可能这样做吗?

linux ssl debian apache-2.4

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

不是本机服务 systemd - 无法在启动时运行

我尝试使用以下方法将 NiFi 作为启动服务运行:

sudo systemctl enable nifi.service
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

nifi.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable nifi
update-rc.d: error: nifi Default-Start contains no runlevels, aborting.
Run Code Online (Sandbox Code Playgroud)

本教程建议对 shell 文件进行更改,但我不使用这样的文件。任何帮助,将不胜感激。

debian boot systemd

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

Debian 9.12 中的 libc6 依赖项不匹配

我在 Debian 9.12 中遇到以下 libc6 依赖问题。

sudo apt 安装 libc6-dev

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6-dev : Depends: libc6 (= …
Run Code Online (Sandbox Code Playgroud)

linux debian dependencies libc6 debian-stretch

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

我们如何修复 APT 存储库错误 Debian 操作系统

如何修复 修复 APT 存储库错误 我正在使用 Debian GNU/Linux 9.13 (stretch),如何修复此更新错误?并导入 Docker GPG 密钥?

root@test:~# apt-get update
Ign:1 http://security.debian.org stretch/updates InRelease
Err:2 http://security.debian.org stretch/updates Release
  404  Not Found [IP: 111.73.1113.145 90]
Get:3 https://download.docker.com/linux/debian stretch InRelease [44.8 kB]
Ign:4 http://ftp.de.debian.org/debian stretch InRelease
Err:5 http://ftp.de.debian.org/debian stretch Release
  404  Not Found
Err:3 https://download.docker.com/linux/debian stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7PB0A8C2F192FFDM
Reading package lists... Done
E: The repository 'http://security.debian.org stretch/updates Release' does no longer have a …
Run Code Online (Sandbox Code Playgroud)

linux debian update repository docker

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