Home > Ask the Oracle Experts > (Archive) Database Installation/Upgrade/Patches Questions & Answers > Cannot create services in Oracle 9i
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Cannot create services in Oracle 9i

Maria Anderson EXPERT RESPONSE FROM: Maria Anderson

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 23 May 2007
I am trying to create a database manually in Oracle 9i. I successfully created a password file but am unable to create services. This is the command I used on DOS prompt C:>oradim -new -sid.db6 -intpwd d:\oracle\ora92\database\pwddb6.ora -startmode a -pfile d:\oracle\admin\db6\pfile\init.ora. The following error occurs: "DIM-00035: You have entered and invalid option for the -EDIT command."

>
EXPERT RESPONSE

The syntax for creating a new service with oradim is as follows: oradim -NEW -SID SID | -SRVC service_name [INTPWD password][-MAXUSERS number][-STARTMODE auto | manual][-PFILE filename] [-TIMEOUT secs] where:

  • NEW indicates that you are creating a new instance. This is a mandatory parameter.
  • SID SID is the name of the instance to create. You must specify either this parameter or parameter -SRVC.
  • SRVC service_name is the name of the service to create (OracleServiceSID). You must specify either this parameter or parameter -SID.
  • INTPWD password is the password for the new instance. This is the password for the user logged in with SYSDBA privileges. Option -INTPWD is not required. If you do not specify it, then operating system authentication is used, and no password is required.
  • MAXUSERS number is the number of users defined in the password file. The default is 5.
  • STARTMODE auto, manual indicates whether to start the instance automatically or manually at startup. Default is manual.
  • PFILE filename is the initialization parameter file to be used with this instance. Ensure that you specify the complete path name of this file, including drive letter.
  • TIMEOUT secs sets the maximum time to wait (in seconds) before the service for a particular SID stops.

To create an instance called PROD, for example, you might enter:
C:\> oradim -NEW -SID prod -INTPWD mypassword1 -STARTMODE auto -PFILE
C:\oracle\admin\prod\pfile\init.ora

This information is readily available from the Oracle9i Release 2 (9.2) Database Administrator's Guide for Windows.

From reviewing your example, I noticed that you have a period (".") between –sid and db6. The oradim command will not like this so remove this from the command. Also, startmode cannot be "a" – it should either be auto or manual. After making these modifications, try creating the service again.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
(Archive) Database Installation/Upgrade/Patches
Error in invoking target install of makefile
Using /var/opt/oracle/oratab
Errors installing Database Configuration Assistant
Impact on apps of migration from Oracle 8 to 10g
Tools to manage multiple Oracle 10g databases
ORA-01103 error during Oracle 10g startup
Migrate Oracle 9i data on Sun to 10g on Windows
Information on OUI (Oracle Universal Installer)
Performance issues with upgrade to Oracle 10g database
Impact of Oracle 9i upgrade on Java front end

Oracle database installation, upgrades and patches
Intermap details its Oracle database 11g upgrade
Oracle OpenWorld 2008 Special Report
Oracle extends Real Application Testing to 10g, 9i
Third-party Oracle database tools remain an attractive option
Enterprise search a key component of Oracle portal project
Oracle Enterprise Manager leverages multiple environments for pharmaceutical giant
Oracle 11g upgrade veteran offers step-by-step advice
Oracle Database 11g gets early use at Burlington Coat Factory
Oracle database upgrades require soul searching
With software upgrades, pain leads to gain

Oracle error messages
ORA-12560 error with Oracle 10g Instant Client
Unable to view Oracle tables in NetBeans
IMP-00017 error message with Oracle import
Can't open database after failed backup export
Query on dblink returning ORA-12545 error
RMAN not working at command prompt
Unique constraint violations, "parent key not found" errors
Insufficient privileges error when creating stored procedure
IMP-00010 error with import from 10g to 9i
ORA-12801 error while loading seed data

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
10g  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts