Failed to restart network.service: Unit network.service not found
1. 에러 원인
Cent OS 에서 network 라는 서비스를 찾을 수 없을 때 발생하는 에러이다.
주로 Cent OS 8 버전 이상에서 많이 발생한다
(Rocky Linux 를 사용하고 있다면 동일한 에러가 발생할 것이다)
왜냐하면 Centos 8 버전 부터는 Network라는 서비스 명칭 대신 NetworkManager 라는 명칭으로 사용 가능하다고 나와있기 때문
2. 해결방법
나의 경우에는 아래의 명령어로 해결
# Systemctl restart NetworkManage
3. 참고 링크
https://www.golinuxcloud.com/unit-network-service-not-found-rhel-8-linux/
Solved: Failed to restart network.service: Unit network.service not found in RHEL 8
Steps to fix Failed to restart network.service: Unit network.service not found in CentOS/RHEL 8 /etc/rc.d/init.d/network is part of network-scripts rpm
www.golinuxcloud.com
https://blog.dalso.org/linux/cent-os/4338
Cent OS 8.1 (8버전) connect: 네트워크가 접근 불가능합니다.
Cent OS를 클린설치하고나면 기본 네트워크가 DHCP로 잡혀있기 때문에 IP를 못잡을수도있다. 이럴때는 수동으로 전환해주는게 제일 도움된다. 기존 Cent(RHEL) 7까지는 network service 를 사용했지만 Cent 8
blog.dalso.org
Oracle Linux 8 Service Network Restart 명령어를 찾을 수 없을때
Centos8 단종을 위한 수순이 다가오고 있고 대체 OS로 Rocky Linux나 Oracle Linux 아니면 Ubuntu 계열로 가야하는데 일단 기업에서 사용해야하므로 Oracle Linux를 선택하게 되었습니다. 헌데 ifg 파일을 수정
www.tezy.net
'Error code 모음 > 3. Linux Errors' 카테고리의 다른 글
[Linux Error] remote SFTP file transfer fails: Permission Denied (0) | 2022.01.21 |
---|---|
[Linux Error] jenkins 설치 에러 : jenkins requires daemonize (0) | 2021.12.16 |
[Linux Error] cd permission denied (0) | 2021.02.25 |
[Nginx Error] (13: Permission denied) while connecting to upstream:[nginx] (0) | 2021.02.11 |
Linux error : Another app is currently holding the yum lock; 에러 (0) | 2020.04.22 |