8 Replies Latest reply: May 16, 2013 10:40 AM by BobHarris
TheDonOfLGI Level 1 Level 1 (0 points)

I was installing "unusual" software for a macbook - a full ERP system that includes web portals for field personnel.  Everything was going along hunky dory (relatively) till, in launching the web portal, I recieved an error that seemed to be a users permission issue:


Screen Shot 2013-05-14 at 12.16.36 PM.png

I had no .rhosts file, so I created one with the suggested information in the top directory for my user (/users/dons/).  This not only did not work but the local apache website no longer displayed:


Screen Shot 2013-05-16 at 8.07.22 AM.png


Here are my ping attempts, first by name:


Last login: Wed May 15 21:37:32 on ttys000

Donalds-MacBook-Air:~ dons$ ping localhost

ping: cannot resolve localhost: Unknown host

Donalds-MacBook-Air:~ dons$


Here's the ping by ip:


Donalds-MacBook-Air:~ dons$ ping

PING ( 56 data bytes

64 bytes from icmp_seq=0 ttl=64 time=0.053 ms

64 bytes from icmp_seq=1 ttl=64 time=0.171 ms

64 bytes from icmp_seq=2 ttl=64 time=0.126 ms

64 bytes from icmp_seq=3 ttl=64 time=0.182 ms


--- ping statistics ---

4 packets transmitted, 4 packets received, 0.0% packet loss

round-trip min/avg/max/stddev = 0.053/0.133/0.182/0.051 ms

Donalds-MacBook-Air:~ dons$


Here's my hosts file:


Screen Shot 2013-05-16 at 8.49.15 AM.png


At this point I have:

  • Removed the .rhosts file
  • Restored the hosts.equiv to blank
  • Performed a safe boot - same problem
  • Reinstalled OS X - same problem.


The major programs I've installed are Java 7, Eclipse, Perforce.  This might not be anything, but on startup I get a terminal screen that shows the following:


Donalds-MacBook-Air:etc dons$ /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java

Usage: java [-options] class [args...]

           (to execute a class)

   or  java [-options] -jar jarfile [args...]

           (to execute a jar file)

where options include:

    -d32            use a 32-bit data model if available

    -d64            use a 64-bit data model if available

    -server            to select the "server" VM

                  The default VM is server,

                  because you are running on a server-class machine.


    -cp <class search path of directories and zip/jar files>

    -classpath <class search path of directories and zip/jar files>

                  A : separated list of directories, JAR archives,

                  and ZIP archives to search for class files.


                  set a system property


                  enable verbose output

    -version      print product version and exit


                  require the specified version to run

    -showversion  print product version and continue

    -jre-restrict-search | -no-jre-restrict-search

                  include/exclude user private JREs in the version search

    -? -help      print this help message

    -X            print help on non-standard options



                  enable assertions with specified granularity



                  disable assertions with specified granularity

    -esa | -enablesystemassertions

                  enable system assertions

    -dsa | -disablesystemassertions

                  disable system assertions


                  load native agent library <libname>, e.g. -agentlib:hprof

                  see also, -agentlib:jdwp=help and -agentlib:hprof=help


                  load native agent library by full pathname


                  load Java programming language agent, see java.lang.instrument


                  show splash screen with specified image

See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.


As I said at this point, I've already reinstalled the operating system.  The above error points me to a java problem (that and I no longer have a java icon on my system preferences), so I'm going to reinstall that first.  If that doesn't work, I'm guess I'm going to have to erase the disk and go back to a factory reinstall.


Any helpful thoughts, directions or words of encouragement will be greatly appreciate.


Don Scattergood

MacBook Air, OS X Mountain Lion (10.8.3), Java 7