如果在 OS X 服务器中看到“getIGDPortmaps”提醒

当你尝试管理 AirPort 设备时,如果看到提及“IGD”的信息,请使用以下“终端”命令。

如果你是从较早版本的 OS X 服务器进行的升级,那么当你尝试配置 AirPort 设备时,你可能会在 Server.app 中看到一条提醒信息:

“处理命令时服务器发生错误。处理插件‘servermgr_network’中的命令类型‘getIGDPortmaps’时发生错误。”

你可能还会在系统日志中看到如下所示的重复信息:

servermgrd[2594]: Failed to connect to the IGD, no status info available, error is Error Domain=com.apple.ACPDevice Code=-6753 "The operation couldn't be completed. (com.apple.ACPDevice error -6753.)"

如果这个提醒信息导致你无法从 Server.app 管理你的 AirPort 设备,请使用以下“终端”命令:

sudo /usr/libexec/PlistBuddy -c "delete :managedIGD" /Library/Server/Network/Config/autoportmap.plist sudo /usr/libexec/PlistBuddy -c "delete :lastIGD" /Library/Server/Network/Config/autoportmap.plist

输入这些命令后,上述信息应该不会再出现。

发布日期: