In this section, we will delve into the logs generated while activating the 5G Core (5GC) nodes and focus on troubleshooting the issue related to the Session Management Function (SMF). By carefully analyzing these logs, we aim to identify the root cause of the encountered SMF error from the previous challenge.
To troubleshoot different nodes, you can check the logs located in the output.txt file. Which contains the output generated by various nodes, which can provide valuable information for diagnosing issues or errors.
By examining the logs in output.txt, you can gain insights into the behavior of each node and identify potential problems or misconfigurations.
tail -f ~/output.txt
Based on the output, it is evident that the SMF is unable to register with the NRF (Network Repository Function) due to an incorrect IP address setup (127.0.0.80).
vim ~/free5gc/config/smfcfg.yaml
press “i” to enter insert mode and start editing. To save and exit, press the “esc” key followed by “:wq” and hit Enter.
deactivate-5gc
activate-5gc