problem overview
about this problem, the blogger encountered in the process of virtual machine migration. After the migration, the network needs to be reallocated. After the configuration is completed, when the network service is restarted, the error is reported: “Job for network. Service failed because the control process exited with error code. See “systemctl status network. Service” and “journalctl-xe” for details
as follows:
to check the network status, enter the command “systemctl status net.service”, as shown in the figure below:
p>
network service failed to start!!
p>
p>
solution
check for a while, finally found is an extra network configuration file, as shown in the figure below:
p>
the reason is caused by the old file web services launch failure, delete the old file, found again to restart the network service, altogether OK p>
1. Delete old file and enter the command “rm-rf ifcfg-ens33.old”;
2. Restart the network service, enter the command “systemctl restart net.service”;
3. To check whether the network service has been started successfully, enter the command “systemctl status net.service”, as shown in the figure below:
p>
supplement
on December 16, 2019
the usual virtual machine network mode is NAT bridging mode, so the virtual machine related services need to be started, as shown in the figure below:
the first one is automatically assigned IP address, the second one is network bridging NAT, these two must be started, otherwise the virtual machine network will not be able to use.
p>
p>
well, the solution for Job for network. Service failed because the control process exited with error code. See “systemc “has been written here.
.
.
The
as: td> | hua wang td> tr> |
contact the author: td> | [email protected] td> tr> |
to source: td> | CSDN (Chinese Software Developer Network) td> tr> |
the original article: td> | https://blog.csdn.net/Hello_World_QWP/article/details/101162295 td> tr> |
copyright statement: | this article is the original blogger article, please be sure to indicate the source of the blog when reprinting! |
Read More:
- Linux virtual machine network “job for” network.service failed because the control process exited with error code”
- Job for docker.service failed because the control process exited with error code. See systemctl sta
- Nginx start error: job for nginx.service failed because the control process exited with error code
- systemctl start docker Job for docker.service failed because the control process exited with error
- Apache2 cannot be started and an error is reported for apache2.service failed because the control process exited with error code.
- svn process exited with error code: 1
- Job for apache2.service failed apache2 cannot be started
- Mongodb failed to start: child process failed, exited with error number 100
- The most complete solution for service network restart failure under CENTOS 7
- PHP link database error PHP_ network_ getaddresses: getaddrinfo failed: Name or service not known
- CentOS 8.1 solution to error in executing #systemctl restart network.service
- php_ network_ Getaddresses: getaddressinfo failed: name or service not known solution
- Error: child process failed, exited with error number 1
- Mongodb start error: child process failed, exited with error number 1
- Solution summary of VMware network card without IP and failure to start network card (continuous update)
- code is 143 Container exited with a non-zero exit code 143
- IIS + Django project reported an error. The fastcgi process exited unexpectedly
- Process exited with an error: 1 (Exit value: 1)
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Xcode: error: linker command failed with exit code 1(use -v to see invocation) or libstdc++.6.0 is missing