SQL SEREVR CONNECTION TO LOCAL DATABASE FAILED ,help!!
Hai,
I detached my dev database from sql server 2000 enterprise manager and then i replaced my old data files mdf,ndf and ldf with the new once on the same location. now when i start sql server it is not showing any of databases , i also registered the sql server again and it gives me mesage can't connect to database login failed.
i think there must be some password at db level which is causing problem.
if i have to change the old password at this stage what should i do??
hope i find some solution
regards
jase
Hi,
you must logon with another user. Use a local admin. Logon on Windows with another local admin and connect to your SQl Server. Once you are connected attach the database again. Then you are able to connect via sidadm again.
The root cause is, that the default database of the sidadm is detached, so the sidadm cannot log on.
A second way can be to use the osql.exe tool. Open a command promt and run
osql -E -dmaster
This should you connect to the default instance of the server and switch to the master database, Then you can run
exec sp_defaultdb '<sid>adm','master'
go
Then you should be able to logon as sidadm as well.
regards
Clas
Similar Messages
-
Connection test to database failed: could not connect to server
I restarted one of my HPOV NNMi 9.23 servers this morning and NNMi is no longer loading. I am seeing the following errors in the logs indicated:
/var/opt/OV/log/nnm/public/nmsdbmgr.log
04/06/2015 09:28:05 AM Connection test to database failed: could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
/var/opt/OV/log/nnm/public/postgres.log
2015-04-06 09:25:55.312 EDT: :8580:0LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
2015-04-06 09:25:55.312 EDT: :8580:0WARNING: could not create listen socket for "localhost"
2015-04-06 09:25:55.312 EDT: :8580:0FATAL: could not create any TCP/IP sockets
I checked /etc/hosts and found the following entry:
#; Local
127.0.0.1 localhost
From the command line I can ping localhost with no issue. Not sure why NNMi is not starting at this point.
This question was solved.
View Solution.I also attempted to do a reset using nnmresetebdb.ovpl. I recieved the following:
Attempting to reset the embedded database...
Starting nmsdbmgr process for database reset...
nmsdbmgr process did not restart successfully - please try reset again.
When I run ovstart -c I receive the following:
Name PID State Last Message(s)
OVsPMD 29831 RUNNING -
pmd 29832 RUNNING Initialization complete.
nmsdbmgr - NOT_RUNNING - Exit(1)
ovjboss - UNSTARTABLE -
nnmaction - UNSTARTABLE -
ovspmd: Attempt to start HP OpenView services is complete.
I definitely need some help with this please!
Thanks! -
Error in Check transport tool" DB Connect Link to database failed"
Hello Guys,
I am trying to close a request but I can't , the return this mensage :
<b>"Test call of transport control progam(TP) ended with return code 0232"</b>
when I try to check transport rout, I see the error below :
<b> DB connect Link to database failed
Offline call connect failed </b>
My Database is SQL SERVER 2000
ThanksHai....
Just i want to confirm, was STMS was configured previously,
if No, Configure it .
If yes log-in to the Domain Controller system 000 client, and execute the T-code STMS, From the menu goto Overview -> Systems
you will be displayed all your systems, by selecting one by one system execute " Update Configuration" from SAP System Menu.
Regards
KHS -
My Ipad has stopped receiving emails today. It has IOS7 on it. The settings are correct but says "connection to the server failed" help!
It is the same accout that has been working find for years and just after I updated the software this has happened. My Mac is still receiving and sending via Outlook with the same account and settings. My Iphone 5C has also stopped and I tried deleting the account and adding again (via exchange as it's an exchange accout) the same way I always do and it won't even recognise it to add the settings.
So annoying. Can anyone help?iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
iPad Mail
http://www.apple.com/support/ipad/mail/
Cheers, Tom -
Can't create connection to local database
I'm trying to create a connection to a local database but I'm having problems.
Currently we use SQL Plus to do work on the local database. With that we don't need to specify a host string we just leave it blank and it connects with no problems. SQL Developer is now requiring a host string, what are we supposed to use?I added this to the tnsnames.ora to try to help
ORCL.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Port = 1521)
(CONNECT_DATA = (SID = ORCL)
You want something simpler, more like this.
ORCL.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
Trying to connect after that I get an error saying
ORA-12541 TNS no listener.
I made sure the listener service is started but I
don't know what else I need to do with the listener.In a command window, type lsnrctl status. It should show what port the listener is running on and what services it is supporting. You should modify your tnsnames.ora to match
Post the output here if you need more guidance.
Message was edited by:
smitjb -
Unable to connect to local database... (what hsould i do ?)
hi guys,
I am having this error when i startup my LOCAL database. it says
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER'
i revert back everything to very very basic.
now in my
LISTENER.ORA
I have only this.
# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = szejie)(PORT = 1521))
IN my TNSNAMES.ORA
i have got this,
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = szejie)(PORT = 1521)
IN MY pfile or SPFILE, i have got this
*.local_listener='LISTENER'
WHEN I type STARTUP in SQLPLUS, i still got this error
SYS@orcl on 07-MAR-09> startup
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER'
WILL PMON, automatically register my ORCL service with the the LISTENER ?
What should i do ?
Please help thanks.
Best Regards,
NoobHello,
Are you trying to register different port than default port 1521?
Do this or take local_listener completly out of your pfile and try with out
Edit your sqlnet.ora and add the value of NAMES.DEFAULT_DOMAIN to the alias in the tnsnames.ora:
set the domain to "world"
*sqlnet.ora:*
NAMES.DEFAULT_DOMAIN=world
init.ora:
LOCAL_LISTENER=LISTENER
In order to resolve this issue with LISTENER, it is necessary to add the domain "world" to the tnsnames.ora file entry
Or Edit init.ora file and remove loca_listener from it.
sqlplus "/as sysdba"
sql> startup nomount pfile='/path_to_pfile/init.ora'; -- it will process all the init.ora parameter and let you know if you have to resolve more
If successfully processed
sql> alter database mount;
sql> alter database open;
Once successfully opened, then shutdown it down
sql> shutdown immediate;
sql> create spfile from pfile='/path_to_pfile/init.ora';
sql>startup;Regards -
Data Guard Broker connecting to standby database fails
Hello everybody
I checked lots of pages but I'm not able to find a solution für my problem. I already set up a primary and a standby database (prim = ALPHA1 / standby = ALPHA2).
After enabling my dgmgrl configuration I got two errors:
DGM-17016: failed to retrieve status for database "alpha2"
ORA-16664: unable to receive the result from a database
The dg log from ALPHA1 says:
06/04/2013 16:06:57
Site alpha2 returned ORA-16664.
Data Guard Broker Status Summary:
Type Name Severity Status
Configuration alphadgb Warning ORA-16607
Primary Database alpha1 Success ORA-00000
Physical Standby Database alpha2 Error ORA-16664
While the dg log from ALPHA2 (standby) says:
06/04/2013 16:43:28
SPFILE is missing value for property 'LogArchiveFormat' with sid='ALPHA2'
Warning: Property 'LogArchiveFormat' has inconsistent values:METADATA='arch_ALPHA2_%S_%t_%r.arc', SPFILE='(missing)', DATABASE='arch_ALPHA2_%S_%t_%r.arc'
Failed to connect to remote database alpha1. Error is ORA-12514
Failed to send message to site alpha1. Error code is ORA-12514.
How can I solve this issue? Every type of tnsping is successfull. The sqlplus login from the primary to the standby database works, the other way round works too! Therefore the tnsnames and listener data seems to be correct.
My configuration for ALPHA1 (primary db):
Listener
LISTENER_ALPHA1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENER_ALPHA1 =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ALPHA1_DGMGRL)
(ORACLE_HOME = /oracle/ALPHA1/orahome)
(SID_NAME = ALPHA1)
tnsnames.ora
ALPHA1.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1521))
(CONNECT_DATA =
(SID = ALPHA1)
ALPHA2.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1522))
(CONNECT_DATA =
(SID = ALPHA2)
DG_ALPHA1.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ALPHA1_DGMGRL)
DG_ALPHA2.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.3.13)(PORT = 1522))
(CONNECT_DATA =
(SERVICE_NAME = ALPHA2_DGMGRL)
Parameters
archive_lag_target integer 0
log_archive_config string DG_CONFIG=(ALPHA2,ALPHA1)
log_archive_dest string
log_archive_dest_1 string LOCATION=USE_DB_RECOVERY_FILE_DEST valid_for=(all_logfiles,all_roles) DB_UNIQUE_NAME=ALPHA2
log_archive_dest_2 string SERVICE=ALPHA1 SYNC valid_for=(online_logfiles,primary_role) DB_UNIQUE_NAME=ALPHA1
log_archive_format string arch_ALPHA2_%S_%t_%r.arc
log_archive_local_first boolean TRUE
log_archive_max_processes integer 4
log_archive_min_succeed_dest integer 1
log_archive_start boolean FALSE
log_archive_trace integer 0
standby_archive_dest string ?/dbs/arch
For the DG Broker configuration
DGMGRL> connect sys/dgalpha42@DG_ALPHA1
DGMGRL> create configuration ALPHADGB
DGMGRL> primary database is ALPHA1
DGMGRL> connect identifier is DG_ALPHA1
DGMGRL> ;
DGMGRL> add database ALPHA2
DGMGRL> connect identifier is DG_ALPHA2
DGMGRL> maintained as physical
DGMGRL> ;
There were no errors.
DGMGRL> show database verbose ALPHA1
Database - alpha1
Role: PRIMARY
Intended State: TRANSPORT-ON
Instance(s):
ALPHA1
Properties:
DGConnectIdentifier = 'dg_alpha1'
ObserverConnectIdentifier = ''
LogXptMode = 'ASYNC'
DelayMins = '0'
Binding = 'optional'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = 'ALPHA2, ALPHA1'
LogFileNameConvert = 'ALPHA2, ALPHA1'
FastStartFailoverTarget = ''
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
SidName = 'ALPHA1'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraprakt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ALPHA1_DGMGRL)(INSTANCE_NAME=ALPHA1)(SERVER=DEDICATED)))'
StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = 'arch_ALPHA1_%S_%t_%r.arc'
TopWaitEvents = '(monitor)'
Database Status:
SUCCESS
DGMGRL> show database verbose ALPHA2
Database - alpha2
Role: PHYSICAL STANDBY
Intended State: APPLY-ON
Transport Lag: (unknown)
Apply Lag: (unknown)
Real Time Query: OFF
Instance(s):
ALPHA2
Properties:
DGConnectIdentifier = 'dg_alpha2'
ObserverConnectIdentifier = ''
LogXptMode = 'SYNC'
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = 'ALPHA1, ALPHA2'
LogFileNameConvert = 'ALPHA1, ALPHA2'
FastStartFailoverTarget = ''
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
SidName = 'ALPHA2'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraprakt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ALPHA2_DGMGRL)(INSTANCE_NAME=ALPHA2)(SERVER=DEDICATED)))'
StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = 'arch_ALPHA2_%S_%t_%r.arc'
TopWaitEvents = '(monitor)'
Database Status:
DGM-17016: failed to retrieve status for database "alpha2"
ORA-16664: unable to receive the result from a database
Can anybody help me to find a solution for this?Hey
thanks for the answer. I followed you recommendations but I got the same error again. I restored/recovered the old status and looked deeper into the dgmgrl configuration before enabling. I found an interesting point. (show database verbose ALPHAx)
Database - alpha1
Role: PRIMARY
Intended State: OFFLINE
Instance(s):
ALPHA1
Properties:
DGConnectIdentifier = 'dg_alpha1'
ObserverConnectIdentifier = ''
LogXptMode = 'ASYNC'
DelayMins = '0'
Binding = 'optional'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = 'ALPHA2, ALPHA1'
LogFileNameConvert = 'ALPHA2, ALPHA1'
FastStartFailoverTarget = ''
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
SidName = 'ALPHA1'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraprakt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ALPHA1_DGMGRL)(INSTANCE_NAME=ALPHA1)(SERVER=DEDICATED)))'
StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = 'arch_ALPHA1_%S_%t_%r.arc'
TopWaitEvents = '(monitor)'
Database Status:
DISABLED
Database - alpha2
Role: PHYSICAL STANDBY
Intended State: OFFLINE
Transport Lag: (unknown)
Apply Lag: (unknown)
Real Time Query: OFF
Instance(s):
ALPHA2
Properties:
DGConnectIdentifier = 'dg_alpha2'
ObserverConnectIdentifier = ''
LogXptMode = 'ASYNC'
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = 'ALPHA1, ALPHA2'
LogFileNameConvert = 'ALPHA1, ALPHA2'
FastStartFailoverTarget = ''
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
SidName = 'ALPHA2'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraprakt)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ALPHA2_DGMGRL)(INSTANCE_NAME=ALPHA2)(SERVER=DEDICATED)))'
StandbyArchiveLocation = 'USE_DB_RECOVERY_FILE_DEST'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = 'arch_ALPHA2_%S_%t_%r.arc'
TopWaitEvents = '(monitor)'
Database Status:
DISABLED
As the listener are configured ALPHA1 (prim) should be on port 1521 while ALPHA2 (stby) should work on 1522. In the configuration of DGMGRL only appears port 1521 (look at StaticConnectIdentifier). Is this maybe the reason of the networking problems with DG Broker? How can I fix this?
Regards Mirko
Edited by: 1009733 on 04.06.2013 09:22 -
I'm using scan in hostname to connect as Basic that failed ORA-01017. I'm using the same credential system to logon from sqlplus and is fine.
Any ideas?Essentially all you have said is: help me, I have a problem.
1. full version of sql developer being used
2. full version of Java SDK being used
3. full version of JDBC jar file being used
4. full details on the connection information being used
5. full version of the Oracle client being used
6. confirm that both your sql*plus and sql developer connections were made from the SAME machine
A Basic connection uses the thin driver while sql*plus is using OCI -
DB Connect - Link to database failed
I encountered error when I use the TMS Check Transport Tool. Both DB Connect and Offline Call failed during tp Call. Below are the log from the error.
I have seen through notes 351586 TP: DBSL error 107, DB error 208 with Connect and have set up the enviornment variables and the users in the SQL server. Yet am not able to resolve the issue.
Thanks,
Aniruddha
ERP: DB_CONNECT
This is tp version 370.00.09 (release 700, unicode enabled)
Warning: Parameter DBHOST is no longer used.
Warning: Parameter DBNAME is no longer used.
ERROR: Connect to ERP failed (20070430005138, probably wrong environment).
TRACE-INFO: 1: [dev trc ,00000] Mon Apr 30 00:51:38 2007 2031 0.002031
TRACE-INFO: 2: [dev trc ,00000] load shared library (dbmssslib.dll), hdl 0 9 0.002040
TRACE-INFO: 3: [dev trc ,00000] using "D:\usr\sap\ERP\DVEBMGS10\exe\dbmssslib.dll" 9 0.002049
TRACE-INFO: 4: [dev trc ,00000] Thread ID:5552 1578 0.003627
TRACE-INFO: 5: [dev trc ,00000] Thank You for using the SLOLEDB-interface 10 0.003637
TRACE-INFO: 6: [dev trc ,00000] Using dynamic link library 'D:\usr\sap\ERP\DVEBMGS10\exe\dbmssslib.dll'
TRACE-INFO: 7: 18 0.003655
TRACE-INFO: 8: [dev trc ,00000] dbmssslib.dll patch info 19 0.003674
TRACE-INFO: 9: [dev trc ,00000] patchlevel 0 8 0.003682
TRACE-INFO: 10: [dev trc ,00000] patchno 72 7 0.003689
TRACE-INFO: 11: [dev trc ,00000] patchcomment MSSQL: Thread check in DbSlDisconnect (969143)
TRACE-INFO: 12: 11 0.003700
TRACE-INFO: 13: [dev trc ,00000] np:(local) connection used on IWDFVM2160 62 0.003762
TRACE-INFO: 14: [dev trc ,00000] CopyLocalParameters: dbuser is 'dbo' 12 0.003774
TRACE-INFO: 15: [dev trc ,00000] Using Provider SQLNCLI 7171 0.010945
TRACE-INFO: 16: [dev trc ,00000] OpenOledbConnection: MARS property was set successfully. 117 0.011062
TRACE-INFO: 17: [dev trc ,00000] Provider Release:9.00.1399.06 55773 0.066835
TRACE-INFO: 18: [dev trc ,00000] Using Provider SQLNCLI 412 0.067247
TRACE-INFO: 19: [dev trc ,00000] OpenOledbConnection: MARS property was set successfully. 74 0.067321
TRACE-INFO: 20: [dev trc ,00000] i'm dbo but there exists 1 users <> dbo with tables SVERS ==> connect terminated
TRACE-INFO: 21: 4320 0.071641
tp returncode summary:
TOOLS: Highest return code of single steps was: 0
ERRORS: Highest tp internal error was: 0232
standard output from tp and from tools called by tp:The default profile (default.pfl) has the following entries.
SAPDBHOST = IWDFVM2160
dbms/type = mss
dbs/mss/server = IWDFVM2160
dbs/mss/dbname = ERP
dbs/mss/schema = erp
system name being IWDFVM2160.
None of the other profile files have any of the entries mentioned above: the files are(ERP_DVEBMGS10_iwdfvm2160, ERP_SCS00_iwdfvm2160)
Do i need to make an entry in any of these files.
Regards,
Aniruddha -
Unable to connect to local database ( without using tnsname )
hi guys
i have 2 database running on local machine.
db1 SID - orcl (install 1st)
db2 SID - unicode (install later)
Today i shutdown unicode database and stop its respective services.
on dos
i done a sqlplus scott/tiger, i got an error
ORA-12560: TNS:protocol adapter error
therefore
i done a
set ORACLE_SID=orcl
and i still get the same error.
Therefore i done the another way round. I shutdown orcl database, stop its services and STARTED unicode database and its services.
I have remove the ORACLE_SID enviroment variable.
Now, i issue in command prompt
sqlplus scott/tiger
i am connected to the unicode database!
Now i shutdown unicode database and startup ORCL database..
and i issue a
sqlplus scott/tiger@ORCL..
I HAVE No problem connecting to it..
May i know why do i have to provide the TNSname for ORCL database and i do not have to for the UNICODE database..
Both are local on my database.
what is wrong ?
by the way, i am on XP.
thanks!hi paul,
sorry for the late reply.
I was out of town this weekend.
thank you so much for replying..
Here is my test results.
inside command prompt
(started both services - OracleServiceOrcl and OracleServiceUnicode)
set ORACLE_SID=orcl
sqlplus / as sysdba;
sys@orcl> exit
set ORACLE_SID=unicode
sqlplus / as sysdba;
sys@unicode> exit
Well, if i explicity set the ORACLE_SID, it works..
So out of curiousity, i done this testing..
1) connect to both database and shut them down
2) stop their services
3) start only ORCL service
4) close and reopen command prompt to remove the ORACLE_SID enviroment var
sqlplus / as sysdba;
Error: ORA-12560: TNS: protocol adapter error
ok..
5)now i stop the ORCL service
6) and i start the UNICODE service
then i issue
sqlplus / as sysdba;
sys@unicode>
I have got no local or two_Task variable set, i have got no oracle_sid, nor oracle_home environment variable set.
Any idea paul ?
Hope to hear your advice.
Best Regards,
Noob -
Connection to remote database failed
I have configured the cman.ora file and changed the connection
string for the java applet, but I encountered the error
"The NT Adapter could not establish the connection" when I tried
to connect to remote database from JDev2.0(beta).
Any ideas of what are the possible causes for this?
At the cman.ora file, the setting are:
cman = (ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=<web_host_ip>)(PORT=1610))
(ADDRESS=(PROTOCOL=tcp)(HOST=<db_host_ip>)(PORT=1521))
cman_profile = (parameter_list=
(MAXIMUM_RELAYS=1024)
(LOG_LEVEL=1)
(TRACING=yes)
(RELAY_STATISTICS=yes)
(SHOW_TNS_INFO=yes)
(USE_ASYNC_CALL=yes)
(AUTHENTICATION_LEVEL=0)
At the java applet the connection statement are:
DriverManager.registerDriver (new
oracle.jdbc.driver.OracleDriver());
Connection conn =
DriverManager.getConnection ("jdbc:oracle:thin:" +
"@(description=(address_list=" +
"(address=(protocol=tcp)(host=<web_host_ip>)(port=1610))" +
"(address=(protocol=tcp)(host=<db_host_ip>)(port=1521)))" +
"(source_route=yes)" +
"(connect_data=(sid=<orasid>)))", "<user>", "<id>");
The error at the dos prompt running from JDev2 are:
java.sql.SQLException: The NT Adapter could not establish the
connection
at oracle.jdbc.dbaccess.DBError.check_error(Compiled
Code)
at oracle.jdbc.driver.OracleConnection.<init>(Compiled
Code)
at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at test.Applet1.jbInit(Compiled Code)
at test.Applet1.init(Compiled Code)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
Thanks,
Eye Gee
nullI am able to connect to the remote database using SQL*plus but
does it means it is using CMAN connection?
How do I test the CMAN connection from SQL*plus? Any example for
me to follow?
Thanks,
Eye Gee
mark tomlinson (guest) wrote:
: Have you tried using the CMAN connection from something like
: SQL*plus to verify that it is configured correctly? Everything
: looks correct, so it might be hiding an actual NET error
: underneath.
null -
How to connect the local database of Pesonal Oracle From FormBuilder of develope 2000
I installed developer 2000 with personal Oracle in win95. I opened Oracle Form builder and click connect submenu of File. It prompts for user name, password and Database. I added scott/tiger for user name and password and I do not know what I should add into the database item. I tried to add oracle or Local Database to the database item, but it did not work. I also tried to use system/manager/oracle, but it still did not work.
Please tell me what should I add to the database item.
ThanksYou can use the "Oracle Net 8 assistant", "Oracle Net 8 Easy config" to see if you have the appropriate entry to the server in the local tnsnames.ora file (find it!). I mean that one in the Forms&Reports home, not that one in the Oracle_Home.
Under local I mean the file tnsnames.ora in your application, not at the Oracle Server - this is a common mistake.
You have to have there an entry like:
REKS816.RILA.us =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = bigbluenew.rila.us)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = REKS816)
It is a bad practice, but you can add such entry using simple text editor. But before that make a copy of tnsnames.ora in order to restore it if you do not succeed.
After that go to "control panel" and run "services".
Look at your Oracle_Home_TNSlistener80 process. Stop it! Start it again!
If you work on Unix find the relevant processes and notions of the Unix OS.
Joseph Schwertner
[email protected] -
Hi
Overnight both my hotmail accounts on my Iphone 4s, through Mail, have stopped working and I cannot access my email. Every time I try I get the message "Cannot get Mail. Connection to the Server Failed"
I have rebooted my phone, deleted and readded the accoutns and even reset my network settings to factory seeting but nothing works. A few hours ago it randomly started working again but has since stopped.
Please Help!!!Contact Microsoft to see if Hotmail is having any issues.
The issue described is not an iPhone or iOS issue. -
I have internet connection but myh incoming email does not appear. When I try to access new emails it says, "connection to server has failed". Help
What did your email provider say about it when you contacted them?
-
Unable to connect to local database
I am running 8.1.7 and iSQL*Plus on one machine (duh). I am able to login to remote databases via isqlplus but cannot seem to login to the very database that was installed in order to get the isqlplus working, the one on the same machine. Do I need to do anything funky with the connect string? I know I am able to connect via regular SQL*Plus (but in that case, no connect string is necessary). All I get it the generic "Unable to connect, please try again" message. Thanks for the help...NOT!
Robert,
You can either leave the Oracle Connection Identifier field empty, or just enter the SID. Either way, it should connect. Use the same syntax you would in command line SQL*Plus.
Alison
iSQL*Plus Team
Maybe you are looking for
-
I use Final Cut Pro 7 right now and am thinking about buying the new 27" iMac with the NVIDIA GeForce GTX 780M 4GB GDDR5 card. I have a 24" Apple Cinema Display with mini Display port cable. I also have one more Samsung display with DVI & HDMI. Can I
-
New song downloads not transterring from itunes to ipod
when i download music to itunes it is not transferring to my ipod when i sync.
-
Multiple Values in the Return Parameter
Hi, My application has a decision table , with material group, division fields and has agent as the return parameter. I need to maintain more than 1 user for each material group/division combination? I even tried using return parameter 'agent' as str
-
All pages files lost after update
After upgrading to iOS8 band the new Pages, all of my files are gone from both the iPad and iCloud.
-
Can't download PDF files from Firefox or Safari
When I click on a PDF from a webpage it has always downloaded and opened with Preview. Recently (potentially correlated to when I had to download Adobe Acrobat) the PDFs won't open at all.