Monday, January 6, 2014

ORA-03113: end-of-file on communication channel Process ID: 1380 Session ID: 191 Serial number: 3 When archive destination is full



Delete Archivelog Using RMAN in Oracle



SQL> startup
ORACLE instance started.

Total System Global Area 1636814848 bytes
Fixed Size 2176248 bytes
Variable Size 1140853512 bytes
Database Buffers 486539264 bytes
Redo Buffers 7245824 bytes

Database mounted.

ORA-03113: end-of-file on communication channel
Process ID: 1380
Session ID: 191 Serial number: 3


Check in Alert Log file …….

NOTE: initiating MARK startup
Starting background process MARK
Mon Jan 06 16:41:54 2014
MARK started with pid=19, OS id=2952
NOTE: MARK has subscribed
Mon Jan 06 16:41:54 2014
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
ORACLE_BASE from environment = E:\app\Administrator
Mon Jan 06 16:41:56 2014
ALTER DATABASE MOUNT /* db agent *//* {0:1:28} */
NOTE: Loaded library: System
SUCCESS: diskgroup DATA was mounted
NOTE: dependency between database ASM and diskgroup resource ora.DATA.dg is established
Successful mount of redo thread 1, with mount id 3855157908
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT /* db agent *//* {0:1:28} */
ALTER DATABASE OPEN /* db agent *//* {0:1:28} */
LGWR: STARTING ARCH PROCESSES
Mon Jan 06 16:42:02 2014
ARC0 started with pid=26, OS id=8080
ARC0: Archival started
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
LGWR: STARTING ARCH PROCESSES COMPLETE
ARCH: Error 19504 Creating archive log file to 'E:\ARCHIVE\ARC0000003106_0832442370.0001'
ARC0: Error 19504 Creating archive log file to 'E:\ARCHIVE\ARC0000003107_0832442370.0001'
Errors in file E:\APP\ADMINISTRATOR\diag\rdbms\asm\asm\trace\asm_ora_1500.trc:
ORA-16038: log 1 sequence# 3106 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 1 thread 1: '+DATA/asm/onlinelog/group_1.261.832442371'
USER (ospid: 1500): terminating the instance due to error 16038
Mon Jan 06 16:42:04 2014
System state dump requested by (instance=1, osid=1500), summary=[abnormal instance termination].
System State dumped to trace file E:\APP\ADMINISTRATOR\diag\rdbms\asm\asm\trace\asm_diag_1608.trc
Dumping diagnostic data in directory=[cdmp_20140106164204], requested by (instance=1, osid=1500), summary=[abnormal instance termination].
Mon Jan 06 16:42:11 2014
Instance terminated by USER, pid = 1500


SQL>Shutdown Immediate;

SQL> startup mount

Then follow the below steps….

SQL> HOST

E:\app\Administrator\product\11.2.0\dbhome_1\BIN>rman target /
Recovery Manager: Release 11.2.0.3.0 - Production on Mon Jan 6 17:36:48 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to target database: ASM (DBID=1255844286)
RMAN>

Archivelog List Commands
RMAN>list archivelog all;
RMAN>list copy of archivelog until time ‘SYSDATE-10′;
RMAN>list copy of archivelog from time ‘SYSDATE-10′
RMAN>list copy of archivelog from time ‘SYSDATE-10′ until time ‘SYSDATE-2′;
RMAN>list copy of archivelog from sequence 1000;
RMAN>list copy of archivelog until sequence 1500;
RMAN>list copy of archivelog from sequence 1000 until sequence 1500;

Archivelog Delete Commands

RMAN>delete archivelog all;
RMAN>delete archivelog until time ‘SYSDATE-10′;
RMAN>delete archivelog from time ‘SYSDATE-10′
RMAN>delete archivelog from time ‘SYSDATE-10′ until time ‘SYSDATE-2′;
RMAN>delete archivelog from sequence 1000;
RMAN>delete archivelog until sequence 1500;
RMAN>delete archivelog from sequence 1000 until sequence 1500;


Note : Also, you can use noprompt statement for do not yes-no question.
 

RMAN>delete noprompt archivelog until time ‘SYSDATE-10′;

RMAN> quit


Recovery Manager complete.

E:\app\Administrator\product\11.2.0\dbhome_1\BIN>sqlplus
SQL*Plus: Release 11.2.0.3.0 Production on Mon Jan 6 17:39:15 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options

SQL>alter database open;



Now Issue is solved…..


Please share your valuable feedback. 

Saturday, January 4, 2014

Command prompts for Windows

Command prompts for Windows


Control Panel

·         CONTROL: opens the control panel window
·         CONTROL ADMINTOOLS: opens the administrative tools
·         CONTROL KEYBOARD: opens keyboard properties
·         CONTROL COLOUR: opens display properties with the appearance tab
·         CONTROL FOLDERS: opens folder options
·         CONTROL FONTS: opens font policy management
·         CONTROL INTERNATIONAL or INTL.CPL: opens the regional and language option
·         CONTROL MOUSE or MAIN.CPL: opens mouse properties
·         CONTROL USERPASSWORDS: opens user accounts editor
·         CONTROL USERPASSWORDS2 or NETPLWIZ: user account access restrictions
·         CONTROL PRINTERS: opens faxes and printers available
·         APPWIZ.CPL: opens the add or remove programs utility tool
·         OPTIONALFEATURES: opens the add or remove windows component utility
·         DESK.CPL: opens display properties with the themes tab
·         HDWWIZ.CPL: opens add hardware wizard
·         IRPROPS.CPL: infrared utility tool
·         JOY.CP: opens game controllers settings
·         MMSYS.CPL: opens sound and audio device properties with the volume tab
·         SYSDM.CPL: opens system properties
·         TELEPHON.CPL: opens phone and modem options
·         TIMEDATE.CPL: date and time properties
·         WSCUI.CPL: opens Windows Security Center
·         ACCESS.CPL: opens accessibility options
·         WUAUCPL.CPL: opens automatic updates
·         POWERCFG.CPL: opens power options properties
·         AZMAN.MSC: opens authorisation management utility tool
·         CERTMGR.MSC: opens certificate management tool
·         COMPMGMT.MSC: opens the computer management tool
·         COMEXP.MSC or DCOMCNFG: opens the computer services management tool
·         DEVMGMT.MSC: opens device manager
·         EVENTVWR or EVENTVWR.MSC: opens event viewer
·         FSMGMT.MSC: opens shared folders
·         NAPCLCFG.MSC: NAP client configuration utility tool
·         SERVICES.MSC: opens service manager
·         TASKSCHD.MSC or CONTROL SCHEDTASKS: opens schedule tasks manager
·         GPEDIT.MSC: opens group policy utility tool
·         LUSRMGR.MSC: opens local users and groups
·         SECPOL.MSC: opens local security settings
·         CIADV.MSC: opens indexing service
·         NTMSMGR.MSC: removable storage manager
·         NTMSOPRQ.MSC: removable storage operator requests
·         WMIMGMT.MSC: opens (WMI) Window Management Instrumentation
·         PERFMON or PERFMON.MSC: opens the performance monitor
·         MMC: opens empty console
·         MDSCHED: opens memory diagnostics tools
·         DXDIAG: opens DirectX diagnostics tools
·         ODBCAD32: opens ODBC data source administrator
·         REGEDIT or REGEDT32: opens registry editor
·         DRWTSN32: opens Dr. Watson
·         VERIFIER: opens driver verifier manager
·         CLICONFG: opens SQL server client network utility
·         UTILMAN: opens utility manager
·         COLORCPL: opens color management
·         CREDWIZ: back up and recovery tool for user passwords
·         MOBSYNC: opens synchronization center
·         MSCONFIG: opens system configuration utility
·         SYSEDIT: opens system configuration editor (careful while using this command)
·         SYSKEY: Windows account database security management (careful while using this command)


Windows utility and applications

·         EPLORER: opens Windows Explorer
·         IEXPLORER: opens Internet Explorer
·         WAB: opens contacts
·         CHARMAP: opens character map
·         WRITE: opens WordPad
·         NOTEPAD: opens Notepad
·         CALC: opens Calculator
·         CLIPBRD: opens Clipbook Viewer
·         WINCHAT: opens Microsoft Chat Interface
·         SOUNDRECORDER: opens sound recording tool
·         DVDPLAY: run CD or DVD
·         WMPLAYER: opens Windows Media Player
·         MOVIEMK: Opens untitled Windows Movie Maker
·         OSK: opens on-screen keyboard
·         MAGNIFY: opens Magnifier
·         WINCAL: opens Calendar
·         DIALER: opens phone dialer
·         EUDCEDIT: opens Private Character Editor
·         NDVOL: opens the mixer volume
·         RSTRUI : opens Tool System Restore (For Vista only)
·         %WINDIR%\SYSTEM32\RESTORE\rstrui.exe: opens Tool System Restore (for XP only).
·         MSINFO32: Opens System Information
·         MRT : launches the utility removal of malware
·         Taskmgr : Opens the Windows Task Manager
·         CMD: opens a command prompt
·         MIGWIZ: Opens the tool for transferring files and settings from Windows (Vista only)
·         Migwiz.exe: Opens the tool for transferring files and settings from Windows (for XP only)
·         SIDEBAR: Open the Windows (Vista only)
·         Sigverif : Opens the tool for verification of signatures of files
·         Winver : Opens the window for your Windows version
·         FSQUIRT: Bluetooth Transfer Wizard
·         IExpress opens the wizard for creating self-extracting archives. Tutorial HERE
·         MBLCTR: opens the mobility center (Windows Vista only)
·         MSRA : Opens Windows Remote Assistance
·         Mstsc : opens the tool connection Remote Desktop
·         MSDT: opens the diagnostic tools and support Microsoft
·         WERCON: opens the reporting tool and solutions to problems (for Vista only)
·         WINDOWSANYTIMEUPGRADE: enables the upgrade of Windows Vista
·         WINWORD : opens Word (if installed)
·         PRINTBRMUI : Opens migration wizard printer (Vista only)


Disk management

·         DISKMGMT.MSC: opens disk management utility
·         CLEANMGR: opens disk drive clean up utility
·         DFRG.MSC: opens disk defragmenter
·         CHKDSK: complete analysis of disk partition
·         DISKPART: disk partitioning tool


Connection management

·         IPCONFIG: lists the configuration of IP addresses on your PC (for more information type IPCONFIG/? in the CMD menu)
·         INETCPL.CPL: opens internet properties
·         FIREWALL.CPL: opens Windows firewall
·         NETSETUP.CPL: opens network set up wizard


Miscellaneous commands

·         JAVAWS: View the cover of Java software (if installed)
·         AC3FILTER.CPL: opens the properties AC3 Filter (if installed)
·         FIREFOX: Mozilla launches Firefox (if installed)
·         NETPROJ: allow or not connecting to a network projector (For Vista only)
·         LOGOFF: closes the current session
·         SHUTDOWN: shuts down Windows
·         SHUTDOWN-A: to interrupt Windows shutdown
·         %WINDIR% or %SYSTEMROOT%: opens the Windows installation
·         %PROGRAMFILES%: opens the folder where you installed other programs (Program Files)
·         %USERPROFILE%: opens the profile of the user currently logged
·         %HOMEDRIVE%: opens the browser on the partition or the operating system is installed
·         %HOMEPATH%: opens the currently logged user C:\Documents and Settings\ [username]
·         %TEMP%: opens the temporary folder
·         VSP1CLN: deletes the cache for installation of the service pack 1 for Vista
·         System File Checker (Requires Windows CD if the cache is not available):
·         SFC / scannow: immediately scans all system files and repairs damaged files
·         SFC / VERIFYONLY: scans only those files system
·         SFC / Scanfil = "name and file path": scans the specified file, and repairs if damaged
·         SFC / VERIFYFILE = "name and file path": Scans only the file specified
·         SFC / scanonce: scans the system files on the next restart
·         SFC / REVERT: return the initial configuration (For more information, type SFC /? In the command prompt CMD.