Could you check wich java version it has installed? >From the error message I'd interpret it as it's trying to run java7 code on java6 jre.
-- Erik Weber On Tue, Apr 8, 2014 at 1:39 AM, Soheil Eizadi <seiz...@infoblox.com> wrote: > I am trying to bring up CloudStack 4.4 on vSphere 5.1, I cannot get the > Agent to run on SSVM, here is the error: > > .... =templateProcessor mtu=1500 eth2ip=10.48.15.100 > eth2mask=255.255.255.0 gateway=10.48.15.1 public.network.device=eth2 > eth0mask=0.0.0.0 eth0ip=0.0.0.0 eth1ip=10.48.15.49 eth1mask=255.255.255.0 > mgmtcidr=10.48.15.0/24 localgw=10.48.15.1 private.network.device=eth1 > eth3ip=10.48.15.33 eth3mask=255.255.255.0 storageip=10.48.15.33 > storagenetmask=255.255.255.0 storagegateway=10.48.15.1 > internaldns1=10.48.2.11 internaldns2= dns1=10.48.2.11 dns2= > > Exception in thread "main" java.lang.UnsupportedClassVersionError: > com/cloud/agent/AgentShell : Unsupported major.minor version 51.0 > > at java.lang.ClassLoader.defineClass1(Native Method) > > at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:615) > > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) > > at java.net.URLClassLoader.access$000(URLClassLoader.java:58) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:197) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > > Could not find the main class: com.cloud.agent.AgentShell. Program will > exit. > > > > Here is the SSVM diags: > > root@s-22-VM:/var/log/cloud# /usr/local/cloud/systemvm/ssvm-check.sh > > ================================================ > > First DNS server is 10.48.2.11 > > PING 10.48.2.11 (10.48.2.11): 56 data bytes > > 64 bytes from 10.48.2.11: icmp_seq=0 ttl=63 time=1.423 ms > > 64 bytes from 10.48.2.11: icmp_seq=1 ttl=63 time=0.338 ms > > --- 10.48.2.11 ping statistics --- > > 2 packets transmitted, 2 packets received, 0% packet loss > > round-trip min/avg/max/stddev = 0.338/0.881/1.423/0.543 ms > > Good: Can ping DNS server > > ================================================ > > Good: DNS resolves download.cloud.com > > ================================================ > > ERROR: NFS is not currently mounted > > Try manually mounting from inside the VM > > NFS server is eth2 > > ping: unknown host > > WARNING: cannot ping nfs server > > routing table follows > > Kernel IP routing table > > Destination Gateway Genmask Flags Metric Ref Use > Iface > > 10.48.15.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth1 > > 10.48.15.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth2 > > 10.48.15.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth3 > > 0.0.0.0 10.48.15.1 0.0.0.0 UG 0 0 0 > eth2 > > ================================================ > > Management server is 10.48.15.10. Checking connectivity. > > Good: Can connect to management server port 8250 > > ================================================ > > ERROR: Java process not running. Try restarting the SSVM. >