get logical-router return the following error:
The dataplane service is in error state, has failed or is disabled
get service dataplane
Service State: running
/var/log/syslog of the Edge node shows the following :[nsx@6876 comp="nsx-edge" subcomp="edge-appctl" s2comp="unixctl" level="WARN"] failed to connect to /var/run/vmware/edge/dpd.ctl edge-appctl: cannot connect to "/var/run/vmware/edge/dpd.ctl" (Permission denied)
VMware NSX
edge-appctl utility cannot communicate with the dpd (Data Plane Daemon) via its control socket./etc/group file on the affected Edge node results in the loss of group configurations.nsxa, exporter, and mpa.dpd.ctl socket.Log in to the affected NSX Edge node as root. Enable ssh root access for NSX appliances
Compare /etc/passwd and /etc/group on the faulty node with a known healthy Edge node in the same cluster using diff and md5sum to confirm the mismatch.
Login to the Faulty Edge node and perform a backup of the existing corrupted file: cp /etc/group /etc/group.bak
Copy the /etc/group file from a healthy Edge node to the faulty node to restore missing GIDs and memberships.
Verify the permissions and ownership of the newly restored file using the commands below:
chmod 644 /etc/groupchown root:root /etc/group
Reboot the affected Edge node to re-initialize services with the corrected group permissions: reboot
After the reboot, verify the CLI functionality by running: get logical-router