Automatically Shutdown Database During VMware Server 'Shut Down Guest'

I have 10g Enterprise Edition Release 10.2.0.4.0 running on Windows Server 2003 R2 under VMware Server version 2.0.0.
I 'Power On' the VM and the OS/database start normally. I don't even open the guest OS console from VMware. I use TOAD and SQLPlus from the host machine to access my database.
I'm trying to set up the database to do a clean shutdown when I use the VMware console to 'Shut Down Guest'.
I've used the Group Policy Object Editor (gpedit.msc) to create a shutdown script under 'Local Computer Policy/Computer Configuration/Windows Settings/Scripts (Startup/Shutdown)/Shutdown'.
The shutdown script is called Shutdown.bat and contains:
rem adding the first two lines didn't affect anything, so I REMed them
rem set ORACLE_SID=mysid
rem set ORACLE_HOME=c:\oracle\product\10.2.0\db_1
C:\oracle\product\10.2.0\db_1\bin\oradim -shutdown -sid mysid -shutmode immediate -log C:\oracle\product\10.2.0\db_1\database\oradim.log
exit
I get this in the oradim.log:
Wed Apr 15 13:16:50 2009
C:\oracle\product\10.2.0\db_1\bin\oradim -shutdown -sid mysid -shutmode immediate -log C:\oracle\product\10.2.0\db_1\database\oradim.log
Wed Apr 15 13:16:51 2009
ORA-12560: TNS:protocol adapter error
I get this in sqlnet.log:
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oraclemysid)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=mysid)(CID=(PROGRAM=C:\oracle\product\10.2.0\db_1\bin\oradim.exe)(HOST=myserver)(USER=OraUser))))
VERSION INFORMATION:
     TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
     Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.4.0 - Production
Time: 15-APR-2009 13:16:51
Tracing not turned on.
Tns error struct:
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
nt secondary err code: 2
nt OS err code: 0
Note: If I open the guest OS console and execute the Shutdown.bat file as myself (I'm in the administrator and ora_dba groups), it works perfectly ... as does opening SQLPlus and issuing 'shutdown immediate'.
I'm stuck. Any ideas?
Thanks.

We are also having the same issue. We create a shutdown script via the Group Policy editor which works fine if we do a manual shutdown, but if we do a remote shutdown ex: "shutdown /r /f /m <servername /t 120", it does not work, the Database crash.
As mentionned the script works when we do a manual shutdown but does not work for a remote shutdown. The group policy script contains the following:
echo Rebooting server START at %DATE% %TIME% >> E:\oracle\product\admin\test\Reboot.log
net stop <Oracle servicename>
echo Rebooting server MIDDLE at %DATE% %TIME% >> E:\oracle\product\admin\test\Reboot.log
net stop <Oracle servicename>
echo Rebooting server END at %DATE% %TIME% >> E:\oracle\product\admin\test\Reboot.log
After the reboot we see all the echoed line in the "reboot.log" file but the "net stop" doesn't get executed or failed since the database crash and recovers
Any ideas/feedback ?
Thanks

Similar Messages

  • Create a windows script to automate shutdown databases during maintainance

    Can any one please me the script to automate shutdown databses during maintainance.
    The script would be scheduled from the Windows server and will be shutting down databases hosted in AIX server .
    Windows server will interact with Aix servers using SQLPLUS COMMANDS (TNSNAMES).
    Please let me know because I am working on this issue and it needs to be resolved.

    There are thousands of scripts available, just google it. In creation/execution of your script, if you face any problem or see any errors than you can come here and post it.

  • Suddenly WebLogic Server shutting down while doing testing

    Hi All,
    While we doing testing weblogic server shutting down.Here is the log generated by weblogic.
    Tue Aug 22 12:38:27 EDT 2000:<E> <ListenThread> Listen failed. Failure count: 1
    Tue Aug 22 12:38:27 EDT 2000:<E> <ListenThread> ListenThread:run failed:
    Tue Aug 22 12:38:27 EDT 2000:<E> <ListenThread> **** The WebLogic Server is no longer listening for connections.
    Tue Aug 22 12:38:27 EDT 2000:<E> <ListenThread> **** You should probably restart it.
    Tue Aug 22 12:38:27 EDT 2000:<I> <WebLogicServer> Server shutdown by system
    Tue Aug 22 12:38:27 EDT 2000:<I> <WebLogicServer> Server shutdown commencing NOW
    Tue Aug 22 12:38:28 EDT 2000:<I> <HTTP> Destroying servlets in default servlet context.
    Tue Aug 22 12:38:28 EDT 2000:<E> <SSLListenThread> ListenThread:run failed:
    Please let me know the reason for this.It's very very urgent.
    Thanks
    Venkat

    See case #188305. There is not a whole lot of information there and we really don't like to reproduce this.
    If it happens again we will add more info to the case. In the log file we have seen 'class not found' for
    weblogic.utils.... classes before it shuts down. Boot it again under no load and it comes up fine.
    Mike.
    Kumar Allamraju <[email protected]> wrote:
    Hmm.. that's interesting.
    What version of WLS, SP-level? what 's the avg load that you are putting on WLS? Is it in a clustered environment? what
    the min/max heap size, executeThreadCount etc...
    Any other details that you can provide us would be helpful for us to debug further.
    Kumar
    Michael Reiche wrote:
    Kumar -
    We have seen this as well when load testing. It's hard to ignore the WL server shutting down by itself for no reason.
    Mike Reiche
    Kumar Allamraju <[email protected]> wrote:
    You will only see this, if WLS shutdown is commenced and if you try to PING the server.
    you can safely ignore it.
    Kumar
    Venkat wrote:
    Hi All,
    While we doing testing weblogic server shutting down.Here is the log generated by weblogic.
    Tue Aug 22 12:38:27 EDT 2000:<E> <ListenThread> Listen failed. Failure count: 1
    Tue Aug 22 12:38:27 EDT 2000:<E> <ListenThread> ListenThread:run failed:
    Tue Aug 22 12:38:27 EDT 2000:<E> <ListenThread> **** The WebLogic Server is no longer listening for connections.
    Tue Aug 22 12:38:27 EDT 2000:<E> <ListenThread> **** You should probably restart it.
    Tue Aug 22 12:38:27 EDT 2000:<I> <WebLogicServer> Server shutdown by system
    Tue Aug 22 12:38:27 EDT 2000:<I> <WebLogicServer> Server shutdown commencing NOW
    Tue Aug 22 12:38:28 EDT 2000:<I> <HTTP> Destroying servlets in default servlet context.
    Tue Aug 22 12:38:28 EDT 2000:<E> <SSLListenThread> ListenThread:run failed:
    Please let me know the reason for this.It's very very urgent.
    Thanks
    Venkat

  • Activation server shut down for Creative Suite 2, Acrobat 7, and Macromedia products

    Effective December 13, Adobe disabled the activation server for CS2 products and Acrobat 7 because of a technical glitch. These products were released over 7 years ago and do not run on many modern operating systems. But to ensure that any customers activating those old versions can continue to use their software, we issued a serial number directly to those customers.  While this might be interpreted as Adobe giving away software for free, we did it to help our customers.
    If your software is affected by the activation server shut down then you will receive an error that the Activation server is unavailable.  The specific affected products are as follows:
    Acrobat 7.0 - Windows
    After Effects 7.0
    Audition 3.0
    Captivate 1.0
    Contribute 2.0
    Contribute 3.0
    Creative Suite 2.0
    Director MX 2004
    Dreamweaver MX 2004
    Fireworks MX 2004
    Flash Paper 2.0
    Freehand MX
    GoLive CS2
    GoLive 9.0
    Illustrator CS2
    InCopy CS2
    InDesign CS2
    Macromedia Studo MX 2004
    Photoshop CS
    Photoshop CS2
    Photoshop Elements 4.0
    Photoshop Elements 5.0
    Premiere Pro 7.0
    Production Studio Premium
    The activation server being shut down will not affect currently installed and activated Adobe software.  You will only face this difficulty if you need to reactivate the software.
    To remedy this difficulty we have made available a version of these software titles that does not require activation for Users who have previously purchase the affected software.  For additional details and specific links to the software please see:
    Error: Activation Server Unavailable | CS2 products, Acrobat 7 - http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.html
    Error: Activation Server Unavailable | Macromedia branded products - http://helpx.adobe.com/x-productkb/policy-pricing/macromedia-legacy-activation-error.html
    If the software title you have purchased is affected by the activation server being shut down, but is not available for download in the previously referenced pages, then please contact our support team at http://www.adobe.com/support/chat/ivrchat.html.  Please be aware our support team will not be able to provide assistance for downloading or installing the Creative Suite 2 software.
    System requirements
    Creative Suite 2 software was only designed to run in the following operating environments:
    Mac OS X v.10.2.8–v.10.3.8. PowerPC® G4 or G5 processor
    Microsoft® Windows® 2000/Windows XP. Intel® Pentium® III or 4 processor
    Extraction instructions
    If you are receiving a message to insert disc two please see the following extraction instructions:
    In the English version of the software the file CreativeSuiteCS2Disc2 extracts to C:\Creative Suite\Adobe Creative Suite 2.0\.  CreativeSuiteCS2Disc1 and CreativeSuiteCS2Disc3 both extract to C:\Creative Suite CS2\Adobe Creative Suite 2.0\.
    Please copy the contents of the C:\Creative Suite\Adobe Creative Suite 2.0\ folder to the C:\Creative Suite CS2\Adobe Creative Suite 2.0\ folder and you will no longer be prompted to insert disc two.
    Additional information
    Some Users have reported success getting Creative Suite 2 to install under Windows 7 64-bit.  Please see http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/windows-7-is-n ot-compatible-with-adobe-photoshop/6f1b4955-7166-4b8f-ad9b-5d19150f803f for more information.
    Still facing installation difficulties?
    If you are experiencing an installation issue with the software currently available I would recommend creating a new thread in the Downloading, Installing, and Setting up forum - http://forums.adobe.com/community/download_install_setup.  If you can please make sure to include the following:
    •          What software are you trying to install?
    •          Which operating system are you using?
    •          Was the software previously installed prior to downloading the non-activating version currently available?
    •          What specific error messages are you receiving when trying to install?
    Please also see the original discussion on this topic at http://forums.adobe.com/message/4919014#4919014.

    Hello Jeff.
    EN version is not so eaqual in all with CZ version, I have PREMIUM one, not Standard.
    So I download these EN versions and Acrobat 7Pro separately.
    It look that it works, I have it installed on my presentation laptop. I ussualy work on PC and laptop is for bussines trips mostly.
    When I was working on my PC I found in menu one interesting option. I have installed CS2 in 2010 so it works OK, still in CZ. What I found in menu is called "Licence Transfer".
    I didnt try it because I dont want to loose my activation on PC, but could you please say to me what does this option means?
    Is it possible to copy licence on flash disk and use it on laptop, but it still be in PC also? Or it is only for deactivation, so you will loose it, and after this you can do new activation (which is impossible by server shut down)?
    And one question to the end, if I buy some later version like CS4 or CS5 (from some graphic studio which have one licence to sell-transfer) so do Adobe plan to shut down server too, for CS4, CS5 or after this non user/customer friendly solution (I mean for CS2) will Adobe do some application which we can install on our local PC and this app will say to CSxx "Your licence is OK, just continue in work" ?? --- this would be much better, I think if Adobe do this so it will be the same like no-activation versions in EN only but without so many complains and impacts on your customers.
    Thank you for reply me

  • Re: Activation Server shut down for Creative Suite 2, Acrobat 7 and Macromedia products

    Software : Adobe Encore DVD 2.0 / UK, purchased october 24, 2006
    Operating system : Windows XP home edition / SP3  Computer : Pentium 4 / 1,8GHz - 512 MB
    Other software : Adobe Premiere 6.5 / Photoshop Elements 5.0 / QuickTime 7, etc.
    My harddrive crashed and I lost all my software. I had to reinstall. Everything is okay now but when I activate Encore DVD 2.0, I get the message "Activation server shut down for ........."   I searched for the free download (without activating) of the CS 2 Premium, but I cold not find it. I only found the normal CS 2.
    Who can help me.

    If what you want is not at this link, http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l that would indicate that Adobe did not provide a special version

  • App server shut down

    Hi
    does anybody knows why when i start app server 9 from console by typing .
    ./adadmin start-domain domain1
    it runs fine, but if i close console app server shut down??
    i'm using solaris 10 on ultra20, but same problem on sunfire v100
    is there any way to make sun app server permanent?
    Regards

    For exploaded war files use following context parameters in web.xml
    // For servlet reload
    weblogic.httpd.servlet.reloadCheckSecs
    // For JSP reload
    weblogic.jsp.pageCheckSeconds
    Example:
    <context-param>
    <param-name>weblogic.httpd.servlet.reloadCheckSecs</param-name>
    <param-value>10</param-value>
    </context-param>
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    marshalli wrote:
    I set <br>
    weblogic.httpd.webApp.tc=e:/weblogic/myserver/testWapp<br>
    in my weblogic.properties<br>
    But I must shut down my server for each time I change jsp file<br>
    Otherwise, it will read old jsp file from tmp<br>
    where can I setup for weblogic <br>
    to reread a new jsp file with shut down?<br>
    Thank a lot<br>

  • Mail Server Shutting down

    Hi can you please tell me how to prevent folder time outing
    javax.mail.FolderClosedException: * BYE Server shutting down.
    com.sun.mail.imap.IMAPFolder.getMessageCount(IMAPFolder.java:1091)Thanks
    Surbahmanaym

    You need to access the folder at least ever 30 minutes, e.g., using Folder.getMessageCount().

  • Essbase Server Shutting down suddenly

    HI,
    Our Essbase Server shutting down suddenly once or twice in a month. Previously we have the same problem, Hyperion recommended for Server upgrade from 9.2 to 9.3 version. But the problem still exits. What could be the reason? If you have any idea why the essbase server shutting down suddenly? What are all the possible reasons and what needs to be done to solve this problem.
    Essbase Version 9.3.1
    Oracle DB to load data.

    Previously we submitted the same issue to Hyperion team.. they suggested for server upgrade... after upgradation also same problem occuring.....
    Nothing is happening when server is down.. we r unable to do anything like data load, calc scriprts running.....
    Server is in volatile state like.. up for 2 min and down and starting up.... because of this application access is too slow... users are feeling like server is completely down......
    If we r trying to access through excel... it is hanging... after 10 min application info coming.... we checked the server statistics.... they r changing after long time.... ( we r checking the server status through top command in UNIX... here status is not changing as frequency as when the server is working fine)....

  • Server Shutting down, when the Concurrent Users are more

    Hi,
    We are working on EP 5.0 SP5, our problem is that if the concurrent users are more automatically our LDAP or Portal is shutting down (approximately 300 or above..).
    For this problem… where we have to check? help can be appreciated...
    Regards,
    Sudhir

    Hi,
    If you portal is shutting down when it is getting a high load I would look at the memory settings defined in the configtool (if you are using a service or the startupframework) or the go.bats if you are running them manually. I would assume that the problems comes from the java process not being able to get enough memory, so try increasing the heapsize parameter Xmx (?)
    See notes
    597187
    696410 (for EP6 but content and related notes should be relevant)

  • Why does my database server shut down frequently?

    My DB Server just has one HardDisk and 1024MB ram,OS is W2K,RDBMS is Oracle 8i.But it is shutted automatically in often.It doesn't work unless you restart the service or restart the computer.My initORCL.ora file configed as following,could you point where the failure is ?
    open_cursurs=600
    db_buffer=32000
    share_pool_size=256M
    large_pool_size=100M
    java_pool_size=50M
    log_buffer=16M
    db_block_size=8192
    processes=500
    Thanks a lot!

    Thanks.The following paragraph is in my alert.log,but I can not find the problem yet.And in my trace file ,there is no information for that day.
    Sun Apr 06 05:15:53 2003
    Thread 1 advanced to log sequence 282
    Current log# 3 seq# 282 mem# 0: D:\ORACLE\ORADATA\MPTDATA\REDO03.LOG
    Mon Apr 07 05:15:29 2003
    Thread 1 advanced to log sequence 283
    Current log# 1 seq# 283 mem# 0: D:\ORACLE\ORADATA\MPTDATA\REDO01.LOG
    Dump file D:\Oracle\admin\mptdata\bdump\mptdataALRT.LOG
    Mon Apr 07 19:32:42 2003
    ORACLE V8.1.6.0.0 - Production vsnsta=0
    vsnsql=e vsnxtr=3
    Windows 2000 Version 5.0 , CPU type 586
    Starting up ORACLE RDBMS Version: 8.1.6.0.0.
    System parameters with non-default values:
    processes = 500
    shared_pool_size = 134217728
    large_pool_size = 1048576
    java_pool_size = 20971520
    control_files = D:\Oracle\oradata\mptdata\control01.ctl, D:\Oracle\oradata\mptdata\control02.ctl, D:\Oracle\oradata\mptdata\control03.ctl
    db_block_buffers = 32000
    db_block_size = 8192
    compatible = 8.1.0
    log_buffer = 16777216
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 1800
    db_files = 1024
    db_file_multiblock_read_count= 8
    max_enabled_roles = 30
    remote_login_passwordfile= EXCLUSIVE
    global_names = TRUE
    distributed_transactions = 10
    instance_name = mptdata
    service_names = mptdata
    mts_dispatchers = (protocol=TCP)
    open_links = 4
    sort_area_size = 65536
    sort_area_retained_size = 65536
    db_name = mptdata
    open_cursors = 600
    os_authent_prefix =
    job_queue_processes = 4
    job_queue_interval = 60
    parallel_max_servers = 2
    background_dump_dest = D:\Oracle\admin\mptdata\bdump
    user_dump_dest = D:\Oracle\admin\mptdata\udump
    max_dump_file_size = 10240
    oracle_trace_collection_name=
    PMON started with pid=4
    DBW0 started with pid=7
    LGWR started with pid=13
    CKPT started with pid=19
    SMON started with pid=24
    RECO started with pid=30
    SNP0 started with pid=6
    SNP1 started with pid=14
    SNP2 started with pid=20
    SNP3 started with pid=23
    Mon Apr 07 19:32:46 2003
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Apr 07 19:32:47 2003
    alter database mount exclusive
    Mon Apr 07 19:32:55 2003
    Successful mount of redo thread 1, with mount id 1041561895.
    Mon Apr 07 19:32:55 2003
    Database mounted in Exclusive Mode.
    Completed: alter database mount exclusive
    Mon Apr 07 19:32:55 2003
    alter database open
    Beginning crash recovery of 1 threads
    Mon Apr 07 19:33:00 2003
    Thread recovery: start rolling forward thread 1
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 283 Reading mem 0
    Mem# 0 errs 0: D:\ORACLE\ORADATA\MPTDATA\REDO01.LOG
    Mon Apr 07 19:33:01 2003
    Thread recovery: finish rolling forward thread 1
    Thread recovery: 0 data blocks read, 0 data blocks written, 0 redo blocks read
    Crash recovery completed successfully
    Mon Apr 07 19:33:05 2003
    Thread 1 advanced to log sequence 284
    Thread 1 opened at log sequence 284
    Current log# 2 seq# 284 mem# 0: D:\ORACLE\ORADATA\MPTDATA\REDO02.LOG
    Successful open of redo thread 1.
    Mon Apr 07 19:33:07 2003
    SMON: enabling cache recovery
    SMON: enabling tx recovery
    Mon Apr 07 19:33:13 2003
    Completed: alter database open
    Mon Apr 07 19:39:31 2003
    Shutting down instance (immediate)
    License high water mark = 37
    Mon Apr 07 19:40:36 2003
    alter database close normal
    Mon Apr 07 19:40:36 2003
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Mon Apr 07 19:40:40 2003
    Thread 1 closed at log sequence 284
    Mon Apr 07 19:40:40 2003
    Completed: alter database close normal
    Mon Apr 07 19:40:40 2003
    alter database dismount
    Completed: alter database dismount
    archiving is disabled
    Dump file D:\Oracle\admin\mptdata\bdump\mptdataALRT.LOG
    Mon Apr 07 19:41:42 2003
    ORACLE V8.1.6.0.0 - Production vsnsta=0
    vsnsql=e vsnxtr=3
    Windows 2000 Version 5.0 , CPU type 586
    Starting up ORACLE RDBMS Version: 8.1.6.0.0.
    System parameters with non-default values:
    processes = 500
    shared_pool_size = 268435456
    large_pool_size = 943718400
    java_pool_size = 20971520
    control_files = D:\Oracle\oradata\mptdata\control01.ctl, D:\Oracle\oradata\mptdata\control02.ctl, D:\Oracle\oradata\mptdata\control03.ctl
    db_block_buffers = 32000
    db_block_size = 8192
    compatible = 8.1.0
    log_buffer = 16777216
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 1800
    db_files = 1024
    db_file_multiblock_read_count= 8
    max_enabled_roles = 30
    remote_login_passwordfile= EXCLUSIVE
    global_names = TRUE
    distributed_transactions = 10
    instance_name = mptdata
    service_names = mptdata
    mts_dispatchers = (protocol=TCP)
    open_links = 4
    sort_area_size = 65536
    sort_area_retained_size = 65536
    db_name = mptdata
    open_cursors = 200
    os_authent_prefix =
    job_queue_processes = 4
    job_queue_interval = 60
    parallel_max_servers = 2
    background_dump_dest = D:\Oracle\admin\mptdata\bdump
    user_dump_dest = D:\Oracle\admin\mptdata\udump
    max_dump_file_size = 10240
    oracle_trace_collection_name=
    PMON started with pid=3
    DBW0 started with pid=6
    LGWR started with pid=11
    CKPT started with pid=15
    SMON started with pid=19
    RECO started with pid=24
    SNP0 started with pid=28
    SNP1 started with pid=32
    SNP2 started with pid=36
    SNP3 started with pid=5
    Mon Apr 07 19:41:46 2003
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Apr 07 19:41:47 2003
    alter database mount exclusive
    Mon Apr 07 19:41:54 2003
    Successful mount of redo thread 1, with mount id 1041535042.
    Mon Apr 07 19:41:54 2003
    Database mounted in Exclusive Mode.
    Completed: alter database mount exclusive
    Mon Apr 07 19:41:54 2003
    alter database open
    Mon Apr 07 19:41:57 2003
    Thread 1 opened at log sequence 284
    Current log# 2 seq# 284 mem# 0: D:\ORACLE\ORADATA\MPTDATA\REDO02.LOG
    Successful open of redo thread 1.
    Mon Apr 07 19:41:57 2003
    SMON: enabling cache recovery
    SMON: enabling tx recovery
    Mon Apr 07 19:42:01 2003
    Completed: alter database open
    Shutting down instance (immediate)
    License high water mark = 52
    Mon Apr 07 22:28:45 2003
    alter database close normal
    Mon Apr 07 22:28:45 2003
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Mon Apr 07 22:28:49 2003
    Thread 1 closed at log sequence 284
    Mon Apr 07 22:28:50 2003
    Completed: alter database close normal
    Mon Apr 07 22:28:50 2003
    alter database dismount
    Completed: alter database dismount
    archiving is disabled
    Dump file D:\Oracle\admin\mptdata\bdump\mptdataALRT.LOG
    Mon Apr 07 22:29:24 2003
    ORACLE V8.1.6.0.0 - Production vsnsta=0
    vsnsql=e vsnxtr=3
    Windows 2000 Version 5.0 , CPU type 586
    Starting up ORACLE RDBMS Version: 8.1.6.0.0.
    System parameters with non-default values:
    processes = 500
    shared_pool_size = 268435456
    large_pool_size = 943718400
    java_pool_size = 20971520
    control_files = D:\Oracle\oradata\mptdata\control01.ctl, D:\Oracle\oradata\mptdata\control02.ctl, D:\Oracle\oradata\mptdata\control03.ctl
    db_block_buffers = 32000
    db_block_size = 8192
    compatible = 8.1.0
    log_buffer = 16777216
    log_checkpoint_interval = 10000
    log_checkpoint_timeout = 1800
    db_files = 1024
    db_file_multiblock_read_count= 8
    max_enabled_roles = 30
    remote_login_passwordfile= EXCLUSIVE
    global_names = TRUE
    distributed_transactions = 10
    instance_name = mptdata
    service_names = mptdata
    mts_dispatchers = (protocol=TCP)
    open_links = 4
    sort_area_size = 65536
    sort_area_retained_size = 65536
    db_name = mptdata
    open_cursors = 600
    os_authent_prefix =
    job_queue_processes = 4
    job_queue_interval = 60
    parallel_max_servers = 2
    background_dump_dest = D:\Oracle\admin\mptdata\bdump
    user_dump_dest = D:\Oracle\admin\mptdata\udump
    max_dump_file_size = 10240
    oracle_trace_collection_name=
    PMON started with pid=4
    DBW0 started with pid=8
    LGWR started with pid=14
    CKPT started with pid=21
    SMON started with pid=28
    RECO started with pid=35
    SNP0 started with pid=42
    SNP1 started with pid=49
    SNP2 started with pid=56
    SNP3 started with pid=63
    Mon Apr 07 22:29:28 2003
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Apr 07 22:29:29 2003
    alter database mount exclusive
    Mon Apr 07 22:29:36 2003
    Successful mount of redo thread 1, with mount id 1041548688.
    Mon Apr 07 22:29:36 2003
    Database mounted in Exclusive Mode.
    Completed: alter database mount exclusive
    Mon Apr 07 22:29:36 2003
    alter database open
    Mon Apr 07 22:29:38 2003
    Thread 1 opened at log sequence 284
    Current log# 2 seq# 284 mem# 0: D:\ORACLE\ORADATA\MPTDATA\REDO02.LOG
    Successful open of redo thread 1.
    Mon Apr 07 22:29:39 2003
    SMON: enabling cache recovery
    SMON: enabling tx recovery
    Mon Apr 07 22:29:42 2003
    Completed: alter database open

  • WebLogic Server shutting down Automatically

    The WebLogic Server is shutting down automatically after few hrs(7-8) with the following message:
    <*Dec 1, 2008 11:45:08 AM EST> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>*
    *<Dec 1, 2008 11:45:08 AM EST> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>>*
    *<Dec 1, 2008 11:45:08 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SUSPENDING>*
    *<Dec 1, 2008 11:45:08 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>*
    *<Dec 1, 2008 11:45:08 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>*
    *<Dec 1, 2008 11:45:08 AM EST> <Notice> <Server> <BEA-002607> <Channel "Default[1]" listening on 127.0.0.1:9401 was shutdown.>*
    *<Dec 1, 2008 11:45:08 AM EST> <Notice> <Server> <BEA-002607> <Channel "Default" listening on 10.167.19.113:9401 was shutdown.>*
    *(preStop) Beginning PegaRULES shutdown...*
    What might be wrong..Please help
    We are using WebLogic9.2

    There is nothing significant in the log ..no exceptions/warnings.We are starting the weblogic on UNIX remote machine and logging is done to nohup.out.Below is the startWebLogic.sh
    Also,The server is not shutting when I logout from telnet session after executing the start script.
    *#!/bin/sh*
    *# WARNING: This file is created by the Configuration Wizard.*
    *# Any changes to this script may be lost when adding extensions to this configuration.*
    *# --- Start Functions ---*
    stopAll()
    *     # We separate the stop commands into a function so we are able to use the trap command in Unix (calling a function) to stop these services*
    *     if [ "X${ALREADY_STOPPED}" != "X" ] ; then*
    *          exit*
    *     fi*
    *     # STOP POINTBASE (only if we started it)*
    *     if [ "${POINTBASE_FLAG}" = "true" ] ; then*
    *          echo "Stopping PointBase server..."*
    *          ${WL_HOME}/common/bin/stopPointBase.sh -port=${POINTBASE_PORT} -name=${POINTBASE_DBNAME} >"${DOMAIN_HOME}/pointbaseShutdown.log" 2>&1*
    *          echo "PointBase server stopped."*
    *     fi*
    *     ALREADY_STOPPED="true"*
    *     # Restore IP configuration the node manager starts IP Migration*
    *     if [ "${SERVER_IP}" != "" ] ; then*
    *          ${WL_HOME}/common/bin/wlsifconfig.sh -removeif "${IFNAME}" "${SERVER_IP}"*
    *     fi*
    *# --- End Functions ---*
    *# This script is used to start WebLogic Server for this domain.*
    *# To create your own start script for your domain, you can initialize the*
    *# environment by calling @USERDOMAINHOME/setDomainEnv.*
    *# setDomainEnv initializes or calls commEnv to initialize the following variables:*
    *# BEA_HOME - The BEA home directory of your WebLogic installation.*
    *# JAVA_HOME - Location of the version of Java used to start WebLogic*
    *# Server.*
    *# JAVA_VENDOR - Vendor of the JVM (i.e. BEA, HP, IBM, Sun, etc.)*
    *# PATH - JDK and WebLogic directories are added to system path.*
    *# WEBLOGIC_CLASSPATH*
    *# - Classpath needed to start WebLogic Server.*
    *# PATCH_CLASSPATH - Classpath used for patches*
    *# PATCH_LIBPATH - Library path used for patches*
    *# PATCH_PATH - Path used for patches*
    *# WEBLOGIC_EXTENSION_DIRS - Extension dirs for WebLogic classpath patch*
    *# JAVA_VM - The java arg specifying the VM to run. (i.e.*
    *# - server, -hotspot, etc.)*
    *# USER_MEM_ARGS - The variable to override the standard memory arguments*
    *# passed to java.*
    *# PRODUCTION_MODE - The variable that determines whether Weblogic Server is started in production mode.*
    *# POINTBASE_HOME - Point Base home directory.*
    *# POINTBASE_CLASSPATH*
    *# - Classpath needed to start PointBase.*
    *# Other variables used in this script include:*
    *# SERVER_NAME - Name of the weblogic server.*
    *# JAVA_OPTIONS - Java command-line options for running the server. (These*
    *# will be tagged on to the end of the JAVA_VM and*
    *# MEM_ARGS)*
    *# For additional information, refer to the WebLogic Server Administration*
    *# Console Online Help(http://e-docs.bea.com/wls/docs92/ConsoleHelp/startstop.html).*
    *# Call setDomainEnv here.*
    *DOMAIN_HOME="/apps/bea/user_projects/domains/SAM1"*
    *. ${DOMAIN_HOME}/bin/setDomainEnv.sh $**
    *SAVE_JAVA_OPTIONS="${JAVA_OPTIONS}"*
    *SAVE_CLASSPATH="${CLASSPATH}"*
    *# Start PointBase*
    *PB_DEBUG_LEVEL="0"*
    *if [ "${POINTBASE_FLAG}" = "true" ] ; then*
    *     ${WL_HOME}/common/bin/startPointBase.sh -port=${POINTBASE_PORT} -debug=${PB_DEBUG_LEVEL} -console=false -background=true -ini=${DOMAIN_HOME}/pointbase.ini >"${DOMAIN_HOME}/pointbase.log" 2>&1*
    fi
    *JAVA_OPTIONS="${SAVE_JAVA_OPTIONS}"*
    *SAVE_JAVA_OPTIONS=""*
    *CLASSPATH="${SAVE_CLASSPATH}"*
    *SAVE_CLASSPATH=""*
    *trap 'stopAll' 1 2 3 15*
    *if [ "${PRODUCTION_MODE}" = "true" ] ; then*
    *     WLS_DISPLAY_MODE="Production"*
    else
    *     WLS_DISPLAY_MODE="Development"*
    fi
    *if [ "${WLS_USER}" != "" ] ; then*
    *     JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.username=${WLS_USER}"*
    *fi*
    *if [ "${WLS_PW}" != "" ] ; then*
    *     JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.password=${WLS_PW}"*
    fi
    *CLASSPATH="${CLASSPATH}${CLASSPATHSEP}${MEDREC_WEBLOGIC_CLASSPATH}"*
    *echo "."*
    *echo "."*
    *echo "JAVA Memory arguments: ${MEM_ARGS}"*
    *echo "."*
    *echo "WLS Start Mode=${WLS_DISPLAY_MODE}"*
    *echo "."*
    *echo "CLASSPATH=${CLASSPATH}"*
    *echo "."*
    *echo "PATH=${PATH}"*
    *echo "."*
    *echo "***************************************************"*
    *echo "* To start WebLogic Server, use a username and *"*
    *echo "* password assigned to an admin-level user. For *"*
    *echo "* server administration, use the WebLogic Server *"*
    *echo "* console at http://hostname:port/console *"*
    *echo "***************************************************"*
    *# Set up IP Migration related variables.*
    *# Set interface name.*
    *if [ "${Interface}" != "" ] ; then*
    *     IFNAME="${Interface}"*
    else
    *     IFNAME=""*
    fi
    *# Set IP Mask.*
    *if [ "${NetMask}" != "" ] ; then*
    *     IPMASK="${NetMask}"*
    *else*
    *     IPMASK=""*
    *fi*
    *# Perform IP Migration if SERVER_IP is set by node manager.*
    *if [ "${SERVER_IP}" != "" ] ; then*
    *     ${WL_HOME}/common/bin/wlsifconfig.sh -addif "${IFNAME}" "${SERVER_IP}" "${IPMASK}"*
    fi
    *# START WEBLOGIC*
    echo "starting weblogic with Java version:"
    *${JAVA_HOME}/bin/java ${JAVA_VM} -version*
    *if [ "${WLS_REDIRECT_LOG}" = "" ] ; then*
    *     echo "Starting WLS with line:"*
    *     echo "${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${PROXY_SETTINGS} ${SERVER_CLASS}"*
    *     nohup ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${PROXY_SETTINGS} ${SERVER_CLASS} &*
    *else*
    *     echo "Redirecting output from WLS window to ${WLS_REDIRECT_LOG}"*
    *     nohup ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${PROXY_SETTINGS} ${SERVER_CLASS} >"${WLS_REDIRECT_LOG}" 2>&1 &*
    *fi*
    *#stopAll*
    *#popd*
    *# Exit this script only if we have been told to exit.*
    *if [ "${doExitFlag}" = "true" ] ; then*
    *     exit*
    fi

  • Startup & shutdown database when reboot server

    Dear Oracle guru
    We have Digital Unix (True64) v.5.0, and Oracle v.81.5 on top, these days we need to manually startup and shutdown database when we need to maintain its server.
    Wondering if you could suggest me for the startup and shutdown scripts to put at /sbin/rc*.d, so that when the server reboots, it will startup database automatically and vice versa for shutting down the server.
    Would be very appreciated for your prompt help.

    The instance is not going to start automatically when you reboot the server.
    1.- Shutdown all instances with immediate, transactional or normal option.
    2.- stop the listener services
    3.- Stop all rest of Oracle services
    4.- Reboot the server
    5.- start the listener
    6.- start the instance
    7.- start all rest of Oracle services
    Joel Pérez

  • Send email/notification when server shutting down?

    Is it possible to send out a notification via e-mail (or maybe even text) to all the users listed in the user accounts when the server is shutting down? We have been experiencing some severe weather here and I need to shut the server down on occasion when the power starts to gray out/black out. I would like to automatically initiate an emails alert to the users when OS X Server gets a shutdown commend. Can this be done?

    Consider acquiring and configuring a less-interruptible power supply, and configure that to communicate with OS X Server via USB; options that will work include the APC SmartUPS supplies I've tried.  (OS X Server doesn't generally "appreciate" having the power yanked, and if the grid is already greying out, it's a little late; I don't know that I'd trust the shutdown to complete.)
    If you're shutting down the system via ssh session or equivalent (and not the GUI), you could write a shell script that does what you need prior to issuing the shutdown command.
    If you're shutting down via UPS, there's a script that can be used but it's kinda far along and unlikely that mail or SMS will be read before the server is offline.

  • Mac Mini Server Shuts down every 14 days for no apparent reason.

    Just before 8 AM every other saturday morning, I have a Mac Mini Server running 10.8.5 server that powers off. There is no indication of anything out of the ordinary happening prior to the shutdown. On restart the server continues to operate properly for another two weeks until it shuts down again. The only log entry I'm seeing that seems to indicate what might be going on is:
    Dec  7 22:51:29 localhost kernel[0]: Previous Shutdown Cause: 3
    This past weekend I attempted to get around the issue by having the system set to automatically turn on or wake at 11 AM, but that did not happen.
    I've checked cron and launchd and nothing is scheduled around that time.
    Any ideas?

    Yes, a glitch with any less-interruptable power supply — they're never truely uninterruptable — could well trigger this outage. 
    If you're willing to run with grid power for two weeks plus a day, then cable the APC out of the path, and see if your uptime makes it to fifteen.   
    Probably much quicker and if you've got some off time where you can quiesce most of the activity on the Mac to allow it to crash hard with less risk to your data and your processing, then pull the input to the APC and see if the Mac crashes.
    Various APC units run a self-test every two weeks, so a problem with the self-test or the switch-over or with he battery could well cause the reported problems.  Could also be the quality of the power being generated (I'm running Smart-UPS units because of that) or the APC is overloaded, but I wouldn't expect that to occur on a particular schedule. 
    This reeks of the self-test or the power relay, or the battery.
    Some semi-related discussions here, and probably elsewhere on the net.

  • Weblogic Server Shutting down execute threads

    Weblogic 5.1 SP9 on Solaris.
    After upgrading to SP9 from SP8 we are observing a new message in our log during
    the START UP PROCESS. It seems that after performing a GC and during the creation
    of the connection pools we are receiving a message "Shutting down execute threads".
    Though Weblogic starts up ok after this and performs ok we are still concerned
    on what execute threads are shutting down?
    Any help in an explanation would be appreciated.
    <I> <GC> GC: After free/total=505281560/531955712 (94%)
    GC: After free/total=505281560/531955712 (94%)Wed Aug 08 18:08:33 EDT 2001:<I> <WebLogicServer> Shutting down execute threads
    Wed Aug 08 18:08:33 EDT 2001:<I> <WebLogicServer> Shutdown completed
    Wed Aug 08 18:08:33 EDT 2001:<I> <WebLogicServer> Shutdown completed

    could you post complete the log file
    right from the server startup to until WLS
    listens on http & SSL ports?
    Kumar
    Andy wrote:
    Weblogic 5.1 SP9 on Solaris.
    After upgrading to SP9 from SP8 we are observing a new message in our log during
    the START UP PROCESS. It seems that after performing a GC and during the creation
    of the connection pools we are receiving a message "Shutting down execute threads".
    Though Weblogic starts up ok after this and performs ok we are still concerned
    on what execute threads are shutting down?
    Any help in an explanation would be appreciated.
    <I> <GC> GC: After free/total=505281560/531955712 (94%)
    GC: After free/total=505281560/531955712 (94%)Wed Aug 08 18:08:33 EDT 2001:<I> <WebLogicServer> Shutting down execute threads
    Wed Aug 08 18:08:33 EDT 2001:<I> <WebLogicServer> Shutdown completed
    Wed Aug 08 18:08:33 EDT 2001:<I> <WebLogicServer> Shutdown completed

Maybe you are looking for