AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-64344

Zeno's questions

Martin Hope
Zeno
Asked: 2021-08-14 06:52:49 +0800 CST

打印 Server 2016 缺少 Nightmare 补丁

  • 1

Windows Server 2016 Standard服务器似乎无法接收或查看 PrintNightmare 补丁。

根据Microsoft 文档,我应该寻求 KB5004948。根据KB 上的这个 Microsoft 页面,它需要最新的 SSU。我确认 SSU KB5001402 已安装在服务器上。

但是,Windows 更新不会将 KB5004948 显示为可用。服务器没有每个 Windows 更新的剩余修补程序。在 Powershell 中使用Get-Hotfix确认它没有打补丁:

> Get-HotFix -Id KB5004948
Get-HotFix : Cannot find the requested hotfix on the 'localhost' computer. Verify the input and run the command again.
At line:1 char:1
+ Get-HotFix -Id KB5004948
+ ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:) [Get-HotFix], ArgumentException
    + FullyQualifiedErrorId : GetHotFixNoEntriesFound,Microsoft.PowerShell.Commands.GetHotFixCommand

下载直接 MSU 并尝试安装会导致意外The update is not applicable to your computer.

我在这里缺少什么吗?Microsoft 页面上是否有错字,可能哪个 KB 是正确的修补程序?

windows-update windows-server-2016
  • 1 个回答
  • 201 Views
Martin Hope
Zeno
Asked: 2020-05-04 17:56:31 +0800 CST

设置静态IP,网络服务将不再启动

  • 1

nmtui edit我使用(编辑的有线连接 1)为我的 CentOS 7 服务器设置了一个静态 IP :

在此处输入图像描述

现在网络服务 ( systemctl restart network) 不再启动。

日志输出:

-- Unit network.service has begun starting up.
May 03 21:52:09 NIXSERVER NetworkManager[1010]: <info>  [1588557129.6050] ifcfg-rh: update /etc/sysconfig/network-scripts/ifcfg-Wired_connection_1 (d8fac711-9114-32c9-a759-05fdeed28a6f,"Wired connection 1")
May 03 21:52:09 NIXSERVER NetworkManager[1010]: <warn>  [1588557129.6094] ifcfg-rh: loading "/etc/sysconfig/network-scripts/ifcfg-eth0" fails: File '/etc/sysconfig/network-scripts/ifcfg-eth0' had neither TYPE nor DEVICE keys.
May 03 21:52:10 NIXSERVER network[12774]: Bringing up loopback interface:  [  OK  ]
May 03 21:52:10 NIXSERVER network[12774]: Bringing up interface Wired_connection_1:  [  OK  ]
May 03 21:52:10 NIXSERVER NetworkManager[1010]: <info>  [1588557130.9329] audit: op="connection-activate" uuid="08e23dbd-9817-4247-98f3-4a149eecd390" name="enp0s25" result="fail" reason="No suitable device found for this connection."
May 03 21:52:10 NIXSERVER network[12774]: Bringing up interface enp0s25:  Error: Connection activation failed: No suitable device found for this connection.
May 03 21:52:10 NIXSERVER network[12774]: [FAILED]
May 03 21:52:11 NIXSERVER NetworkManager[1010]: <warn>  [1588557131.1644] ifcfg-rh: loading "/etc/sysconfig/network-scripts/ifcfg-eth0" fails: File '/etc/sysconfig/network-scripts/ifcfg-eth0' had neither TYPE nor DEVICE keys.
May 03 21:52:11 NIXSERVER network[12774]: Bringing up interface eth0:  Could not load file '/etc/sysconfig/network-scripts/ifcfg-eth0'
May 03 21:52:11 NIXSERVER NetworkManager[1010]: <warn>  [1588557131.3840] ifcfg-rh: loading "/etc/sysconfig/network-scripts/ifcfg-eth0" fails: File '/etc/sysconfig/network-scripts/ifcfg-eth0' had neither TYPE nor DEVICE keys.
May 03 21:52:11 NIXSERVER network[12774]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-eth0'
May 03 21:52:11 NIXSERVER network[12774]: ERROR    : [/etc/sysconfig/network-scripts/ifup-eth] Device  does not seem to be present, delaying initialization.
May 03 21:52:11 NIXSERVER /etc/sysconfig/network-scripts/ifup-eth[13057]: Device  does not seem to be present, delaying initialization.
May 03 21:52:11 NIXSERVER network[12774]: [FAILED]
May 03 21:52:11 NIXSERVER network[12774]: RTNETLINK answers: File exists
May 03 21:52:11 NIXSERVER network[12774]: RTNETLINK answers: File exists
May 03 21:52:11 NIXSERVER network[12774]: RTNETLINK answers: File exists
May 03 21:52:11 NIXSERVER network[12774]: RTNETLINK answers: File exists
May 03 21:52:11 NIXSERVER network[12774]: RTNETLINK answers: File exists
May 03 21:52:11 NIXSERVER network[12774]: RTNETLINK answers: File exists
May 03 21:52:11 NIXSERVER network[12774]: RTNETLINK answers: File exists
May 03 21:52:11 NIXSERVER network[12774]: RTNETLINK answers: File exists
May 03 21:52:11 NIXSERVER network[12774]: RTNETLINK answers: File exists
May 03 21:52:11 NIXSERVER systemd[1]: network.service: control process exited, code=exited status=1
May 03 21:52:11 NIXSERVER systemd[1]: Failed to start LSB: Bring up/down networking.
-- Subject: Unit network.service has failed

有什么我想念的吗?该硬件只有一个连接到它的以太网。

命令输出nmcli -p dev:

nmcli -p dev
====================================================
                 Status of devices
====================================================
DEVICE   TYPE      STATE        CONNECTION
----------------------------------------------------
docker0  bridge    connected    docker0
enp12s0  ethernet  connected    Wired connection 1
enp11s0  ethernet  unavailable  --
lo       loopback  unmanaged    --
centos networking
  • 2 个回答
  • 562 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve