Vmware出现报错The VMware Authorization Service is not running.之后无法上网解决

本文详细记录了解决VMware虚拟机启动时报错TheVMwareAuthorizationServiceisnotrunning及无法共享上网的问题过程。通过分析,发现是由于关闭了授权服务Authorization和VMnetDHCM服务导致。解决方法是重新启动服务后恢复正常。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天一大早开VMware,启动ubuntu时出现了报错The VMware Authorization Service is not running,服务Authorization没有运行。

这之前一直正常的,昨天关虚拟机的时候选择保存状态后今天就这样了。

分析原因(自己YY的):

1.昨天关闭完VMware后感觉有点卡,顺手结束了几个VMware的后台进程,导致服务Authorization关闭。

2.昨天选择保存状态的关闭,今天想要恢复时出错,很久没用保存状态了,可能是保存状态需要这个服务,而之前正常关机不需要用到这个服务。

3.不明操作关闭服务。

服务名字为Authorization,意味授权,感觉挺重要的,第二种可能性不大,第一种可能性较大。

于是进任务管理器启动了服务后正常开启虚拟机。


然后发现无法和本机共享上网,我用的是NAT桥接方式的,第一感觉也是服务的问题,于是在Authorization上下看到了一个VM开头的服务也关闭着,没错VMnetDHCM服务,看来就是这个了,开运行后果断能上网了。


我没记错的话昨天好像关了Tray Process和DHCP进程。。。

我一直以为关掉进程防卡,之后重新启动那些东西又会回来,没想到服务竟然会关闭让VMware报错。。。以后不能乱关进程服务了。



看了下Vm开头的服务,有如下几个:

VMwareHostd,好像是管主程序什么的。

VMware NAT Service,NAT桥接方式的服务,如果用其他方式应该就会有其他服务了。关掉就不能上网了。

VMUSBArbService,USB服务,关了USB就连不上虚拟机了。

VMnetDHCP,这个就是我无法上网的元凶了。资料from wiki:

动态主机设置协定(Dynamic Host Configuration Protocol, DHCP)是一个局域网的网络协议,主要有两个用途:
给内部网络或网络服务供应商自动分配IP地址给用户
给内部网络管理员作为对所有电脑作中央管理的手段。

VMAuthdService也就是出现报错的元凶,也是管理虚拟机的。



Google了一下,发现关闭__vmware_user__账户也会导致The VMware Authorization Service is not running报错。


[root@Docker-register ~]# systemctl list-units --type=service --state=running UNIT LOAD ACTIVE SUB DESCRIPTION auditd.service loaded active running Security Auditing Service chronyd.service loaded active running NTP client/server couchbase-server.service loaded active running Couchbase Server crond.service loaded active running Command Scheduler dbus.service loaded active running D-Bus System Message Bus docker.service loaded active running Docker Application Container Engine getty@tty1.service loaded active running Getty on tty1 gssproxy.service loaded active running GSSAPI Proxy Daemon irqbalance.service loaded active running irqbalance daemon lvm2-lvmetad.service loaded active running LVM2 metadata daemon metricbeat.service loaded active running Metricbeat is a lightweight shipper for metrics. NetworkManager.service loaded active running Network Manager polkit.service loaded active running Authorization Manager postfix.service loaded active running Postfix Mail Transport Agent rhnsd.service loaded active running LSB: Starts the Spacewalk Daemon rhsmcertd.service loaded active running Enable periodic update of entitlement certificates. rpcbind.service loaded active running RPC bind service rsyslog.service loaded active running System Logging Service sshd.service loaded active running OpenSSH server daemon systemd-journald.service loaded active running Journal Service systemd-logind.service loaded active running Login Service systemd-udevd.service loaded active running udev Kernel Device Manager tuned.service loaded active running Dynamic System Tuning Daemon vgauthd.service loaded active running VGAuth Service for open-vm-tools vmtoolsd.service loaded active running Service for virtual machines hosted on VMware zabbix-agent.service loaded active running Zabbix Agent LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 26 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.
03-18
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值