我刚刚在 esx-Server 上安装了一个新的 Ubuntu 20.04 服务器作为虚拟机。当我查看时,systemlog我看到很多多路径条目。
multipathd[651]: sda: add missing path
multipathd[651]: sda: failed to get udev uid: Invalid argument
multipathd[651]: sda: failed to get sysfs uid: Invalid argument
multipathd[651]: sda: failed to get sgio uid: No such file or directory
multipathd[651]: sda: add missing path
multipathd[651]: sda: failed to get udev uid: Invalid argument
multipathd[651]: sda: failed to get sysfs uid: Invalid argument
multipathd[651]: sda: failed to get sgio uid: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我认为只是没有配置多路径,我的问题是我是否可以禁用多路径。由于我在几个 Ubuntu …
我在 vmware 虚拟机上安装了带有最新更新的 Ubuntu 17.10。Netplan 没有配置我的 2 个以太网。
这是我的 /etc/netplan/01-netcfg.yaml
network:
version: 2
renderer: networkd
ethernets:
lan:
match:
macaddress: 00:12:34:a8:29:e8
set-name: lan
dhcp4: false
dhcp6: false
accept-ra: false
addresses:
- 10.10.0.48/24
- 1701:5740:5000:3301::48/64
failover:
match:
macaddress: 00:45:57:89:27:e8
set-name: failover
dhcp4: false
dhcp6: false
accept-ra: false
addresses:
- 17.25.111.30/27
- 1701:5740:5000:3300::30/64
gateway4: 17.25.111.1
gateway6: 1701:5740:5000:3300::1
nameservers:
search:
- example.at
- intern.example.at
addresses:
- 10.10.0.1
- 1701:5740::66
Run Code Online (Sandbox Code Playgroud)
我切换回像 eth0 这样的可预测设备,启动后所有设备都被正确命名,但没有配置。
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen …Run Code Online (Sandbox Code Playgroud) 我新安装了 Ubuntu 22.04 并配置了 netplan,如下所示:
network:
version: 2
ethernets:
ens18:
addresses:
- 10.10.0.101/24
- 2009:470:1099:10::101/64
dhcp4: false
dhcp6: false
accept-ra: false
gateway4: 10.10.0.1
gateway6: 2009:470:1099:10::1
nameservers:
addresses:
- 8.8.8.8
- 2001:4860:4860::8888
Run Code Online (Sandbox Code Playgroud)
启动后我收到此警告
** (generate:1099): WARNING **: 15:10:35.646: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
** (generate:1099): WARNING **: 15:10:35.646: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details. …Run Code Online (Sandbox Code Playgroud) 我有
Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.15.0-24-generic x86_64)
15 packages can be updated.
7 updates are security updates.
Run Code Online (Sandbox Code Playgroud)
我观察了这几个星期并尝试了很多方法来修复它,但我无法让它运行。无人值守升级不会升级我的服务器。
我安装了
# apt-get install unattended-upgrades
Reading package lists... Done
Building dependency tree
Reading state information... Done
unattended-upgrades is already the newest version (0.90ubuntu0.9).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
# apt-get install apt-listchanges
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-listchanges is already the newest version (2.85.14ubuntu1).
0 upgraded, 0 …Run Code Online (Sandbox Code Playgroud) 我运行了一组虚拟 ubuntu 服务器,其中一些运行内核 4.15,而其他运行内核 4.13。
在我所有的服务器上,我经常做
apt 更新 apt 升级 apt dist-upgrade
如何将它们全部升级到内核 4.15?
我的 Ubuntu 18.04 和“今日消息”不再起作用。当我登录时没有显示任何信息。
当我跑步时
run-parts /etc/update-motd.d/
Run Code Online (Sandbox Code Playgroud)
我收到一个错误
run-parts: /etc/update-motd.d//50-landscape-sysinfo exited with return code 2
Run Code Online (Sandbox Code Playgroud)
我怎样才能解决这个问题?