Shutdown / startup question
Hi,
If i have to shutdown the host machine and restart, is it advisable to stop the database using srvctl and then shutdown the OS ?
Or, host shutdown will gracefully shutdown the db also ?
Thanks
Sunil
If a RAC instance does not "survive" a normal o/s shutdown and reboot, then you have serious underlying problems. (and as mentioned, a shutdown provides running processes with the opportunity to gracefully terminate, before the kernel forcible kills the remaining processes).
There should not be any concerns in this regard.
My experience - the problem is very seldom with the RAC or ASM instances, but with h/w and driver layer. For example, a storage array change have been made. This change only becomes visible when a server physically resets it HBA channel to the storage system. This means that after a reboot, a RAC server node may now see a different (and correct) configuration than existing running RAC nodes (that see the older configuration). Depending on what changes have been made, it could potentially impact the startup of CRS and RAC on that rebooted node.. or could cause this node to start an eviction process of the other nodes.
But 99% of the time, you should not have the slightest concern of hitting a server node with a shutdown command. If you do.. then there are unresolved problems with your cluster's configuration and setup.
Similar Messages
-
Power Shutdown/startup Process
We are going thru building power maintenance activity and my question is, is there any Cisco recommened or process or practicse for shutdown/startup the Telepresence devices and VCS, TCS, MUC.
Hi Mahesh,
We need to follow standard procedure as mentioned in the admin guides, like for VCS it is (Maintenance > Restart and then click Restart System )
HTH
Manish -
Slow Shutdown & Startup on MacBookPro OS ML 10.8.2
I have faced slow shutdown & startup on my MacBook Pro Late 2011 , OS X Mountain Lion 10.8.2 for a while.
I have done searching for solution and had tried some but no luck.
Could someone please help.
Thanks!
Below are the message from console
Dec 24 23:07:28 --- last message repeated 4 times ---
Dec 24 23:07:28 com.apple.launchd[1] (com.apple.ShareKitHelper[258]): Exited: Killed: 9
Dec 24 23:07:28 com.apple.launchd.peruser.501[146] (com.apple.PackageKit.InstallStatus[394]): Exited: Terminated: 15
Dec 24 23:07:28 com.apple.launchd.peruser.501[146] (com.apple.PackageKit.InstallStatus): Throttling respawn: Will start in 10 seconds
Dec 24 23:07:28 com.apple.launchd.peruser.501[146] ([0x0-0x11011].com.apple.inputmethod.ironwood[203]): Exited: Killed: 9
Dec 24 23:07:28 MacBook-Pro.local coreservicesd[26]: SendFlattenedData, got error #268435459 (ipc/send) invalid destination port from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=143
Dec 24 23:07:28 --- last message repeated 1 time ---
Dec 24 23:07:28 MacBook-Pro com.apple.launchd.peruser.501[146] (com.apple.talagent[159]): Exited: Killed: 9
Dec 24 23:07:28 MacBook-Pro.local coreservicesd[26]: SendFlattenedData, got error #268435460 (ipc/send) timed out from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=243
Dec 24 23:07:28 MacBook-Pro.local UserEventAgent[11]: Captive: [UserAgentDied:139] User Agent @port=41995 Died
Dec 24 23:07:28 MacBook-Pro.local coreservicesd[26]: SendFlattenedData, got error #268435459 (ipc/send) invalid destination port from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=159
Dec 24 23:07:28 MacBook-Pro.local coreservicesd[26]: SendFlattenedData, got error #268435460 (ipc/send) timed out from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=100
Dec 24 23:07:28 MacBook-Pro com.apple.launchd.peruser.501[146] ([0x0-0x1a01a].com.apple.AppleSpell[235]): Exited: Terminated: 15
Dec 24 23:07:28 MacBook-Pro com.apple.launchd.peruser.501[146] (com.apple.UserEventAgent-Aqua[149]): Exited: Killed: 9
Dec 24 23:07:28 MacBook-Pro com.apple.launchd.peruser.501[146] (com.apple.storeagent[255]): Exited: Killed: 9
Dec 24 23:07:28 MacBook-Pro com.apple.launchd.peruser.501[146] (com.apple.mdworker.shared.04000000-0000-0000-0000-000000000000[239]): Exited: Killed: 9
Dec 24 23:07:28 MacBook-Pro com.apple.launchd.peruser.501[146] ([0x0-0xc00c].com.apple.iTunesHelper[185]): Exited with code: 1
Dec 24 23:07:28 MacBook-Pro.local WindowServer[101]: CGXGetConnectionProperty: Invalid connection 38659
Dec 24 23:07:28 --- last message repeated 4 times ---
Dec 24 23:07:28 MacBook-Pro.local loginwindow[48]: DEAD_PROCESS: 48 console
Dec 24 23:07:28 MacBook-Pro.local airportd[395]: _doAutoJoin: Already associated to “Internet_Mobility”. Bailing on auto-join.
Dec 24 23:07:28 MacBook-Pro.local coreservicesd[26]: SendFlattenedData, got error #268435459 (ipc/send) invalid destination port from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=131
Dec 24 23:07:28 MacBook-Pro.local WindowServer[101]: CGXGetConnectionProperty: Invalid connection 38659
Dec 24 23:07:28 --- last message repeated 4 times ---
Dec 24 23:07:28 MacBook-Pro.local shutdown[396]: halt by Keant:
Dec 24 23:07:28 MacBook-Pro.local shutdown[396]: SHUTDOWN_TIME: 1356361648 592277This fixed mine
> sys pref
>network
>Advanced
> DNS
check DNS numbers are correct, mine was showing the router and greyed out so I added my IP specific numbers
>Restart (not sure if you need this step but I did it)
Page loading improved significantly from very slow to acceptable on some to blistering fast in others
AND emails just flew out really quickly
Also make sure you have the right ports for your IP because I had been given an alternate one to try and that upset the incoming messages
>Mail
>preferences
> advanced
> port (you can find this by searching your the help section of your IP) -
Shutdown/Startup database from java
Hi,
I need to execute shutdown/ startup database commands from a java application. I have tried wrapping these in sql / sh file using Runtime.getRuntime().exec("z:\\sql\\shut.sql"), but keep getting:
java.io.IOException: CreateProcess
any ideas ?
thanks,
DaphnaHi,
I don't see why the 11g Drivers won't work for earlier releases of the DB as long as you follow the steps in the documentation. Have you tried it? -
Hi experts
I am new to VM
Could you let me know the shutdown startup process for oracle vm manager/server on windows and linux
thanksHi,
Not sure precisely what you are after here, but....VM Server is your xen based hypervisor that hosts your guest virtual machines. VM manager is the web based tool you use to mange your guests and to some extent you VM Server.
In my config, I have VM Server running on a machine - it installs as the only OS. In this I have two guest machines installed.
My VM manager is installed in a OEL5 guest on virtualbox.
You can start the VM Manager independently of the Server if the manager isn't installed on the Server. Basically it will show the status of all know servers and guests; in my setup, I have to boot the VM Server manually and then I can connect to it from the VM manager and start / stop the guests
This concepts are clearly shown in the VM v3.x manual. -
DATABASE SHUTDOWN 후 STARTUP시 ORA-7445가 발생하면서 OS PROMPT로 빠짐
제품 : ORACLE SERVER
작성날짜 : 2002-04-10
DATABASE SHUTDOWN 후 STARTUP시 ORA-7445가 발생하면서 OS PROMPT로 빠짐
=====================================================================
Server Platform : Sparc Sunw Ultra Enterprise 10000
(CPU 44개, Main Memory 9 Megabytes)
ORACLE RDBMS 7.3.3.4
ORACLE PARALLEL SERVER 환경
Sun Cluster Volume Manager 2.0
DB size : 약 1.2 Terabytes (=1200 Gigabytes)
관련 TAR : 9168089.7
조치 내역 :
1. init.ora에 다음의 event와 hidden parameter를 설정
1) event="10210 trace name context forever, level 10"
(Data Block Integrity를 check, Refer to Note 21184.1)
2) event="10211 trace name context forever, level 10"
(Data Block Integrity를 check, Refer to Note 21185.1
3) dbblock_cache_protect = true (Refer to note18144.1)
corrupt된 block이 memory에 load되는 것을 방지
2. Startup mount 후 recover database를 실행
ORA-600[6593] [26]발생 - Detection of block corruption
3. alter database open 실행
ORA-1578 file#88 block #172628 발생 하였으나
ORA-7445 없이 open됨
(문제가 되는 특정 테이블과 데이타 블럭 발견)
4. 위의 file block에 data를 확인하기 위하여 block dump를 함
"Alter session set events 'immediate trace name
blockdump level xxxxx"
( xxxxx는 Data Block Address 값의 decimal 값)
- Block dump에 있는 hexa값을 ascii로 변환
5. corrupt된 block을 제외한 data를 recover하기 위하여 새로운
tablespace를 생성 후 다음 실행.
"Insert into (TABLEA) select * from (TABLEB)
where index_column > ' '
and rowid not like 'corrupt된 row의 rowid들';"
(TABLEA는 corrupt되지 않은 row들을 제외한 나머지 row들을
포함할 새로운 테이블이고, TABLEB는 corrupt된 row들을 갖고
있었던 기존의 테이블)
6. 새로 생성한 테이블의 데이타 확인한 후 기존의 corrupt된
테이블 drop시킴
7. 새 테이블을 rename하여 기존의 테이블 이름과 같게 함. -
SAPConsole tasks in shutdown & startup
Hi,
We are going through an upgrade process and about to go live, can some one tell about SAPConsole tasks in shutdown & startup checklists like.
1) What needs to be done.
2) When it needs to be done. (Before, shutdown, reconnect, initial checks, business validation, after.)
3) Dependencies on other tasks.
If there are detailed how-to instructions, please let me know.
Thanks,
Mikedone...no help needed.
Thanks -
I'm troubleshooting someone's G4 Cube (500 MHz, 256 MB RAM, 30 GB HD) which has a startup issue. I assume the flashing question mark/folder at startup means that the CPU can't find the Startup Disk, but I can't resolve the problem. I ran the Apple Hardware Test (everything's okay), but it still won't boot. I tried the Software Restore and Software Install disks, but they won't work. I've tried restarting by holding down the "C" key (nothing) and the option key (I get the CD and arrow icons, but nothing works). I've also zapped the PRAM and let the Cube chime 4 times, still nothing. Anyone with anymore suggestions?
(I don't know what version of Mac OS is installed, I assume somewhere between 10.1 to 10.3)Startup the computer from another boot volume, i.e. an external Firewire device. Remove any other unnecessary devices from the Computer.
It could be the drive has totally failed.
Shutdown the computer and then boot it up again, but note if you hear any HD activity at all. Make sure the room is as quiet as possible and ask the customer to listen out as they know what noises their machine makes better than anyone, so they will notice anything out of the ordinary.
If your not getting an HD icon in Startup Manager then it could be the system, directories or something is corrupt. Or the drive has failed.
Has he had this problem before? Did anything change or was installed prior to the problem occurring? -
Gray Startup Question Mark. I've tried everything!
Ok, so my Mac has been running slightly slow these past couple days, nothing I thought I should worry about, until today when I tried to restart it, it would not start up. It would come up with the gray screen and apple logo then just shut off. Then I tried the recovery mode to fix the disks. It told me to repair the HDD, which I tried; however, it couldn't be repaired. So I reformatted it, tried to reinstall Mavericks, but when that wasn't successful I tried to install Mountain Lion, but once again failed. It can't even find the startup disk.
Should I just buy a new hard drive or is there a way to fix that?
Also I don't really care about the files that were on there, most of them weren't important, and the ones that were I could easily have access to them in the future.
Help me out! Please, I need to fix my baby!Question (?) Mark, Blinking Folder, or Gray Screen at Startup
These are related but not identical issues. Their causes are outlined in Intel-based Mac- Startup sequence and error codes, symbols. Solutions may be found in:
A flashing question mark appears when you start your Mac
Mac OS X- Gray screen appears during startup
In most cases the problems may be caused by:
Problem with the computer's PRAM - See Resetting your Mac's PRAM and NVRAM.
Boot drive's directory has been corrupted - Repair with Disk Utility.
Critical system files are damaged or deleted - Reinstall OS X.
The disk drive is physically non-functional - Replace the hard drive.
Repair the Hard Drive and Permissions
Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
The main difference if you are using Lion or Mountain Lion is that you must first boot from the Recovery HD:
How to Boot From The Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
Reinstall Snow Leopard Without Erasing The drive
1. Repair the Hard Drive and Permissions
Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
2. Reinstall Snow Leopard
If the drive is OK then quit DU and return to the installer. Proceed with reinstalling OS X. Note that the Snow Leopard installer will not erase your drive or disturb your files. After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
Download and install Mac OS X 10.6.8 Update Combo v1.1.
Reinstalling Lion/Mountain Lion Without Erasing The Drive
Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless. -
Dear all,
10.2.0.3 on Solaris 10.
When shutting down the database, shutdown hangs after database mounted as you can see below
SQL> startup
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 2133800 bytes
Variable Size 435843288 bytes
Database Buffers 624951296 bytes
Redo Buffers 10813440 bytes
Database mounted.In one more session, I checked the alert log
Fri Jan 7 10:13:16 2011
Incremental checkpoint up to RBA [0x417a.3.0], current log tail at RBA [0x417a.87.0]
Fri Jan 7 10:13:16 2011
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=36, OS id=15146
Fri Jan 7 10:13:19 2011
Completed: ALTER DATABASE OPEN
^C
bash-3.00$
bash-3.00$
bash-3.00$
bash-3.00$
bash-3.00$ sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.3.0 - Production on Fri Jan 7 10:16:28 2011
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL>
SQL> select open_mode from v$database;
OPEN_MODE
READ WRITEAny idea ?.
KaiThere is no error message . Anyway alert log
Fri Jan 7 10:13:08 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Autotune of undo retention is turned on.
IMODE=BR
ILAT =88
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.3.0.
System parameters with non-default values:
_trace_files_public = TRUE
processes = 400
sessions = 800
timed_statistics = TRUE
shared_pool_size = 419430400
shared_pool_reserved_size= 41943040
sga_target = 1073741824
control_files = /erp/u01/medh/db/apps_st/data/cntrl01.dbf, /erp/u01/medh/db/apps_st/data/cntrl02.dbf, /erp/u01/medh/db/apps_st/data/cnt
rl03.dbf
db_block_checksum = TRUE
log_archive_dest = /oracle/arch/medh_ARCH
log_archive_format = medh%t_%s_%r.arc
log_buffer = 10485760
log_checkpoint_interval = 100000
log_checkpoint_timeout = 1200
db_files = 512
db_file_multiblock_read_count= 8
log_checkpoints_to_alert = TRUE
dml_locks = 10000
undo_management = AUTO
undo_tablespace = APPS_UNDOTS1
db_block_checking = FALSE
session_cached_cursors = 500
utl_file_dir = /usr/tmp, /usr/tmp, /erp/u01/medh/db/tech_st/10.2.0/appsutil/outbound/medh_sed04, /usr/tmp
plsql_native_library_dir = /erp/u01/medh/db/tech_st/10.2.0/plsql/nativelib
plsql_native_library_subdir_count= 149
plsql_code_type = INTERPRETED
plsql_optimize_level = 2
job_queue_processes = 2
cursor_sharing = EXACT
parallel_min_servers = 0
parallel_max_servers = 8
background_dump_dest = /erp/u01/medh/db/tech_st/10.2.0/admin/medh_sed04/bdump
user_dump_dest = /erp/u01/medh/db/tech_st/10.2.0/admin/medh_sed04/udump
max_dump_file_size = 20480
core_dump_dest = /erp/u01/medh/db/tech_st/10.2.0/admin/medh_sed04/cdump
db_name = medh
open_cursors = 600
ifile = /erp/u01/medh/db/tech_st/10.2.0/dbs/medh_sed04_ifile.ora
_sort_elimination_cost_ratio= 5
_b_tree_bitmap_plans = FALSE
_fast_full_scan_enabled = FALSE
_sqlexec_progression_cost= 2147483647
_like_with_bind_as_equality= TRUE
pga_aggregate_target = 1073741824
workarea_size_policy = AUTO
optimizer_secure_view_merging= FALSE
aq_tm_processes = 1
olap_page_pool_size = 4194304
PMON started with pid=2, OS id=12494
PSP0 started with pid=4, OS id=12496
MMAN started with pid=6, OS id=12499
DBW0 started with pid=8, OS id=12511
DBW1 started with pid=3, OS id=12544
DBW2 started with pid=10, OS id=12574
LGWR started with pid=5, OS id=12604
CKPT started with pid=12, OS id=12628
SMON started with pid=14, OS id=12653
RECO started with pid=16, OS id=12680
CJQ0 started with pid=18, OS id=12712
MMON started with pid=20, OS id=12738
MMNL started with pid=22, OS id=12761
Fri Jan 7 10:13:10 2011
ALTER DATABASE MOUNT
Fri Jan 7 10:13:14 2011
Setting recovery target incarnation to 2
Fri Jan 7 10:13:14 2011
Successful mount of redo thread 1, with mount id 3947812854
Fri Jan 7 10:13:14 2011
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Fri Jan 7 10:13:15 2011
ALTER DATABASE OPEN
Fri Jan 7 10:13:15 2011
Beginning crash recovery of 1 threads
parallel recovery started with 8 processes
Fri Jan 7 10:13:15 2011
Started redo scan
Fri Jan 7 10:13:15 2011
Completed redo scan
0 redo blocks read, 0 data blocks need recovery
Fri Jan 7 10:13:15 2011
Started redo application at
Thread 1: logseq 16761, block 30591, scn 30945234899
Fri Jan 7 10:13:15 2011
Recovery of Online Redo Log: Thread 1 Group 2 Seq 16761 Reading mem 0
Mem# 0: /erp/u01/medh/db/apps_st/data/log02b.rdo
Mem# 1: /erp/u01/medh/db/apps_st/data/log02a.rdo
Fri Jan 7 10:13:15 2011
Completed redo application
Fri Jan 7 10:13:15 2011
Completed crash recovery at
Thread 1: logseq 16761, block 30591, scn 30945254900
0 data blocks read, 0 data blocks written, 0 redo blocks read
Fri Jan 7 10:13:15 2011
LGWR: STARTING ARCH PROCESSES
ARC0 started with pid=34, OS id=14889
Fri Jan 7 10:13:15 2011
ARC0: Archival started
ARC1: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC1 started with pid=15, OS id=14921
Fri Jan 7 10:13:15 2011
Thread 1 advanced to log sequence 16762
Thread 1 opened at log sequence 16762
Current log# 3 seq# 16762 mem# 0: /erp/u01/medh/db/apps_st/data/log03b.rdo
Current log# 3 seq# 16762 mem# 1: /erp/u01/medh/db/apps_st/data/log03a.rdo
Successful open of redo thread 1
Fri Jan 7 10:13:15 2011
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Fri Jan 7 10:13:15 2011
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
Fri Jan 7 10:13:15 2011
ARC1: Becoming the heartbeat ARCH
Fri Jan 7 10:13:15 2011
SMON: enabling cache recovery
Fri Jan 7 10:13:16 2011
Successfully onlined Undo Tablespace 1.
Fri Jan 7 10:13:16 2011
SMON: enabling tx recovery
Fri Jan 7 10:13:16 2011
Database Characterset is AR8MSWIN1256
Fri Jan 7 10:13:16 2011
Incremental checkpoint up to RBA [0x417a.3.0], current log tail at RBA [0x417a.87.0]
Fri Jan 7 10:13:16 2011
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=36, OS id=15146
Fri Jan 7 10:13:19 2011
Completed: ALTER DATABASE OPEN -
How to shutdown startup 11g OEM/GRID from Command Line
Please describe how to shutdown and startup OEM/GRID 11g from command line and how to startup all of its services. Thanks in advance!
After a some tests i found this method...
SHUTDOWN
srvctl stop listener -l LISTENER_NAME
srvctl stop database -d DBNAME
srvctl stop diskgroup -g VGGROUP
srvctl stop asm
crsctl stop has
STARTUP
crsctl start has
srvctl start asm
srvctl start database -d DBNAME
Pls try before to use it and i hope it isn't late... -
Reg : Script for shutdown startup in oracle9i
Hi,
I need shutdown and startup sqlfiles script while taking Coldbackup in oracle9i.U need to perform a cold backup using a script? this one will create a backup from SQL*Plus connected as SYSDBA.
Rem Set SQL*Plus variables to manipulate output
set feedback off heading off verify off
set pagesize 0 linesize 200
Rem Set SQL*Plus user variables used in script
Rem Linux User variables
define dir = '/backup'
define fil = '/tmp/closed_backup_commands.sql'
prompt *** Spooling to &fil
spool &fil
select 'host cp '|| name ||' &dir' from v$datafile order by 1;
select 'host cp '|| member ||' &dir' from v$logfile order by 1;
select 'host cp '|| name ||' &dir' from v$controlfile order by 1;
select 'host cp '|| name ||' &dir' from v$tempfile order by 1;
spool off;
Rem Shutdown the database cleanly
shutdown immediate;
Rem Run the copy file commands
@&fil
Rem Start the database again
startup;
On Linux, connect to SQL*Plus as SYSDBA and run this script like this:
LINUX> sqlplus /nolog
SQL> connect system/manager as sysdba
SQL> @closed_backup.sql -
Windows shutdown startup errors
When I shutdown Windows on my new Yoga 2 11 and later turn on the laptop i get a bunch of dos errors and wont load into Windows. I have to power off and back on and then it loads into windows.
I have been shutting down Windows using the shutdown button (like on a desktop)
I am not use to the solid state drive. Am i doing something wrong?
thanks
Matthi matthew737,
Welcome to Lenovo Community Forums!
Are you shutting down the System like this?
1. Pull up the Chams Bar on the right hand side.
2. Press the Power Icon
3. Click on shutdown
If NO - Shut down should be on this method, Try it and see if that fixes it.
If YES - Try Disabling the fast start up
Hope this helps
Solid Cruver
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
Curious -- Startup question (Hard Disk icon appear and computer is frozen)
I came home today, turned on my new MacBook Pro 15" and stepped away. A very few seconds later I came back and instead of seeing everything all loaded up as usual, I got a grey screen with a picture of my hard drive in the center with an arrow pointing up towards it under it. I tried to use my mouse, to no effect. Everything was just frozen. No question mark or warning, just a photo-realistic picture of my hard drive (or a standard Apple hard drive) and that arrow. I clicked the power button, and it restarted and everything worked fine. Could someone give me some advice/feedback as to what this was? Is it symptomatic of a more serious hard drive problem?
Wonderlad: If your MBP started up just fine on the second try, and you were able to run Disk Utility's Repair Disc routine twice on it (as in fact you did) without any major problems showing up, you probably have nothing to worry about. It sounds as though you inadvertently pressed the Option key the first time you started up (when the hard disk icon appeared and the startup didn't continue), or made some other minor mistake of that sort.
Each of your hard drives is represented by at least two lines in the left pane of Disk Utility. The upper line for each drive shows the drive's manufacturer and model number (in the case of an external drive, it's the drive unit inside the enclosure, not the maker of the enclosure); the line or lines indented beneath that one are the volumes (partitions) you've created on the drive. It sounds as though each of your drives has only one volume on it, and if that's true, the Repair Disk button has the same effect regardless of whether you've selected the drive mechanism or the volume on it.
When there's a CD or DVD in your optical drive, the optical drive mechanism and the disc also appear in Disk Utility's left pane. Disk Utility can't repair them, though. -
Oracle Shutdown/Startup Batch
I need to create a batch file where I can shutdown and startup Oracle 10g database on Windows Server 2003.
Is there any reason why you cannot use the services in Windows?
Find the service:
sc query | findstr Oracle
Stop the service:
sc stop <nameOfService>
To see the status:
sc query <nameOfService>
Start the service:
sc start <nameOfService>
You can also see the status in services (services.msc).
Maybe you are looking for
-
Satellite P50T-A - Bluetooth not working in Win 8.1
Since I bought my Toshiba Satellite P50t-A-125 laptop 2 weeks ago I have had problems with the bluetooth. My mouse kept disconnecting and I had to unpair and pair again over and over again to get it to work. The bluetooth device itself in the laptop
-
Mac Mini 2010 You tube videos stutter
Hi Everyone, I have just switched from windows to a Mac mini and am just wondering why when i watch a video in you tube it is jerky/stuttering. My other video files on the hard drive play fine but the web ones do not. I have tried waiting for them to
-
Illustrator CS5.1 crashes when saving on Mountain Lion
I recently upgraded to mountain lion and Illustrator crashes each time I try to save a file. I've tried validating all fonts in Fontbook, which have passed and repairing permissions on my systema and also deleting the Illustrator preferences file, bu
-
Help only displays the frame in Solaris 10, update 6
I have a help application that has been running fine since Solaris 8. It works in Solaris 10, update 1, but not in update 6. Only an empty help frame is displayed. My JRE is 1.6.0_05-b13, and I am using help 1.1.13. I suspect that replacing the defau
-
SharePoint Labels and Document Templates
Hi, i added a SharePoint Templates to a library to update documents with the document version numbers: Did it like this if you need more info: http://daniecsp.blogspot.com/2014/02/add-sharepoint-version-number-to-word.html That was working updating t