Problem
When running udm
you will see the following message:
Can't connect to daemon after 30 seconds.
Solution
By default udm
starts a server process where it (and subsequent udm calls) connects to. If the process has been idle for a while is exits. Might be an issue with the planned exist to stop any running process and retry udm:
Check the processes with:
ps -ef | grep -i cli-server
You can kill the processes with:
pkill -f univention-cli-server
Move the admincli file:
mv /tmp/admincli_0 /tmp/admincli_0.BAK
If it still shows the same error, increase debug level:
ucr set directory/manager/cmd/debug/level=4