How to drop database instance if username/password is lost???
As the username/password is missing, I am not able to unistall the database studio
dbmsrv_VIJAY123.prt
Date Time TID(hex) Typ MsgID Label Message
2008-02-07 14:18:08 0x00001094 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:18:08): PID 5312 on computer VIJAY123
2008-02-07 14:18:08 0x00001094 INF 283 DBMSrv command inst_reg
2008-02-07 14:18:24 0x00001094 INF 226 DBMSrv DBM Server client disconnected: PID 5312 on computer VIJAY123
2008-02-07 14:33:28 0x000005dc INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:33:28): PID 5040 on computer VIJAY123
2008-02-07 14:33:28 0x000005dc INF 283 DBMSrv command db_create -a...
2008-02-07 14:33:29 0x000005dc INF 226 DBMSrv DBM Server client disconnected: PID 5040 on computer VIJAY123
2008-02-07 14:33:29 0x0000154c INF 416 DBMSrv Rundirectory does not exist.
2008-02-07 14:33:29 0x0000154c INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:33:29): PID 5040 on computer VIJAY123
2008-02-07 14:33:29 0x0000154c WRN 400 DBMSrv Usage of the old name 'RUNDIRECTORY' for parameter 'RunDirectoryPath'
2008-02-07 14:33:29 0x0000154c WRN 400 DBMSrv Usage of the old name 'INSTANCE_TYPE' for parameter 'InstanceType'
2008-02-07 14:33:29 0x0000154c INF 283 DBMSrv command auto_extend show
2008-02-07 14:33:29 0x0000154c INF 283 DBMSrv command auto_update_statistics show
2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_put SESSION_TIMEOUT "0"
2008-02-07 14:33:30 0x0000154c WRN 400 DBMSrv Usage of the old name 'SESSION_TIMEOUT' for parameter 'SessionTimeout'
2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_directput _UNICODE "YES"
2008-02-07 14:33:30 0x0000154c WRN 400 DBMSrv Usage of the old name '_UNICODE' for parameter 'DeprecatedParameter22'
2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_put CACHE_SIZE "2500"
2008-02-07 14:33:30 0x0000154c WRN 400 DBMSrv Usage of the old name 'CACHE_SIZE' for parameter 'CacheMemorySize'
2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_put SERVERDBFOR_SAP "NO"
2008-02-07 14:33:30 0x0000154c WRN 400 DBMSrv Usage of the old name '_SERVERDB_FOR_SAP' for parameter 'UseExtendedOracleSQLMode'
2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_put MAXDATAVOLUMES "64"
2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_put XP_MAXPAGER "3"
2008-02-07 14:33:30 0x0000154c WRN 400 DBMSrv Usage of the old name 'XP_MAXPAGER' for parameter 'DeprecatedParameter21'
2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_put MAXUSERTASKS "10"
2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_checkall EXTENDED
2008-02-07 14:33:30 0x0000154c INF 283 DBMSrv command param_commitsession NOCLOSE
2008-02-07 14:33:39 0x0000154c INF 283 DBMSrv command param_addvolume 1 DATA "D:\MAXDB_DATA\SAMPLE\data\DISKD0001" F 32768
2008-02-07 14:33:39 0x0000154c INF 283 DBMSrv command param_addvolume 1 LOG "D:\MAXDB_DATA\SAMPLE\log\DISKL001" F 6400 1
2008-02-07 14:33:40 0x0000154c INF 283 DBMSrv command db_admin -f
2008-02-07 14:34:12 0x000014c0 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:34:09): PID 5040 on computer VIJAY123
2008-02-07 14:34:12 0x000014c0 INF 161 DBMSrv database SAMPLE is no longer registered, no commands can be executed
2008-02-07 14:34:12 0x000014c0 INF 226 DBMSrv DBM Server client disconnected: PID 5040 on computer VIJAY123
2008-02-07 14:36:36 0x0000171c INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:36:36): PID 788 on computer VIJAY123
2008-02-07 14:36:36 0x0000171c INF 283 DBMSrv command db_create -a...
2008-02-07 14:36:37 0x0000171c INF 226 DBMSrv DBM Server client disconnected: PID 788 on computer VIJAY123
2008-02-07 14:36:37 0x000015ac INF 416 DBMSrv Rundirectory does not exist.
2008-02-07 14:36:37 0x000015ac INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:36:37): PID 788 on computer VIJAY123
2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name 'RUNDIRECTORY' for parameter 'RunDirectoryPath'
2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name 'INSTANCE_TYPE' for parameter 'InstanceType'
2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command auto_extend show
2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command auto_update_statistics show
2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_put SESSION_TIMEOUT "0"
2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name 'SESSION_TIMEOUT' for parameter 'SessionTimeout'
2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_directput _UNICODE "YES"
2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name '_UNICODE' for parameter 'DeprecatedParameter22'
2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_put CACHE_SIZE "2500"
2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name 'CACHE_SIZE' for parameter 'CacheMemorySize'
2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_put SERVERDBFOR_SAP "NO"
2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name '_SERVERDB_FOR_SAP' for parameter 'UseExtendedOracleSQLMode'
2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_put MAXDATAVOLUMES "64"
2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_put XP_MAXPAGER "3"
2008-02-07 14:36:37 0x000015ac WRN 400 DBMSrv Usage of the old name 'XP_MAXPAGER' for parameter 'DeprecatedParameter21'
2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_put MAXUSERTASKS "10"
2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_checkall EXTENDED
2008-02-07 14:36:37 0x000015ac INF 283 DBMSrv command param_commitsession NOCLOSE
2008-02-07 14:36:47 0x000015ac INF 283 DBMSrv command param_addvolume 1 DATA "D:\MAXDB_DATA\MAXDB1\data\DISKD0001" F 32768
2008-02-07 14:36:47 0x000015ac INF 283 DBMSrv command param_addvolume 1 LOG "D:\MAXDB_DATA\MAXDB1\log\DISKL001" F 6400 1
2008-02-07 14:36:48 0x000015ac INF 283 DBMSrv command db_admin -f
2008-02-07 14:39:42 0x00000e64 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:39:42): PID 4316 on computer VIJAY123
2008-02-07 14:39:42 0x00000e64 INF 283 DBMSrv command db_create -a...
2008-02-07 14:39:43 0x00000e64 INF 226 DBMSrv DBM Server client disconnected: PID 4316 on computer VIJAY123
2008-02-07 14:39:43 0x00001298 INF 416 DBMSrv Rundirectory does not exist.
2008-02-07 14:39:43 0x00001298 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 14:39:43): PID 4316 on computer VIJAY123
2008-02-07 14:39:43 0x00001298 WRN 400 DBMSrv Usage of the old name 'RUNDIRECTORY' for parameter 'RunDirectoryPath'
2008-02-07 14:39:43 0x00001298 WRN 400 DBMSrv Usage of the old name 'INSTANCE_TYPE' for parameter 'InstanceType'
2008-02-07 14:39:43 0x00001298 INF 283 DBMSrv command auto_extend show
2008-02-07 14:39:43 0x00001298 INF 283 DBMSrv command auto_update_statistics show
2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_put SESSION_TIMEOUT "0"
2008-02-07 14:39:44 0x00001298 WRN 400 DBMSrv Usage of the old name 'SESSION_TIMEOUT' for parameter 'SessionTimeout'
2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_directput _UNICODE "YES"
2008-02-07 14:39:44 0x00001298 WRN 400 DBMSrv Usage of the old name '_UNICODE' for parameter 'DeprecatedParameter22'
2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_put CACHE_SIZE "2500"
2008-02-07 14:39:44 0x00001298 WRN 400 DBMSrv Usage of the old name 'CACHE_SIZE' for parameter 'CacheMemorySize'
2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_put SERVERDBFOR_SAP "NO"
2008-02-07 14:39:44 0x00001298 WRN 400 DBMSrv Usage of the old name '_SERVERDB_FOR_SAP' for parameter 'UseExtendedOracleSQLMode'
2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_put MAXDATAVOLUMES "64"
2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_put XP_MAXPAGER "3"
2008-02-07 14:39:44 0x00001298 WRN 400 DBMSrv Usage of the old name 'XP_MAXPAGER' for parameter 'DeprecatedParameter21'
2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_put MAXUSERTASKS "10"
2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_checkall EXTENDED
2008-02-07 14:39:44 0x00001298 INF 283 DBMSrv command param_commitsession NOCLOSE
2008-02-07 14:39:55 0x00001298 INF 283 DBMSrv command param_addvolume 1 DATA "D:\MAXDB_DATA\SAMPLE\data\DISKD0001" F 32768
2008-02-07 14:39:56 0x00001298 INF 283 DBMSrv command param_addvolume 1 LOG "D:\MAXDB_DATA\SAMPLE\log\DISKL001" F 6400 1
2008-02-07 14:39:56 0x00001298 INF 283 DBMSrv command db_admin -f
2008-02-07 16:11:41 0x000010b8 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 16:11:40): PID 5432 on computer VIJAY123
2008-02-07 16:11:41 0x000010b8 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "\h"
2008-02-07 16:11:41 0x000010b8 INF 226 DBMSrv DBM Server client disconnected: PID 5432 on computer VIJAY123
2008-02-07 16:12:45 0x000016e8 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 16:12:45): PID 5988 on computer VIJAY123
2008-02-07 16:12:45 0x000016e8 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "db_enumremove"
2008-02-07 16:12:45 0x000016e8 INF 226 DBMSrv DBM Server client disconnected: PID 5988 on computer VIJAY123
2008-02-07 16:12:48 0x000014f4 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 16:12:48): PID 808 on computer VIJAY123
2008-02-07 16:12:48 0x000014f4 INF 283 DBMSrv command db_enum ...
2008-02-07 16:12:48 0x000014f4 ERR -24642 DBMSrv ERR_ANALYZECMD: Could not analyze the parameters of the current command "db_enum".
0x000014f4 ERR -24641 DBMSrv ERR_CMDSYNTAX: The given arguments do not match to the syntax of the command.
2008-02-07 16:12:48 0x000014f4 INF 226 DBMSrv DBM Server client disconnected: PID 808 on computer VIJAY123
2008-02-07 16:12:58 0x00000e40 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 16:12:58): PID 5004 on computer VIJAY123
2008-02-07 16:12:58 0x00000e40 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "db_rem"
2008-02-07 16:12:58 0x00000e40 INF 226 DBMSrv DBM Server client disconnected: PID 5004 on computer VIJAY123
2008-02-07 16:34:02 0x000007b4 INF 216 DBMSrv DBM Server client connection (established at 2008-02-07 16:34:02): PID 752 on computer VIJAY123
2008-02-07 16:34:02 0x000007b4 INF 283 DBMSrv command db_reg DB...
2008-02-07 16:34:02 0x000007b4 ERR -24953 DBMSrv ERR_DBEXIST: Database instance SAMPLE already exists
2008-02-07 16:34:02 0x000007b4 INF 226 DBMSrv DBM Server client disconnected: PID 752 on computer VIJAY123
2008-02-11 11:47:43 0x00000ad0 INF 216 DBMSrv DBM Server client connection (established at 2008-02-11 11:47:38): PID 5220 on computer VIJAY123
2008-02-11 11:47:43 0x00000ad0 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "dbmstop"
2008-02-11 11:48:16 0x00000ad0 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "dbmstop"
2008-02-11 11:49:22 0x00000ad0 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "dbmdrop"
2008-02-11 11:49:28 0x00000ad0 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "dbmdrop"
2008-02-11 11:49:29 0x00000ad0 INF 226 DBMSrv DBM Server client disconnected: PID 5220 on computer VIJAY123
2008-02-11 16:51:58 0x00001164 INF 216 DBMSrv DBM Server client connection (established at 2008-02-11 16:51:58): PID 5284 on computer VIJAY123
2008-02-11 16:51:58 0x00001164 INF 283 DBMSrv command db_create -a...
2008-02-11 16:51:58 0x00001164 INF 226 DBMSrv DBM Server client disconnected: PID 5284 on computer VIJAY123
2008-02-11 16:51:58 0x00001274 INF 416 DBMSrv Rundirectory does not exist.
2008-02-11 16:51:59 0x00001274 INF 216 DBMSrv DBM Server client connection (established at 2008-02-11 16:51:58): PID 5284 on computer VIJAY123
2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name 'RUNDIRECTORY' for parameter 'RunDirectoryPath'
2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name 'INSTANCE_TYPE' for parameter 'InstanceType'
2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command auto_extend show
2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command auto_update_statistics show
2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_put SESSION_TIMEOUT "0"
2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name 'SESSION_TIMEOUT' for parameter 'SessionTimeout'
2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_directput _UNICODE "YES"
2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name '_UNICODE' for parameter 'DeprecatedParameter22'
2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_put CACHE_SIZE "2500"
2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name 'CACHE_SIZE' for parameter 'CacheMemorySize'
2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_put SERVERDBFOR_SAP "NO"
2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name '_SERVERDB_FOR_SAP' for parameter 'UseExtendedOracleSQLMode'
2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_put MAXDATAVOLUMES "64"
2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_put XP_MAXPAGER "3"
2008-02-11 16:51:59 0x00001274 WRN 400 DBMSrv Usage of the old name 'XP_MAXPAGER' for parameter 'DeprecatedParameter21'
2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_put MAXUSERTASKS "10"
2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_checkall EXTENDED
2008-02-11 16:51:59 0x00001274 INF 283 DBMSrv command param_commitsession NOCLOSE
2008-02-11 16:52:08 0x00001274 INF 283 DBMSrv command param_addvolume 1 DATA "D:\MAXDB_DATA\MAXDB2\data\DISKD0001" F 32768
2008-02-11 16:52:08 0x00001274 INF 283 DBMSrv command param_addvolume 1 LOG "D:\MAXDB_DATA\MAXDB2\log\DISKL001" F 6400 1
2008-02-11 16:52:09 0x00001274 INF 283 DBMSrv command db_admin -f
2008-02-11 16:56:58 0x00001464 ERR -24590 DBMSrv ERR_REPLY_SHMCHANNEL: Error delivering DBM server reply
0x00001464 ERR -24832 DBMSrv ERR_SHMNOTAVAILABLE: Shared memory not available
2008-02-12 11:54:10 0x00000ddc INF 216 DBMSrv DBM Server client connection (established at 2008-02-12 11:54:08): PID 664 on computer VIJAY123
2008-02-12 11:54:11 0x00000ddc INF 161 DBMSrv database SAMPLE is no longer registered, no commands can be executed
2008-02-12 11:54:11 0x00000ddc INF 226 DBMSrv DBM Server client disconnected: PID 664 on computer VIJAY123
2008-02-12 12:08:39 0x000012bc INF 216 DBMSrv DBM Server client connection (established at 2008-02-12 12:08:37): PID 556 on computer VIJAY123
2008-02-12 12:08:39 0x000012bc INF 161 DBMSrv database MAXDB1 is no longer registered, no commands can be executed
2008-02-12 12:08:39 0x000012bc INF 226 DBMSrv DBM Server client disconnected: PID 556 on computer VIJAY123
2008-02-12 16:16:43 0x00001334 INF 216 DBMSrv DBM Server client connection (established at 2008-02-12 16:16:43): PID 3532 on computer VIJAY123
2008-02-12 16:16:43 0x00001334 INF 283 DBMSrv command db_reg DB...
2008-02-12 16:16:43 0x00001334 ERR -24953 DBMSrv ERR_DBEXIST: Database instance MAXDB2 already exists
2008-02-12 16:16:43 0x00001334 INF 226 DBMSrv DBM Server client disconnected: PID 3532 on computer VIJAY123
2008-02-12 16:18:37 0x00001024 INF 216 DBMSrv DBM Server client connection (established at 2008-02-12 16:18:03): PID 3760 on computer VIJAY123
2008-02-12 16:18:37 0x00001024 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "-d"
2008-02-12 16:18:47 0x00001024 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "dbmdrop"
2008-02-12 16:18:56 0x00001024 ERR -24977 DBMSrv ERR_COMMAND: Unknown DBM command "maxdb2"
2008-02-12 16:19:10 0x00001024 INF 226 DBMSrv DBM Server client disconnected: PID 3760 on computer VIJAY123
dbmcli db_enum
OK
MAXDB2 D:\Program_Files\SDB\programs\DatabaseStudio\utilities 7.7.03.23 fast running
dbmcli inst_enum
OK
xinstinfo MAXDB2
IndepData : D:\MAXDB_DATA
IndepPrograms : D:\Program_Files\SDB\programs
InstallationPath : D:\Program_Files\SDB\programs\DatabaseStudio\utilities
Kernelversion : KERNEL 7.7.03 BUILD 023-123-174-368
Rundirectory : D:\MAXDB_DATA\wrk\MAXDB2
sdbregview -l
Server Utilities d:/program_files/sdb/programs 7.7.03.23 32 bit valid
Database Studio Utilities d:/program_files/sdb/programs/databasestudio/utilities 7.7.03.23 valid
Database Studio d:/program_files/sdb/programs 7.7.03.23 valid
Base d:/program_files/sdb/programs 7.7.03.23 32 bit valid
After renaming the files accordingly
D:\Program_Files\SDB\programs\DatabaseStudio\utilities\pgm>dbmdrop maxdb2
The MaxDB Database Dropper, Version 7.7.03.23
Copyright 2000-2008 by SAP AG
ERR
-24960,ERR_DBRUN: Database instance is running
Error: Error while calling dbmcli
"D:\Program_Files\SDB\programs\pgm\dbmcli" -d maxdb2 -u , db_drop
D:\Program_Files\SDB\programs\DatabaseStudio\utilities\pgm>"D:\Program_Files\SDB\programs\pgm\dbmcli" -d maxdb2 -u DBADMIN,abcd db_drop
ERR
-24960,ERR_DBRUN: Database instance is running
Similar Messages
-
How to specific database instance for powershell commnad New-SPConfigurationDatabase
I'm runing powershell commnad New-SPConfigurationDatabase ,
there is a parameter is
DatabaseServer, how to specific database instance?
AwenHi,
Just use the instance name for Databse server...like below.
-DatabaseServer server2012sql\instancename –AdministrationContentDatabaseName SharePoint_Admin_Content
Hope this helps.
Cheers,
Sangeetha
-Sangeetha -
Cannot drop queue objects - invalid username/password
Folks - I'm having an issue where I cannot drop the user that owns my AQ/streams objects from an 11g database.
SYS@bwapepd1> drop user streams cascade;
drop user streams cascade
ERROR at line 1:
ORA-24008: queue table STREAMS.LB_SUBS_SOURCE_QT must be dropped first
So then I try to drop the queue -
SYS@bwapepd1> execute dbms_aqadm.drop_queue('STREAMS.LB_SUBS_SOURCE_Q');
BEGIN dbms_aqadm.drop_queue('STREAMS.LB_SUBS_SOURCE_Q'); END;
ERROR at line 1:
ORA-01017: invalid username/password; logon denied
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 3472
ORA-06512: at "SYS.DBMS_AQADM", line 167
ORA-06512: at line 1
So, next I tried to drop the queue table with a force -
SYS@bwapepd1> BEGIN
dbms_aqadm.drop_queue_table(
queue_table => 'STREAMS.LB_SUBS_SOURCE_QT',
force => TRUE);
END;
BEGIN
ERROR at line 1:
ORA-01017: invalid username/password; logon denied
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 4215
ORA-06512: at "SYS.DBMS_AQADM", line 197
ORA-06512: at line 2
I've tried as both SYS and the STREAMS owner and both get the same invalid username/password error.
Any help is much appreciated.
Thx!
rbThere is insufficient information here to help you but my recommendation would be:
1. Stop the queue
2. Drop the queue
3. Drop the queue table
4. Drop the user with cascade
If you are getting an insufficient privs message when logged on as SYS then you need to make sure that you are where you think you are: You are not. Perhaps you have a remote connection, for example.
PS: Is this Windows and are you using the joke that is remote desktop? That is one example of not being where you think you are. -
How to drop/delete instance
Hi all,
I need to delete or drop an instance from the database. How do i do it? What command to use to drop the entire instance with the data in it. I dont need the instance as we'r creating a new one.pls help on how to delete instance.
Thanks
M.KaurAn instance is merely a set of memory structures. If you stop the instance, those memory structures disappear. So you can't say, 'I don't want to stop the instance but remove it' unless you and I are talking a completely different language where words have new meanings. To "remove" an instance, you stop it. But the correct terminology is "stopping an instance".
If i would to delete my datafiles,control files and redo logs files, how should I do that
Well, how do you delete any file? Depends on my OS, of course, but del *.txt usually does the trick of deleting all text files on Windows, and there's rm *.txt for doing the same thing on Linux or Unix. It's a safe bet that to delete all traces of a physical database, you're going to need to do something like del *.ctl or rm *.dbf.
So no, you can't delete all traces of a database without having access to the file system. And you won't get that from SQL*Plus.
And no, there are no scripts I can provide for this sort of thing. Apart from anything else, I haven't a clue what operating system you're running, so my forward slashes might need to be your backslashes or vice versa. But even if I knew, I wouldn't provide you with a script: deleting a database is something you do with care and understanding, not something you can borrow someone else's generic scripts for! -
How to make database instances available in the SAP MMC
Hello,
I have been trying to figure out on how to make a database instance, which I installed on the MSSQL Server, available in the SAP Management Console in order to start the instance. I am able to view the instance over the Enterprise Manager of the MSSQL Sever, but I cannot start it from there (this is only possible from the SAP MMC). I have the SAP MMC installed on my computer, but just cannot figure out on how to control the instance from there because I cannot see it.
I hope someone can help me on this matter!
Thanks....
KatharinaHello Katharina,
Run SAP MMC and right-click to SAP R/3 Systems.
Choose properties and go to Fixed tab.
In 'System' field enter Your SID (e.g. EBP)
In 'Instance' field enter hostname<space>instance number (e.g. epb01 10) Remember, there is space between ebp01 and 10.
Click on 'Add' button and then OK.
Best Regards,
Marcin Gajewski -
Firefox (I think version 5, maybe 4) does not ask to "remember" passwords anymore nor does it ask to "change" a password when I've done that. It didn't ask when I changed my Facebook password & I have to log in each time so I removed my username & password for FB on Firefox's "saved password" page. When I've don't that before, it asks to "remember" but doesn't anymore. I use a master password.
Make sure that you do not run Firefox in permanent Private Browsing mode.
*https://support.mozilla.com/kb/Private+Browsing
To see all History and Cookie settings, choose:
*Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
*Deselect: [ ] "Always use private browsing mode"
The website may be using autocomplete=off to prevent Firefox from saving the name and password.
You can remove autocomplete=off with a bookmarklet to make Firefox save the name and password.
*http://kb.mozillazine.org/User_name_and_password_not_remembered
*Saved Password Editor: https://addons.mozilla.org/firefox/addon/saved-password-editor/ -
15:54:38 SYS AS SYSDBA@orcl>shutdown immediate;
Base de datos cerrada.
Base de datos desmontada.
Instancia ORACLE cerrada.
15:55:11 SYS AS SYSDBA@orcl>startup mount
Instancia ORACLE iniciada.
Total System Global Area 289406976 bytes
Fixed Size 1290184 bytes
Variable Size 201326648 bytes
Database Buffers 79691776 bytes
Redo Buffers 7098368 bytes
Base de datos montada.
15:55:53 SYS AS SYSDBA@orcl>drop database;
drop database
ERROR en línea 1:
ORA-12719: la operación necesita que la base de datos está en modo RESTRICTED
15:59:00 SYS AS SYSDBA@orcl>STARTUP MOUNT RESTRICT
Instancia ORACLE iniciada.
Total System Global Area 289406976 bytes
Fixed Size 1290184 bytes
Variable Size 209715256 bytes
Database Buffers 71303168 bytes
Redo Buffers 7098368 bytes
Base de datos montada.
15:59:59 SYS AS SYSDBA@orcl>drop database;
Base de datos borrada.
tnx!!!A good practice is to specify the OS and DB versions at the top of your thread. Do you want to 'Drop' a database or do you want to wipe it off from your OS. You could use Yingkuan advice, just use dbca, if it is not possible, depending on the OS you are currently working with, you should remove the Windows service, deconfigure it and physically remove it or simply, on unix like platforms, just remove it and remove its configuration.
~ Madrid
http://hrivera99.blogstpot.com -
How To Acess Windows 2000/NT username password
Hello,
I am trying to find a solution for validating the user to my application using NT/2000 username/password.But i not able to know where to start and what all api will be required.
Please tell the solution if somebody knows it
thank you
anshul
[email protected]You can get hold of the NT username by using an ActiveX object. I think it's called using code something like...
var WshNetwork = new ActiveXObject(WScript.Network)
var username = WshNetwork.Username
then you can send the value of the username to your JSPs etc.
I'm not sure if that object will let you get the password though, but when we did it, we made the assumption that if there is a username, the user has managed to get into NT, and that fact alone is enough to trust them.
-Rich
PS apologies for the Microsoft code! -
Administrator API: Login to specific instance with username, password
1) How do I login to a specific instance of ColdFusion administrator with a username and password. The example I see everywhere is variations of:
adminObj = createObject("component","cfide.adminapi.administrator");
adminObj.login("password");
which appears to be based on no instances and not multiple administrators.
my goal is to log into a set of instances and assign datasources to each of them based on a csv file. I know how to do all that once logged in.
What I don't know how to do is log in!
Please help!
2) Is there an actual document anywhere that actually documents the administrator API? I have the help files that I suspect everyone has and they don't.
Thank you.The way I did it was to create a directory under the cfide folder in a given instance and called the pages via http://server.blah.com:8301/cfide/blah/admin.cfm
Here's some example code of creating a datasource (I don't recall where I grabbed it from, it isn't mine - but it does work).
<!--- <!--- log in CFAdmin User --->
<cfset administratorService = CreateObject("component","CFIDE.adminapi.administrator")>
<cfset bIsLoggedIn = administratorService.Login(dsnpassword,dsnuser)>
<cfif bIsLoggedIn>
<cfset datasourceService = createObject("component", "CFIDE.adminapi.datasource")>
<!--- check to see if datasource with same name doesn't already exist --->
<cfif datasourceService.VerifyDSN(#dsName#) eq false>
<cfset stArgs = StructNew()>
<cfset stArgs.name = #dsName#>
<cfset stArgs.database = #dbName#>
<cfset stArgs.host = #dbServer#>
<cfset stArgs.port = 1433>
<cfset stArgs.driver = mssql>
<cfset stArgs.selectmethod = datasource_selectmethod>
<cfset stArgs.username = dbuser>
<cfset stArgs.password = dbpassword>
<!--- create datasource - this one's for MSSQL DB --->
<cfset datasourceService.SetMSSQL(argumentCollection=stArgs)>
</cfif>
</cfif> ---> -
How to Start Database Instance ???
Hi All,
I Installed 8.1.7 as well as I created 3 database. OEM console and DBA studio are working fine. But I found that 2 among 3 database were shutdown. I can logon as sysdba to the said database. But unable to start/ mount/ open the database.
Can any one kindly help me....
Thanks in advance
Uma PandaORA-01034 ORACLE not available
Cause: Oracle was not started. Possible causes include the following:
The SGA requires more space than was allocated for it.
The operating-system variable pointing to the instance is improperly defined.
Action: Refer to accompanying messages for possible causes and correct the problem mentioned in the other messages. If Oracle has been initialized, then on some operating systems, verify that Oracle was linked correctly. See the platform-specific Oracle documentation. -
on a particular website that has sub domains I have multiple accounts with the same name but different password. Firefox seems only able to save one of them, because they are on the same site.
"Things"? What things? Apps for keeping track of when to change cat litter? 30 different versions of "twinkle, twinkle little star" played by everything from punk rockers to Gregorian chant? Videos on the best way to make Christmas cake?
-
How to recover database when all redo logs are losted
pls help me in recovering the database when all the redo logs are losted
In both cases he has to open the database in RESETLOGS option. So try:
recover database until cancel;
Then cancel the recovery, and
alter database open resetlogs;
If you want to check where your database is at then mount your database and issue:
select group#, sequence#,first_change# from v$log;
This will tell you the sequence and SCN of all the online log files then compare it with what it prompted when you issued recovery command.
Daljit Singh -
Report Manager 2008 r2 - prompts for username/password & does not accept
Hi all,
I am dealing with an extremely frustrating problem with Reporting Services 2008 r2, Report Manager, and would greatly appreciate any help.
I have installed Reporting Services, with Report Manager, onto a Windows Server 2008 r2 install.
When loading Report Manager (http://server/reports), I get prompted for a username/password.
No matter what I type in, I get prompted a 2nd time, then a 3rd time, then a blank screen loads up.
@#$@#??!?!!
How can I get past this username/password challenge - remember this is SQL 2008 r2 so IIS-based solutions are not relevant.
Thanks again,
JasonHi Jason,
Did you follow the solution i mentioned at another your thread
http://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/4f3651cb-c608-4460-a45a-9337df2ab88a ? This is very common issue in SSRS 2008 and the solutons have been summarized at this blog
http://blogs.msdn.com/b/lukaszp/archive/2008/03/26/solving-the-reporting-services-login-issue-in-the-february-ctp-of-sql-server-2008.aspx , and also applies to SSRS 2008 R2.
Note:by using the default installation, the rsreportserver.config file is stored at C:\Program Files\Microsoft SQL Server\MSRS10_50.instance\Reporting Services\ReportServer
please let us know the result.
thanks,
Jerry -
Deleting database instances of previous Oracle Installations
How to delete database instances of previous Oracle Installations
I have Installed new instance of Oracle onto my server but on services window I can still see the older instances of oracle.
Apart from this I am unable to create database instance with same name as previous instance name.Search in the windows registy and delete all occurrence of Oracle
-
How to save Database Configuration setting to a Crystal Report Instance
Hello,
I'm using .net c# to create and run a schedule of a crystal report.
I'm able to connect to BOE and succesffuly create the schedule instance and pass the parameters. but it's failing to run because I'm not providing it with the Database Logon credentials.
I know there is a way to set the database confiuration on the report in CMC, but we don't want to do that so we can have a trail of who ran the report. We want to pass that through code when scheduling an instance. Can someone tell me how to do so.
Thanks!ceReportObjects = ceInfoStore.Query(sQuery);
//check for returned reports
if(ceReportObjects.Count > 0)
ceReportObject = ceReportObjects[1];
ceReport = (Report)ceReportObject;
//grab the report logons
dbLogons = ceReport.ReportLogons;
dbLogon = dbLogons[1];
//set custom values
//** NOTE: **
//The easiest way to determine the proper custom logon values is to
//successfully set custom logon values through the CMC first, then
//transpose those values to this application
dbLogon.UseOriginalDataSource = false;
dbLogon.CustomDatabaseDLLName = "crdb_ado.dll";
dbLogon.CustomServerName = "servername";
dbLogon.CustomDatabaseName = "database";
dbLogon.CustomUserName = "username";
dbLogon.CustomPassword = "password";
dbLogon.TableLocationPrefixes[1].MappedTablePrefix = "DatabaseName.dbo.";
dbLogon.TableLocationPrefixes[1].UseMappedTablePrefix = true;
//Create an interface to the scheduling options for the report.
SchedulingInfo ceSchedulingInfo;
ceSchedulingInfo = ceReport.SchedulingInfo;
//run the report right now
ceSchedulingInfo.RightNow = true;
//run the report once only
ceSchedulingInfo.Type = CeScheduleType.ceScheduleTypeOnce;
//schedule report
ceInfoStore.Schedule(ceReportObjects);
Taken from a sample contained [here|https://smpdl.sap-ag.de/~sapidb/012002523100005921432008E/bexi_csharp_smpl.zip]
Maybe you are looking for
-
Chinese input using mac trackpad is not working in firefox 18
i was trying to use my mac trackpad to input chinese on the web page and found out it is not working ... i switched to use firefox recently from safari which is working fine with input chinese using mac trackpad ... i am using version 18 and search t
-
How to read XML file and update the data in MS CRM 2011?
Hi Folks, Can anyone please help me finding some references to read XML files and push the data to MS CRM 2011 preferably by using a console application. Please let me know if any ways of handling it in simple ways. Thanks, Sri
-
Unable to select 'Art Text' object.
Hi, Not sure whether this happens only to me. I just added one image (jpg) through Insert -> File options changed it opacity, then I selected the art text tool for adding some text. But after adding the art text and when I tried to select the text, I
-
Hello gurus, I need a help in pivot table view. In pivot table, I have to show measure in accordance to month. For example show sales as per region by month name. Region Sales Jan Feb Mar A
-
Hi, I need to remove Unicode warnings while checking syntax (without removing the Unicode flag in attribute). Pls reply ASAP TIA Atin