Jump to content

Couldn't Resolve Localhost error on OSX Maverick/Java 7 up45


Kentinada

Recommended Posts

Posted

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?

post-2720-140474161399_thumb.png

Posted

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

Posted

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

Posted

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

Posted

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

post-1437-140474161405_thumb.jpg

Posted

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

Guest
This topic is now closed to further replies.

×
×
  • Create New...