Analyze shutdown-sequence ?

Hi,
The problem:
We have desktops (hp) that the user shuts down normally.
The problem is that some (not all) , won't boot correctly the day after.
They are presented with "start windows normally" or "Repair windows".
If they choose "normally" than they are presented with the loginscreen. After filling in the credentials and pressing ENTER, the'll receive the alert that there is "no trust relationship with the AD".
Running the "repair windows" only makes things worse.
QUESTION:
Since there is no way to know what computer will fail next, i can't use Windows Performance Kit tools to do a trace of the shutdown. How can i determine the reason for this strange behaviour?
Can i find this in the eventlog? If so where do i look?
Other suggestions are most welcome?
Kind regards,
Kristof

Hi Kristof,
To get a list of shutdown event with datetime and reason, we can take use of Event Viewer to filter Event ID: 1074 in System Event log.
Run Eventvwr.exe->Windows Logs\System->Right-Click on it and select "Filter Current Log…"->Filter: Event log: System Event ID: 1074
If there is anything else regarding this issue, please feel free to post back.
Best Regards,
Anna Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Similar Messages

  • AccessControlException triggers server shutdown sequence

    All,
    I'm seeing the AccessControlException exception on a Solaris machine and it is
    works fine in win2000. It complains of java.io.FilePermission, but there's no
    file interaction occurring in our app code in this instance. Can anyone see an
    apparent cause from the trace? TIA
    JohnH
    <Feb 12, 2002 3:35:03 PM GMT-05:00> <Notice> <WebLogicServer> <SSLListenThread
    listening on port 7002>
    <Feb 12, 2002 3:35:04 PM GMT-05:00> <Notice> <WebLogicServer> <Started WebLogic
    Admin Server "myserver" for domain "mydomain" running in Development Mode>
    <Feb 12, 2002 3:36:12 PM GMT-05:00> <Error> <HTTP> <[WebAppServletContext(604527,DefaultWebApp_myserver,/DefaultWebApp_myserver)]
    Servlet failed with Exception
    java.security.AccessControlException: access denied (java.io.FilePermission /opt/weblogic/wlserver6.1/config/mydomain/applications/DefaultWebApp_myserver/com/clientCo/web/error/WebExpiredException.class
    read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
    at java.io.File.exists(File.java:546)
    at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:194)
    at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:142)
    at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:54)
    at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:54)
    at weblogic.utils.classloaders.MultiClassFinder.getClassSource(MultiClassFinder.java:46)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:264)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:155)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:45)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at com.clientCo.web.DNActionServlet.service(DNActionServlet.java:32)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:263)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2390)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    <Feb 12, 2002 3:36:12 PM GMT-05:00> <Error> <Kernel> <ExecuteRequest failed
    java.security.AccessControlException: access denied (java.io.FilePermission /opt/weblogic/wlserver6.1/config/mydomain/applications/DefaultWebApp_myserver/htms/errorPage.jsp
    read)
    at java.security.AccessControlContext.checkPermission(AccessControlConte
    ===============================================================================
    to save configuration changes to the configuration repository - weblogic.management.configuration.ConfigurationException:
    error saving out mydomain - with nested exception:
    [java.security.AccessControlException: access denied (java.io.FilePermission ./config/mydomain
    write)].>
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Emergency> <WebLogicServer> <ListenThread.run()
    failed: java.security.AccessControlException: access denied (java.net.SocketPermission
    10.159.2.38:1631 accept,resolve)
    java.security.AccessControlException: access denied (java.net.SocketPermission
    10.159.2.38:1631 accept,resolve)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkAccept(SecurityManager.java:1162)
    at java.net.ServerSocket.implAccept(ServerSocket.java:247)
    at java.net.ServerSocket.accept(ServerSocket.java:222)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:255)
    >
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Emergency> <WebLogicServer> <The WebLogic
    Server is no longer listening for connections. You should probably restart it.>
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Alert> <WebLogicServer> <Server shutdown
    has been requested by system>
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Alert> <WebLogicServer> <The shutdown sequence
    has been initiated.>
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Emergency> <WebLogicServer> <ListenThread.run()
    failed: java.lang.ThreadDeath
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:581)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:854)
    at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:597)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    >
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Emergency> <WebLogicServer> <The WebLogic
    Server is no longer listening for connections. You should probably restart it.>
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Alert> <WebLogicServer> <Server shutdown
    has been requested by system>
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Alert> <WebLogicServer> <The shutdown sequence
    has been initiated.>
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Error> <Management> <Internal error. Failed
    to save configuration changes to the configuration repository - weblogic.management.configuration.ConfigurationException:
    error saving out mydomain - with nested exception:
    [java.security.AccessControlException: access denied (java.io.FilePermission ./config/mydomain
    write)].>
    <Feb 12, 2002 3:46:20 PM GMT-05:00> <Critical> <Kernel> <Execute Thread: 'ExecuteThread:
    '0' for queue: 'default'' stopped.>
    # WebExpiredException: not found

    just a thought...
    try to start weblogic by specifying your own policy file(which grants all
    permissions) and see if this resurfaces
    - Rajeev
    "John Hogan" <[email protected]> wrote in message
    news:[email protected]...
    >
    All,
    I'm seeing the AccessControlException exception on a Solaris machine andit is
    works fine in win2000. It complains of java.io.FilePermission, butthere's no
    file interaction occurring in our app code in this instance. Can anyonesee an
    apparent cause from the trace? TIA
    JohnH
    <Feb 12, 2002 3:35:03 PM GMT-05:00> <Notice> <WebLogicServer><SSLListenThread
    listening on port 7002>
    <Feb 12, 2002 3:35:04 PM GMT-05:00> <Notice> <WebLogicServer> <StartedWebLogic
    Admin Server "myserver" for domain "mydomain" running in Development Mode>
    <Feb 12, 2002 3:36:12 PM GMT-05:00> <Error> <HTTP><[WebAppServletContext(604527,DefaultWebApp_myserver,/DefaultWebApp_myserver
    Servlet failed with Exception
    java.security.AccessControlException: access denied(java.io.FilePermission
    /opt/weblogic/wlserver6.1/config/mydomain/applications/DefaultWebApp_myserve
    r/com/clientCo/web/error/WebExpiredException.class
    read)
    atjava.security.AccessControlContext.checkPermission(AccessControlContext.java
    :272)
    atjava.security.AccessController.checkPermission(AccessController.java:399)
    atjava.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
    at java.io.File.exists(File.java:546)
    atweblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:194)
    atweblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:142)
    atweblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java
    :54)
    atweblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java
    :54)
    atweblogic.utils.classloaders.MultiClassFinder.getClassSource(MultiClassFinder
    .java:46)
    atweblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLo
    ader.java:264)
    atweblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
    java:155)
    atweblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClas
    sLoader.java:45)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    atcom.clientCo.web.DNActionServlet.service(DNActionServlet.java:32)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :263)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2390)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    <Feb 12, 2002 3:36:12 PM GMT-05:00> <Error> <Kernel> <ExecuteRequestfailed
    java.security.AccessControlException: access denied(java.io.FilePermission
    /opt/weblogic/wlserver6.1/config/mydomain/applications/DefaultWebApp_myserve
    r/htms/errorPage.jsp
    read)
    atjava.security.AccessControlContext.checkPermission(AccessControlConte
    >
    >
    ============================================================================
    ===
    >
    to save configuration changes to the configuration repository -weblogic.management.configuration.ConfigurationException:
    error saving out mydomain - with nested exception:
    [java.security.AccessControlException: access denied
    (java.io.FilePermission ./config/mydomain> write).>
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Emergency> <WebLogicServer><ListenThread.run()
    failed: java.security.AccessControlException: access denied(java.net.SocketPermission
    10.159.2.38:1631 accept,resolve)
    java.security.AccessControlException: access denied(java.net.SocketPermission
    10.159.2.38:1631 accept,resolve)
    atjava.security.AccessControlContext.checkPermission(AccessControlContext.java
    :272)
    atjava.security.AccessController.checkPermission(AccessController.java:399)
    atjava.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    atjava.lang.SecurityManager.checkAccept(SecurityManager.java:1162)
    at java.net.ServerSocket.implAccept(ServerSocket.java:247)
    at java.net.ServerSocket.accept(ServerSocket.java:222)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:255)
    >
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Emergency> <WebLogicServer> <TheWebLogic
    Server is no longer listening for connections. You should probably restartit.>
    >
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Alert> <WebLogicServer> <Servershutdown
    has been requested by system>
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Alert> <WebLogicServer> <The shutdownsequence
    has been initiated.>
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Emergency> <WebLogicServer><ListenThread.run()
    failed: java.lang.ThreadDeath
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:581)
    at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:854)
    at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:597)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    >
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Emergency> <WebLogicServer> <TheWebLogic
    Server is no longer listening for connections. You should probably restartit.>
    >
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Alert> <WebLogicServer> <Servershutdown
    has been requested by system>
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Alert> <WebLogicServer> <The shutdownsequence
    has been initiated.>
    <Feb 12, 2002 3:45:59 PM GMT-05:00> <Error> <Management> <Internal error.Failed
    to save configuration changes to the configuration repository -weblogic.management.configuration.ConfigurationException:
    error saving out mydomain - with nested exception:
    [java.security.AccessControlException: access denied
    (java.io.FilePermission ./config/mydomain> write).>
    <Feb 12, 2002 3:46:20 PM GMT-05:00> <Critical> <Kernel> <Execute Thread:'ExecuteThread:
    '0' for queue: 'default'' stopped.>
    # WebExpiredException: not found

  • Startup and shutdown sequence in RAC on Linux

    I am trying to understand the start-up and shutdown sequence in 11g R2 RAC on Linux(OEL5.8).
    can you please share me docs or sequence.

    Hi Friend,
    Example : Two node RAC. RAC1 and RAC2 instances.
    Stopping RAC2 Instance :
    =========================
    1. Shutdown the Instance running on RAC2
    2. ./srvctl stop asm -n csbppmaadbs02
    3. ./srvctl stop nodeapps -n csbppmaadbs02
    4. ./srvctl stop listener -n csbppmaadbs02
    5. Check "./crs_stat -t"
    Note 1 : Check the following also for healthy status & If any service of RAC that also we have to check.
    6./crsctl check crs
    CSS appears healthy
    CRS appears healthy
    EVM appears healthy
    Starting RAC2 Instance
    =========================
    1 ./srvctl start nodeapps -n csbppmaadbs02
    2 ./crs_stat -t
    3 ./srvctl start listener -n csbppmaadbs02
    4 ./srvctl start asm -n csbppmaadbs02
    5. Start the Instance of RAC2
    6. ./crs_stat -t
    Hope it helps...
    Thanks
    LaserSoft

  • "Ignore Sessions During Shutdown" and "Graceful Shutdown Sequence"

    Hi
    I have J2EE application consisting of WEB and EJB layers deployed on WL 8.1
    I start the Graceful Shutdown Sequence with Ignore Sessions During Shutdown option set. sessionDestroyed() method of registered HttpSessionListener is fired but at this moment JNDI tree is already empty, EJB module undeployed and the listener is not able to get to application's EJBs.
    In the documentation (http://e-docs.bea.com/wls/docs81/adminguide/overview_lifecycle.html#1045901) Ignore Sessions During Shutdown option is explained as follows:
    "If you enable this option WebLogic Server will drop all HTTP sessions immediately, rather than waiting for them to complete or timeout."
    What does "drop" mean here? Is this some exception to Graceful Shutdown Sequence and the following excerpt from the documentation? : "During a graceful shutdown, subsystems complete in-flight work and suspend themselves in a specific sequence and in a synchronized fashion, so that back-end subsystems like JDBC connection pools are available when front-end subsystems are suspending themselves."
    Regards

    Hi,
    You can use tcodes
    SMQR --> To register a queue
    SMQS --> To register a destination in Queue Schedular
    SMQ1 --> OutBound Queue Details
    SMQ2 --> Inbound Queue Details
    SXMB_ADMIN --> Manage Queue to register,deregister and activate the queue.
    Check the link for more details : http://help.sap.com/saphelp_nw04/helpdata/en/59/d9fa40ee14f26fe10000000a1550b0/frameset.htm
    For step details for server start/stop you can search on google for more details. And for an idea check the section Managing the SAP Start-Up Service via the SAP MMC Snap-In in the link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3e3fad90-0201-0010-2f91-c8907db40bfe
    Thanks!
    Edited by: sudhir tiwari on Nov 12, 2008 12:00 PM

  • Solaris 10 shutdown sequence

    Hi everyone,
    I'd like to take control of Solaris 10 shutdown sequence, to run own process just after svc.startd ends (remounts rootfs read-only) and before system is halted. My process sends some data to serial port to shutdown UPS system. Unfortunately /sbin/rc0 script is executed too early and causes unclean shutdown.
    Is this a method to take control of shutdown sequence?
    Best regards.
    Tom.

    TomCP wrote:
    The idea with patching OBP is very good but is it possible to work?I had tried a test of patching OBP 3.10.24 on a Netra t1-105. All it does is to write the string "Shutdown the UPS" to Serial Port A but it shows it is possible to patch OBP.
    The built in power-off command was:
    ok see power-off
    : power-off
       0 (f005ead4) (f005e7b8) 64 ms 1 (f005ead4) (f005e7b8) 3e8 ms
    ;To test the changes first create a new word to output a string and then contain the first word of power-off, which in this case was *0*
    ok : shutdown-ups
    ] cr ." Shutdown the UPS " cr 0
    ] ;Then patch the new word into the start of power-off:
    ok patch shutdown-ups 0 power-offAnd test what happens when the modifed power-off is executed:
    ok power-off
    Shutdown the UPS
    lom>To make the patch to power-off permanent, append to the end of nvramrc (the cd ttyb to device end lines were existing modifications)
    ok printenv nvramrc
    nvramrc =             cd ttyb
                          0 0 " ignore-cd" property
                          device-end
                          cd ttya
                          0 0 " ignore-cd" property
                          device-end
                          : shutdown-ups
                          cr ." Shutdown the UPS " cr 0
                          patch shutdown-ups 0 power-offAs a final test, executed a shutdown from Solaris and checked the test "Shutdown the UPS" string appeared:
    # shutdown -i5 -y -g0
    Shutdown started.    Tue Mar 11 01:02:55 GMT 2008
    Changing to init state 5 - please wait
    Broadcast Message from root (console) on netra-t1 Tue Mar 11 01:02:55...
    THE SYSTEM netra-t1 IS BEING SHUT DOWN NOW ! ! !
    Log off now or risk your files being damaged
    # svc.startd: The system is coming down.  Please wait.
    svc.startd: 70 system services are now being stopped.
    Mar 11 01:03:13 netra-t1 rpcbind: rpcbind terminating on signal.
    SUNW,pci-gem0: Could not Establish Link -- Check if the cable is plugged in.
    svc.startd: The system is down.
    syncing file systems... done
    Shutdown the UPS
    lom>

  • 11gR2 database startup/shutdown sequences..

    Hi All,
    I would like to know how can we startup/shutdown the 11gr2 rac/standalone database in production environment,bcoz in 11gr2 the ocr and voting disk
    are resides in ASM.In general we follow some sequence to start/stop the database like below.
    SHutdown DB
    +++++++++++
    1.stop the application
    2.stop the listener
    3.stop the database
    4.stop the asm and cluster services
    Startup
    +++++++++
    1.startt the clusterservices and asm
    2.start the db
    3.start the listener
    4.start the application
    SO in 11gr2 how can we stop/start the database?
    Regards,
    Mugunth

    Correct
    Stop on each node :
    emctl stop dbconsole
    srvctl stop database -d db_name
    srvctl stop asm -n node_name
    srvctl stop nodeapps -n node_name --> in 11.2 stops only ONS and eONS because of some dependencies.
    crsctl stop crs --root
    Or stop csr on all nodes of clusterware:
    crsctl stop cluster -all
    Start : start from bottom to up

  • Analyzer Shutdown

    Hi
    When i open the bex analyzer and selecting the report, variable screen is popping up. When i click on the variable screen to enter the values, application gets shut down. This is happening all the time. What is to be checked to correct the problem. There is no message displayed as well. Application just shuts.
    Thanks
    Annie

    Hi,
    It looks like Operating system is terminating the application due to some error. check in Event View for error message.
    To open event viewer:
    http://support.microsoft.com/kb/308427
    Regards,
    Pruthvi R

  • VMWare Host and Guest Shutdown Sequence

    I have 2 hosts with various guests dispersed between the two. Is there a way to set the priority of which host starts the process to shut down first? Say I want to have Host2 powered off first since it holds the second DC and have it power up in the reverse order with Host1 powering itself and the guests on first when power is restored. The Guest OS sequence is fine on each host. Maybe I am overthinking this as well.
    The UPS running the rack is a TrippLite with and SNMPWEB card in it. I haven't set up the PowerAlert software yet.
    This topic first appeared in the Spiceworks Community

    Hi again
    Is this a Windows issue?
    If the local (host) machine ip is added to the Windows hosts file with the name home it will NOT resolve.
    Any ideas?
    Thx
    G

  • Startup and shutdown sequence in MSCS clustered EP

    Hi,
    We are running an Enterprise portal in a clustered environment with 2 nodes (HA). Please advice the best practice
    on startup and shutdown order and procedures for the instances, SCS, CI and database and cluster (nodes).
    This is essential for maintenance and patching.
    Thanks and regards,

    Hi, 
    Your wish you can stop using cluster manager or using script.
    You should always shut your central instance lastly,enque server should be also shutdown before the central instance,as far as i know.
    Regards,
    Vamshi.

  • Always a crash at the end of shutdown sequence

    For several months now, I can't shut down my MacBook Pro anymore. After all programs stopped in the shutting down sequence I get the spinning beach ball when only the desktop wallpaper is in view and no programs seem to be working anymore. I have to force shut down every time with the power button.
    Any tips to have a normal shut down again?

    It might be worth booting from your install disc and navigating to Disk Utility and repairing your boot disk.
    Also, you might try running SMART Utility to check out the health of your hard drive:
    http://www.apple.com/downloads/macosx/systemdiskutilities/smartutility.html
    You can download the demo and run it several times for free. If your hard drive is headed south, that could be part of the problem.
    Good luck!

  • How to control service shutdown sequence of dependent services

    I am running three java applications say A,B,C as windows services with A having dependency on B and B having dependency on C.
    Which means when you start A, It shall automatically start services B and C (Java programs running as service). And also when you stop C ,it shall stop first B and then A.
    Problem I am facing is when you stop C. Windows first stop A then B.
    I am able to register java applications as windows services with dependencies.Problem is when u stop service,Windows send signal to all the dependent services to stop and thus I am not able to control order in which services stop
    Any help is appreciated
    regards

    In your web.xml, under the servlet tag, make A.jsp be loaded the first, at your web app 's startup:
    <jsp-file>A.jsp</jsp-file>
    <load-on-startup>0</load-on-startup>
    ...

  • Error in shutdown script for bea weblogic

    We have this error in the shutdown script of our bea weblogic:
    ./stopWebLogic.sh[33]: -Xms256m: not found.
    using the Oracle OCI database driver
    Shutdown initiated
    The shutdown sequence has been initiated.the script is as follows:
    echo "using the Oracle OCI database driver"
    export ORACLE_HOME=/opt/oracle/product/8.1.7
    export NLS_LANG=AMERICAN_AMERICA.UTF8
    export ORACLE_CLIENT_VERSION=817
    export ORACLE_API_VERSION=8
    PATH=$PATH:$ORACLE_HOME/bin
    SHARED_LIBRARY_PATH=$WEBLOGIC_HOME/lib/hpux11:$WEBLOGIC_HOME/lib/hpux11/oci$ORACLE_CLIENT_VERSION\_$ORACLE_API_VERSION:$ORACLE
    _HOME/lib
    PATH=$JDK_HOME/bin:$PATH
    export PATH
    # Set application specific variables
    DOMAIN_NAME=eGovStarters
    SERVER_NAME=MyServer
    WLS_PW=weblogic
    # change to domain directory
    cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
    # Allow other users in group to see created files - i.e. logfiles
    umask 027
    # Set system classpath initially to contain WebLogic product JARs
    CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
    #!/bin/sh
    # Weblogic start script for egovernment
    # Based on Colin Brick's initial version
    # Modified 02/04/03 - Colin Brick
    #       - included settings for Oblix from using SSO Assembly Test as example
    # Set General environment variables (Should normally not be changed)
    #Java settings
    JDK_HOME=/opt/bea/jdk131/
    export JDK_HOME
    JAVACMD=java
    JAVA_OPTIONS=""-server -Xms1024m -Xmx1024m -Xmn320m -XX:SurvivorRatio=8 -Xverbosegc:file=/opt/bea/wlserver6.1/config/eGovStart
    ers/logs/gc.log -Dweblogic.system.gc.enabled=false ""
    export JAVA_OPTIONS
    WEBLOGIC_PORT=51080
    #Bea settings
    BEA_HOME=/opt/bea
    export BEA_HOME
    WEBLOGIC_HOME=/opt/bea/wlserver6.1
    export WEBLOGIC_HOME
    BEA_SECURITY_POLICY=/opt/bea/wlserver6.1/lib/weblogic.policy
    export  BEA_SECURITY_POLICY
    #Oracle settings
    echo "using the Oracle OCI database driver"
    export ORACLE_HOME=/opt/oracle/product/8.1.7
    export NLS_LANG=AMERICAN_AMERICA.UTF8
    export ORACLE_CLIENT_VERSION=817
    export ORACLE_API_VERSION=8
    PATH=$PATH:$ORACLE_HOME/bin
    SHARED_LIBRARY_PATH=$WEBLOGIC_HOME/lib/hpux11:$WEBLOGIC_HOME/lib/hpux11/oci$ORACLE_CLIENT_VERSION\_$ORACLE_API_VERSION:$ORACLE
    _HOME/lib
    PATH=$JDK_HOME/bin:$PATH
    export PATH
    # Set application specific variables
    DOMAIN_NAME=eGovStarters
    SERVER_NAME=MyServer
    WLS_PW=weblogic
    # change to domain directory
    cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
    # Allow other users in group to see created files - i.e. logfiles
    umask 027
    # Set system classpath initially to contain WebLogic product JARs
    CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
    domain_NAME=eGovStarters
    SERVER_NAME=MyServer
    WLS_PW=weblogic
    # change to domain directory
    cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
    # Allow other users in group to see created files - i.e. logfiles
    umask 027
    # Set system classpath initially to contain WebLogic product JARs
    CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
    #Set the shared library path
    if [ -n "$SHLIB_PATH" ]; then
            SHLIB_PATH=$SHLIB_PATH:$SHARED_LIBRARY_PATH
    else
            SHLIB_PATH=$SHARED_LIBRARY_PATH
    fi
    export SHLIB_PATH
    # Start weblogic
    # change to weblogic home
    cd $WEBLOGIC_HOME
    PATH=$WL_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:$PATH
    $JAVACMD -classpath $CLASSPATH -Dbea.home=$BEA_HOME -Dweblogic.Domain=$DOMAIN_NAME -Dweblogic.Name=MyServer weblogic.Admin -ur
    l t3://localhost:$WEBLOGIC_PORT -username system -password $WLS_PW SHUTDOWNIt has obviously something to do with the line
    JAVA_OPTIONS=""-server -Xms1024m -Xmx1024m -Xmn320m -XX:SurvivorRatio=8 -Xverbosegc:file=/opt/bea/wlserver6.1/config/eGovStart
    ers/logs/gc.log -Dweblogic.system.gc.enabled=false ""I googled for this Xms1024m, Xmx1024m and it turns out to be for memory management for the java virtual machine.
    I don't know why it sais it can't find "-Xms256m" since it's not in the script.
    Anyone with some experience in this field who can help me out?

    ./stopWebLogic.sh[33]: -Xms256m: not found.
    this can be produced by something like this:
    javaoptions="-Xms256m" // or other option too
    $javacmd $javaoptions
    Now if javacmd has not been set, then $javacmd will be evaluated to the empty string, and the program to look for is the first part in $javaoptions, -Xms256m in our case.

  • Unexplained power-off/shutdown

    Hi, I have a year-old white MacBook, all has been great with it but this has happened a few times now which concerns me!
    I went to use my Mac last night and mid-way through using Firefox the Mac powered down with no warning. No shutdown sequence, no low battery warning, it just went CLUNK and switched itself off, as if someone had pulled the battery from it. Upon switching back on all was fine and Firefox restored my tabs, TextEdit restored all my notes, etc. so it was definitely some form of unexplained crash!
    Any ideas on what could be causing this? Is there a crash log somewhere that I could look at?
    I can't see this being an overheating issue as I'd literally just come back to my Mac after leaving it in sleep mode for several hours.
    Any help would be appreciated!

    Hello,
    Thanks for your reply - didn't realise the Console application even existed, should hopefully give some clues as to what this problem is.
    I came home tonight to find my Mac had shutdown again after having disconnected it from the power supply before I left. The last few entries in the log before power off were these:
    19/02/2009 18:36:26 com.apple.launchd[153] ([0x0-0x1ef1ef].com.apple.AddressBook.abd[3574]) Check-in of Mach service failed. PID 3574 is not privileged: com.apple.AddressBook.abd
    19/02/2009 19:36:26 com.apple.launchd[153] ([0x0-0x1f21f2].com.apple.AddressBook.abd[3686]) Check-in of Mach service failed. PID 3686 is not privileged: com.apple.AddressBook.abd
    19/02/2009 19:45:54 [0x0-0x120120].com.adiumX.adiumX[2085] ** (process:2085): CRITICAL **: file /Users/evands/pidgin-for-adium/libpurple/protocols/msn/slplink.c: line 588 (msnslplink_processmsg): should not be reached
    19/02/2009 20:36:27 com.apple.launchd[153] ([0x0-0x1f71f7].com.apple.AddressBook.abd[3804]) Check-in of Mach service failed. PID 3804 is not privileged: com.apple.AddressBook.abd
    If it was Adium it would be a fairly easy problem to fix, I'd just delete it along with all the preference files etc. but surely the address book wouldn't cause this?
    Any help would be really, really appreciated as I have no idea what I'm looking for.
    Cheers.
    Ade

  • How do I play an audio file on shutdown?

    I have a .aif file that plays the "auto shutdown sequence in progress" parody from Star Trek.
    In classic, I put it into a shutdown folder and it played on shut down. It won't work on Tiger, no such folder.
    I don't know anything about scripting and if I did, I don't know where to put the finished script so it activates on shutdown.
    I attempted:
    tell application "Finder"
    activate
    select window of desktop
    select window of desktop
    open document file "autoshutdown.aif" of folder "Desktop" of folder "ttruscott" of folder "Users" of startup disk
    select window of desktop
    end tell
    which on run does open QuickTime but doesn't start to play...
    And if it did run, where do I store it?

    You're taking a too-literal approach with your script.
    The Finder doesn't need to be involved in this at all. All you're doing with your script is opening some windows (not needed) and telling the Finder to open a document. As you've found there's nothing that actually tells anything to play the sound (for all the Finder knows you could be telling it to open a Word document, or a JPEG image, or any number of other files.
    An alternative approach is to target the application directly. Since you're opening the sound file in QuickTime Player you'd be better off with something like:
    tell application "QuickTime Player"
    play (alias "HD:Users:ttruscott:Desktop:autoshutdown.aif")
    end tell
    The issue you may have is in launching this. The OS will balk at launching a new application (e.g. QuickTime Player) once it's been told to shut down. This may mean that you need to have QuickTime Player running before you initiate the shutdown, which is going to be harder to manage.

  • Sytem sleep vs. Shutdown

    Greetings !
    I have been reading about this here on the board a lot. There seems to be strong support for either option.
    For a relative layman, it's pretty confusing.
    Is there a "right" way at all ?

    Igor_G5 wrote:
    I always heard that shutting down and starting up was stressful to the components due to heating up an cooling down. I keep mine running.
    That's an argument for never powering down, but it doesn't help the question posed by the thread. Sleep and shut down will both cause up-and-down cycling of both temperature and power level in the components. So in theory it may be best to keep the computer running at full power. But...
    Laptop sales are outrunning desktops, so the percentage of computers that are portable is growing and possibly the majority now. A desktop user can opt to prevent both sleep and shutdown, optimizing for the avoidance of cycling-based stresses. But laptop users must cycle power and temperature at some point (by closing the lid to sleep it), because it's dangerous to transport a laptop that's running at full power. So whether or not you worry about stress due to power/temperature cycling, if you have a laptop you can't really avoid it. Therefore I would say don't worry about it. Furthermore, I am not convinced that cycling stress is a big deal. I think we would see more prematurely dying laptops if it was the case.
    I think it is more likely that whatever difference cycling makes is probably outside the normal lifespan of these devices. What does it matter if leaving the computer on makes it last 10 years instead of 9, when you're going to replace it before 5 or 6 years anyway?
    What we are left with, is the overriding advantage of sleep over shutdown. You don't have to close down all your apps and docs if you sleep. You do not have to wait for the startup or shutdown sequence to complete. You simply wake, and everything is exactly as you left it. Sleep gives you the advantage of an instant-on computer, which is important if you're working on a project where you have multiple apps and multiple documents open and scrolled to specific pages. What a pain to reconstruct all that after a restart. That's why I only shut down or reboot every few weeks. This advantage was not covered in the incomplete linked article above. I seriously think sleep wins.

Maybe you are looking for

  • Skype for windows phone 8.1 is completely broken

    Skype tells me that I have an notification but it doesnt even tell me from who and when I try to send a message it doesnt even send it just sits there with that spinnng circle forever even when i'm talking to that person right now on the desktop app.

  • Create an interactive digital brochure

    Which of the Adobe Suite applications is best suited to create an interactive digital brochure? I am new to Creative Coud and fairly new to most of the Adobe Apps but wanting to learn. Indesign or Illustrator plus which others? I want to be able to v

  • Ios7 how do u delete part of conversations on your text messages?

    since updating to ios7 a couple of days ago i cannot seem to work out how to delete part of conversations in your messages? not the whole message just part of the conversations like u used to be able to thanks

  • Can't boot from Recovery or USB Install Drive

    Hi Folks, My (mid-2011) MacBook Pro [Mavericks (10.9)] is not booting up – not matter what I try. I've tried booting into Recovery (using command-R), Internet Recovery, and tonight I finally created a bootable USB install drive – no luck there either

  • Problem in loading Master data

    Hi, I have a master data called 0VENDOR. It has both attribute and text. it has several attributes and only 0VENDOR and its description are filled with data and rest not. Now i am trying to load data but records are transferring but not getting added