June 5, 2020
Hi,
Sometimes You can get ” DIM-00014: Cannot open the Windows NT Service Control Manager, OPW-00001: Unable to open password-file ” error.
Details of error are as follows.
C:\>oradim -new -sid MSDBA -syspwd mgrMSDBA -startmode auto -pfile C:\app\product\12.1.0.2\dbhome_1\dbs\init_MSDBA.ora; OPW-00001: Unable to open password-file DIM-00014: Cannot open the Windows NT Service Control Manager. O/S-Error: (OS 5) Access is denied.
This error is related with permission, to solve this error, Run the CMD as Administrator on Windows.
When you run the CMD as Administrator mode, Oracle instance will be created as follows.
C:\>oradim -new -sid MSDBA -syspwd mgrMSDBA -startmode auto -pfile C:\app\product\12.1.0.2\dbhome_1\dbs\init_MSDBA.ora; Instance created. C:\>
Do you want to learn more details about ORADIM Utility, then read the following articles.
ORADIM Utility | Create Oracle Instance for Windows Environment
About Mehmet Salih Deveci
I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA, Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].- -Oracle DBA, SQL Server DBA, APPS DBA, Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için [email protected] a mail atabilirsiniz.
Такая проблемма может возникнуть, при попытки создать базу в Database Configuration Assistant, и возникает оно в операционных системах Windows Vista, Windows 7, означает, что пользователь, который вы используете oradim не имеет достаточных привилегий. Но в большинстве случаев жалобы пользователей, что они выполняют эту задачу с пользователя-администратора или у них есть только один счет в окнах и его администратора, но все они сталкиваются с этой проблемой .
Таким образом, решение очень простое.
Вопервых нужно попробывать создать групу пользователей, в которую будут входить АДМИНИСТРАТОР, ORA_DBA, и потом пробывать запустить Database Configuration Assistant. Чтобы изменить учетную запись, при входе в систему в качестве администратора, перейдите по ссылке:
Панель управления -> Учетные записи пользователей -> Управление Другой Accounnt
нажмите на учетную запись, которую необходимо изменить,
Нажмите кнопку Изменить тип учетной записи
Выберите администратора
нажмите на изменение типа.
После чего необходимо выйти из сеанса и зайти под АДМИНИСТАРТОР. Ошибка должна исчезнуть и запустится процес инсталяции…
After i took class on how to create database using CREATE database command in windows,
One of My Student tried creating a service using oradim and got the below error.
##########################
# Error
##########################
##########################
# Error Occurred
##########################
Error occurs when tried to create a database service using oradim in Windows 7
##########################
## Cause
##########################
- User Access Control is Enabled
- Owner which ran the Command is not the owner of the oracle software.
##########################
## Solution
##########################
1. Disable User Access Control by
- Click Start, and then click Control Panel.
- In Control Panel, click User Accounts.
- In the User Accounts window, click User Accounts.
- In the User Accounts tasks window, click Turn User Account Control on or off.
2. Run the command prompt by logging to the owner of the software
3. Start -> Accessories -> Right click on Command Prompt
and select “Run as Administrator”.
One of the most common error that user faced in using oradim utility is :
DIM-00014: Cannot open the Windows NT Service Control Manager.
O/S-Error: (OS 5) Access is denied.
This error is common in Windows Vista and windows 7 .
Its means that the user from which you are using oradim has not sufficient privileges .But most of the users complaint that they are performing this task from Administrator user or they have only one account in windows and its administrator ,but still they are facing this problem .
So the solution is very simple ,
just goto start wirte cmd ,cmd icon appears ,right click on it ….
Then click on «Run as administrator» and then create your required service .
oradim -new -sid myservice ;
Skip to content
Osama Mustafa
وَمَا تَوْفِيقِي إِلَّا بِاللَّهِ
Tag: OS 5
dim-00014
While You are trying to install Oracle Database On Windows 2008 R2 or any other Microsoft Os with user not administrator you will get
DIM-00014: Cannot open the Windows NT Service Control Manager.
O/S-Error: (OS 5) Access is denied.
Solution :
Run DBCA as administrator .
Click on start button -> All programs -> Accessories -> right click the command prompt icon > choose run as administrator ->
invoke dbca in the commandline or oradim can also be used.
Thank you
Osama mustafa