当前位置:网站首页>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
边栏推荐
- 【开发技术】SpingBoot数据库与持久化技术,JPA,MongoDB,Redis
- Mysql A left(right) join B on A.id=B. ID and a.age=1 and a left (right) join b on a.id=b id where A.age=1
- 如何保护 JDBC 应用程序免受 SQL 注入
- Overview of multisensor fusion -- FOV and bev
- 轮毂电机主动减振系统及其垂向性能优化
- 1.10 API 和字符串
- Ftxui basic notes (Hello World)
- LAN SDN hard core technology insider 18 beautiful new world
- 组蛋白研究丨Worthington小牛胸腺组蛋白的特征及文献参考
- Graduation project ----- Internet of things environment detection system based on stm32
猜你喜欢

使用路由协议配置 IPv6 over IP手动隧道

Building a sylixos environment in VMWare

ASP.Net Core创建MVC项目上传多个文件(流方式)

实验二 YUV

Mysql A left(right) join B on A.id=B. ID and a.age=1 and a left (right) join b on a.id=b id where A.age=1

Worthington纯化酶制剂助力新生儿心肌细胞分离系统研究

MPLS VPN 跨域-optionB

Worthington对肝细胞分离系统的测试及相关优化方案

Experiment III LZW

开幕在即 | “万物互联,使能千行百业”2022开放原子全球开源峰会OpenAtom OpenHarmony分论坛
随机推荐
模拟Not All Endpoints Registered异常及解决方案
Fastapi learning (II) -- fastapi+jinjia2 template rendering web page (jump back to the rendering page)
Scala gets all files in the specified directory
RN底层原理 -- 1. Component和PureComponent解析
How to open the file in keil is the real path in the 109th blog of fledgling Xiao Li
初出茅庐的小李第110篇博客之详细剖析STM32中__NVIC_SetPriorityGrouping(uint32_t PriorityGroup)函数
Information system project managers must recite the core examination points (49) contract law
项目升级遇到的坑
LAN SDN hard core technology insider 19 unite all forces that can be united
Bottom compulsory of large factory: "communication realization between application program and AMS"
主控芯片CSU18M92开发智能体重秤方案
Fledgling Xiao Li's 108th blog binary print
6-15漏洞利用-smb-RCE远程命令执行
沃尔沃xc90的安全性如何?一起来看看吧
如何配置CANoe Network-based access模式的以太网网络拓扑
scala idea提示函数参数
JVM监控工具介绍jstack, jconsole, jinfo, jmap, jdb, jstat
弥散张量分析开源软件 DSI Studio 简体中文汉化版可以下载了
Talking about performance optimization: analysis and optimization of APP startup process
自定义flink es source