4 Replies Latest reply on Dec 22, 2011 9:36 AM by René van Wijk

    Not able to start the managed server

    891760
      Hi,

      When i try to start the Managed servr via admin console, the message shows FAILED_NOT_RESTARTABLE. The log file for <Myserver>.out shows the below details

      <Dec 21, 2011 8:32:45 PM> <INFO> <NodeManager> <Server output log file is '/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/logs/ManagedServer.out'>
      .
      .
      JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=256m
      .
      WLS Start Mode=Production
      .
      CLASSPATH=/oradata1/wl1034/Oracle/Middleware/patch_wls1034/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oradata1/wl1034/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oradata1/jdk1.6.0_24/lib/tools.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/oradata1/wl1034/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.4.0.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/oradata1/wl1034/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/oradata1/wl1034/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar:/oradata1/wl1034/Oracle/Middleware/patch_wls1034/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oradata1/wl1034/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oradata1/jdk1.6.0_24/lib/tools.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/oradata1/wl1034/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.4.0.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/oradata1/wl1034/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/oradata1/wl1034/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/oradata1/wl1034/Oracle/Middleware
      .
      PATH=/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/bin:/oradata1/wl1034/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/oradata1/jdk1.6.0_24/jre/bin:/oradata1/jdk1.6.0_24/bin:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/bin:/oradata1/wl1034/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/oradata1/jdk1.6.0_24/jre/bin:/oradata1/jdk1.6.0_24/bin:/usr/bin:/home/weblogic/bin:/oraapps/ora11gR2/app/ora11g22/product/11.2.0/dbhome_1/bin
      .
      ***************************************************
      * To start WebLogic Server, use a username and *
      * password assigned to an admin-level user. For *
      * server administration, use the WebLogic Server *
      * console at http://hostname:port/console *
      ***************************************************
      starting weblogic with Java version:
      java version "1.6.0_24"
      Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
      Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
      Starting WLS with line:
      /oradata1/jdk1.6.0_24/bin/java -server -d64 -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dweblogic.Name=ManagedServer -Djava.security.policy=/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.system.BootIdentityFile=/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/data/nodemanager/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false -server -Dprimavera.bootstrap.home=/poccas/primavera/P6 -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -XX:MaxPermSize=1024m -XX:NewSize=256m -XX:MaxNewSize=1024m -XX:SurvivorRatio=8 -Xms2048m -Xmx2048m -da -Dplatform.home=/oradata1/wl1034/Oracle/Middleware/wlserver_10.3 -Dwls.home=/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server -Dweblogic.management.discover=false -Dweblogic.management.server=http://10.184.134.109:9001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/oradata1/wl1034/Oracle/Middleware/patch_wls1034/profiles/default/sysext_manifest_classpath:/oradata1/wl1034/Oracle/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath weblogic.Server
      Error occurred during initialization of VM
      Could not reserve enough space for object heap
      <Dec 21, 2011 8:32:48 PM> <FINEST> <NodeManager> <Waiting for the process to die: 2310>
      <Dec 21, 2011 8:32:48 PM> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
      <Dec 21, 2011 8:32:48 PM> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>



      The nodemanager log file info as below:

      <Dec 21, 2011 5:57:35 PM> <INFO> <Loading domains file: /oradata1/wl1034/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains>
      <Dec 21, 2011 5:57:40 PM> <INFO> <Loading identity key store: FileName=/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/DemoIdentity.jks, Type=jks, PassPhraseUsed=true>
      <Dec 21, 2011 5:57:40 PM> <INFO> <Loaded node manager configuration properties from '/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.properties'>
      <Dec 21, 2011 5:57:40 PM> <INFO> <p6> <ManagedServer> <Startup configuration properties loaded from "/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/data/nodemanager/startup.properties">
      <Dec 21, 2011 5:57:41 PM> <INFO> <Secure socket listener started on port 5556>
      <Dec 21, 2011 5:59:26 PM> <INFO> <p6> <ManagedServer> <Boot identity properties saved to "/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/data/nodemanager/boot.properties">
      <Dec 21, 2011 5:59:26 PM> <INFO> <p6> <ManagedServer> <Startup configuration properties saved to "/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/data/nodemanager/startup.properties">
      <Dec 21, 2011 5:59:26 PM> <INFO> <p6> <ManagedServer> <Rotated server output log to "/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/logs/ManagedServer.out00023">
      <Dec 21, 2011 5:59:26 PM> <INFO> <p6> <ManagedServer> <Server error log also redirected to server log>
      <Dec 21, 2011 5:59:26 PM> <INFO> <p6> <ManagedServer> <Starting WebLogic server with command line: /oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/bin/startWebLogic.sh >
      <Dec 21, 2011 5:59:26 PM> <INFO> <p6> <ManagedServer> <Working directory is '/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6'>
      <Dec 21, 2011 5:59:26 PM> <INFO> <p6> <ManagedServer> <Rotated server output log to "/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/logs/ManagedServer.out00024">
      <Dec 21, 2011 5:59:26 PM> <INFO> <p6> <ManagedServer> <Server error log also redirected to server log>
      <Dec 21, 2011 5:59:26 PM> <INFO> <p6> <ManagedServer> <Server output log file is '/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/logs/ManagedServer.out'>
      <Dec 21, 2011 5:59:29 PM> <INFO> <p6> <ManagedServer> <Server failed during startup so will not be restarted>
      <Dec 21, 2011 5:59:29 PM> <WARNING> <Exception while starting server 'ManagedServer'>
      java.io.IOException: Server failed to start up. See server output log for more details.
      at weblogic.nodemanager.server.AbstractServerManager.start(AbstractServerManager.java:200)
      at weblogic.nodemanager.server.ServerManager.start(ServerManager.java:23)
      at weblogic.nodemanager.server.Handler.handleStart(Handler.java:604)
      at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:121)
      at weblogic.nodemanager.server.Handler.run(Handler.java:71)
      at java.lang.Thread.run(Thread.java:662)

      <Dec 21, 2011 8:32:45 PM> <INFO> <p6> <ManagedServer> <Boot identity properties saved to "/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/data/nodemanager/boot.properties">
      <Dec 21, 2011 8:32:45 PM> <INFO> <p6> <ManagedServer> <Startup configuration properties saved to "/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/data/nodemanager/startup.properties">
      <Dec 21, 2011 8:32:45 PM> <INFO> <p6> <ManagedServer> <Rotated server output log to "/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/logs/ManagedServer.out00025">
      <Dec 21, 2011 8:32:45 PM> <INFO> <p6> <ManagedServer> <Server error log also redirected to server log>
      <Dec 21, 2011 8:32:45 PM> <INFO> <p6> <ManagedServer> <Starting WebLogic server with command line: /oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/bin/startWebLogic.sh >
      <Dec 21, 2011 8:32:45 PM> <INFO> <p6> <ManagedServer> <Working directory is '/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6'>
      <Dec 21, 2011 8:32:45 PM> <INFO> <p6> <ManagedServer> <Rotated server output log to "/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/logs/ManagedServer.out00026">
      <Dec 21, 2011 8:32:45 PM> <INFO> <p6> <ManagedServer> <Server error log also redirected to server log>
      <Dec 21, 2011 8:32:45 PM> <INFO> <p6> <ManagedServer> <Server output log file is '/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/logs/ManagedServer.out'>
      <Dec 21, 2011 8:32:48 PM> <INFO> <p6> <ManagedServer> <Server failed during startup so will not be restarted>
      <Dec 21, 2011 8:32:48 PM> <WARNING> <Exception while starting server 'ManagedServer'>
      java.io.IOException: Server failed to start up. See server output log for more details.
      at weblogic.nodemanager.server.AbstractServerManager.start(AbstractServerManager.java:200)
      at weblogic.nodemanager.server.ServerManager.start(ServerManager.java:23)
      at weblogic.nodemanager.server.Handler.handleStart(Handler.java:604)
      at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:121)
      at weblogic.nodemanager.server.Handler.run(Handler.java:71)
      at java.lang.Thread.run(Thread.java:662)

      I have tried to increase the -Xms and -Xmx values..but still not able to start the manged server. can somebody help on this..i'm using unix machine and weblogic installed in unix only

      Thanks
      Manohar
        • 1. Re: Not able to start the managed server
          Vishalp-Oracle
          You need to reduce not increase the heap parameter values. Its not able to find contiguous memory for the JVM and thats why its failing to start.

          How much RAM you have? and how much of it is free?
          is JDK 64bit or 32bit?
          • 2. Re: Not able to start the managed server
            Pierluigi Vernetto
            in your command line, -Xmx appears in 2 places with different values. My belief is that only the first one matters.
            Most likely when you try to increase the parameter you change the second, and this changed value is not used by the JVM.


            I think you need to change the parameters in the scripts, not in the "server start" parameters in the managed server configuration (config.xml)
            • 3. Re: Not able to start the managed server
              891760
              Hi, I have tried decreasing the values of -Xms and Xmx but still the same problem occurs..pl find the <myserver>.out file contents

              cat /oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/logs/ManagedServer.out
              <Dec 22, 2011 12:28:10 PM> <INFO> <NodeManager> <Server output log file is '/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/logs/ManagedServer.out'>
              .
              .
              JAVA Memory arguments: -Xms256m -Xmx256m -XX:MaxPermSize=256m
              .
              WLS Start Mode=Production
              .
              CLASSPATH=/oradata1/wl1034/Oracle/Middleware/patch_wls1034/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oradata1/wl1034/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oradata1/jdk1.6.0_24/lib/tools.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/oradata1/wl1034/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.4.0.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/oradata1/wl1034/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/oradata1/wl1034/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar:/oradata1/wl1034/Oracle/Middleware/patch_wls1034/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oradata1/wl1034/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oradata1/jdk1.6.0_24/lib/tools.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/oradata1/wl1034/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.4.0.jar:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/oradata1/wl1034/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/oradata1/wl1034/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/oradata1/wl1034/Oracle/Middleware
              .
              PATH=/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/bin:/oradata1/wl1034/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/oradata1/jdk1.6.0_24/jre/bin:/oradata1/jdk1.6.0_24/bin:/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/bin:/oradata1/wl1034/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/oradata1/jdk1.6.0_24/jre/bin:/oradata1/jdk1.6.0_24/bin:/usr/bin:/home/weblogic/bin:/oraapps/ora11gR2/app/ora11g22/product/11.2.0/dbhome_1/bin
              .
              ***************************************************
              * To start WebLogic Server, use a username and *
              * password assigned to an admin-level user. For *
              * server administration, use the WebLogic Server *
              * console at http://hostname:port/console *
              ***************************************************
              starting weblogic with Java version:
              java version "1.6.0_24"
              Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
              Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
              Starting WLS with line:
              /oradata1/jdk1.6.0_24/bin/java -server -d64 -Xms256m -Xmx256m -XX:MaxPermSize=256m -Dweblogic.Name=ManagedServer -Djava.security.policy=/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.system.BootIdentityFile=/oradata1/wl1034/Oracle/Middleware/user_projects/domains/p6/servers/ManagedServer/data/nodemanager/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false -server -Dprimavera.bootstrap.home=/poccas/primavera/P6 -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -XX:MaxPermSize=256m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:SurvivorRatio=8 -Xms2048m -Xmx2048m -da -Dplatform.home=/oradata1/wl1034/Oracle/Middleware/wlserver_10.3 -Dwls.home=/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/oradata1/wl1034/Oracle/Middleware/wlserver_10.3/server -Dweblogic.management.discover=false -Dweblogic.management.server=http://10.184.134.109:9001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/oradata1/wl1034/Oracle/Middleware/patch_wls1034/profiles/default/sysext_manifest_classpath:/oradata1/wl1034/Oracle/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath weblogic.Server
              Error occurred during initialization of VM
              Could not reserve enough space for object heap
              <Dec 22, 2011 12:28:12 PM> <FINEST> <NodeManager> <Waiting for the process to die: 11043>
              <Dec 22, 2011 12:28:12 PM> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
              <Dec 22, 2011 12:28:12 PM> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>


              RAM Size is 16384 mb and the free space is ( weblogic path)
              /dev/dsk/c0t3d0s0 72298088 54090233 17484875 76% /oradata1

              We are using sun solaris 64 bit and Java also 64 bit...

              Admin server is running and health is OK status. can you pl let me know where i'm missing


              Thanks
              manohar.
              • 4. Re: Not able to start the managed server
                René van Wijk
                You have too little memory available in your machine in order to create the JVM: "Could not reserve enough space for object heap".

                To see what JVM can be created with a certain amount of memory you can use: java -Xms<value>m -Xmx<value>m -version.
                Here you can change the value accordingly, i.e., you start low and see how much memory you can give to the JVM.

                Adding more memory in your machine would certainly help.