Fix for Webmin LaunchDaemon issue

With Webmin 1.760 and 1.770, we were running into a situation where we had to keep running the setup install script from Terminal, as Webmin seemed as though it was not installed.

From Terminal, we ran:

sudo /Users/[user]/Sites/webmin-1.770/setup.sh

and then it was fine. But after a restart, we ran into the same issue where the Webmin page said it could not find http://[pc-name].local:10000/.

Turns out the issue was our LaunchDaemon.

In ~/Library/LaunchDaemons/com.webmin.webmin.plist, here’s what fixed it:

<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=”1.0″>
<dict>
<key>Label</key>
<string>com.webmin.webmin</string>
<key>ProgramArguments</key>
<array>
<string>/etc/webmin/start</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>

After a restart, Webmin was back to normal.

Leave a Reply

Your email address will not be published. Required fields are marked *