Kentinada Posted November 20, 2013 Posted November 20, 2013 I am running OSX Maverick on my iMac with Java 7 update 45 and get the error Couldn't Resolve Localhost. On Mac: fix /private/etc/hosts file I have tried uninstalling Java and re-installing but still have the error when I start the Admin console. This is preventing me from backing up my ISY configuration. I did look at other posts on this and it seems to have come up before. I looked at a post that said to edit the hosts file but it was not clear what it was I was to add. Can anyone help with this error?
Xathros Posted November 20, 2013 Posted November 20, 2013 Hi Kentinada- It sounds to me like your hosts file is damaged or has the wrong permissions. Bring up the Terminal program and type: cat /private/etc/hosts And see what is returned. You should see a line included that says: 127.0.0.1 localhost Have you run a repair permissions since upgrading to Mavericks? If not, launch the DiskUtility and click RepairPermissions - See if that helps. -Xathros
Kentinada Posted November 20, 2013 Author Posted November 20, 2013 I do see that. See the attached screen shot.
Xathros Posted November 20, 2013 Posted November 20, 2013 Try typing: ping localhost See if it returns: 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.xxx ms You will have to hit Ctrl-C to stop the ping once started. -Xathros
Kentinada Posted November 20, 2013 Author Posted November 20, 2013 Yes it does. See attached screenshot.
Xathros Posted November 20, 2013 Posted November 20, 2013 OK. Thats good. Thje only thing odd that I noticed in your hosts file was a missing entry for your computers name. Mine looks like: # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 Xathros-MacBook-Air.local 127.0.0.1 localhost 255.255.255.255 broadcasthost I wonder if that missing entry is the culprit. -Xathros
Kentinada Posted November 20, 2013 Author Posted November 20, 2013 Not sure what my entry would be. Any idea how to figure that out?
Xathros Posted November 20, 2013 Posted November 20, 2013 go to the System Preferences, Sharing Applet: The bottom line there is what should be in the hosts file. Try editing the computer name - change it to something else, save the change then change it back and save again - that may update the file for you. -Xathros
Kentinada Posted November 20, 2013 Author Posted November 20, 2013 That resolved that error message. Thanks. Now I can't backup my config. I'll search the forum and enter a new thread if I can't find anything.
Xathros Posted November 20, 2013 Posted November 20, 2013 See this thread: http://forum.universal-devices.com/viewtopic.php?f=25&t=12658
Kentinada Posted November 20, 2013 Author Posted November 20, 2013 Thanks but the fix there did help. This is a Safari issue only. The backup works in Firefox so I'm covered till this gets fixed.
bsobel Posted November 20, 2013 Posted November 20, 2013 You need to go into safari settings and allow the java app for udi to run outside the sandbox. This is new in Mavericks. Sent from my iPad using Tapatalk HD
Recommended Posts