SP2-0640
I installed Oracle Database 11G express edition successfully.
now, when I open the SQL command line & try to execute any SQL command, it gives me an error
SP2-0640: NOT CONNECTED.
Could you please let me know a solution for this???
Thank you.
Same problem. No solved.You get what you ask for, not what you want. A connection to the database requires ... connecting.
$ sqlplus /nolog
connect system
... password ... Connected.
create user <username> identified by <password> [ default tablespace users];
grant create session, resource to <username>;
connect <username>
... Password ... Connected.
Similar Messages
-
Trying to log in using sqlplus /nolog and getting SP2-0640
Hello, I searched for this problem but not having much luck. I have Oracle 9iR2 running on Solaris 9 workstation. I can log on giving sys/passwd as sysdba and log on using any other user accounts. What I can't do is get into sqlplus using /nolog. I am setting up a dataguard physical clone. The clone is another 9iR2 workstation and i just installed the RDBMS software without creating a database. I can go into this database with sqlplus /nolog. I cannot do this on my intended primary database. I remember being able to get into the database when i first set it up using sqlplus /nolog but have since changed the unix account password and i believe this caused it but when i change the password back to the same one when I created the database, it still does not work. The error I get is SP2-0640: Not connected. Is there a log I can look up that will give me more information? thanks,
JimNormally this errors occurs, if you have in glogin.sql (located in $ORACLE_HOME/sqlplus/admin) or login.sql statements,which require a working connection.
Werner -
Error when opening OEM: Cluster Database : OraDB.SP2-0640: Not connected
I have successfully installed 2 nodes Oracle cluster.
1. The dbconsole is started in both nodes.
I checked this with HM/bin>emctl status dbconsole
2. The agent is also started successfully in both nodes.
I checked this with HM/bin>emctl status agent
The problem is that my enterprise manager is started with error; Cluster Database : v3uat.SP2-0640: Not connected
My database is up and running because I can connect using sqlplus and toad.
Did anyone know what the problem might be?
Any help would be greatly appreciated.
AsoRockcheck emoms.trc
-
Error SP2-0640 when installing Statspack
Oracle 9.2.0.1.0 . Windows.
Trying to install statspack, keep getting the same error in spctab.lis
SP2-0640: Not connected
I have read this is a connect string issue. I have read I should run the spcreate.sql even as system instead of sys. I have unsuccessfully installed, then used the spdrop.sql to return.
I connect through SQL*Plus as this: sys/***@***** as sysdba - all on the one line.
I am able to create the perfstat user and allocate required tablespace and temp space, but when creating STATS$... tables the process fails with said error.
If I try to run later a query such as exec statspack.snap; I get this error
PLS-00201: identifier 'STATSPACK.SNAP' must be declared
Sources used:
http://www.akadia.com/services/ora_statspack_survival_guide.html
http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/statspac.htm#21605
I read that one should run the three scripts individually:
spcusr.sql as sysdba
spctab.sql and spckg.sql as perfstat
Thanks.
Message was edited by:
Dan Asqlplus sys/***@*** as sysdba
has never worked on Windows
It should be sqlplus "sys/***@** as sysdba"
The first document you claim to have read actually does use the double quotes.
Posting an error message without context in this case is vague.
The PLS-00201 demonstrates statspack doesn't exist in the user PERFSTAT.
As you are calling an Ascii script, issues with a readable script usually can be resolved by reading the script.
When I read the script my conclusion is you never created the PERFSTAT user.
In either case, if you don't post spcusr.lis nor spctab.lis, I can only recommend you troubleshoot this yourself. It is not that difficult and you could actually learn something.
Sybrand Bakker
Senior Oracle DBA
Sybrand Bakker
Senior Oracle DBA -
Backup of the database failed Showing: Unknown log mode : SP2-0640:.
In Oracle Express Edition 10g:
When I try to create a backup I get the following:
==================== ERROR =============================
Backup of the database failed.
Unknown log mode : SP2-0640:.
Log file is at SP2-0640:.
==================== ERROR =============================
Press any key to continue . . .
What may be the reason and whats the solution
Thanks,
Vishal.Hi all,
I had the exact same problem
the backup menu item runs :
C:\oraclexe\app\oracle\product\10.2.0\server\BIN\backup.bat
when you look at this batchfile you will see the following :
The script assumes that user can connect using "/ as sysdba"when you have OS authentication disabled the batchfile will give the formentioned error
turn OS authentication back on by changing C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN\sqlnet.ora
(you could turn it back off after your backup succeeded)
grtz
Martin -
XE Failed Backup - Unknown log mode : SP2-0640:.
All,
When attempting to backup my Oracle XE db using the shortcut in the Programs menu, I am getting the following error:
==================== ERROR =============================
Backup of the database failed.
Unknown log mode : SP2-0640:.
Log file is at SP2-0640:.
==================== ERROR =============================
Press any key to continue . . .
...I tried looking at the OXE_BACKUP_CURRENT.LOG to see if there was a current error thrown. However, there was not.
....By looking at other posts regarding this error, one person suggesting changing the backup.bat for every line that states "echo connect / as sysdba;"...
to "echo connect sys/password as sysdba;"
When I do that, I get the following dump in the OXE_BACKUP_CURRENT.LOG file...
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 28 09:27:18 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Windows Server 2003 Version V5.2 Service Pack 2
CPU : 2 - type 586, 1 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:1417M/3071M, Ph+PgF:1856M/4219M, VA:2000M/2047M
Starting with debugging turned off
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
More info....
I am logged in as an administrator in the ORA_DBA group.
{PR}I am logged in as an administrator in the ORA_DBA group.With this you mean: user is member of the ORA_DBA group, or?
-
Random SP2 error when starting oracle process through SHELL script
Hi All,
I am trying to process data in n-Number of tables through a package. The package is called through a shell script to create start data processing. All calls to the package are in a sql script which is basically exec calls-
exec package.process ('T1','some param');
exec package.process ('T1','some param');
exec package.process ('T..n','some param');
I have a shell script which I use to execute commands from the sql script. There is a reason behind using shell script. For some strange reason, I keep on getting -
ERROR: logon denied - check for valid user with valid privileges
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SP2-0640: Not connected
for some EXEC calls. Problem is, errors are generated at random. So in one run, I get error for T10,T11 and then in next run I might get for some other tables.
However, when I am running the sql script from the sql prompt, all calls to the package are executed without any problem.
This makes me think, it is something to do with the way database connection being initiated through UNIX.
Has anyone faced similar issue? Your help/gudence is much appreciated.
DB: Oracle 10.2.0.5
OS: SUN Solaris 10
Thanks in advance.Login credentials are provided inside the shell script.
I did put a sleep(10) after EOF but no help. As mentioned if I run script file from sql promt, it runs without any hiccup. So it is the connection through the UNIX that is causing issue.
As pointed out by Sybrand, I agree that it does not make a sense to connect and commit after every sql statement. So decided to change the shell script and so far, the result from my initial tests on a sample data is quite encouraging. Hopefully I will have a solution.
But it will be nice to know why SHELL is doing what it is doing!!
Legacy prog are sometime big time eye-openers..;) -
Hello everyone!
I hope you are doing well all. In my case I have some troubles by installing Oracle XE 11g on my PC. My OS is Windows 7 Pro x64.
1. I activated the Administrator mode on my PC (net user Administrator /active:yes)
2. Started the setup as Administrator. The setup process was finished successfully with no errors showed.
3. Started the Database, OracleServiceXE, OracleXETNListener and other services.
4. Tried to connect using sqlplus-> connect system ->password, what in result gave me ORA-01034 Oracle not available and ORA-27101 Shared memory realm does not exist errors.
5. Then I recognized that my C:\oraclexe\app\oracle\oradata\XE folder is empty when it should be usually full with 6 DBF file.
6. I opened the cloneDBCreation.log and it contains these data:
SQL> Create controlfile reuse set database "XE"
2 MAXINSTANCES 8
3 MAXLOGHISTORY 1
4 MAXLOGFILES 16
5 MAXLOGMEMBERS 3
6 MAXDATAFILES 100
7 Datafile
8 'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
9 'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
10 'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
11 'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
12 LOGFILE
13 GROUP 1 SIZE 51200K,
14 GROUP 2 SIZE 51200K,
15 RESETLOGS;
SP2-0640: Not connected
SQL> exec dbms_backup_restore.zerodbid(0);
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SQL> shutdown immediate;
ORA-12560: TNS:protocol adapter error
SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\initXETemp.ora";
ORA-12560: TNS:protocol adapter error
SQL> Create controlfile reuse set database "XE"
2 MAXINSTANCES 8
3 MAXLOGHISTORY 1
4 MAXLOGFILES 16
5 MAXLOGMEMBERS 3
6 MAXDATAFILES 100
7 Datafile
8 'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
9 'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
10 'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
11 'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
12 LOGFILE
13 GROUP 1 SIZE 51200K,
14 GROUP 2 SIZE 51200K,
15 RESETLOGS;
SP2-0640: Not connected
SQL> alter system enable restricted session;
SP2-0640: Not connected
SQL> alter database "XE" open resetlogs;
SP2-0640: Not connected
SQL> alter database rename global_name to "XE";
SP2-0640: Not connected
SQL> alter system switch logfile;
SP2-0640: Not connected
SQL> alter system checkpoint;
SP2-0640: Not connected
SQL> alter database drop logfile group 3;
SP2-0640: Not connected
SQL> ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\oraclexe\app\oracle\oradata\XE\temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED;
SP2-0640: Not connected
SQL> select tablespace_name from dba_tablespaces where tablespace_name='USERS';
SP2-0640: Not connected
SQL> select sid, program, serial#, username from v$session;
SP2-0640: Not connected
SQL> alter user sys identified by "&&sysPassword";
SP2-0640: Not connected
SQL> alter user system identified by "&&systemPassword";
SP2-0640: Not connected
SQL> alter system disable restricted session;
SP2-0640: Not connected
SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\postScripts.sql
SQL> connect "SYS"/"&&sysPassword" as SYSDBA
ERROR:
ORA-12560: TNS:protocol adapter error
SQL> set echo on
SQL> spool C:\oraclexe\app\oracle\product\11.2.0\server\config\log\postScripts.log
I spent around 2 days to come to this reason and now I do not know what to do next.
My actions to resolve this problem:
1. Checked if my user has administrative rights and belongs to ora_dba. It does!
2. Turned Microsoft UAC off.
3. Set the system and local variables of ORACLE_BASE, ORACLE_HOME, ORACLE_SID, PATH, TNS-ADMIN to the appropriate values in Enivornment Variables:
- ORACLE_BASE -> C:\oraclexe
- ORACLE_HOME -> %ORACLE_BASE%\app\oracle\product\11.2.0\server
- ORACLE_SID -> XE
- Added to PATH -> C:\oraclexe\app\oracle\product\11.2.0\server\bin;
- TNS_ADMIN -> %ORACLE_HOME%\network\admin
4. Removed Oracle XE 11g and reinstalled to another drive. No sense!
Some more errors:
1. C:\oraclexe\app\oracle\product\11.2.0\server\config\log\XE.bat.log
Instance created.
DIM-00019: create service error
O/S-Error: (OS 1387) Ein Mitglied konnte in der lokalen Gruppe nicht hinzugefugt oder entfernt werden, da das Mitglied nicht vorhanden ist.
It means -> O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
I understand that I need to logon as batch job. I added me to this policy in User Rights Assignments, but still I get these "DIM-00019: create service error" and "O/S-Error: (OS 1387)". And I guess just therefore my database is not starting well.
2. 127.0.0.1:8080/apex/f?p=4950 is not starting in browser. It is probably because the database is not running appropriately. For this issue have already seen one topic in Google that the HTTP Properties inside the Listener Status must be set to 8080 to make this link work. But in my case I do not see this line in my Listener Status:
Some other information relevant to the issue:
1) echo %USERNAME% - Administrator
echo %USERDOMAIN% - ildar-PC
2) Listener.log:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
3) Tnsnames.log
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
4) Sqlnet.log:
SQLNET.AUTHENTICATION_SERVICES = (NTS)
5) While connecting by sqlplus, I get this errors/messages:
6) Confirmation that I've got admin rights and I am in ORA_DBA:
If u need some more information from me, please let me know!!
Guys please help me to solve this issue, 'cause I've almost got frustrated to find out the solution of this problem. Thank you beforehand!!
Kind regards,
ildarI have tried to install both of them lots of times but in each case I receive the same in my XE.bat file:
Instance created.
DIM-00019: create service error
O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
Have checked OS 1387 error at Microsoft Support and as possible cause of the problem they give as follows:
This issue can occur if the environment has a disjointed namespace (i.e. the domain has different NetBIOS and DNS names). For example, assume that the domain has a NetBIOS name of "domain.com" and a DNS name of "domain-old.com." When users are added in the Windows UI, they are displayed in the format of domain\ComputerName. However, you notice in the error log that there was an attempt to add a computer account in the format of domain-old\ComputerName. (System Center 2012 R2 Data Protection Manager install fails and generates ID: 4323: "A member could not be added")
Tried to find out my DNS name, but it is impossible because I don't have any domain installed and my machine is not connected to it. Some other blog (Install Oracle 11gR2 on Windows) advices to work with adding my computer account to some non-real windows domain (just for the purpose of resolving the network) as well and reinstall the database then. If I undestand it right I need minimum 2 machines for this. But I own just one, where the server is based and thought that is enough to run the database... no idea .. -
Problems with Oracle 11g XE R2
Hi guys,
I've got a problem and try'n to solve it for abt a week now and tried many solutions.
My enviroment:
Windows 7 Professional SP 1 64-Bit
AMD Phenom II x4 940 @3.0 GH
4 GB RAM (In Usage while installing 40%)
Windows-Firewall is activated (but oracle.exe and lstnr.exe are configured as exception)
avast! Free Antivirus Version 2014.9.0.2018
Installation (both times with same outcome):
Installed O 11g XE 64-Bit in two different ways:
User I was logged in with is in Admingroup
Started installation via rightclick with administrationprivileges
I activated the administrators account and logged in with adminprivileges.
After that I've installed the 11g XE 64 bit
between both steps I cleaned everything up and restarted my system, registry was empty too and folder was deleted manually
at first I get this problem: Windows cannot find "http://127.0.0.1:%HTTPPORT%/apex/f?p=4950"
-> Manually changing %HTTPORT% to 8080
--> now I could doubleclick the shortcut, Firefox/IE/Chrome opens but 404 not Found-Error is returned
- OracleServiceXE, XracleXETNListener both are running
[code]
C:\Windows\system32>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 04-NOV-2014 18:02
:56
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 2: No such file or directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=D³rsinKurt-PC)(PORT=1521
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.2.0 - Produ
ction
Start Date 04-NOV-2014 13:53:50
Uptime 0 days 4 hr. 9 min. 9 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\D³rsinKurt-PC\list
ener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=D³rsinKurt-PC)(PORT=1521)))
The listener supports no services
The command completed successfully
[/code]
so Listenerservice is up and running but I cant find the http 8080-Service with netstat -a
so I started investigating a bit more:
Registryfolder: HK_LOCAL_MACHINE\SOFTWARE\ORACLE is installed
following subdirectories are installed: KEY_XE, ODP.NET, OracleMTSRecoveryService
What I tried (both ways, starting with and without adminstrationprivileges):
I created two new DWORD-Values in KEY_XE ORACLE_SID_AUTOSTART and -SHUTDOWN both with the value True and stopped and started the services, nothing changes.
Inserted both users (Administrator and normal User) in ORA_DBA-Group, nothing changes, even tried to turn it off and on again
wanted to connect to sqlplus via console:
C:\Windows\system32>sqlplus system
SQL*Plus: Release 11.2.0.2.0 Production on Di Nov 4 18:09:21 2014
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name:
when I start the sqlplus-prompt directly and write the command startup I get the following msg: ORA-01031: insufficient privileges
I looked into the ORA_BASE-Folder and looked at the oradat folder, it contains a XE-Folder which is empty, the admin-folder contains: XE/ and adump, dpdump and pfile, all three are empty (what does this mean? No DB at all created?)
I watched the ORA_HOME-Folder and found initXE.ora, oradba.exe, oradim and PWDXE.ora
I looked into the oradim.txt-Log:
Tue Nov 04 11:21:17 2014
C:\oraclexe\app\oracle\product\11.2.0\server\bin\oradim.exe -shutdown -sid xe -usrpwd * -shutmode immediate -log oradim.log
Tue Nov 04 11:21:55 2014
ORA-01012: not logged on
Tue Nov 04 11:23:01 2014
C:\oraclexe\app\oracle\product\11.2.0\server\bin\oradim.exe -startup -sid xe -usrpwd * -log oradim.log -nocheck 0
Tue Nov 04 11:23:38 2014
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file 'C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) Das System kann die angegebene Datei nicht finden.
--> bingo, 1st Issue: there is no spfileXE.ora, how can I create this? plus in the dbs-folder there is only a init.ora and no initXE.ora?
Looked into the log-Folder 5 files starting with clscX.txt (probably after every systemreboot? containing the following:
Oracle Database 11g Clusterware Release 11.2.0.2.0 - Production Copyright 1996, 2010 Oracle. All rights reserved.
2014-11-04 13:53:52.197: [ default][5576]ut_read_reg:2:ocr registry key SOFTWARE\Oracle\olr cannot be opened. error 2
[ CLSE][5576]clse_get_crs_home: Error retrieving OLR configuration [0] [Error opening olr registry key. The system couldn't find the file.
-> Systemlanguage is german, so I've translated the german parts, maybe there was smth lost in translation
--> 2nd Issue: Is there any regkey missing?
further I watched the folder ORACLE_HOME /server/config/home cloesly:
cloneDBCreation:
SQL> Create controlfile reuse set database "XE"
2 MAXINSTANCES 8
3 MAXLOGHISTORY 1
4 MAXLOGFILES 16
5 MAXLOGMEMBERS 3
6 MAXDATAFILES 100
7 Datafile
8 'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
9 'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
10 'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
11 'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
12 LOGFILE
13 GROUP 1 SIZE 51200K,
14 GROUP 2 SIZE 51200K,
15 RESETLOGS;
SP2-0640: Not connected
SQL> exec dbms_backup_restore.zerodbid(0);
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SQL> shutdown immediate;
ORA-01012: not logged on
SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\initXETemp.ora";
ORA-01031: insufficient privileges
CloneRmanRestore:
SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\init.ora";
ORA-01031: insufficient privileges
SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\rmanRestoreDatafiles.sql;
SQL> set echo off;
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
ERROR:
ORA-01031: insufficient privileges
SQL> spool C:\oraclexe\app\oracle\product\11.2.0\server\config\log\cloneDBCreation.log
PostDBCreation:
QL> connect "SYS"/"********" as SYSDBA
ERROR:
ORA-01031: insufficient privileges
SQL> set echo on
SQL> //create or replace directory DB_BACKUPS as 'C:\oraclexe\app\oracle\fast_recovery_area';
SP2-0103: Nothing in SQL buffer to run.
SQL> begin
2 dbms_xdb.sethttpport('8080');
3 dbms_xdb.setftpport('0');
4 end;
5 /
SP2-0640: Not connected
SQL> create spfile='C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora' FROM pfile='C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\init.ora';
SP2-0640: Not connected
SQL> shutdown immediate;
ORA-01012: not logged on
SQL> connect "SYS"/"&&sysPassword" as SYSDBA
ERROR:
ORA-01031: insufficient privileges
SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmssml.sql;
SP2-0310: unable to open file "C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmssml.sql"
SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmsclr.plb;
SQL> DROP PUBLIC DATABASE LINK DBMS_CLRDBLINK;
SP2-0640: Not connected
SQL> CREATE PUBLIC DATABASE LINK DBMS_CLRDBLINK USING 'ORACLR_CONNECTION_DATA';
SP2-0640: Not connected
SQL> CREATE OR REPLACE LIBRARY ORACLECLR_LIB wrapped
2 a000000
3 1
4 abcd
5 abcd
6 abcd
7 abcd
8 abcd
9 abcd
10 abcd
11 abcd
12 abcd
13 abcd
14 abcd
15 abcd
16 abcd
17 abcd
18 abcd
19 16
20 51 8d
21 L/XXXXXXXXXX...
22 XXXXXXX...
23
24 /
SP2-0640: Not connected
SQL> DROP TYPE DBMS_CLRParamTable;
SP2-0640: Not connected
SQL> DROP TYPE DBMS_CLRType;
SP2-0640: Not connected
SQL> CREATE OR REPLACE TYPE DBMS_CLRType wrapped
XE :
Instance created.
So hopefully thats enough Information
thank you in advance
Dürsin KurtOK guys I've found it out:
Problem was, the XE.bat-Script couldn't add me to the ORA_DBA-Group.
Reason: my Computername and my username, both had a vowel mutation "ü".
Reason it didn't work at my business-laptop too, both have my "Ü" in the username
solved! -
Not able to install Statspack.
DB 9.2.0.5.0
OS WIn 2003 server
I've gone through the following procedure to generate a statspack report. but, I am not able to insatall statspack, though the same procedure worked in 10g.
1. create a perfstat tablespace
2. run spcreate.sql
SPCUSR complete. Please check spcusr.lis for any errors.
SQL>
SQL> --
SQL> -- Build the tables and synonyms
SQL> connect perfstat/&&perfstat_password
ERROR:
ORA-12560: TNS:protocol adapter error
Warning: You are no longer connected to ORACLE.
SQL> @@spctab
SQL> Rem
SQL> Rem $Header: spctab.sql 16-apr-2002.14:54:46 vbarrier Exp $
SQL> Rem
SQL> Rem spctab.sql
SQL> Rem
SQL> Rem Copyright (c) 1999, 2002, Oracle Corporation. All rights reserved.
SQL> Rem
SQL> Rem NAME
SQL> Rem spctab.sql
SQL> Rem
SQL> Rem DESCRIPTION
SQL> Rem SQL*PLUS command file to create tables to hold
SQL> Rem start and end "snapshot" statistical information
SQL> Rem
SQL> Rem NOTES
SQL> Rem Should be run as STATSPACK user, PERFSTAT
SQL> Rem
SQL> Rem MODIFIED (MM/DD/YY)
SQL> Rem vbarrier 03/20/02 - 2143634
SQL> Rem vbarrier 03/05/02 - Segment Statistics
SQL> Rem cdialeri 02/07/02 - 2218573
SQL> Rem cdialeri 01/30/02 - 2184717
SQL> Rem cdialeri 01/11/02 - 9.2 - features 2
SQL> Rem cdialeri 11/30/01 - 9.2 - features 1
SQL> Rem cdialeri 04/22/01 - Undostat changes
SQL> Rem cdialeri 03/02/01 - 9.0
SQL> Rem cdialeri 09/12/00 - sp_1404195
SQL> Rem cdialeri 04/07/00 - 1261813
SQL> Rem cdialeri 03/20/00 - Support for purge
SQL> Rem cdialeri 02/16/00 - 1191805
SQL> Rem cdialeri 01/26/00 - 1169401
SQL> Rem cdialeri 11/01/99 - Enhance, 1059172
SQL> Rem cmlim 07/17/97 - Added STATS$SQLAREA to store top sql stmts
SQL> Rem gwood 10/16/95 - Version to run as sys without using many vi
SQL> Rem cellis.uk 11/15/89 - Created
SQL> Rem
SQL>
SQL> set showmode off echo off;
If this script is automatically called from spcreate (which is
the supported method), all STATSPACK segments will be created in
the PERFSTAT user's default tablespace.
Using perfstat tablespace to store Statspack objects
... Creating STATS$SNAPSHOT_ID Sequence
SP2-0640: Not connected
SP2-0640: Not connected
... Creating STATS$... tables
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
NOTE:
SPCTAB complete. Please check spctab.lis for any errors.
SQL> -- Create the statistics Package
SQL> @@spcpkg
SQL> Rem
SQL> Rem $Header: spcpkg.sql 17-apr-2002.16:59:10 vbarrier Exp $
SQL> Rem
SQL> Rem spcpkg.sql
SQL> Rem
SQL> Rem Copyright (c) 1999, 2002, Oracle Corporation. All rights reserved.
SQL> Rem
SQL> Rem NAME
SQL> Rem spcpkg.sql
SQL> Rem
SQL> Rem DESCRIPTION
SQL> Rem SQL*PLUS command file to create statistics package
SQL> Rem
SQL> Rem NOTES
SQL> Rem Must be run as the STATSPACK owner, PERFSTAT
SQL> Rem
SQL> Rem MODIFIED (MM/DD/YY)
SQL> Rem vbarrier 03/20/02 - 2184504
SQL> Rem spommere 03/19/02 - 2274095
SQL> Rem vbarrier 03/05/02 - Segment Statistics
SQL> Rem spommere 02/14/02 - cleanup RAC stats that are no longer needed
SQL> Rem spommere 02/08/02 - 2212357
SQL> Rem cdialeri 02/07/02 - 2218573
SQL> Rem cdialeri 01/30/02 - 2184717
SQL> Rem cdialeri 01/09/02 - 9.2 - features 2
SQL> Rem cdialeri 11/30/01 - 9.2 - features 1
SQL> Rem hbergh 08/23/01 - 1940915: use substrb on sql_text
SQL> Rem cdialeri 04/26/01 - 9.0
SQL> Rem cdialeri 09/12/00 - sp_1404195
SQL> Rem cdialeri 04/07/00 - 1261813
SQL> Rem cdialeri 03/28/00 - sp_purge
SQL> Rem cdialeri 02/16/00 - 1191805
SQL> Rem cdialeri 11/01/99 - Enhance, 1059172
SQL> Rem cgervasi 06/16/98 - Remove references to wrqs
SQL> Rem cmlim 07/30/97 - Modified system events
SQL> Rem gwood.uk 02/30/94 - Modified
SQL> Rem densor.uk 03/31/93 - Modified
SQL> Rem cellis.uk 11/15/89 - Created
SQL> Rem
SQL>
SQL> set echo off;
Creating Package STATSPACK...
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0641: "SHOW ERRORS" requires connection to server
Creating Package Body STATSPACK...
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0641: "SHOW ERRORS" requires connection to server
NOTE:
SPCPKG complete. Please check spcpkg.lis for any errors.
hare krishna
AlokHi Alok
I have encountered this before
In the script there will be a comnnection link at the spcreate sql..
Rem
Rem $Header: spcreate.sql 16-apr-2002.11:22:55 vbarrier Exp $
Rem
Rem spcreate.sql
Rem
Rem Copyright (c) 1999, 2002, Oracle Corporation. All rights reserved.
Rem
Rem NAME
Rem spcreate.sql - Statistics Create
Rem
Rem DESCRIPTION
Rem SQL*PLUS command file which creates the STATSPACK user,
Rem tables and package for the performance diagnostic tool STATSPACK
Rem
Rem NOTES
Rem Note the script connects INTERNAL and so must be run from
Rem an account which is able to connect internal.
Rem
Rem MODIFIED (MM/DD/YY)
Rem cdialeri 02/16/00 - 1191805
Rem cdialeri 12/06/99 - 1103031
Rem cdialeri 08/13/99 - Created
Rem
-- Create PERFSTAT user and required privileges
@@spcusr
-- Build the tables and synonyms
connect perfstat/&&perfstat_password@MARAN
@@spctab
-- Create the statistics Package
@@spcpkgadd the @servicename and run the script
It will work
Message was edited by:
Maran Viswarayar -
Database home page cannot be displayed
Installed XE on Windows XP platform and getting page cannot be displayed.
http://127.0.0.1:8080/apex/
This is the oradim.log ..............
C:\oraclexe\app\oracle\product\10.2.0\server\bin\oradim.exe -startup -sid xe -usrpwd * -log oradim.log -nocheck 0
Fri Dec 07 22:35:59 2007
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file 'C:\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
This is the cloneDBCreation.log ..............
SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts\init.ora";
ORA-12638: Credential retrieval failed
SQL> @C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts\rmanRestoreDatafiles.sql;
SQL> set echo off;
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
ERROR:
ORA-12638: Credential retrieval failed
lsnrctl status displays the following ....
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date 08-DEC-2007 23:01:53
Uptime 0 days 0 hr. 7 min. 26 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xyz.company)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
tnsping xe displays the following .....
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-DEC-2
007 00:35:30
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.company)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME= XE)))
OK (30 msec)
Any suggestions? Thanks!Several common issues
1) attempting to install without being administrator on the machine
2) attempting to install while being Domain administrator instead of local administrator
3) machine has DHCP address and Micorosft Loopback Adapter is not installed
4) Insufficient memory
5) Other Oracle stuff installed already
6) Other stuff installed that uses port 1521 and/or port 8080
7) XP Home
8) Not following the install instructions at http://www.oracle.com/pls/xe102/homepage
The list goes on, and on. -
SYS user connects at database level, is it correct?
My senior colleague has given me following information about the sys user. I want to know, is it correct?
Since SYS user connects at the database level, therefore, on killing the active session of the SYS user,only the current statement is cancelled. The database session does not disconnect. Instead it continues to run the remaining statements in the script file in case we are running a script file containing a lot of SQL statements.
MoazzamMoazzam wrote:
My senior colleague has given me following information about the sys user. I want to know, is it correct?
Since SYS user connects at the database level, therefore, on killing the active session of the SYS user,only the current statement is cancelled. The database session does not disconnect. Instead it continues to run the remaining statements in the script file in case we are running a script file containing a lot of SQL statements.Running a SQL script very likely means SQL*Plus is used. One of two types of Oracle sessions will be created via sqlplus. A dedicated session. Or a shared server session.
A dedicated session can also be local (sqlplus connects "directly" to the dedicated server process), or remote (sqlplus connects via tcp/ip to the dedicated server process).
A server session is usually "killed" using the alter system kill session command. Despite the differences between shared and dedicated server connections, the end result is the same. The session terminates abnormally (session UGA will be released, session will be cleaned up, rolled back, etc) - and the session ceases to exist.
So irrespective of how that sqlplus session runs that script - the session, when killed, will cause a sqlplus failure. And no subsequent script commands would be executed by that Oracle session.
What can happen is that sqlplus continues running, continues reading the script, and continues submitting commands to be executed. However, with the server session killed, there is no server process to service the commands submitted by the sqlplus client. In this case, sqlplus will throw the error "+SP2-0640: Not connected+" after each of the commands it tries to execute after the server session was killed.
The only time when sqlplus will be able to continue is when the session is not killed, but interrupted. The Oracle Call Interface (OCI) supports a OCIBreak() call - allowing the client to interrupt-and-abort the request that its server session is currently executing.
For example, sqlplus sends a OCIBreak() while it waits for a server response (e.g. waiting for the answer to a SQL select query), when the user presses Ctrl-Break to abort that request.
In this case, the session still exists - and the client can issue a new request that the session will service. But an OCIBreak() cannot be triggered (to my knowledge) externally from another Oracle session. You need to send the client process a "break request" (like a Ctrl-Break keystroke) in order to trigger that client process to make an OCIBreak() call to Oracle and interrupt its server process. -
Error while clonning Oracle app 11i
Hi all Once again, a new day a new error :)
i am having Error while clonning Oracle app 11i on windows 2003 sp1 32 bit db 9.2.0.6.0
when running adcfgclone.pl dbTier it successfully runs uptill 70% at this stage it throws the below error
================================================================================================
Beginning database tier Apply - Wed Mar 7 01:49:19 2012
Log file located at d:\oracle\neproddb\9.2.0\appsutil\log\NPRO_hassan\ApplyDBTier_03070149.log
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
ERROR while running Apply...
ERROR: Failed to execute adclone.pl
Please check logfile.
=================================================================================================
when i check the ApplyDBTier_03070149.log
i found this below
==============================================================================================================================================================================================================================
Skipping Profile Phase
Skipping Apply Phase
Executing StartDbLsnr...
ECHO is off.
ECHO is off.
Wed 03/07/2012 01:50 AM
ECHO is off.
ECHO is off.
Wed 03/07/2012 01:50 AM
NPRO_hassan.cmd exiting with status 0
ECHO is off.
The environment settings are as follows ...
ECHO is off.
ORACLE_HOME : d:\oracle\neproddb\9.2.0
LOCAL : NPRO
ORACLE_SID :
PATH : d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\;d:\oracle\neproddb\9.2.0\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;../jre/1.3.1/bin;d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe;C:\mksnt\bin;C:\mksnt\bin\X11;C:\mksnt\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\oracle\neproddb\9.2.0\bin;;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin
LD_LIBRARY_PATH : d:\oracle\neproddb\9.2.0\lib
ECHO is off.
ECHO is off.
The log information will be written to
"d:\oracle\neproddb\9.2.0\appsutil\log\NPRO_hassan\addlnctl.txt"
ECHO is off.
ECHO is off.
Starting listener process NPRO ...
ECHO is off.
LSNRCTL for 32-bit Windows: Version 9.2.0.6.0 - Production on 07-MAR-2012 01:50:56
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCNPRO))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 2: No such file or directory
Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=hassan.com)(Port=1534))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
32-bit Windows Error: 61: Unknown error
LSNRCTL for 32-bit Windows: Version 9.2.0.6.0 - Production on 07-MAR-2012 01:50:57
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Production
NL-00280: error creating log stream d:\oracle\neproddb\9.2.0\network\log\npro.log
NL-00278: cannot open log file
SNL-00016: snlfohd: error opening file
32-bit Windows Error: 13: Permission denied
Listener failed to start. See the error message(s) above...
addlnctl.cmd exiting with status 3
.end std out.
.end err out.
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : hassan
sDbDomain : com
sDbPort : 1534
sDbSid : NPRO
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@hassan.com:1534:NPRO
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO)))
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO.com)))
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
ECHO is off.
ECHO is off.
Wed 03/07/2012 01:51 AM
ECHO is off.
ECHO is off.
Wed 03/07/2012 01:51 AM
NPRO_hassan.cmd exiting with status 0
ECHO is off.
The environment settings are as follows ...
ECHO is off.
ORACLE_HOME : d:\oracle\neproddb\9.2.0
LOCAL : NPRO
ORACLE_SID :
PATH : d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\;d:\oracle\neproddb\9.2.0\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;../jre/1.3.1/bin;d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe;C:\mksnt\bin;C:\mksnt\bin\X11;C:\mksnt\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\oracle\neproddb\9.2.0\bin;;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin
LD_LIBRARY_PATH : d:\oracle\neproddb\9.2.0\lib
ECHO is off.
ECHO is off.
The log information will be written to
"d:\oracle\neproddb\9.2.0\appsutil\log\NPRO_hassan\adcrdb_NPRO.txt"
ECHO is off.
ECHO is off.
Creating the control file for NPRO database ...
ECHO is off.
SQL*Plus: Release 9.2.0.6.0 - Production on Wed Mar 7 01:51:01 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter error
DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
O/S-Error: (OS 2) The system cannot find the file specified.
SQL*Plus: Release 9.2.0.6.0 - Production on Wed Mar 7 01:51:42 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ERROR:
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
ORA-01012: not logged on
ERROR:
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
ORA-01031: insufficient privileges
ERROR:
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
ECHO is off.
Checking for errors ...
ECHO is off.
The database has not been successfully created. Shutting down the instance...
SQL*Plus: Release 9.2.0.6.0 - Production on Wed Mar 7 01:51:52 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
adcrdb.cmd exiting with status 1
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : hassan
sDbDomain : com
sDbPort : 1534
sDbSid : NPRO
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@hassan.com:1534:NPRO
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO)))
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO.com)))
Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:474)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:319)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:295)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Unknown Source)
==============================================================================================================================================================================================================================
please help me out with your advices
Thanks
HassanDear Hussein / helios ,
it worked finally i gave a high number 76 and it worked with out any problem also this time i gave loop back adapter an ip address i just remember now that i was not giving an ip to my loop back adapter i gave as below
ip : 10.10.10.10
subnet : 255.255.255.0
and made my host file look like as
127.0.0.1 localhost
10.10.10.10 hassan.com hassan
then i tested the ping by pinging hassan.com and the reply came from 10.10.10.10
and also i disabled my wireless network card before running adcfgclone
and it worked ALLHAMDOLLILAH :)
Thanks to the great masters Hussein & Helios :)
Now its time for appsTier cloning hope that it goes smooth :)
Regards,Re: Error while clonning Oracle app 11i
Hassan -
ORA-01031: insufficient privileges
Hi Everyone,
I am facing a weird scenario. In this I am creating a test user and after creating and granting the required privilieges I am executing a procedure in this user.
The steps are as follows:
SQL> REM ***
SQL> connect sys/**** as sysdba
Connected.
SQL> REM ****
SQL> REM grant privileges to the test user
SQL> grant connect, resource, create table, create view, alter session,
2 create sequence, create session, create procedure to tester ;
Grant succeeded.
SQL> grant unlimited tablespace to tester ;
Grant succeeded.
SQL> grant execute on dbms_lock to tester ;
Grant succeeded.
SQL> grant create any procedure to tester ;
Grant succeeded.
SQL>
SQL> connect tester/tester
ERROR:
ORA-01031: insufficient privileges
Warning: You are no longer connected to ORACLE.
SQL> set serveroutput on
SQL> REM ******
SQL> declare
<block of code>
SP2-0640: Not connected
SQL> SQL>
I am executing this process in loop for about 4 times and each time the test user is connected successfully in 1st and 4th run while in 2nd and 3rd run it throws privileges error? Any idea why this error is ocurring?SQL> create user test identified by test ;
User created.
SQL> grant connect, resource, create table, create view, alter session,create sequence, create session, create procedure to test;
Grant succeeded.
SQL> conn test/test ;
Connected.
SQL> -
i amdoing cloneing using rapid clone in r12 apps... fresh linux 64 bit installation.......
i am following this metakink doc 416305.1
...while cloning dbTier i am getting this errors....while
Creating the control file
ERROR:
ORA-12547: TNS:lost contact
SP2-0640: Not connected
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabaseThis might not be the forum to post this query. Please post it in EBS forum.
regards
Maybe you are looking for
-
Problem in calling nested stored procedure
Hi, I am using execute(), getMoreResults() and getResultSet() methods to call sybase stored proc. It is working fine when calling a simple stored proc. But it is giving following error when this stored proc calls another stored proc inside it. << Err
-
Double billed for same number 1 minute later
Got a skype number, took $18 from skype credit. One minute later, I got anotehr email saying they took $18 from my credit card. Both posted. Same number. What do I do?
-
Hi, Can any one please tell me what does the SAP APO APPLICATION field value of "0" signify. This field can be seen in RRP3 view. "0" means INITIAL. Thanks, SS
-
IPhone Beta 6 totally screwed up?
I just installed Beta 6. Calls to NSLocalizedString which used to pull strings out of the Localizable.strings file now just return the "Key" parameter. An NSMutableArray into which I insert strings used to work just fine under Beta 5; now when I try
-
Je voudrais faire deux images qui glissent l'une sur l'autre
Je ne connais pas le nom mais c'est comme si on faisait une comparaison , je ne sais pas si je m'exprime bien ?