SunQuest
           Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old February 19th, 2004, 07:58 PM
DirkPitt's Avatar
DirkPitt DirkPitt is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: New Zealand
Posts: 294 DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 4 h 29 m 40 sec
Reputation Power: 12
Oracle 9i TNS:could not resolve service name.. Newbie help

Hi I have a few questions about setting Oracle 9i up

first of all I have installed this on a local machine that is not part of a network to run on a local machine..

a) I want to use sql*Plus to create a database tables etc.. which i cannot do by the looks until i set up Net configuration. But when i try to set up the Net Service name i have recieved this message -> TNS:could not resolve service name "About 10 Zillion times"

so thats problem 1..

now do i need to create a database before I do this? by running the database configuration Assistant?

help would be appreciated

cheers Dirk

Reply With Quote
  #2  
Old February 19th, 2004, 09:59 PM
DirkPitt's Avatar
DirkPitt DirkPitt is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: New Zealand
Posts: 294 DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 4 h 29 m 40 sec
Reputation Power: 12
Ok it appears that installing another database has fixed that problem.. but now i get Invalid username and password for just about everything I try to do on it..

Where can i manage users of this database to fix these problems? can anybody help?

Dirk

Reply With Quote
  #3  
Old February 20th, 2004, 03:35 AM
shafique shafique is offline
Senior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Canada
Posts: 305 shafique User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 45 m 20 sec
Reputation Power: 5
You suppose to connect with Oracle database as SYSTEM/ password OR SYSTEM/password as sysdba, as follows:

C/>sqlplus system/password as sysdba

If you get the SQL prompt withour having any problem then you can change the password of any existing user in the database, an example is given below:

SQL>alter user scott identified by myself;

now try to connect with that user.


Regards

Reply With Quote
  #4  
Old February 20th, 2004, 06:48 AM
DirkPitt's Avatar
DirkPitt DirkPitt is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: New Zealand
Posts: 294 DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level)DirkPitt User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 4 h 29 m 40 sec
Reputation Power: 12
Thanks i finally stumbled across Sysdba and added a user in the enterprise management console so now i can run with user Admin..

But im not sure, does management console require a repository database to be running so you can use it..

thanks for the reply by the way..

I take it Sysdba can be run because it Authenticates with Windows NT and your local user.
I cant seem to add users in the windows Authentication console tho... well let me rephrase that, I can add them but they dont work :-)

Dirk

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Oracle 9i TNS:could not resolve service name.. Newbie help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway