• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7224
  • Last Modified:

Trying to create a database, getting message database already mounted

Experts,

Trying to create a new database; however, getting messages:
ORA-01501: CREATE DATABASE failed
ORA-01100: database already mounted

what is the issue and how do I resolve it.
This is Oracle 11g
Thanks, MaryOS88
0
MaryOS88
Asked:
MaryOS88
3 Solutions
 
Mark GeerlingsDatabase AdministratorCommented:
One possibility is that you are trying to run a script from SQL*Plus in a session that has already done an instance startup that included mounting (or opening) an existing Oracle database, but the script you are running includes an "alter database mount" or "alter database" open command.

Another possibililty is not having the value for the environment variable: ORACLE_SID set correctly.

Which O/S do you have?  Does the server already have one (or more) Oracle database instances running on it, or are you trying to create the first one?
0
 
johnsoneSenior Oracle DBACommented:
Did you try to create the database once already and it failed?  If so, do a shutdown abort first, then try creating the database again.
0
 
Devinder Singh VirdiLead Oracle DBA TeamCommented:
Apart from above comment, You can check how many database you have in window environment by opening control Pannel/Administrative Tools/Services then look for OracleService<database_name>. If you are working in unix, then locate /etc/oratab file, so that you can see how many databases are present in your system or use ps -elf | grep smon to see currently running instance. I know this is not what you want, but will help you before creating database.
0
 
MaryOS88Author Commented:
Johnsone, Thanks your answer pointed me in the right direction, virdi ds and markgeer you gave me excellant ideas to find the problem
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now