当前位置:网站首页>VMware virtual machine changes static IP and reports an error unit network Service entered failed state solution
VMware virtual machine changes static IP and reports an error unit network Service entered failed state solution
2022-07-23 07:59:00 【Time is an antidote】
VMware Virtual machine change static IP Report errors Unit network.service entered failed state Solution
The problem background
VMware Virtual machine change static IP Report errors :
● network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since 3、 ... and 2022-07-20 06:01:18 PDT; 1h 27min ago
Docs: man:systemd-sysv-generator(8)
Process: 899 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
7 month 20 06:01:18 localhost.localdomain systemd[1]: Starting LSB: Bring up/down networking...
7 month 20 06:01:18 localhost.localdomain network[899]: Bringing up loopback interface: [ OK ]
7 month 20 06:01:18 localhost.localdomain network[899]: Bringing up interface eno16777736: Error: Conn...)).
7 month 20 06:01:18 localhost.localdomain network[899]: [FAILED]
7 month 20 06:01:18 localhost.localdomain systemd[1]: network.service: control process exited, code=exi...s=1
7 month 20 06:01:18 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
7 month 20 06:01:18 localhost.localdomain systemd[1]: Unit network.service entered failed state.
7 month 20 06:01:18 localhost.localdomain systemd[1]: network.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
There may be different reasons for this problem , Here are two possible causes and solutions
Solution 1
1 There may be more than one network configuration file , Cause failure
First of all to enter network Configure the folder to view the network configuration file , There can only be one ifcfg-exxx
cd /etc/sysconfig/network-scripts
ll
Multiple network profiles , You need to remove , There is only one configuration file left 
Solution 2
1 see ifconfig
ifconfig
You can see the actual dynamic allocation 192.168.207.130 Of IP, And you can see that the configuration file is ens33, It's not in my configuration file 192.168.207.137 This IP, And my profile is eno16777736, Therefore, the file name cannot be changed 
2 Change my profile name
cd /etc/sysconfig/network-scripts
ll

3 Change the network profile name
mv ifcfg-eno16777736 ifcfg-ens33

4 Edit file contents
vim ifcfg-ens33

5 Restart network settings two , It must be twice
systemctl restart network

As a programmer 211 An article , Write one line of lyrics at a time and record , Look at how many songs there are in life ,wahahaha …


Lyric: Even if there is no accompaniment, you can continue
边栏推荐
- LAN SDN technology hard core insider 7 from layer 2 to layer 2
- 6-15漏洞利用-smb-RCE远程命令执行
- 毕业设计-----基于STM32的物联网环境检测系统
- Customize flick es source
- LAN SDN hard core technology insider 19 unite all forces that can be united
- 算法面试高频题解指南【一】
- 如何在 PHP 应用程序中预防SQL 注入
- ProSci LAG3抗体:改善体外研究,助力癌症免疫治疗
- Scala when used Performance problems of contains().Exists()
- Worthington哺乳动物乳酸脱氢酶研究——特点及测定方案
猜你喜欢
随机推荐
浅谈性能优化:APP的启动流程分析与优化
Bottom compulsory of large factory: "communication realization between application program and AMS"
VMware virtual machine changes static IP and hostname, and uses xshell to connect
I use the factory mode in jd.com and explain the factory mode clearly
Building a sylixos environment in VMWare
SLAAC 无状态地址自动配置
【刷题记录】18. 四数之和
Flick batch reading es
Scala 获取指定目录下的所有文件
Mysql A left(right) join B on A.id=B.id and A.age=1与A left(right) join B on A.id=B.id where A.age=1
Scala main constructor_ Scala main constructor depth
About redis, do you update the database first or the cache first?
Experiment 2 YUV
6-13漏洞利用-smtp暴力破解
机器学习笔记 - 基于深度学习(HomographyNet)的图像单应性估计
VMware虚拟机更改静态IP报错Unit network.service entered failed state解决方案
项目升级遇到的坑
實驗二 YUV
matlab ode45求解微分方程
实验二 YUV









