Creating database (confused!)
hi,
it says that when you're creating a database, you have to log into the database as sysdba, and then do create database...but how can you log in to the database when it hasn't even yet been created? I mean, how can you connect as sysdba, because the database does not even yet exist and therefore neither should this privilege?
thanks.
Once you are in the nomount stage,you need to issue the command
connect / as sysdba
Here the "/" implicitly connects you as Sys schema..
There's nothing implicit about this at all. The command 'connect / as sysdba' means "please connect me to an instance, authenticating me using OS authentication methods, and I want to claim the SYSDBA system privilege whilst doing so".
Exactly the same effect can be achieved by issuing the command "connect sys/fred as sysdba". This simply means "connect me to an instance, authenticating me with an Oracle password file, and I want to claim the SYSDBA system privilege whilst doing so".
In neither case is the connection to the SYS schema "implicit", since the request for SYSDBA privileges is explicit in both -and the only "schema" that can ever acquire SYSDBA privileges is SYS's.
The only difference between the two forms of the connection command, in fact, is whether to use OS or password file authentication.
This fact makes it all the more unfortunate that you would go on to write, "You will log in to your instance using this command and than will issue ,create database command.Oracle maintains the Sys user's password in a password file."
If, as you say, Oracle is maintaining something in a password file, then the connection command you actually gave (which very deliberately didn't mention a password!) shouldn't be used (the idea of a password file is that you should supply the password when connecting!). If you're going to use the password-less form of the connection string, then the one thing you can say with some confidence is that there is NOT a password file (or, at least, that its existence is entirely optional).
Your answer also completely misses the point that I might well connect as follows: connect hjr/dizwell as sysdba. That's password file authentication, requesting the SYSDBA system privilege. I will end up connected using hjr's credentials -but a 'show user' in SQL*Plus will STILL show me connected as SYS.
A more meaningful answer to the original question (of "how can you log in to the database when it hasn't even yet been created") is very simple:
1. No-one ever logs onto a database. Ever.
2. People only ever connect to an instance.
3. Usually, the database tables (USER$, for example) are used to check on user names and passwords and privileges to work out whether you are allowed to connect to an instance or not. That's called 'data dictionary authentication' -and obviously can only happen once the database exists, those tables exist and can be read and accessed properly ...post-database-creation, in other words, and post-database-opening.
4. A 'privileged user' is one who is allowed to perform the five privileged actions (which are: startup, shutdown, backup, recover and create)
5. Privileged users are never authenticated by the data dictionary, at least partly because of the Catch22 situation you describe: how can we use a data dictionary table to authenticate whether you are allowed to create (or startup!) the very thing needed to store that table in the first place
6. Privileged users are therefore always only ever authenticated either by the OS (membership by an ordinary user of the OS of an appropriate OS group -such as dba on Unix or ORA_DBA on Windows); or by a password file
7. OS group membership or password files are external to the database -that is, their existence has nothing to do with whether the database exists or has been opened for business.
8. Therefore, privileged users can be authenticated whether a database exists or has been opened for business or not.
9. There is actually only ever one privileged user: SYS. Therefore, you can connect as SYS regardless of whether a database exists or has been opened for business or not.
And how you connect as SYS (which of the two authentication methods you want to use, in other words -and which is the only thing your answer concerned itself with) is completely and utterly irrelevant to all of that.
Similar Messages
-
Creating database using DBCA stuck at 85% for about 7minutes~
when i create DB using DBCA , it stuck in 85% for a long time ,and the a waring appears
it says :
EM configuration failed due to the following error
-error starting database control
refer to the log file at emConfig.log for more details
so i checked the log file,and i find this:
Mar 10, 2009 5:02:50 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /u01/app/oracle/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
Mar 10, 2009 5:09:56 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Mar 10, 2009 5:09:56 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://myoracle.localhost.com:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................
................. failed.
starting emctl dbconsole takes about 7 minutes. and it still failed
some guy say it might a bug ,and can fix it using a patch.
in order to use the patch wizard ,i must login to the em. but i cant open it. and also , i dont have metalink account.
also ,there is another error , when i use emctl start dbconsole ,
it says an instance fo oem 10g Database Control is already running
then i use emctl status dbconsole
but it says EM daemon is not running .
my os is RHEL 5.3
and oracle version is Oracle Database 10g Release 2 (10.2.0.1.0) for Linux x86
so i was totally confused....
so ~ if possible give me a reply~ really appreciate~hello,
You can just create database without EM dbconsole and later you can create EM repository manually. Now if you have already configured it and you don't want to repeat the process then you can do this
To Create
$ emca -config dbcontrol db -repos create
To drop
$ emca -deconfig dbcontrol db -repos drop
To recreate
$ emca -config dbcontrol db -repos recreateRegards
Edited by: OrionNet on Mar 12, 2009 9:48 AM -
Specify datafiles in the create database statement-plz help
hi i have the following create database statement...
i need to add 2 more datafile and a tablesapce for data named dqdata.. how do i do that...
create database ABC123
logfile group 1 ('/retu/oraredo/ABC123/redo01.log') size 500M,
group 2 ('/retu/oraredo/ABC123/redo02.log') size 500M,
group 3 ('/retu/oraredo/ABC123/redo03.log') size 500M
character set WE8ISO8859P1
national character set utf8
datafile '/retu/oracle/oradata/dev/ABC123/system01.dbf'
size 2000M
autoextend on
next 100M maxsize unlimited
extent management local
sysaux datafile '/retu/oracle/oradata/dev/ABC123/sysaux01.dbf'
size 2000M
autoextend on
next 100M
maxsize unlimited
undo tablespace UNDO
datafile '/retu/oracle/oradata/dev/ABC123/undo01.dbf'
size 2000M,
datafile '/retu/oracle/oradata/dev/ABC123/undo02.dbf'
size 2000M,
datafile '/retu/oracle/oradata/dev/ABC123/undo03.dbf'
size 2000M,
default temporary tablespace temp
tempfile '/retu/oracle/oradata/dev/ABC123/temp01.dbf'
size 2000M,
tempfile '/retu/oracle/oradata/dev/ABC123/temp02.dbf'
size 2000M,
tempfile '/retu/oracle/oradata/dev/ABC123/temp03.dbf'
size 2000M;
=======================
THESE ARE THE DATAFILES I NEED AND EACH IS OF 2000M...
FOR DATA TBALESPACE NAMED DQDATA----
/retu/oracle/oradata/dev/ABC123/dqdata01.dbf
/retu/oracle/oradata/dev/ABC123/dqdata02.dbf
/retu/oracle/oradata/dev/ABC123/dqdata03.dbf
/retu/oracle/oradata/dev/ABC123/dqdata04.dbf
/retu/oracle/oradata/dev/ABC123/dqdata05.dbf
FOR INDEX TABLESPACE NAMED DQINDEX
/retu/oracle/oradata/dev/ABC123/dqindex01.dbf
/retu/oracle/oradata/dev/ABC123/dqindex02.dbf
/retu/oracle/oradata/dev/ABC123/dqindex03.dbf
/retu/oracle/oradata/dev/ABC123/dqindex04.dbf
/retu/oracle/oradata/dev/ABC123/system01.dbf
/retu/oracle/oradata/dev/ABC123/temp01.dbf
/retu/oracle/oradata/dev/ABC123/temp02.dbf
/retu/oracle/oradata/dev/ABC123/temp03.dbf
/retu/oracle/oradata/dev/ABC123/undo01.dbf
/retu/oracle/oradata/dev/ABC123/undo02.dbf
/retu/oracle/oradata/dev/ABC123/unod03.dbf
COULD OU PLEASE LET ME KNOW HOW DO I DO THAT................
AM VERY VERY CONFUSED I THIS...
AND I SUPOSE I NEED TO CREATE THEM physically in the unix right?????
please help
/retu/oracle/oradata/dev/ABC123/sysauxYes, you are right, there is no clause in CREATE DATABASE command to
create additional tablespaces except the TEMPORARY and UNDO besides
SYSTEM and SYSAUX. Here is link that you can refer to:
http://www.lorentzcenter.nl/awcourse/oracle/server.920/a96521/create.htm#1000691 -
Oracle 10g Help?Create database error
I am unable to run a script createDB having command create database kmaa.I open up SQL*Plus, connect and login without any trouble as well. When I try to create a database I get the following:
SQL> CREATE DATABASE kmaa;
CREATE DATABASE kmaa
Error at line 1:
ORA-01501: CREATE DATABASE failed
ORA-01100:database already mounted
Any idea?Hi Pete,
Oracle Express Edition creates a database automatically when you install it and the product is limited to one database instance per machine. Perhaps you are confusing users/schemas with what you may term a database. An Oracle database instance can be broken down into logical units called users or schemas. If you wish to create a database of books, you should create a user called books and then log on as this user and create your database objects. To make things simpler, Oracle XE comes with a browser interface based on Application Express. You can use this to create schemas, database objects and applications (forms reports etc) to access and manage those objects. Further to this you should RTFM.
Regards
Andre -
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. -
Error while creating database in classic appln
Hi All,
I am getting this error while creating database in classic application.
com.hyperion.planning.olap.EssbaseException: Failed to create database, error code [%s] (1013221).
Can anyone please let me know why I am getting it?
Thanks in advanceCan you check for a more specific error code in the Application log? There can be various reasons for this:
1. For data storage and binary installation, Essbase supports the use of any disk array device mounted with a local file system interface (for example, NTFS, HPFS, JFS, VxFS, and UFS). A disk array mounted using NFS or CIFS is not supported.Use any disk array device mounted with a local file system interface (for example, NTFS, HPFS, JFS, VxFS, and UFS).
2. Error occurs when deploy Planning application with double byte enabled. When the plan name is changed to English, deploy will be successful. This issue can be fixed by setting Correct Essbase ESSLANG system value.
3. The Essbase User that creates the application and DB folders has default ACL rw-rw-rw which does not allow the essbase app to create files inside the folder.
HTH-
Jasmine.
Maybe you are looking for
-
I am using to_char("FOMS_DFL"."Adjustment Hours",'9999.9') to my desired format. But I am not able to sum the Adjustment Hours. Can i convert the to_char("FOMS_DFL"."Adjustment Hours",'9999.9') to number using any function.
-
HP Color LaserJet 2500 Toolbox
My HP color laserjet users manual refers to the "HP Color LaserJet 2500 Toolbox" for performing maintenance on the printer, like cleaning, etc. However I have not been able to find this program. Google searches bring up sites claiming to have it fo
-
How can I do to use an OpenGL application in a Labview VI ?
I would like to use it as a window in the GUI VI.
-
Time out while reading single record from CRMD_ORDERADM_H table on OBJECTID
Hi, This is the problem i am facing in CRMD_ORDERADM_H. if i search for a single record in CRMD_ORDERADM_H Table using SE11 on OBJECT_ID field, it is giving me Time out error. CRMD_ORDERADM_H db size would be > 1 Billion records. It is having a Secon
-
Smartforms symbol not found?
Hi experts, I am facing a problem with smartforms, hopefully anyone of you got a solution on this. The call of my Smartforms FM results in a exception 1 --> formatting error. Smartforms_trace says: MSGV1: GV_PRINT-AMOUNT symbol GV_PRINT-AMOU