Create Database alias
Hi,
I'm having trouble creating an alias for a database in Oracle 11gR2 (Server 2008 R2) using sql plus? Is there any reference of the command?
I've done this time ago but can't remember the command ;(
I support both names should be working?Yes. Just use "lsnrctl stat" on the server to check it out. See this example :SQL> sho parameter service
NAME TYPE VALUE
service_names string db11r2
SQL> !lsnrctl stat
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-MAY-2011 10:55:20
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 21-MAY-2011 10:53:19
Uptime 0 days 0 hr. 2 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /home/oracle/base/diag/tnslsnr/linux542/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux542.localdomain)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux542.localdomain)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "db11r2" has 1 instance(s).
Instance "db11r2", status READY, has 1 handler(s) for this service...
Service "db11r2XDB" has 1 instance(s).
Instance "db11r2", status READY, has 1 handler(s) for this service...
The command completed successfully
SQL> alter system set service_names='db11r2, MYDB9CHRS';
System altered.
SQL> !lsnrctl stat
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-MAY-2011 10:55:52
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 21-MAY-2011 10:53:19
Uptime 0 days 0 hr. 2 min. 48 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /home/oracle/base/diag/tnslsnr/linux542/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux542.localdomain)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux542.localdomain)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "MYDB9CHRS" has 1 instance(s).
Instance "db11r2", status READY, has 1 handler(s) for this service...
Service "db11r2" has 1 instance(s).
Instance "db11r2", status READY, has 1 handler(s) for this service...
Service "db11r2XDB" has 1 instance(s).
Instance "db11r2", status READY, has 1 handler(s) for this service...
The command completed successfully
SQL>
Similar Messages
-
SQL1013N The database alias name or database name "FCS" could not be found
Hi All,
Solution manager is running on win2003 server with db2 database.When i m trying to connect db2 from command promt i m getting error.I m following these step.
1.Loging with db2 user
2.In command promt when i m tring to check the cfg file getting error.
DB2 get db cfg for fcs.
SQL1013N The database alias name or database name "FCS" could not be found.
SQLSTATE=42705
I m pasting the snapshot of of database manager.
C:\>db2 get snapshot for dbm
Database Manager Snapshot
Node name =
Node type = Enterprise Server Edition with
local and remote clients
Instance name = DB2
Number of database partitions in DB2 instance = 1
Database manager status = Active
Product name = DB2 v9.1.600.703
Service level = s081007 (WR21415)
Private Sort heap allocated = 0
Private Sort heap high water mark = 0
Post threshold sorts = Not Collected
Piped sorts requested = 0
Piped sorts accepted = 0
Start Database Manager timestamp = 07/29/2010 11:35:25.534766
Last reset timestamp =
Snapshot timestamp = 08/03/2010 18:43:14.492590
Remote connections to db manager = 0
Remote connections executing in db manager = 0
Local connections = 0
Local connections executing in db manager = 0
Active local databases = 0
High water mark for agents registered = 2
High water mark for agents waiting for a token = 0
Agents registered = 2
Agents waiting for a token = 0
Idle agents = 0
Committed private Memory (Bytes) = 11141120
Switch list for db partition number 0
Buffer Pool Activity Information (BUFFERPOOL) = OFF
Lock Information (LOCK) = OFF
Sorting Information (SORT) = OFF
SQL Statement Information (STATEMENT) = OFF
Table Activity Information (TABLE) = OFF
Take Timestamp Information (TIMESTAMP) = ON 07/29/2010 11:35:25.534766
Unit of Work Information (UOW) = OFF
Agents assigned from pool = 2542
Agents created from empty pool = 4
Agents stolen from another application = 0
High water mark for coordinating agents = 2
Max agents overflow = 0
Hash joins after heap threshold exceeded = 0
Total number of gateway connections = 0
Current number of gateway connections = 0
Gateway connections waiting for host reply = 0
Gateway connections waiting for client request = 0
Gateway connection pool agents stolen = 0
Memory usage for database manager:
Memory Pool Type = Database Monitor Heap
Current size (bytes) = 65536
High water mark (bytes) = 65536
Configured size (bytes) = 327680
Memory Pool Type = Other Memory
Current size (bytes) = 10092544
High water mark (bytes) = 10092544
Configured size (bytes) = 4292870144
KIndly suggest me where i m getting wrong.
REgardsDear Sir,
Please check the DB2DART log
Command line output:
C:\Users\Administrator.MAXXMOBILEDLH>db2dart db2smn /CHST /WHAT DBBP OFF
DB2DART Processing completed with error!
Complete DB2DART report found in:
C:\PROGRAMDATA\IBM\DB2\DB2COPY1\DB2\DART0000\DB2SMN.RPT
db2smn.rpt:
Error: Failed sqledosd API on open system database directory.
SQL1057W The system database directory is empty.
Error: This phase encountered an error and did not complete.
DB2DART Processing completed with error!
WARNING:
The inspection phase did not complete!
Complete DB2DART report found in:
C:\PROGRAMDATA\IBM\DB2\DB2COPY1\DB2\DART0000\DB2SMN.RPT
_______ D A R T P R O C E S S I N G C O M P L E T E _______"
Please help me to sort out this issue!!
Our Solution Manager is down.
Regards!!! -
Hi,
I installed oracle 11gr2 on solaris 5.10 64 bit machine.
now i am trying to create database by using dbca ..but at last step i am getting error ora 12560 tns protocol adaptor error ..
I made entry in tnsnames.ora file also ...listener is up ...
what else i can check .. to resolve this issue ...i checked on internet and did almost all the things ...
any idea ...Hi,
please find out put
env | grep ORA |grep -v grep |sort
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=KLAT
id
uid=101(oracle) gid=100(oinstall)
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
Start Date 05-OCT-2010 17:40:20
Uptime 0 days 2 hr. 0 min. 53 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/KL-DBSRV/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.73.50.188)(PORT=1521)))
The listener supports no services
The command completed successfully
*# env | sort*
DISPLAY=10.73.58.18:0.0
HOME=/
LANG=en_US.UTF-8
LOGNAME=root
MAIL=/var/mail//root
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=KLAT
PATH=/usr/sbin:/usr/bin:/u01/app/oracle/product/11.2.0/dbhome_1/bin
PS1=#
SHELL=/sbin/sh
SSH_CLIENT=10.73.58.18 2944 22
SSH_CONNECTION=10.73.58.18 2944 10.73.50.188 22
SSH_TTY=/dev/pts/1
TERM=xterm
TNS_ADMIN=/u01/app/oracle/product/11.2.0/dbhome_1/network/admin
TZ=Asia/Calcutta
USER=root
*# lsnrctl service*
LSNRCTL for Solaris: Version 11.2.0.1.0 - Production on 05-OCT-2010 19:42:28
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
*# cat /etc/hosts*
# Internet host table
127.0.0.1 localhost
10.73.50.188 KL-DBSRV.camkmg-bangalore.com loghost
*# uname -a*
SunOS KL-DBSRV.camkmg-bangalore.com 5.10 Generic_118822-25 sun4u sparc SUNW,Sun-Fire-V240
# -
Can't create database link when password has special character
I'm trying to execute the following statement within sqlplus
create database link alpha connect to scott identified by tiger! using 'db_alpha'
note that the password for the account has an exclamation point in it. the command fails. I've tried placing the password in quotes (') and double-quotes ("). The double-quotes work, but then the link fails to function properly.
We are required to have a special character in our passwords... so how do I get that special character into the password for the database link?
Thanks in advance,
Darrenfor some weird reason, I can't post the reply I want. every time I try, the forum hangs and doesn't save the message. give me a sec...
I have put the password within double quotes... so I'm starting to think the problem is something else. I've been reading other posts regarding creating database links and I've obtained limited results. Here's what I've done, and the results I'm getting.
(names changed to protect the innocent)
My oracle database is on SYSA. I'm on SYSB. I set my TWO_TASK=SYSA and just use sqlplus to connect as user1.
I want to run a command on user2's tables. Normally I would just grant read access to user1 on user2's tables and use a command like
nert spaces to get this to save (weird forum bug here, I can't delete the text to the left)
SQL> sel{color:black}{color}ect * fr{color:black}{color}om u{color:black}{color}s{color:black}{color}e{color:black}{color}r{color:black}{color}2{color:black}{color}.{color:black}{color}m{color:black}{color}y{color:black}{color}_{color:black}{color}t{color:black}{color}a{color:black}{color}b{color:black}{color}l{color:black}{color}e{color:black}{color};
However, user2 is for test data and those tables get dropped and recreated often and it is cumbersome to try to remind everyone to recreate the grants. So I can't trust that user1 will have access to user2's tables. So my goal with the database link is to create a private (for user1 only) database link and access the tables that way, that way I bypass the grant issue. This works out better for me because we only change that password every 2 months. I just recreate the database link once every two months, rather than recreate grants multiple times every week. Well, that's the theory anyway.
Back to creating the database link, I thought my issue was the special character in the password because if I remove the exclamation point everyting works (except that the password is invalid). Below is what it looks like when I do this...
Attempt #1:
SQL> create database link BLAH connect to user2 identified by "tiger" using 'BLAH';
Database link created
SQL> sel{color:black}{color}ect * fr{color:black}{color}om my{color:black}{color}_{color:black}{color}table{color:black}{color}@{color:black}{color}BLAH;
sel{color:black}{color}ect * fr{color:black}{color}om my{color:black}{color}_{color:black}{color}ta{color:black}{color}ble{color:black}{color}@{color:black}{color}BLAH
ERROR at line 1:
ORA-01017: invalid username/password; logon denied
ORA-02063: preceding line from BLAH
So that looks like it's just a password issue. If I put in the correct password... the error changes to this...
Attempt #2:
SQL> create database link BLAH connect to user2 identified by "tiger!" using 'BLAH';
Database link created
SQL> sel{color:black}{color}ect {color:black}{color}* fr{color:black}{color}om my{color:black}{color}_{color:black}{color}table{color:black}{color}@BLAH;
sel{color:black}{color}ect * fr{color:black}{color}om my{color:black}{color}_ta{color:black}{color}ble{color:black}{color}@BLAH
ERROR at line 1:
ORA-02085: database link BLAH.AAA.BB.CCC.DDD connects to
DEVDB.AAA.BB.CCC.DDD
To me, that doesn't make sense. If the link isn't working... how did it get the "invalid username/password" in Attempt #1?
Anyway, in perusing other forum posts, one post said to put in the full text from the tnsnames.ora file instead of the alias. So I do a little cut/paste and try this...
Attempt #3:
SQL> create database link BLAH connect to user2 identified by "tiger!" using
2 '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server001.aaa.bb.ccc.ddd)(PORT = 9999)))
3 (CONNECT_DATA = (SERVICE_NAME = devdb)))';
Database link created.
SQL> sel{color:black}{color}ect {color:black}{color}* fro{color:black}{color}m my{color:black}{color}_{color:black}{color}tab{color:black}{color}le{color:black}{color}@BLAH;
sel{color:black}{color}ect {color:black}{color}* fr{color:black}{color}om {color:black}{color}my_{color:black}{color}tab{color:black}{color}le@B{color:black}{color}LAH
ERROR at line 1:
ORA-02085: database link BLAH.AAA.BB.CCC.DDD connects to
DEVDB.AAA.BB.CCC.DDD
Any ideas on what I'm doing wrong?
Darren -
Hi all. I have a situation where I need to create an alias copy of a table and then pull information from both the original and the alian (the database creators built the table to hold different description, amount, and date info in the same fields when triggered by another field. Lovely)
Can I do this in Crystal?I believe you can just add the same table twice to your report, and specify how they should be joined. I believe Crystal will put a "2" (or some such) at the end of the second table's name for reference purposes in the report.
Or, do what I usually do, and base your report off of an SQL command, something like this (MS SQL):
select orig.order_no, ref.order_no
from orders orig, orders ref
where orig.ref_order_no = ref.order_no
I rarely use tables directly, as reports tend to run faster when based on an SQL command that just returns the required data (as opposed to whole copies of perhaps several very large tables), so I could be wrong on the first suggestion...
HTH,
Carl -
Unable to Load Database/Unable to create database.
RoboHelp 6.0 on my PC is suddenly unable to open existing
projects or create new ones. The problem is not in the projects, as
other people can unzip the same set of files and open them with
RoboHelp on their PCs.
The Details:
When attempting to open an existing project (any project
whether in version control or not), I get the message " Open
project was cancelled or the application was unable to load
database for..."
I found the article that says to delete the CPD and XPJ files
and then to use the Edit option to open the HHP file so that
RoboHelp will recreate the two files. When I try that, I get the
message "Unable to create database. Check that the directory is not
read-only." It's
not read-only.
When I attempt to create a new project, the application acts
like it is going to create one, but it just creates a project
folder without the new first topic and then repeats the New Project
Wizard window that prompts for title, etc. It will keep creating
folders and returning to this window in a loop without ever really
creating a project.
RoboSource Control is functioning normally, by the way.
I have uninstalled and reinstalled RH 6 several times, and
have even uninstalled RH 6 and installed to RH 5 just to see if it
could open projects, which it does with no problems. After that
test, I uninstalled RH 5 and reinstalled RH 6, only to encounter
the same problem all over again.
This started happening after I uninstalled other unrelated
software and received a message that some Service Pack 2 files had
been changed and prompting me to insert the Service Pack 2 CD,
which I don't have. This is because our IT department pre-builds
our systems from an image and then distributes job-specific
applications over the network. IT tried repairing Service Pack 2,
but that didn't work. I'd like to uninstall and reinstall Service
Pack 2, but the IT person says it's too risky on a system that was
built from an image.
We would like to find out
which files RoboHelp is looking for when it launches a
project so we can replace those files manually. Does anyone
know what they are or have another suggestion that might fix the
problem?
Otherwise, I am stuck having to allow IT to rebuild my
system. That means reinstalling and reconfiguring everything on it,
just as if I were upgrading to a new PC. This can take a whole work
week. However, I have already spent close to a work week on this
problem, so maybe rebuilding would save time in the long
run.Problem Resolution = HHA.dll
For anyone who might be interested in the resolution to this
issue, we did rebuild my PC and reinstall all of my software. The
RoboHelp installation "complained" that I did not have HTML Help
Workshop on my system and told me to download version 1.4 from
Microsoft. I did have HTML Help Workshop..it's in my programs list.
(It's not listed in programs on my co-workers' PCs, and they were
not having problems, by the way.) But to make RH happy, I
uninstalled the workshop and tried to install the version from
Microsoft. But a message informed me that I already had a newer
version of the workshop on my system, and I was back where I
started. I could open projects, but there were weird problems.
Selecting Topic Properties was met with an error message, and when
the properties window opened, I could only see whatever template
was assigned (or none if the topic had lost its template), and
there was an extra section for Oracle help.
So I started dinking around in the registry to see if I could
get rid of any traces of the workshop so I could install the
version RH wanted or to find any other clues to my problem. Under
HTMLHelpAuthor, there was a reference to an HHA.dll file located in
C:\WINDOWS\system32...only the file did not exist on my system.
(Remember that my original problem was that some Service Pack 2
files were either modified or missing.) So I did a Google search on
that file name and found out that HTML Help Workshop is included in
newer Windows operating systems, but that people used to have to
get HTML Help Workshop from Microsoft, and that some people had
made the mistake of just putting the HHA.dll file into the
C:WINDOWS\system32 folder without also installing HTML Help
Workshop. At this point it was obvious that I needed the HHA.dll,
so I got it from a co-worker's PC. (Looking at the registry
entries, I can also see that my system was built with a slightly
different version of the operating system than my co-workers have.)
Adding the HHA file to my system solved the problem. All
projects but one were fine; one was still exhibiting the strange
behavior. I fixed it by going back to the RoboHelp 5 version of the
project and re-converting it to RoboHelp 6.
I suspect that if I had known about the HHA.dll file before
we rebuilt the PC, I could have solved the problem without going
through that painful process. That is why I thought I should post
the solution even though it was after the rebuild. -
Installation stuck at Create database schema Phase 13 of 27
Hi
I am installing the Netweaver 7.01 SP3 and have already removed it completely after getting stuck at the same installation step. Do not know what is going wrong. A small extract of the log is shown below. Any advice on how to proceed will be helpful. I know when einstalling it has to be removed completely which I did using uninstallation and then clean up tool. But again it is stooping at the same step. I had let it run more almost two days but of no use. My system configuration is good enough with 2GB RAM etc.
INFO 2009-03-12 16:52:00.443 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory C:\sapdb.
INFO 2009-03-12 16:52:00.458 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory C:\sapdb\NSP.
INFO 2009-03-12 16:52:00.458 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory C:\sapdb\NSP\saplog.
INFO 2009-03-12 16:52:00.474 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory E:\sapdb\NSP\sapdata.
INFO 2009-03-12 16:52:01.67 [sixxcstepexecute.cpp:790]
Execute step sdb_create_db_instance of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|4|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
File sapdb.inf does exist. Will use the commands in file sapdb.inf.
INFO 2009-03-12 16:52:06.544 [sixxcstepexecute.cpp:790]
Execute step sdb_init_instance_type of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|4|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
INFO 2009-03-12 17:12:38.722 [sixxcstepexecute.cpp:790]
Execute step CheckDBUnicode of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:39.883 [sixxcstepexecute.cpp:790]
Execute step CreateDbSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
Also see log browser from the installation window............................
Please see below as it is geeting stuck at
component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="105" total="216"/>
Mar 12, 2009 5:12:35 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><dialog sid="diProgress" progress="true" windowtitle="SAPinst vtaneja2@skumar278-1: SAP NetWeaver 7.0 SR1 including Enhancement Package 1 > SAP Application Server ABAP > MaxDB > Central System > Central System"><title>Task Progress</title><description>Task is running</description><status><![CDATA[]]></status><component current="true"><![CDATA[Create users for SAP system]]></component><component current="true"><![CDATA[Install common system files]]></component><component current="true"><![CDATA[Unpack SAP archives]]></component><component current="true"><![CDATA[Install SAP Cryptographic component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="99" total="216"/>
<button sid="btPREV" default="false" enabled="false" ><caption>< &Back</caption><action>ACTION_PREV</action><tooltiphelp><![CDATA[]]></tooltiphelp></button><button sid="btNEXT" enabled="false" ><caption>&Next</caption><action sendValuesBack="false">ACTION_NEXT</action><tooltiphelp></tooltiphelp></button></dialog></sapinstgui>
Mar 12, 2009 5:12:35 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><dialog sid="diProgress" progress="true" windowtitle="SAPinst [Setup database connection for user SKUMAR278-1\nspadm]]></component><component ><![CDATA[Setup database connection for user skumar278-1\SAPServiceNSP]]></component><component ><![CDATA[Perform MaxDB pre-load activities]]></component><component ><![CDATA[Import ABAP]]></component><component ><![CDATA[Post load activities]]></component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="100" total="216"/>
<button sid="btPREV" default="false" enabled="false" >
vtaneja2@skumar278-1: SAP NetWeaver 7.0 SR1 including Enhancement Package 1 > SAP Application Server ABAP > MaxDB > Central System > Central System"><title>Task Progress</title><description>Task is running</description><status><![CDATA[]]></status><component CDATA[Prepare database schema for ABAP]]></component><component current="true"><![CDATA[Create database schema]]></component><component ><![CDATA[Create sequence for the ABAP user]]></component><component ><![CDATA[Setup database connection for user SKUMAR278-1\nspadm]]></component><component ><![CDATA[Setup database connection for user skumar278-1\SAPServiceNSP]]></component><component ><![CDATA[Perform MaxDB pre-load activities]]></component><component ><![CDATA[Import ABAP]]></component><component ><![CDATA[Post load activities]]></component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="104" total="216"/>
[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="105" total="216"/>
<button sid="btPREV" default="false" enabled="false" ><caption>< &Back</caption><action>ACTION_PREV</action><tooltiphelp><![CDATA[]]></tooltiphelp></button><button sid="btNEXT" enabled="false" ><caption>&Next</caption><action sendValuesBack="false">ACTION_NEXT</action><tooltiphelp></tooltiphelp></button></dialog></sapinstgui>
Mar 12, 2009 5:12:39 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><update><updateitem><dialogstatus><![CDATA[ ]]></dialogstatus></updateitem></update></sapinstgui>
Mar 12, 2009 5:38:16 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog severity="FLOW TRACE" filename="" version="1.0"/>
Mar 12, 2009 5:38:16 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstlog version="1.0" append="false" filename="C:\Program Files\sapinst_instdir\NW701\AS-ABAP\ADA\CENTRAL\sapinst_dev.log"/>
Mar 12, 2009 5:43:59 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
Mar 12, 2009 6:08:17 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
Mar 12, 2009 6:30:31 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
Thanks in advance
VikasGuess you are talking about sapinst.log file. Below are the last few lines after which it did not proceed
Do see the last step create DB schema....... The previos log was from sapinst_dev.log
Oliver I have a doubt could it be becuase of the host name.
The host name of my machine is "skumar278-1" with DNS domain name for SAP system "asiapac.globalcsc.net"
Could this be the reason for the problem i am facing i.e installation getting stuck at phase 13 Create DB schema.... Other than this I cannot see anything else which can go wrong.. Do have the DHCP server available..
The page file as per the ram settings i.e for 2 GB should be 3072 so I have set it to the same. Though
the prerequisite page shows
"For the selected services at least 7138 MB swap space are recommended. Current value: 2851 MB. (Updated 2005-06-24)"
Can this be the reason???
Also I just looked at the services file.. there are about about 4-5 different files with the name services .3 services.4 ... services.5 etc als there is no entry for port 3900 3600 & 8000.. .. do not know what to do... Please suggest..
INFO 2009-03-12 17:12:35.412
Execute step CheckDbExistence of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:35.726
Execute step check_dbm_dba_user_passwd of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:37.718
Execute step StartDb of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:38.722
Execute step CheckDBUnicode of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:39.883
Execute step CreateDbSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0 -
Because of the discussion present in the following thread, I did few experiments and would you like to share with you. Hope it is a useful information for you guys.
Re: db_name & memory allocation
OS: Win XP SP2 or Windows 2000 <b>(32-bit)</b>
Oracle Version: Oracle 10gR2
System RAM: 1G
<b>Attempting to create the database CCC by specifying db_name parameter only</b>
C:\oracle\product\10.2.0\db_1\database>copy con initCCC.ora
db_name=CCC
^Z
1 file(s) copied.
<b> Starting the service </b>
C:\oracle\product\10.2.0\db_1\database>oradim -new -sid CCC -startmode m
Instance created.
C:\oracle\product\10.2.0\db_1\database>set oracle_sid=CCC
C:\oracle\product\10.2.0\db_1\database>sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Apr 6 07:50:06 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL>
SQL>
SQL> startup nomount
ORACLE instance started.
Total System Global Area <b>113246208</b> bytes -- Default SGA size
Fixed Size 1247588 bytes
Variable Size 58721948 bytes
Database Buffers 50331648 bytes
Redo Buffers 2945024 bytes
<b> On seeing dynamic components size, shared pool got
33m, large pool got 0m, java pool got 25m and buffer cache
got 50m. Please check the references for these default
values. </b>
SQL> select component,current_size from v$sga_dynamic_components;
COMPONENT CURRENT_SIZE
shared pool 33554432
large pool 0
java pool 25165824
streams pool 0
DEFAULT buffer cache 50331648
KEEP buffer cache 0
RECYCLE buffer cache 0
DEFAULT 2K buffer cache 0
DEFAULT 4K buffer cache 0
DEFAULT 8K buffer cache 0
DEFAULT 16K buffer cache 0
COMPONENT CURRENT_SIZE
DEFAULT 32K buffer cache 0
ASM Buffer Cache 0
13 rows selected.
<b>Total=109051904 </b>
SQL>
create database
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
<b>Errors in alert log file</b>
ORA-00604: error occurred at recursive SQL level 1
<b>ORA-04031: unable to allocate 40 bytes of shared memory ("shared pool","create unique index
i_proxy_...","sql area","kksol : kksnsg")
</b>
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
<b>It was thought that shared_pool memory area is not
sufficient. Then thought to know how oracle will behave on
setting sga_target parameter.</b>
<b>initCCC.ora</b>
db_name=CCC
sga_target=113m
SQL> startup nomount
ORACLE instance started.
Total System Global Area <b>121634816 bytes -- Got around 121m </b>
Fixed Size 1247636 bytes
Variable Size 54527596 bytes
Database Buffers 62914560 bytes
Redo Buffers 2945024 bytes
<b>Now create database statement got success here.
Instance got few extra Mbs of memory and oracle can create
the database.</b>
<b>Then it was thought that, why to give 121Mb even. Let exactly 113246208 bytes be devoted to the instance.</b>
initCCC.ora
db_name=CCC
sga_target=113246208 -- providing exact number of bytes as obtained in default case
SQL> startup nomount
ORACLE instance started.
Total System Global Area 113246208 bytes
Fixed Size 1247588 bytes
Variable Size 54527644 bytes
Database Buffers 54525952 bytes
Redo Buffers 2945024 bytes
SQL>
<b> Now create database statement got success here as
well. Because of sga_target, automatic shared memory
management enabled and instance was taking care of buffer
cache, shared pool, large pool, java pool and
streams_pool. In this case shared pool got 46m (greater
than default case value). Java pool and Large pool got 4
mb each and buffer cache got 54m. </b>
SQL> select component,current_size
2 from v$sga_dynamic_components;
COMPONENT CURRENT_SIZE
shared pool 46137344
large pool 4194304
java pool 4194304
streams pool 0
DEFAULT buffer cache 54525952
KEEP buffer cache 0
RECYCLE buffer cache 0
DEFAULT 2K buffer cache 0
DEFAULT 4K buffer cache 0
DEFAULT 8K buffer cache 0
DEFAULT 16K buffer cache 0
COMPONENT CURRENT_SIZE
DEFAULT 32K buffer cache 0
ASM Buffer Cache 0
13 rows selected.
<b>Total=109051904 </b>
SQL>
By providing 113246208 bytes (as in default case) of
memory to SGA by setting sga_target value, Oracle gave
extra memory to shared_pool and buffer cache than in case
of default, thus helping create database statement to get
pass. Oracle always recommends to use automatic shared
memory management by setting sga_target parameter value.
Hope this experiment provides few clues about automatic
shared memory management feature of Oracle 10g. This case
was conducted on 32-bit Oracle. It is quite possible that
create database statement might get success in 64-bit
Platform as by default Oracle will provide 84 Mb to Shared
pool. But to confirm, it has to be experimented.
References:
Shared pool
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams196.htm#sthref804
Large Pool
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams090.htm#sthref377
Java Pool
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams087.htm#sthref364
Buffer Cache
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams043.htm#sthref185Hi,
Good Work Mohammed !!!
Regards
Taj -
Error on Create Database command for Oracle 9i on Red Hat 9
Error on Create Database command
CREATE DATABASE ora9i
LOGFILE
GROUP 1 ('$HOME/ORADATA/log_01_01_ora9i.rdo') SIZE 10M,
GROUP 2 ('$HOME/ORADATA/log_02_01_ora9i.rdo') SIZE 10M
DATAFILE '$HOME/ORADATA/system_01_ora9i.dbf' SIZE 100M
AUTOEXTEND ON NEXT 50M MAXSIZE 150M
DEFAULT TEMPORARY TABLESPACE temp
TEMPFILE '$HOME/ORADATA/temp_01_ora9i.dbf' SIZE 15M
AUTOEXTEND ON NEXT 5M MAXSIZE 30M
CHARACTER SET WE81SO8859P1
NATIONAL CHARACTER SET AL16UTF16
CREATE DATABASE ora9i
ERROR at line 1:
ORA-01092:ORACLE instance terminated. Disconnection forced.
initora9i.ora file contents :
background_dump_dest=$HOME/ADMIN/BDUMP
core_dump_dest=$HOME/ADMIN/CDUMP
db_name=ora9i
db_files= 80
db_file_multiblock_read_count=8
db_block_buffers=100
shared_pool_size = 3500000
log_checkpoint_interval = 10000
processes=50
parallel_max_servers=5
log_buffer = 32768
max_dump_file_size = 10240
global_name = TRUE
control_files=$HOME/ORADATA/ctrl01.ctl
undo_management=AUTO
user_dump_dest=$HOME/ADMIN/UDUMP
-------------------------------------------------Pleae include REUSE keyword at the end of each file location as shown below...
CREATE DATABASE ora9i
LOGFILE
GROUP 1 ('$HOME/ORADATA/log_01_01_ora9i.rdo') SIZE 10M REUSE,
GROUP 2 ('$HOME/ORADATA/log_02_01_ora9i.rdo') SIZE 10M REUSE
DATAFILE '$HOME/ORADATA/system_01_ora9i.dbf' SIZE 100M REUSE
AUTOEXTEND ON NEXT 50M MAXSIZE 150M
DEFAULT TEMPORARY TABLESPACE temp
TEMPFILE '$HOME/ORADATA/temp_01_ora9i.dbf' SIZE 15M REUSE
AUTOEXTEND ON NEXT 5M MAXSIZE 30M
CHARACTER SET WE81SO8859P1
NATIONAL CHARACTER SET AL16UTF16 -
Unable to create database error
Hello all-
I've been working on a project in Robohelp7/HTML for about a
week. I come in today and try to open my project and receive the
error "Unable to create database. Check that the directory is not
read-only.". I've done the obvious of checking the folders and
files within and they are not marked read only. When I create a new
project, I receive the same error. I'm stuck at a standstill and
can't figure out why Robohelp has decided to deny me access to my
project or the ability to create new ones. I went so far as to
uninstall and reinstall, to no avail.
Has anyone encountered this? Any help would be greatly
appreciated.
ThanksThere is a topic on Opening RoboHelp Projects on my site. Rh allows you to browse to either an XPJ or HHP file but that is only as good as the last time you generated an output.
When you open with an HHP you get an option to use the XPJ or not, in which case one is created. Either way there should be an XPJ. Not sure how you have lost it.
Backup?
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Phase Create Database Error in ECC 6.0 EHP5 Installation on SuSe10/Oracle11
Hi,
I have following error ecnounter During Create Databse Phase. Have applied the latest patch after Oracle Installtion.
/oracle file system has the permissions 755.
Environment : ECC 6.0 EHP5 Installation on SuSe10/Oracle11.
Please advise
sapinst_log:-
INFO 2011-08-27 20:36:38.900
Creating file /install/dev_sap_kernel_test_27_Aug_2011_20_36_38.
INFO 2011-08-27 20:36:38.901
Removed file /install/dev_sap_kernel_test_27_Aug_2011_20_36_38.
INFO 2011-08-27 20:36:38.908
Working directory changed to /install/sapinst_exe.26397.1314448526.
INFO 2011-08-27 20:36:38.915
Working directory changed to /Media/IM_LINUX_ORACLE/IM_LINUX_X86_64.
INFO 2011-08-27 20:36:38.927
Creating file /install/dev_sap_kernel_test_27_Aug_2011_20_36_38.
INFO 2011-08-27 20:36:38.927
Removed file /install/dev_sap_kernel_test_27_Aug_2011_20_36_38.
INFO 2011-08-27 20:36:38.933
Real group ID set to 1001.
INFO 2011-08-27 20:36:39.497
Creating file /install/sapinst_instdir/x.
INFO 2011-08-27 20:36:39.498
Removed file /install/sapinst_instdir/x.
INFO 2011-08-27 20:36:39.510
Authorizations set for /install/sapinst_instdir.
INFO 2011-08-27 20:36:39.510
Working directory changed to /install/sapinst_exe.26397.1314448526.
INFO 2011-08-27 20:36:39.543
Working directory changed to /Media/IM_LINUX_ORACLE/IM_LINUX_X86_64.
INFO 2011-08-27 20:37:58.173
Creating file /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/x.
INFO 2011-08-27 20:37:58.174
Removed file /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/x.
INFO 2011-08-27 20:38:02.167
Creating file /install/sapinst_instdir/x.
INFO 2011-08-27 20:38:02.168
Removed file /install/sapinst_instdir/x.
INFO 2011-08-27 20:38:02.172
Authorizations set for /install/sapinst_instdir.
INFO 2011-08-27 20:38:02.190
Removed file /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/dev_sap_kernel.
INFO 2011-08-27 20:38:02.192
Removed file /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/dev_sap_kernel.
INFO 2011-08-27 20:38:02.198
Copied file '/Media/IM_LINUX_ORACLE/IM_LINUX_X86_64/dev_sap_kernel' to '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/dev_sap_kernel'.
INFO 2011-08-27 20:38:02.217
Authorizations set for /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/dev_sap_kernel.
INFO 2011-08-27 20:38:02.217
Removed file /Media/IM_LINUX_ORACLE/IM_LINUX_X86_64/dev_sap_kernel.
INFO 2011-08-27 20:38:04.407
Copied file '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/keydb.xml' to '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/keydb.3.xml'.
INFO 2011-08-27 20:38:06.213
Copied file '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/statistic.xml' to '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/statistic.2.xml'.
INFO 2011-08-27 20:39:33.662
Working directory changed to /install/sapinst_exe.26397.1314448526.
INFO 2011-08-27 20:39:33.670
Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
INFO 2011-08-27 20:39:33.674
Working directory changed to /install/sapinst_exe.26397.1314448526.
INFO 2011-08-27 20:39:33.686
Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
INFO 2011-08-27 20:39:34.589
Working directory changed to /install/sapinst_exe.26397.1314448526.
INFO 2011-08-27 20:39:34.600
Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
INFO 2011-08-27 20:39:39.720
Working directory changed to /install/sapinst_exe.26397.1314448526.
INFO 2011-08-27 20:39:39.733
Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
INFO 2011-08-27 20:39:41.685
Copied file '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/inifile.xml' to '/install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/inifile.2.xml'.
INFO 2011-08-27 20:39:51.367
Execute step createDatabase of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|std|0|NW_OraDbBuild|ind|ind|ind|ind|5|0
INFO 2011-08-27 20:39:57.971
Working directory changed to /install/sapinst_exe.26397.1314448526.
INFO 2011-08-27 20:39:58.1
Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
INFO 2011-08-27 20:39:58.26
Working directory changed to /install/sapinst_exe.26397.1314448526.
INFO 2011-08-27 20:39:58.71
Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
INFO 2011-08-27 20:40:00.256
Working directory changed to /install/sapinst_exe.26397.1314448526.
INFO 2011-08-27 20:40:00.278
Working directory changed to /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL.
ERROR 2011-08-27 20:40:08.434
CJS-00084 SQL statement or script failed. DIAGNOSIS: Error message: ORA-01501: CREATE DATABASE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/oracle/JE1/origlogA/cntrl/cntrlJE1.dbf'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 2
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.
ERROR 2011-08-27 20:40:08.437
MUT-03025 Caught ESAPinstException in module call: .
ERROR 2011-08-27 20:40:08.585
FCO-00011 The step createDatabase with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|std|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase was executed with status ERROR ( Last error reported by the step: SQL statement or script failed. DIAGNOSIS: Error message: ORA-01501: CREATE DATABASE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/oracle/JE1/origlogA/cntrl/cntrlJE1.dbf'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 2
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.).
INFO 2011-08-27 20:40:09.446
Creating file /install/sapinst_instdir/ERPEhP5/AS-ABAP/ORA/CENTRAL/__instana_tmp.xml.ora_sql results log:::
2011-08-27, 19:40:31 SAPINST ORACLE start logging for
CREATE DATABASE JE1 CONTROLFILE REUSE MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/JE1/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/JE1/sapdata1/temp_1/temp.data1' SIZE 1400M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/JE1/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/JE1/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
LOGFILE GROUP 1 ('/oracle/JE1/origlogA/log_g11m1.dbf',
'/oracle/JE1/mirrlogA/log_g11m2.dbf') SIZE 50M REUSE ,
GROUP 2 ('/oracle/JE1/origlogB/log_g12m1.dbf',
'/oracle/JE1/mirrlogB/log_g12m2.dbf') SIZE 50M REUSE ,
GROUP 3 ('/oracle/JE1/origlogA/log_g13m1.dbf',
'/oracle/JE1/mirrlogA/log_g13m2.dbf') SIZE 50M REUSE ,
GROUP 4 ('/oracle/JE1/origlogB/log_g14m1.dbf',
'/oracle/JE1/mirrlogB/log_g14m2.dbf') SIZE 50M REUSE
exit;
Output of SQL executing program:
SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 19:40:31 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
CREATE DATABASE JE1 CONTROLFILE REUSE MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/JE1/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/JE1/sapdata1/temp_1/temp.data1' SIZE 1400M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/JE1/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/JE1/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/oracle/JE1/origlogA/cntrl/cntrlJE1.dbf'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 2
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2011-08-27, 19:40:31 SAPINST ORACLE stop logging
2011-08-27, 20:27:43 SAPINST ORACLE start logging for
SHUTDOWN IMMEDIATE;
exit;
Output of SQL executing program:
SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 20:27:43 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-01507: database not mounted
ORACLE instance shut down.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2011-08-27, 20:27:50 SAPINST ORACLE stop logging
================================================================================
2011-08-27, 20:27:50 SAPINST ORACLE start logging for
STARTUP NOMOUNT;
exit;
Output of SQL executing program:
SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 20:27:50 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 2338463744 bytes
Fixed Size 2228600 bytes
Variable Size 1174408840 bytes
Database Buffers 1140850688 bytes
Redo Buffers 20975616 bytes
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
2011-08-27, 20:27:52 SAPINST ORACLE stop logging
================================================================================
2011-08-27, 20:27:52 SAPINST ORACLE start logging for
CREATE DATABASE JE1 CONTROLFILE REUSE MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/JE1/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/JE1/sapdata1/temp_1/temp.data1' SIZE 1400M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/JE1/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/JE1/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
LOGFILE GROUP 1 ('/oracle/JE1/origlogA/log_g11m1.dbf',
'/oracle/JE1/mirrlogA/log_g11m2.dbf') SIZE 50M REUSE ,
GROUP 2 ('/oracle/JE1/origlogB/log_g12m1.dbf',
'/oracle/JE1/mirrlogB/log_g12m2.dbf') SIZE 50M REUSE ,
GROUP 3 ('/oracle/JE1/origlogA/log_g13m1.dbf',
'/oracle/JE1/mirrlogA/log_g13m2.dbf') SIZE 50M REUSE ,
GROUP 4 ('/oracle/JE1/origlogB/log_g14m1.dbf',
'/oracle/JE1/mirrlogB/log_g14m2.dbf') SIZE 50M REUSE
exit;
Output of SQL executing program:
SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 20:27:52 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
CREATE DATABASE JE1 CONTROLFILE REUSE MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/JE1/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/JE1/sapdata1/temp_1/temp.data1' SIZE 1400M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/JE1/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/JE1/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/oracle/JE1/origlogA/cntrl/cntrlJE1.dbf'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 2
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2011-08-27, 20:27:52 SAPINST ORACLE stop logging
================================================================================
2011-08-27, 20:40:00 SAPINST ORACLE start logging for
SHUTDOWN IMMEDIATE;
exit;
Output of SQL executing program:
SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 20:40:00 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-01507: database not mounted
ORACLE instance shut down.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2011-08-27, 20:40:05 SAPINST ORACLE stop logging
================================================================================
2011-08-27, 20:40:05 SAPINST ORACLE start logging for
STARTUP NOMOUNT;
exit;
Output of SQL executing program:
SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 20:40:05 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 2338463744 bytes
Fixed Size 2228600 bytes
Variable Size 1174408840 bytes
Database Buffers 1140850688 bytes
Redo Buffers 20975616 bytes
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
2011-08-27, 20:40:07 SAPINST ORACLE stop logging
================================================================================
2011-08-27, 20:40:08 SAPINST ORACLE start logging for
CREATE DATABASE JE1 CONTROLFILE REUSE MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/JE1/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/JE1/sapdata1/temp_1/temp.data1' SIZE 1400M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/JE1/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/JE1/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
LOGFILE GROUP 1 ('/oracle/JE1/origlogA/log_g11m1.dbf',
'/oracle/JE1/mirrlogA/log_g11m2.dbf') SIZE 50M REUSE ,
GROUP 2 ('/oracle/JE1/origlogB/log_g12m1.dbf',
'/oracle/JE1/mirrlogB/log_g12m2.dbf') SIZE 50M REUSE ,
GROUP 3 ('/oracle/JE1/origlogA/log_g13m1.dbf',
'/oracle/JE1/mirrlogA/log_g13m2.dbf') SIZE 50M REUSE ,
GROUP 4 ('/oracle/JE1/origlogB/log_g14m1.dbf',
'/oracle/JE1/mirrlogB/log_g14m2.dbf') SIZE 50M REUSE
exit;
Output of SQL executing program:
SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 27 20:40:08 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
CREATE DATABASE JE1 CONTROLFILE REUSE MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/JE1/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/JE1/sapdata1/temp_1/temp.data1' SIZE 1400M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/JE1/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/JE1/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/oracle/JE1/origlogA/cntrl/cntrlJE1.dbf'
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 2
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SAPINST: End of output of SQL executing program /oracle/JE1/112_64/bin/sqlplus.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2011-08-27, 20:40:08 SAPINST ORACLE stop logging -
Can't create database using ASM (SOLVED)
Hi all
I'm trying to use ASM for the first time, on Oracle 10.2.0.1 on Solaris x64.
I have installed the ASM instance into /opt/oracle/asm/10.2.0 and created disk groups. I have cssd running OK. I am able to start and stop the ASM instance without problems, and I can select from v$asm_diskgroup to confirm that disks are mounted OK.
I have then installed Oracle EE separately into /opt/oracle/server/10.2.0. I first did a software only install, and now I am trying to create a DB.
The problems come when I try to use this ASM instance to host a new database. I first tried to use DBCA to create a new database, but on database creation I got the following errors:
ORA-00200: control file could not be created
ORA-00202: control file: '+DBLIVE1'
ORA-17502: ksfdcre:4 Failed to create file +DBLIVE1
ORA-15001: diskgroup "DBLIVE1" does not exist or is not mounted
ORA-15055: Message 15055 not found; No message file for product=RDBMS, facility=ORA
ORA-01031: insufficient privileges
I then told DBCA just to create the DB creation scripts, and I tried manually running these with SQL*Plus.
When doing it with SQL*PLus, I initially got the same error as shown above. But then something changed (sorry, not sure what), and now the error I get is:
CREATE DATABASE "NEONREL1"
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00349: failure obtaining block size for '+DBLIVE1'
ORA-01031: insufficient privileges
I've put some debug info below, showing me succesfully connecting to the ASM instance and then attempting to create the DB using the db creation scripts, showing the error at the end. You can see that the oracle OS user is able to connect fine to ASM, then I swithc ORACLE_SID and ORACLE_HOME to the EE install and try to create the DB, at which point it apparently can't connect to ASM any more.
I've tried the DB creation many times, and in between attempts I completely empty $ORACLE_HOME/admin/<dbname> and delete the files related to the attempted install from $ORACLE_HOME/dbs/ . I've also stopping/starting ASM, rebooting, and I've done the install of ASM and EE a couple of times over in case I made any mistakes in my earlier attempts.
Any help would be much appreciated!
Tom
##### CHECKING ASM
oracle@neonrcom-db1:~$ uname -a
SunOS neonrcom-db1 5.10 Generic_127128-11 i86pc i386 i86pc
# css is running
oracle@neonrcom-db1:~$ ps -ef | grep css
oracle 498 1 0 21:46:40 ? 0:01 /opt/oracle/asm/10.2.0/bin/ocssd.bin
# listener is running in the ASM instance
oracle@neonrcom-db1:~$ ps -ef | grep tnsl
oracle 1332 1 0 21:49:59 ? 0:00 /opt/oracle/asm/10.2.0/bin/tnslsnr LISTENER -inherit
# ASM is only entry in /var/opt/oracle/oratab
oracle@neonrcom-db1:~$ grep -v "^#" /var/opt/oracle/oratab
+ASM:/opt/oracle/asm/10.2.0:N
# I can connect to ASM fine, and it has diskgroups mounted.
oracle@neonrcom-db1:~$ export ORACLE_HOME=/opt/oracle/asm/10.2.0
oracle@neonrcom-db1:~$ export ORACLE_SID='+ASM'
oracle@neonrcom-db1:~$ sqlplus "sys as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 21 20:53:10 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> set line 150
SQL> select name, block_size, state, type, total_mb, free_mb from v$asm_diskgroup;
NAME BLOCK_SIZE STATE TYPE TOTAL_MB FREE_MB
DBARCH1 4096 MOUNTED EXTERN 2096856 2096784
DBLIVE1 4096 MOUNTED EXTERN 4193904 4193812
#### Contents of init.ora for new DB
db_create_file_dest=+DBLIVE1
db_recovery_file_dest=+DBARCH1
db_recovery_file_dest_size=2147483648
##### DB INSTALLATION ATTEMPT
oracle@neonrcom-db1:~$ export ORACLE_HOME=/opt/oracle/server/10.2.0
oracle@neonrcom-db1:~$ export ORACLE_SID='NEONREL1'
oracle@neonrcom-db1:~$ export PATH=$ORACLE_HOME/bin:$PATH
oracle@neonrcom-db1:~$ /opt/oracle/server/10.2.0/admin/NEONREL1/scripts/NEONREL1.sh
You should Add this entry in the /var/opt/oracle/oratab: NEONREL1:/opt/oracle/server/10.2.0:Y
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 21 22:10:54 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
specify a password for sys as parameter 1
Enter value for 1: xxx
specify a password for system as parameter 2
Enter value for 2: xxx
specify a password for sysman as parameter 3
Enter value for 3: xxx
specify a password for dbsnmp as parameter 4
Enter value for 4: xxx
specify ASM SYS user password as parameter 6
Enter value for 6: xxx
Connected to an idle instance.
SQL> spool /opt/oracle/server/10.2.0/admin/NEONREL1/scripts/CreateDB.log
SQL> startup nomount pfile="/opt/oracle/server/10.2.0/admin/NEONREL1/scripts/init.ora";
ORACLE instance started.
Total System Global Area 1.9294E+10 bytes
Fixed Size 2054976 bytes
Variable Size 2264925376 bytes
Database Buffers 1.7012E+10 bytes
Redo Buffers 14721024 bytes
SQL> CREATE DATABASE "NEONREL1"
2 MAXINSTANCES 8
3 MAXLOGHISTORY 1
4 MAXLOGFILES 16
5 MAXLOGMEMBERS 3
6 MAXDATAFILES 100
7 DATAFILE SIZE 300M AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
8 EXTENT MANAGEMENT LOCAL
9 SYSAUX DATAFILE SIZE 120M AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
10 SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE SIZE 20M AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
11 SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE SIZE 200M AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
12 CHARACTER SET AL32UTF8
13 NATIONAL CHARACTER SET UTF8
14 LOGFILE GROUP 1 SIZE 51200K,
15 GROUP 2 SIZE 51200K,
16 GROUP 3 SIZE 51200K
17 USER SYS IDENTIFIED BY "&&sysPassword" USER SYSTEM IDENTIFIED BY "&&systemPassword";
CREATE DATABASE "NEONREL1"
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00349: failure obtaining block size for '+DBLIVE1'
ORA-01031: insufficient privileges
Message was edited by:
tjobbinsUpdate: I've worked out the difference between the two sets of errors I get.
The basic error is this:
ORA-00200: control file could not be created
ORA-00202: control file: '+DBLIVE1'
ORA-17502: ksfdcre:4 Failed to create file +DBLIVE1
ORA-15001: diskgroup "DBLIVE1" does not exist or is not mounted
ORA-15055: Message 15055 not found; No message file for product=RDBMS, facility=ORA
ORA-01031: insufficient privileges
However if my init.ora contains the line:
control_files=/opt/oracle/server/10.2.0/dbs/cntrlNEONREL1.dbf
then I instead get the second error:
CREATE DATABASE "NEONREL1"
ERROR at line 1:
ORA-01501: CREATE DATABASE failed
ORA-00349: failure obtaining block size for '+DBLIVE1'
ORA-01031: insufficient privileges
So basically these must be the same error, just in the second case I'm not trying to put the control file on the ASM so it fails at a different point.
But both errors must be because of the same cause, I suppose. -
===================================
Create failed for Database 'Qlao'. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1750.9+((dac_inplace_upgrade).101209-1051+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+Database&LinkId=20476
Program Location:
at Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImpl()
at Microsoft.SqlServer.Management.Smo.Database.Create()
at Microsoft.SqlServer.Management.SqlManagerUI.CreateDatabaseData.DatabasePrototype.ApplyChanges(Control marshallingControl)
at Microsoft.SqlServer.Management.SqlManagerUI.CreateDatabase.DoPreProcessExecution(RunType runType, ExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.DoPreProcessExecutionAndRunViews(RunType runType)
at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.ExecuteForSql(PreProcessExecutionInfo executionInfo, ExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.Microsoft.SqlServer.Management.SqlMgmt.IExecutionAwareSqlControlCollection.PreProcessExecution(PreProcessExecutionInfo executionInfo, ExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.ViewSwitcherControlsManager.RunNow(RunType runType, Object sender)
===================================
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Program Location:
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(StringCollection sqlCommands, ExecutionTypes executionType)
at Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQuery(StringCollection queries)
at Microsoft.SqlServer.Management.Smo.SqlSmoObject.ExecuteNonQuery(StringCollection queries, Boolean includeDbContext)
at Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImplFinish(StringCollection createQuery, ScriptingOptions so)
at Microsoft.SqlServer.Management.Smo.SqlSmoObject.CreateImpl()
===================================
CREATE DATABASE permission denied in database 'master'. (.Net SqlClient Data Provider)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1617&EvtSrc=MSSQLServer&EvtID=262&LinkId=20476
Server Name: SLPSOFTSOLS1
Error Number: 262
Severity: 14
State: 1
Line Number: 1
Program Location:
at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)Hello,
This issue might be caused by the User Account Control (UAC) settings if we use Windows 7 or Windows Server2008, ect Operating System. Please also take a look at the following articles:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/28fee0ed-c7e2-40df-8f79-f513c9848f09/create-database-permission-denied-in-database-master-microsoft-sql-server-error-262?forum=sqltools
http://blogs.msdn.com/b/dparys/archive/2009/09/17/create-database-permission-denied-in-database-master-my-fix.aspx
Regards,
Elvis Long
TechNet Community Support -
Failed to create Database Link in OWB 9.2 for remote SQL Server
Hi,
I have to create Database link for connecting to SQL server in a different machine.I am using OWB 9.2 and XP.
Dataserver is the machine name which is running SQL Server
I included follwing lines in TNSNAMES.ORA file
hsodbc.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dataserver)(PORT = 1433)
(CONNECT_DATA = (SID=hsodbc.world)
(HS =OK)
I included follwing lines in Listener.ORA file
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dataserver)(PORT = 1433)
(SID_DESC=
(SID_NAME=hsodbc.world)
(ORACLE_HOME=C:\ora92)
(PROGRAM=hsodbc)
I included follwing lines in inithsodbc.ORA file
HS_FDS_CONNECT_INFO = testdsn
HS_FDS_TRACE_LEVEL = 0
While creating new database link I gave the follwing values
DB Link Name : Mylink
SQL * Net Connect String: hsodbc
User Name: sa
password:<my password>
Then clicked "Create and Test" button to get the follwing error message
Testing...
Failed.
ORA-12154 TNS:could not resolve service name
*Cause: The service name specified is not defined correctly in the TNSNAMES.ORA file
*Action: Make the following checks and correct the error:
- Verify that a TNSNAMES.ORA file exists on your repository server
in the proper place and is accessible. See the operating
system specific manual for details on the required name and location.
- Check to see that the service name exists in one of the
TNSNAMES.ORA files and add it if necessary.
- Make sure there are no syntax errors in the file.
Particularly look for unmatched parentheses or stray characters.
Any error in a TNSNAMES.ORA file makes it unusable. See
Chapter 4 in the SQL*Net V2 Administrator's Guide. If possible,
regenerate the configuration files using the Oracle Network Manager.
Is there anything wrong in my configuration. Please help me in getting out of this problem.
Thanks in advance
AndyHi Mark,
Thanks Mark.I did the changes in the specified .ora file but now it shows a different error message.
The error is
Testing...
Failed.
Cwm Error Message: SQL Exception
Cwm Error: SQL Exception
Class Name: CacheMediator
Method Name: getDDEntryFromDB
Repository Error Message: ORA-28545: error diagnosed by Net8 when connecting to an agent
NCRO: Failed to make RSLV connection
ORA-02063: preceding 2 lines from MYLINK
Query: select 1 from dual@MyLink
I got the same error when i tried manually in sql plus.
Please help me in getting out of thid problem
Thanks in advance
Andy -
hai i am installing sap netweaver 2004s with a IBM DB2 as database.I got an error in Create database phase.
INFO 2011-11-28 02:22:06
Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/DB6/CENTRAL/AS/createDatabase.clp' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/DB6/CENTRAL/AS/createDatabase.2.clp'.
INFO 2011-11-28 02:22:06
Removing file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\DB6\CENTRAL\AS\createDatabase.clp.
INFO 2011-11-28 02:22:06
Creating file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\DB6\CENTRAL\AS\createDatabase.clp.
ERROR 2011-11-28 02:22:07
MDB-01016 SQL0294N The container is already in use. SQLSTATE=42730
ERROR 2011-11-28 02:22:07
FCO-00011 The step CreateDatabase with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_DB6_DB|ind|ind|ind|ind|1|0|NW_DB6_CreateDb|ind|ind|ind|ind|16|0|CreateDatabase was executed with status ERROR
Please help me in solving this problem.....
Thanks in advance......
Dinesh.Hello,
<b>FCO-00011 The step CreateDatabase with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSchemaCreate|ind|ind|ind|ind|9|0|CreateDatabase was executed with status ERROR.</b>
This Error occurs because the <b><SID>DATA1,<SID>DATA2,<SID>DATA3,<SID>DATA<X></b> and <b><SID>LOG1,<SID>DATA<x></b> are already containing the .mdf,.ndf and .ldf files.
So rename those directories to someother(Do not delete, just rename, as it might be used to attach the database incase you have detached it) and just create the above directories "<b><SID>DATA1,<SID>DATA2,<SID>DATA3,<SID>DATA<X></b> and <b><SID>LOG1,<SID>DATA<x></b>".
This should solve the problem.
Any questions, do post it back, will try to resolve it.
Many Thanks.
Maybe you are looking for
-
Is it possible to exchange my 15 macbook for 13 macbook pro?
is it possible to exchange my 15 macbook for 13 macbook pro? the reason why i want to have the 13 macbook pro is for its size since i can put in my school bag
-
We use a big infrastructure on OS X Server, and actually we have some apps developed with FMS 2 run on a little test windows server. I hope we will be able to install FMS 3 on OS X Server to connect FMS apps to SSO, LDAP, SAN, to improve disponibilit
-
Anyway to get around "Employees could not be linked" on IT0031
Here's the situation we have. We had an employee that retired mid-year. Upon retirement we have a new PERNR created that the employee starts receiving his pension under. Upon creation of this new PERNR, there was no Ref Pers No entered and there w
-
Turn a music file into a podcat
I have a series of mp3 files that I want to listen to as either audiobooks or podcasts, but they are imported as music. how do I switch the designation to audiobook or podcast in itunes?
-
Nov 23 09:39:37.815 CST: ISAKMP (0:2254:): vendor ID seems Unity/DPD but hash mismatch BACKGROUND: VPN tunnel between ASA and IOS router.Tunnel is uo from ASA to IOS but reverse is not happening. implicationof this error? am able to connect