after changing the IP from AWS ec2 the network won't run and I can't access the server by web
when I run
give error
and this is the result of systemctl status network.service
when I run
Code:
systemctl start network
Code:
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
Code:
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
[root@host centos]# systemctl status network.service
● 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 Sun 2020-08-16 22:40:14 UTC; 27s ago
Docs: man:systemd-sysv-generator(8)
Process: 2275 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
CGroup: /system.slice/network.service
└─929 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient--ens5.lease -pf /var/run/dhclient-ens5.pid -H host ens5
Aug 16 22:40:14 host.instadeal-co.com network[2275]: RTNETLINK answers: File exists
Aug 16 22:40:14 host.instadeal-co.com network[2275]: RTNETLINK answers: File exists
Aug 16 22:40:14 host.instadeal-co.com network[2275]: RTNETLINK answers: File exists
Aug 16 22:40:14 host.instadeal-co.com network[2275]: RTNETLINK answers: File exists
Aug 16 22:40:14 host.instadeal-co.com network[2275]: RTNETLINK answers: File exists
Aug 16 22:40:14 host.instadeal-co.com network[2275]: RTNETLINK answers: File exists
Aug 16 22:40:14 host.instadeal-co.com systemd[1]: network.service: control process exited, code=exited status=1
Aug 16 22:40:14 host.instadeal-co.com systemd[1]: Failed to start LSB: Bring up/down networking.
Aug 16 22:40:14 host.instadeal-co.com systemd[1]: Unit network.service entered failed state.
Aug 16 22:40:14 host.instadeal-co.com systemd[1]: network.service failed.