mac CLI installed, permissions issue
i installed the mac CLI but when prompted for my password during the install process i entered the wrong password 3 times. The installer said it completed the installation but certain commands don't work such as the `nextdns start`, ` nextdns run`, and `nextdns uninstall`. when i run them with sudo, it says the app is not installed or i don't have certain files in my system.
% nextdns start
Error: permission denied
% nextdns run
ERROR: 17:08:30 Cannot start control server: listen unix /var/run/nextdns.sock: bind: permission denied
INFO: 17:08:30 Starting NextDNS 1.37.11/darwin on localhost:53
INFO: 17:08:30 Listening on TCP/[::1]:53
INFO: 17:08:30 Listening on UDP/[::1]:53
INFO: 17:08:30 Listening on TCP/127.0.0.1:53
INFO: 17:08:30 Listening on UDP/127.0.0.1:53
ERROR: 17:08:30 Startup failed: proxy: tcp: listen tcp [::1]:53: bind: permission denied
Error: proxy: tcp: listen tcp [::1]:53: bind: permission denied
% nextdns uninstall
Error: permission denied
% sudo nextdns uninstall
Password:
Error: not installed
% sudo nextdns start
Error: launchctl load /Library/LaunchDaemons/nextdns.plist: /Library/LaunchDaemons/nextdns.plist: No such file or directory
Load failed: 2: No such file or directory
4 replies
-
On MacOS sudo is needed. I don’t recall, but you might have to install sudo
-
I am getting a similar message with or without sudo:
sudo nextdns start
Error: launchctl load /Library/LaunchDaemons/nextdns.plist: /Library/LaunchDaemons/nextdns.plist: Service is disabled
Load failed: 119: Service is disabled
-
This worked for me.
Uninstall and reinstall with the CLI. If necessary clear the DNS Setting in Network preferences before reinstalling or you may not have internet to run the curl command.
Then run the following. to load and re-eanable the service.
sudo launchctl load -w /Library/LaunchDaemons/nextdns.plist
Thanks to this article:
https://knowledge.broadcom.com/external/article/175764/service-is-disabled-message-when-attempt.html#:~:text=%22Service%20is%20disabled%22%20Cause%20In%20this%20case%20the,the%20-w%20switch%2C%20which%20will%20disable%20the%20service. -
Try to reinstall it using "sudo nextdns install"
Content aside
- 2 yrs agoLast active
- 4Replies
- 345Views
-
4
Following