I'm having a problem with installing CQ5.6 on OSX 10.8 with Java 1.7. Installing with Java 1.6 is ok, and on OSX 10.7 is ok, but the combo of 10.8 and java 1.7 is having problems. I've found two issues, but it hasn't gotten us to a solution:
1) Just out of the box, I get an error connecting to the repository, with the root cause :
Caused by: java.io.IOException: Could not create a listener on any of the following ports: [8088, 8089, 8090, 8091, 8092, 8093], and could not connect to another cluster node
I then found this answer: http://www.eyelock.net/blog/archives/490 - and tried starting up with that JVM startup param.
2) Then, the IOException went away, but was left with the Unknown Host Exception - described here: http://blogs.adobe.com/dmcmahon/2012/09/03/cq5-5-javax-jcr-repositoryexception-unable-to-r egister-data-store-in-cluster/
After modifying the hosts file and restarting, I'm still having problems. Anyone else have problems with this combo?
Thanks in advance.
This issue sometimes occurs when switching between networks, and/or with VPN installed.
If your Java process is forking you will need to ensure the -Djava.net.preferIPv4Stack=true parameter is passed to the forked JVM. I don't have OSX but I see this parameter worked for others on that platform.
The envirnoment you are running does it have internet connection? Please try with adding alias. If does not solve let us know exact stack trace.
 sudo ifconfig en0 alias 127.0.0.1