Question

Problems starting database

Asked by: mario_34

Hi,

i'm a beginner in Oracle and i'm having problems starting the database.  I installed Oracle 8i Personal edition (for Win98). When i was asked for the global database name i entered mydb.db1 (SID: mydb). Now, if i click "Start Database" from database administration i get a message box saying: Starting up database...
Checking security....
and finally:
ORA-12705
Cannot logon to Oracle8i

What am i doing wrong?

Is it possible to run SQL Plus without the database started or should the database be started for every operation i wish to perform.  Sorry if the questions seem strange, but as i said i'm a beginner in Oracle.

Thanx

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2001-11-14 at 03:09:56ID20231072
Tags

database

Topic

Oracle Database

Participating Experts
3
Points
100
Comments
14

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Starting oracle8i server on Sun Solaris
    I installed oracle8i on my sun solaris 5.6 machine and started oracle from my svrmgrl > Connect internal; svrmgrl > startup It gave error in trace file as Not enough physical memory for SHM_SHARE_MMU segment of size 00000001e00.. (address) Can u tell me the reason why?
  2. Oracle8i with NetBackup
    I installed NetBackup for Oracle8i, and as a part of it I had to run $ORACLE_HOME/rdbms/admin/catrman.sql but I don't have it. Do you know anything about it?
  3. problem installing oracle8i on solaris7
    i am trying to install oracle8i on solaris7.i get the error "error invoking target ioracle of makefile /u02/app/oracle" when 23% of installation is finished. pls help!!!
  4. Oracle8i database creation
    We have Oracle8i on NT4.0,with one database created(sid pama).I was successed to creat a second datebase(sid mary),but I can't connect with the second database throught oracle8i client on windows.Error code:ORA-12545: Connect failed because target host or object does not exis...
  5. Oracle8i?
    Pardon my english. I don't have any experience in Oracle 8i. I know some MS Access and MS Access SQL. I never use Oracle 8i before. What should I learn first before learning Oracle 8i? I know there is to get oracle server. I can download a free copy of Oracle8i from Oracle we...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: dbrowerPosted on 2001-11-14 at 06:18:11ID: 6631385

You need to have the database started for SQL*Plus to connect to in order to do any thing within SQL*Plus.

it sounds like you may have a problem with the Net8 configuration. Go back over the configuration using the Net8 Assist utility

Good luck

 

by: bijoynPosted on 2001-11-14 at 08:18:35ID: 6631787

Hi,

Look at this,

ORA-12705 invalid or unknown NLS parameter value specified

Cause: There are two possible causes: Either an attempt was made to issue an ALTER SESSION statement with an invalid NLS parameter or value; or the NLS_LANG environment variable contains an invalid language, territory, or character set.

Action: Check the syntax of the ALTER SESSION command and the NLS parameter, correct the syntax and retry the statement, or specify correct values in the NLS_LANG environment variable. For more information about the syntax of the ALTER SESSION command, see Oracle8i SQL Reference.

Check it out

Bijoy

 

by: mario_34Posted on 2001-11-14 at 10:31:09ID: 6632329

Where can i check for the ALTER SESSION command or NLS_LANG and where do i make changes to them ?

 

by: bijoynPosted on 2001-11-14 at 11:48:46ID: 6632559

You can specifically set it up in the init<sid>.ora file -

NLS_LANGUAGE='AMERICAN'

and also set the environment variable in windows for NLS_LANG

NLS_LANG to the value equal to American_America.WE8ISO8859P1


Here is some more info -

NLS_LANG Parameters
Oracle8i for Windows NT provides NLS that enables users to interact with a database in their own language, as defined by the NLS_LANG parameter. When you install Oracle8i for Windows NT, the NLS_LANG parameter is registered by the Net8 Client installation script.

The default value of the NLS_LANG parameter at installation is either that of the existing NLS_LANG parameter of the currently selected Oracle home, or of the default language of the operating system. The default language and NLS_LANG value mappings are listed under "Commonly Used Values for NLS_LANG".

The NLS_LANG parameter is stored in the registry under the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEID\NLS_LANG subkey, where ID is the unique number identifying the Oracle home.

The NLS_LANG parameter uses the following format:

NLS_LANG = LANGUAGE_TERRITORY.CHARACTER_SET

where:

LANGUAGE
 Specifies the language and conventions for displaying messages, day name, and month name.
 
TERRITORY
 Specifies the territory and conventions for calculating week and day numbers.
 
CHARACTER_SET
 Controls the character set used for displaying messages.
 

Bijoy

 

by: mnicorasPosted on 2001-11-14 at 12:08:15ID: 6632599

Hi,

first to know U don't need to have database started to connect with sqlplus version 8i. just type

sqlplus /nolog

and it's ok. :-)

for NLS_LANG just set this as enviromental variable. A lot of possibilities. One is to say in command line:

set NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1

than start sqlplus as I mention above and everything should be ok. U could even then say

connect system....

enjoy :-)

best regards,
Marius Nicoras

 

by: mario_34Posted on 2001-11-14 at 14:45:46ID: 6633315

Hi,

i changed the NLS_LANG in the registry as suggested, but now there's another problem. When i click on start database, i get the mesage "Oracle 8i Instance Started" and then "ORA-205 Cannot mount database". What's wrong now?

 

by: mnicorasPosted on 2001-11-14 at 23:15:46ID: 6634592

Hi Mario,

can U take a look in the alert log file where Oracle write a detailed information regarding starting up/shuting down and others... Location of the file is written in your init<sid>.ora file at parameter background_dump_dest. So take a look and in case you cannot figure out why then post some lines from that file...

best regards,
Marius Nicoras

 

by: mario_34Posted on 2001-11-15 at 01:22:56ID: 6634864

Hi,
it seems like control01.ctl is missing...

ALTER DATABASE MOUNT EXCLUSIVE
Wed Nov 14 23:46:00 2001
ORA-00202: controlfile: 'e:\Oracle\oradata\testdb\control01.ctl'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.

Wed Nov 14 23:46:00 2001
ORA-205 signalled during: ALTER DATABASE MOUNT EXCLUSIVE...
archiving is disabled


What should i do?

 

by: mnicorasPosted on 2001-11-15 at 02:03:17ID: 6634948

Hi,

it's the only control file the database it has, like 'e:\Oracle\oradata\testdb\control02.ctl' for example? If not, just copy the other one as 'e:\Oracle\oradata\testdb\control01.ctl' and should work ok. otherwise there are some steps to perform. Hope U can solve in this manner. If not just say it and I will explain how.

best regards,
Marius Nicoras

 

by: mario_34Posted on 2001-11-15 at 03:13:09ID: 6635096

Yes, i would be very grateful if you could explain me how to do, since that in the "testdb" directory there isn't any file with .ctl extension. I only found some .ctl files under some directories containing Oracle's examples...

 

by: mnicorasPosted on 2001-11-15 at 04:11:11ID: 6635201

Hi,

looks like U got a big problem with your database!!! At least there some datafiles then created or not? It's your database really created? So, just try this(it's a little bit tricky but the only solution to save the database):

in normal case U should have this nice steps to backup Ur controlfiles.

startup mount;

alter database backup controlfile to trace resetlogs;

these two steps will create a trace file in the directory listed by the parameter user_dump_dest from Ur init<sid>.ora file. There exist last file created, named like ORA????.trc where exist the statements necessary to create again controlfiles for Ur database configuration. But, because U haven't done this before U cannot go in mount state to have this action done!!! So just try now to make this steps manually.
Trace file it should look like:

startup nomount;
create controlfile reuse database "<your_database_name>"
resetlogs noarchivelog
maxlogfiles <your_settings(default 32)>
maxlogmembers <your_settings(default 32)>
maxdatafiles <your_settings(default 254)>
maxinstances 1
logfile
  GROUP 1 '<your_settings(default...)>'  SIZE 1M,
  GROUP 2 '<your_settings(default...)>'  SIZE 1M,
  GROUP 3 '<your_settings(default...)>'  SIZE 1M
datafile
  '<your_settings(default...)>',...
character set <your_settings(default WE8ISO8859P1)>;
alter databas open restlogs;

now should be ok!!!

notice: when I write <...> this means U should complete with your settings. These settings can be easily found in the alert log file I mention in previous comments at the beginning of the file where U can find the commands executing when database has been created!!! Have U understood? If not just post me what and I will try to be more clear...

anyway good luck,
Marius Nicoras

 

by: mnicorasPosted on 2001-11-15 at 04:12:46ID: 6635204

Hi,

sorry but last command should be:

alter database open resetlogs;

the same Marius Nicoras :-)

 

by: mario_34Posted on 2001-11-15 at 05:18:39ID: 6635329

Hi,

if i'm honest i didn't understand much of what you suggested me, sorry:-), however i'd be grateful if you could explain me that. Anyway i tried another thing. I started the database configuration assistant and created a new database (copied from the CD). I thought that maybe now, when i set the NLS_LANG variable it should work...and it worked, or at least it seems so. I tried logging on SQL PLUS with system/manager and it seems all OK.

Thanx

 

by: mnicorasPosted on 2001-11-15 at 06:16:41ID: 6635480

Hi,

I'm back.

first, if controlfile is lost and U don't have a copy than it's bad. really. so U should do a backup of controlfile! how? 1. as I explain U above (alter database backup controlfile to trace resetlogs) and save the trace file .... U must do this often when U change the database structure (add/drop more tablespace or add/drop more datafiles). 2. when database is shutdown just copy one of this files somewhere secure.

second, the procedure I present U in last comment can be done manually like this:

STARTUP NOMOUNT;

CREATE CONTROLFILE REUSE DATABASE "DBLOCAL" RESETLOGS NOARCHIVELOG
    MAXLOGFILES 32
    MAXLOGMEMBERS 2
    MAXDATAFILES 254
    MAXINSTANCES 1
    MAXLOGHISTORY 1815
LOGFILE
  GROUP 1 'E:\PROGRAMS\ORACLE817\ORADATA\DBLOCAL\REDO01.LOG'  SIZE 1M,
  GROUP 2 'E:\PROGRAMS\ORACLE817\ORADATA\DBLOCAL\REDO02.LOG'  SIZE 1M,
  GROUP 3 'E:\PROGRAMS\ORACLE817\ORADATA\DBLOCAL\REDO03.LOG'  SIZE 1M
DATAFILE
  'E:\PROGRAMS\ORACLE817\ORADATA\DBLOCAL\SYSTEM01.DBF',
  'E:\PROGRAMS\ORACLE817\ORADATA\DBLOCAL\RBS01.DBF',
  'E:\PROGRAMS\ORACLE817\ORADATA\DBLOCAL\USERS01.DBF',
  'E:\PROGRAMS\ORACLE817\ORADATA\DBLOCAL\TEMP01.DBF',
  'E:\PROGRAMS\ORACLE817\ORADATA\DBLOCAL\TOOLS01.DBF',
  'E:\PROGRAMS\ORACLE817\ORADATA\DBLOCAL\INDX01.DBF'
CHARACTER SET WE8ISO8859P1;

ALTER DATABASE OPEN RESETLOGS;

it's more clear now? compare it to what I mention above.

have a nice day,
Marius Nicoras

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...