resolv.conf File Missing When Starting Tengine
Symptom
resolv.conf file is reported missing when starting Tengine. The message"'/etc/resolv.conf' failed (2: No such file or directory)" is displayed.

Key Process and Cause Analysis
The resolv.conf file is missing.
Conclusion and Solution
- Create a resolv.conf file.
1vim /etc/resolv.conf - Press i to enter the insert mode and add the following content to the file:
1 2 3
# Generated by NetworkManager nameserver 114.114.114.114 nameserver 8.8.8.8
- Press Esc, type :wq!, and press Enter to save the file and exit.
Parent topic: Troubleshooting