Unable to connect to the test database
Dear friends,I'm working on a development database. I'm unable to connect from another pc.
1-name of the database and the instance: testdb
2. that's how I connect the local computer where the database resides
set oracle_sid=testdb
sqlplus /nolog
SQL*Plus: Release 10.2.0.4.0 - Production on Tue May 4 11:34:45 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> conn sys as sysdba
Enter password:
SQL> select * from dual;
D
-
X
SQL>
3 - I try to connect from another computer in this way
set oracle_sid=testdb
sqlplus /nolog
SQL> conn sys
Enter password:
ERROR:
ORA-12560: TNS:protocol adapter error
SQL> conn sys/password@testdb
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
4. I tried to use the PC client tnspingC:\Documents and Settings>tnsping testdb
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-MAY-2
010 11:37:00
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
D:\oracle\10g\NETWORK\ADMIN\sqlnet.ora
TNS-03505: Failed to resolve name
5 - Here's the listener.ora to the client PC# listener.ora Network Configuration File: D:\oracle\10g\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\10g)
(PROGRAM = extproc)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip address)(PORT = 1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)
6 - It's the tnsnames of the client PC# tnsnames.ora Network Configuration File: D:\oracle\10g\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
xyz =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ipaddress)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = xyz)
)
)
abc =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip address)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = abc)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
testdb =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ipaddress)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = testdb)
)
)
7-# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
8 - listener.ora from the computer where the database# listener.ora Network Configuration File: D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = abc)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(SID_NAME = abc)
)
)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = local host's ip address)(PORT = 1521))
)
9. I checked that all the Oracle services are running in the client and the server.Please me advice, everything looks okay in my eyes and when I do I don't have. I have been searching the net and went through a lot of articles but could not solve the problem.
Advice me please.
Edited by: user645399 may 4, 2010 11:49
In 10g, listener can dynamically register a database. In your server listener.ora file you did manually. A particular reason for that?
What is the result of lsnrctl status on the server where this testdb? You see service testdb in the summary?
Tags: Database
Similar Questions
-
RC-40201: unable to connect to the TEST database running adcfgclone.pl appsTier
Hi Experts,
While performing a cloning my instance of R12, I got RC-40201 error when I ran "adcfgclone.pl appsTier.
[appltst@oracleupk bin] $ perl adcfgclone.pl appsTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Applications Oracle rapid Clone
Version 12.0.0
adcfgclone Version 120.31.12010000.1
Enter the password for APPS:
Running:
/ data/appl_top/apps/apps_st/comn/clone/bin /... / JRE/bin/Java-Xmx600M - cp /data/appl_top/apps/apps_st/comn/clone/jlib/java:/data/appl_top/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext EI/data/appl_top/apps/apps_st/comn/clone/bin /... /Context/Apps/CTXORIG.xml-valider - pairsfile /tmp/adpairsfile_24425.lst-stade/data/appl_top/apps/apps_st/comn/clone 2 > /tmp/adcfgclone_24425.err; ECHO $? > /tmp/adcfgclone_24425.res
Logfile located at /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log
Provide the values required for the creation of the new file APPL_TOP context.
Target System Hostname (virtual or normal) [oracleupk]:
SID data system target: TEST
Target database system [oracleupk] server node:
Target system Base Directory: / data / appl_top
Target system tools ORACLE_HOME directory [/ data/appl_top/apps/tech_st/10.1.2]:
Target Web ORACLE_HOME directory system [/ data/appl_top/apps/tech_st/10.1.3]:
Target system APPL_TOP directory [/ data/appl_top/apps/apps_st/appl]:
Target system COMMON_TOP directory [/ data/appl_top/apps/apps_st/comn]:
Target system Instance home directory [/ data/appl_top/inst]:
Target system service root [activated]:
Target Web Entry Point [active] System Services:
Target [active] System Web Application Services:
Target [active] Batch Processing Services system:
Other Services target system [off]:
You want to preserve the display [oracleupk:0.0] (y/n)? : n
Target display system [oracleupk:0.0]: oracleupk:1.0
System Target Pool [0-99] port: 80
Audit of the pool of port 80
fact: Port 80 pool is free
Report file is located at /data/appl_top/inst/apps/TEST_oracleupk/admin/out/portpool.lst
Information available at /data/appl_top/inst/apps/TEST_oracleupk/admin/out/portpool.lst complete port
RC-40201: unable to connect to the TEST database.
Create the new file APPL_TOP context of:
/Data/APPL_TOP/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp
The new context APPL_TOP file was created:
/ Data/APPL_TOP/inst/Apps/TEST_oracleupk/Appl/admin/TEST_oracleupk. XML
Logfile located at /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log
Check the context Clone logfile /data/appl_top/apps/apps_st/comn/clone/bin/CloneContext_0912145803.log for more details.
Clone of fast running with the command:
Perl java /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl = / data/appl_top/apps/apps_st/comn/clone/bin /... /JRE mode = apply dialing = / data/appl_top/apps/apps_st/comn/clone point = appsTier = CUSTOM appctxtg=/data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml contextValidated = true showProgress method
Running:
Perl java /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl = / data/appl_top/apps/apps_st/comn/clone/bin /... /JRE mode = apply dialing = / data/appl_top/apps/apps_st/comn/clone point = appsTier = CUSTOM appctxtg=/data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml contextValidated = true showProgress method
Apps for password:
Start application layer apply - Fri Oct 12 15:01:20 2013
/ données/appl_top/apps/apps_st/comn/clone/bin /... /jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /data/appl_top/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/java:/data/appl_top/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/data/appl_top/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/data/appl_top/apps/apps_st/comn/clone/ jlib/Oui/share.jar:/data/appl_top/apps/apps_st/ Comn/clone/jlib/Oui/srvm.jar:/Data/APPL_TOP/Apps/apps_st/COMN/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier EI /data/appl_top/inst/apps/TEST_oracleupk/appl/admin/TEST_oracleupk.xml-/data/appl_top/apps/apps_st/comn/clone - scene showProgress
Password APPS: log file located at /data/appl_top/inst/apps/TEST_oracleupk/admin/log/ApplyAppsTier_09121501.log
-79% completed
ERROR when executing apply...
Fri Oct 12 15:07:47 2013
ERROR: Cannot run /data/appl_top/apps/apps_st/comn/clone/bin/adclone.pl
Contents of the log file: -.
[AutoConfig error report]
The following report lists the errors autoconfig met in each
execution phase. Errors are grouped by directory and by phase.
The format of the report is:
< file name > < phase > < eventually return code >
[INSTALLATION STAGE]
AutoConfig could not successfully run the following scripts:
Directory: / data/appl_top/inst/apps/TEST_oracleupk/admin/install
adgendbc.sh INSTE8_SETUP 1
afcpnode.sh INSTE8_SETUP 1
afgcsreg.sh INSTE8_SETUP 1
txkWfClone.sh INSTALL_SETUP 1
[PROFILE PHASE]
AutoConfig could not successfully run the following scripts:
Directory: /data/appl_top/apps/tech_st/10.1.3/perl/bin/perl-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/5.8.3-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3-je /data/appl_top/apps/apps_st/appl/au/12.0.0/perl-je /data/appl_top/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi /data/appl_top/inst/apps/TEST_oracleupk/admin/scripts/adexecsql.pl sqlfile = / data/appl_top/inst/apps/TEST_ oracleupk/admin /. install
afwebprf. SQL INSTE8_PRF 1
amscmprf. SQL INSTE8_PRF 1
amswebprf. SQL INSTE8_PRF 1
bisadmprf. SQL INSTE8_PRF 1
bisdblrp. SQL INSTE8_PRF 1
clnadmprf. SQL INSTE8_PRF 1
cncmprf. SQL INSTE8_PRF 1
cseadmprf. SQL INSTE8_PRF 1
csfadmprf. SQL INSTE8_PRF 1
csiadmprf. SQL INSTE8_PRF 1
eamadmprf. SQL INSTE8_PRF 1
fteadmprf. SQL INSTE8_PRF 1
ibywebprf. SQL INSTE8_PRF 1
icxwebprf. SQL INSTE8_PRF 1
oksfrmprf. SQL INSTE8_PRF 1
wshadmprf. SQL INSTE8_PRF 1
Directory: / data/appl_top/inst/apps/TEST_oracleupk/admin/install
adadmprf.sh INSTE8_PRF 1
admk80ln.sh INSTALL_PRF 1
afadmprf.sh INSTE8_PRF 1
afcpctx.sh INSTE8_PRF 1
afcpgsm.sh INSTE8_PRF 1 igccmprf.sh INSTE8_PRF 1 jtfictx.sh INSTE8_PRF 1 okladmprf.sh INSTE8_PRF 1 txkJavaMailerCfg.sh INSTE8_PRF 1 txkWebServicescfg.sh INSTE8_PRF 1 [APPLY PHASE]
AutoConfig could not successfully run the following scripts:
Directory: /data/appl_top/apps/tech_st/10.1.3/perl/bin/perl-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/5.8.3-je /data/appl_top/apps/tech_st/10.1.3/perl/lib/site_perl/5.8.3-je /data/appl_top/apps/apps_st/appl/au/12.0.0/perl-je /data/appl_top/apps/tech_st/10.1.3/Apache/Apache/mod_perl/lib/site_perl/5.8.3/i686-linux-thread-multi/data/appl_top/inst/apps/TEST_oracleupk/admin/install adadmat.pl INSTE8_APPLY 1 Fate of 31 stateful auto-configuration
RC-50014: Fatal: failed to run the auto configuration service
Asked by oracle.apps.ad.clone.ApplyApplTop
ERROR: AutoConfig completed with errors. Check the logfile at /data/appl_top/inst/apps/TEST_oracleupk/admin/log/ApplyAppsTier_09121501.log for more details.
ApplyApplTop completed successfully.
# Check the race situation AutoConfig of ApplyApplTop
WARNING: The autoconfiguration service has completed with errors.
Please help me solve this problem, your prompt response will be highly appreciated.
-Thank you
Ankur
Audit of the pool of port 70
fact: Port pool 70 is free
You used port 70 for the node of the database layer, so you will need to use the same port pool (70 instead of 80) when running "perl adcfgclone.pl appsTier.
Thank you
Hussein
-
ORA-17629: unable to connect to the remote database server
Hello
I have put Dataguard in place with primary and 1 physical standby for learning/test database:
I do NOT plan the unloading of RMAN backups on the physics of the day before.
Recorded the primary database with RMAN and when "resync catalog db_unique_name all;" is issued.
I get the following error:
---------------------------------------------------------------------------------------------------------------------
RMAN > catalog resync db_unique_name all;
from full resynchronization of the recovery catalog
full complete Resync
resynchronization of data base with DB_UNIQUE_NAME ASTTESTB
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failed to db_unique_name resynchronization command at 28/09/2011 11:34:23
ORA-17629: unable to connect to the remote database server
ORA-17628: Oracle 17629 error returned by remote Oracle Server
------------------------------------------------------------------------------------------------------------------
Configuration of RMAN for the main proceedings are the following:
RMAN > show all to db_unique_name asttest;
RMAN settings for database with db_unique_name ASTTEST are:
CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
CONFIGURE BACKUP OPTIMIZATION # by default
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP # by default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
CONFIGURE DB Nom_unique "asttest" CONNECT IDENTIFIER ' ASTTEST. UMDNJ. EDU'; _
CONFIGURE DB "Asttestb" of nom_unique CONNECT IDENTIFIER "asttestb"; _
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / opt/oracle/product/11.2.0/dbhome_1/dbs/snapcf_asttest.f'; # by default
Configuration of RMAN for instance physical standby are:
RMAN > show all to db_unique_name asttestb;
RMAN settings for database with db_unique_name ASTTESTB are:
CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
CONFIGURE BACKUP OPTIMIZATION # by default
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
CONFIGURE DB Nom_unique "asttest" CONNECT IDENTIFIER ' ASTTEST. UMDNJ. EDU'; _
CONFIGURE DB "Asttestb" of nom_unique CONNECT IDENTIFIER "asttestb"; _
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / opt/oracle/product/11.2.0/dbhome_1/dbs/snapcf_asttest.f'; # by default
----------------------------------------------------------------------------------------------------------------------
When I tested missing missing datafile and control file scenario on the primary database, it worked (Advisor to recover data)
However, missing datafile scenario does not work on the physics of the day before.
Here are the steps I followed:
********************************************
1 renamed a file of physical data - in standby mode:
bash - $3.2 ls - ltr
Total 107832
-rw - r - 1 oracle oinstall 52429312 16 September 12:19 asttest_redo03.log
-rw - r - 1 oracle oinstall 61874176 Sep 29 15:41 asttest_temp01.dbf
-rw - r - 1 oracle oinstall 52436992 5 Oct 11:00 rmandg_data01.dbf
bash - $3.2 mv rmandg_data01.dbf rmandg_data01.dbf_old
bash - $3.2 ls - ltr
Total 107832
-rw - r - 1 oracle oinstall 52429312 16 September 12:19 asttest_redo03.log
-rw - r - 1 oracle oinstall 61874176 Sep 29 15:41 asttest_temp01.dbf
-rw - r - 1 oracle oinstall 52436992 5 Oct 11:00 rmandg_data01.dbf_old
2. restore the datafile (find the data file # view v$ recover_file):
RMAN > restore datafile 5;
From restoration to 5 October 11
Segmentation fault
3. in spite of the error, published "recover datafile command.
4 RMAN > recover datafile 5;
From pick up to 5 October 11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 10 type of device = DISK
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 05/10/2011 12:00:40
RMAN-06094: datafile 5 must be restored.
5. manually copy the physical primary datafile - in standby mode, & then problem recover RMAN command:
bash - $3.2 scp oracle@msudrainier:/ora03/oradata/asttest/rmandg_data01.dbf.
rmandg_data01.dbf 100% 50 MB 16.7 MB/s 00:03
bash - $3.2 ls - ltr
Total 159096
-rw - r - 1 oracle oinstall 52429312 16 September 12:19 asttest_redo03.log
-rw - r - 1 oracle oinstall 61874176 Sep 29 15:41 asttest_temp01.dbf
-rw - r - 1 oracle oinstall 52436992 5 Oct 11:49 rmandg_data01.dbf_old
-rw - r - 1 oracle oinstall 52436992 5 Oct 12:01 rmandg_data01.dbf
RMAN > recover datafile 5;
From pick up to 5 October 11
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 05/10/2011 12:01:59
RMAN-06067: RECOVER the DATABASE required with a backup control file or created
6. of course RMAN commands have failed to restore the missing data file;
So I renamed the file to original and rebooted repeat services applies - this restore the data file and now the configuration state of the DG is normal.
*********************************************************************************
Not quite sure if I'm still he hands the right way or if the error above is related to RMAN not able to synchronize with the physics of the day before.
The documentation I want to talk to is here (1 paragraph):
[http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rman.htm#BAJDFBDD | http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rman.htm#BAJDFBDD]
Any pointers/direction and advise is greatly appreciated.
Best regards
NKI got it!
/home/oracle:STANDBY >$ORACLE_HOME/bin/rman target sys/
catalog / @rcatalog Recovery Manager: Release 11.2.0.1.0 - Production on Fri Oct 7 14:12:10 2011 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. connected to target database: PRIMARY (DBID=1562898590, not open) connected to recovery catalog database RMAN> resync catalog from db_unique_name all; resyncing from database with DB_UNIQUE_NAME PRIMARY starting full resync of recovery catalog RMAN output not resynced for database with DB_UNIQUE_NAME PRIMARY full resync complete If the necessary connection string a target/sys and a catalogue
RMAN target sys /
catalog / @rcatalog I did my standby
Will try the primary
Best regards
mseberg
Work on both. Great question!
connected to target database: PRIMARY (DBID=1562898590) connected to recovery catalog database RMAN> resync catalog from db_unique_name all; starting full resync of recovery catalog full resync complete resyncing from database with DB_UNIQUE_NAME STANDBY RMAN output not resynced for database with DB_UNIQUE_NAME STANDBY RMAN>
Published by: mseberg on October 7, 2011 14:16
Thanks a ton for sticking to it. I'll add this little thing to my web site.
Published by: mseberg on October 7, 2011 14:22
-
DOUBLE DB: ORA-17629: unable to connect to the remote database server
[oracle@ora11g1 ~] $ export ORACLE_SID = sales
[oracle@ora11g1 ~] $ rman target sys/sales@sales
Recovery Manager: release 11.2.0.1.0 - Production Wed Jun 5 13:00:15 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: SALES (DBID = 690066655)
RMAN > Connect auxiliary sys/salestby2@salestby2
connected to the auxiliary database: SALES (not mounted)
RMAN > CURRENT SPFILE DATABASE of TARGET duplicate FOR THE EVE OF the DATABASE
2 > DB_NAME SET = 'sales '.
3 > SET DB_UNIQUE_NAME = "salestby2".
4 > control_files='/u02/oradata/salestby2/control01.ctl','/u02/oradata/salestby2/control02.ctl SET'
5 > SET DB_FILE_NAME_CONVERT = "/ u02/oradata/sales /", "/ u02/oradata/salestby2 / '.
6 > SET LOG_FILE_NAME_CONVERT = "/ u02/oradata/sales /", "/ u02/oradata/salestby2 / ';
From duplicate Db 5 June 13
using the control file of the target instead of recovery catalog database
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID = 20 type of device = DISK
content of Script memory:
{
backup that copy reuse
TargetFile ' / auxiliary format of the u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsales
' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsalestby2' targetfile
' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesales.ora' auxiliary format
' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora';
clone of SQL 'alter system set spfile = "/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora";
}
execution of Script memory
From backup 5 June 13
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 58 type of device = DISK
RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 05/06/2013 13:05:26
ORA-17629: unable to connect to the remote database server
ORA-17627: ORA-01017: name of user and password invalid. connection refused
ORA-17629: unable to connect to the remote database server
continue other job steps, not a not working will not re-run
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 05/06/2013 13:05:27
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 05/06/2013 13:05:27
ORA-17629: unable to connect to the remote database server
ORA-17627: ORA-01017: name of user and password invalid. connection refused
ORA-17629: unable to connect to the remote database serverWelcome to the oracle forums!
Please take the time to go through [url https://forums.oracle.com/forums/ann.jspa?annID=1535] FAQ PAGE
Always after 4 version oracle numbers and details of the OS.
Post any request outside has put between.
\
Tags
Mark your questions answers if you give the answer
Password for the SYS user on primary and standby must be the same. Copy the master password for the backup server
SCP $ORACLE_HOME/dbs/orapwv112
: /u01/app/oracle/product/11.2/dbs/orapwdupv112 -
Unable to connect to the local database (without using the tnsname)
Hi guys
I have 2 database running on the local computer.
Db1 SID - orcl (install 1)
DB2 SID - unicode (later installation)
Today I stop the basic unicode and stop its respective services.
on the back
I did a sqlplus scott/tiger, I got an error
ORA-12560: TNS:protocol adapter error
That's why
I did a
Set ORACLE_SID = orcl
and I still get the same error.
-------------------------------------------------
So I'm the other way around. I orcl database stop, stop its services and database unicode to START and its services.
I disassembled the ORACLE_SID environment variable.
Now, I have in the command prompt
sqlplus scott/tiger
I am connected to the unicode database!
-------------------------------------------------
Now I ORCL stop unicode data and start...
and I have a
sqlplus scott/tiger@ORCL...
I HAVE no problem to connect to it...
--------------------------------------------------
May I ask why should I provide the TNSname ORCL database and I do not for the UNICODE of the databases...
Both are local on my database.
What's wrong?
Moreover, I am on XP.
Thank you!Set ORACLE_SID = orcl
sqlplus / as sysdba;
sys@ORCL > exitSet ORACLE_SID = unicode
sqlplus / as sysdba;
sys@Unicode > exitWell, we know that both your DBs are working properly.
So out of curiosity, I did cela tests...
(1) connect the two database and stop
(2) stop their services
(3) start only ORCL service
(4) close and reopen the command prompt to delete the var of environment ORACLE_SIDsqlplus / as sysdba;
Error: ORA-12560: TNS: Protocol adapter error(5) now I stop service ORCL
(6) (and I start the service of UNICODE)then I deliver
sqlplus / as sysdba;
sys@Unicode >It seems quite normal. In your registry value ORACLE_SID is, most likely, unicode, the last created: check it out, and if so, you can connect to unicode DB without setting ORACLE_SID, while you will need to set to connect to DB orcl.
When you have more than one DB, you set the ORACLE_SID environment variable before connecting either you use connection strings.
-
Need help, unable to connect to the ODBC database using the SQL Toolbox!
Hi all
I'm playing around with the evaluation of SQL Toolkit (2.2 + patch) and I'm having trouble.
I ran the example 'connect' program and it seems to work fine.
However, I try to write my own program, and I get the same message:
"Service connection BD: (return value ==-10 [0xFFFFFFF6])."
Native error - 2147467259 code 0x80004005
The message is different from time to time, but the return value is constant.
I use Microsoft SQL Server 2012 and MySQL.
For MySQL, I installed the last Connector ODBC, 5.3.4. Inside the Control Panel / Data Sources (ODBC), I have a DSN called test_mysql in DSN user and system DSN.
I ran a test on the connection and the test passes. I don't know if I have to use the ansi or unicode driver, I tried both with the same success.
I do not know I had properly configured the SQL Server connection and who will try again.
My Code CVI is quite simple:
hdbc = connection BD ("DSN = test_mysql");
Whenever I get a - 10 BD. Either I have something configured wrong or am I missing something.
Does anyone have any suggestions?
Update 2:
After getting off the phone with Technical Support, the problem has been identified!
LabWindows SQL Toolkit requires 32 bits DNS. My PC is a 64-bit, so my default DNS Manager in 64-bit.
I needed to use the DNS Manager 32-bit when you work with the box tool.
Once I created my DNS connections using the 32-bit version of the Datga ODBC Source manager, everything worked fine.
See this technical note:
http://digital.NI.com/public.nsf/allkb/E7984C0DA0F0E65086257694005B4CB7
-
Unable to connect to the SQLite database in 9700
Hi all, I have created a dt application dynamically retrieves data from a database stored locally Sqlite the strange thing is that this application works correctly on my 9800 and a friend 9930 but every time that the use of this app on 9700, it is impossible to connect to the database. Here is the code that I use to connect to the database (same code has been compiled and tested on all 3 devices):
Connect to the database
try {}
Var myURI = URI.create("/store/home/user/documents/database.db");
DB = DatabaseFactory.openOrCreate (myURI);
} Catch (Exception e) {}
If (db == null) {}
Dialog.Alert ("unable to Access database');
}Is there something on the 9700 device that I don't know? Because this code works on other devices... Help please.
Finally, I discovered that it does not give the error if the database is stored on an SD card maybe 9700 does not support access sqlite on the memory of the device. Thanks for trying
-
Unable to connect to the cs6 database...
ftp server site connects to a domain addon folder... It works I can download download files
test ftp server connects with success in the folder root (public_html) I have the _MMServerScripts downloaded to the root.
database for the addon domain I can use it with php and javascript
Make a new user for this db...
When I try to connect to the db I name the connection to the MYSQL server, I use host local db username and password
It does not connect I get the test no file server 404 not found
(1) there is no server running on the server test.
2) the test specified for this site server is not mapped with the Http://lplc.co/-mmServerScripts/MMHTTP.php.URL. Make sure that the URL prefix is the root of the site.
I tried pointing to the test server to the domain addon folder same error...
It should work with a field companion what am I hurt?
What don't you understand? You can not connect Dreamweaver to CPanel. He does not like it for security reasons.
You need a local test server and the database that DW can connect locally.
When you have finished the construction & test your website locally, use phpMyAdmin to export your local SQL file.
Then go to phpMyAdmin of your remote server and import your SQL file into the database of your server.
See setting up a PHP environment in Dreamweaver
http://www.Adobe.com/devnet/Dreamweaver/articles/setup_php.html
Nancy O.
-
Unable to connect to the Access database
Hello
I have already spent a lot of time on the problem connecting to my Access database and does not know why it won't work at all.
Here's the situation:
I use Dreamweaver CS3 with Access 2007 on a computer running Windows Vista (with IIS 7.0).
While my connection to the database is running on a Windows XP computer, it will not work on my vista computer! It still fails the test in the BD OLE connection window
Did someone come on this problem before? Help, please!
See if this helps:
http://blogs.IIS.NET/bills/archive/2007/5/21/1718507.aspx
--
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Fordwebs, LLC
http://www.fordwebs.com"nickbush" wrote in message
News:g8uat8$rv9$1@forums. Macromedia.com...
> Thank you Ken
>
> My Windows is Vista Home Premium 32-bit
>
> I tried the string that you suggested, but, unfortunately, I get a real
> "undefined error" (I hope this is the right translation because I use one
> French
(> version of Dreamweaver).
>
> Nico
>
>
> -
Unable to connect to the remote database
Hi all
Please find below the details of the environment: -.
VM: VirtualBox VM 4.3.6
OS: CentOS 6.4
Database: Oracle 11.2.0.1 (3 installed DB COSP1, Cost1, RMANDB)
I am able to tnsping three DBs all: -.
[oracle@diamond ~] $ tnsping rmandb
AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on 19 February 2014 14:21:14
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Setting files:/u02/app/oracle/product/11.2.0.1/db_1/network/admin/sqlnet.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(Host = diamond.example.com) (Port = 1532))) (CONNECT_DATA = (SID = RMANDB)))
OK (10 ms)
[oracle@diamond ~] $
However, when I am trying to connect via sqlplus or rman catalog, it throws the following error: -.
[oracle@diamond ~] $ sqlplus rmancat/rmancat@rmandb
SQL * more: Production release 11.2.0.1.0 Wed Feb 19 14:20:37 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-12505: TNS:listener is not currently of SID given in connect
descriptor ofEnter user name:
=========================================================================================
RMAN > Connect catalog rmancat/rmancat@RMANDB
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-04004: recovery catalog database error: ORA-12505: TNS:listener is not currently of SID given in connect descriptor
RMAN > exit
============================================================================================
Please suggest how I can make this connection.
sourav_biswas wrote:
[oracle@diamond ~] $ ps - ef | grep-i pmon
Oracle 2369 1 0 19:57? 00:00:00 ora_pmon_rmandb
Oracle 2498 1 0 19:59? 00:00:00 ora_pmon_cosp1
Oracle 2614 2301 20:00 0 pts/0 00:00:00 grep pmon-i
only two databases are actually up to the present
with * NIX questions
ORACLE_SID = cosp1 is different from ORACLE_SID = COSP1
When tnsnames.ora contains ORACLE_SID = COSP1 is NEVER connected to the instance named "cosp1." who is running as described above.
-
Unable to connect to the local database - ORA-12154
Hello
I'm having a problem with an Instance Oracle 10.2.0.3 on AIX 5.3.
Under Root and Oracle, I can connect to the instance by using only "sqlplus user/password', but it does not work under another ID.
It causes me problems as one of our suppliers has provided a large number of upgrade scripts to be run as a specific user, but fail to establish a database connection.
Anyone have any ideas on what could be the problem? I put my SID and Oracle Home properly, running oraenv, but it does not work.
Thank you
JamesCheck what unix groups the user is a member.
echo $ORACLE_SID
echo $TWO_TASKUse: -.
sqlplus username/password@database
Make sure that the database is listed in tnsnames.ora
-
Unable to connect to the Cloud database Service: invalid Option SP2-0306
I'm trying to create Java Cloud Service, configured the database and Services of cloud storage, but when trying to create the Service of Cloud Java I get the following error:
"Could not connect to Database Service of Cloud Computing. Error details: [SP2-0306: invalid option.] Usage: CONN [ECT] [{connection...: SP2-0640: not connected}]. »
No idea where I was wrong?
.. .user had forbidden characters.
-
Unable to connect to the test install
Hey guys,.
When I try to install any Adobe trial I can't connect, just, she said something about my internet connection or try again later. If I click on try again later, the installation is complete, but I can't open the software. Thanks in advance
Please check the: Solutions to connection errors, activation and connection with Creative Suite and creative Cloud applications.
-
Unable to connect to the local database... (this hsould do?)
Hi guys,.
I have this error when I start my LOCAL database. It is said
ORA-00119: invalid specification for the system LOCAL_LISTENER parameter
ORA-00132: error syntax or network name not resolved "LISTENER".
I back everything to very very basic.
now in my
LISTENING PORT. 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 file. ORA
I got this,
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = szejie) (PORT = 1521)
)
IN MY file pfile or SPFILE, I had this
* .local_listener = 'LISTENER.
WHEN I hit START in SQLPLUS, I always get this error
SYS@ORCL on 7 March 09 > start
ORA-00119: invalid specification for the system LOCAL_LISTENER parameter
ORA-00132: error syntax or network name not resolved "LISTENER".
PMON, AUTOMATICALLY register my ORCL service with the the LISTENER?
What should I do?
Please help thanks.
Best regards
NoobHello
You try to save another port than the default port 1521?
To do this or take local_listener completely out of your pfile file and try with
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 modify the init.ora file and remove loca_listener.
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;
Concerning
-
RC-40201: unable to connect to the database
Hi Experts,
While running 'perl adcfgclone.pl appsTier' I get below error.
[applmgr@tfnvlskp01 bin] $ perl adcfgclone.pl appsTier
Enter the password [APPS] APPS:
....
....
Enter the number of the port pool [0-99]:
70
Audit of the pool of port 70
fact: Port pool 70 is free
Information available at /app/oracle/testappl/admin/out/TEST_tfnvlskp01/portpool.lst complete port
Checking the connection to the base...
RC-40201: unable to connect to the TEST database.
Enter the listener of the port database [1531]: 1526
RC-40201: unable to connect to the TEST database.
Could not establish connection to database on Port 1526.
Please verify that the database is running.
Make sure that the Port DB corresponds to that used on the dbTier.
ERROR: creation of context not completed successfully.
Please check for errors in the /tmp/adcfgclone_28867.err file
But when I check the listener and the DB to db node status, everything is running.
STATUS of the LISTENER
------------------------
Alias TEST
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start date October 14, 2013 06:33:49
Uptime 0 days 0 h 0 min 0 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /app/orabin/testdb/11.2.0/network/admin/TEST_tfnslskp01/listener.ora file
The listener log file /app/orabin/testdb/11.2.0/log/diag/tnslsnr/tfnslskp01/test/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROCTEST)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=tfnslskp01.d1.peapod.com) (PORT = 1526)))
Summary of services...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
Service 'TEST' has 1 instance (s).
Instance of 'TEST', status UNKNOWN, has 1 operation for this service...
The command completed successfully
SQL > select instance_name, status from v$ instance;
STATUS INSTANCE_NAME
---------------- ------------
OPEN TEST
Outputs information complete port available at /app/oracle/testappl/admin/out/TEST_tfnvlskp01/portpool.lst
List of allocated ports based on port 70 pool *.
Web listening port: 8070
Database port: 1591
RPC port: 1696
Reports port: 7070
OPROC Manager of Port: 8170
Web PLSQL Port: 8270
Port of servlet: 8870
Listening port of forms: 9070
Data port for the server Metrics: 9170
Req server settings. Port: 9270
JTF Fulfillment Server Port: 9370
Map Viewer Servlet Port: 9870
Utility Web OEM port: 10070
VisiBroker OrbServer Agent Port: 10170
ACEM Server Port: 10620-10625
ACEM Telnet Port: 10620,10622,10624
ACEM Port Dispatcher: 10580-10583
Range of ports OACORE Servlet: 16700-16709
Port range of discoverer Servlet: 17700-17709
Port range of forms Servlet: 18700-18709
Port TCF: 15070
Range of ports XMLSVCS Servlet: 19700-19709
Port of Java object Cache: 12415
iMeeting Collaboration Server Port: 9570
iMeeting the registration Server Port: 9670
iMeeting iMon port Monitor Port: 9770
Please let me know if the value portpool.lst to the Port of database should be 1526
Or
Miss me a few concepts here and I have to choose another port instead of the 70 pool value.
OS - RHEL 5.4 version (64-bit)
Version of DB - 11.2.0.3
Version of the EBS - 11.5.10.2
-Thank you
Hello
This is what has been done on my previous post on the basin of the port and the listening port you are trying to connect, as above, that you use 70 portpool was offset... This is what did not create a connection on port 1526 (which means chicken port 5)
anyway nice to hear that the problem is now resolved
Please mark the thread as answered and close it.
Thank you &
Best regards
Maybe you are looking for
-
What should I do to have this orange button in FF4 on Win XP?
-
Smart playlist files: overlap of the songs.
It is not a problem in itself, but it's a technical quirk that I can't find any information for, on these forums or elsewhere. If I have 2 smart playlists, one for 'Top 50 most played' and one for 'Top 50 highest appreciation', there may be some song
-
Is - this apple virus real attention and official?
Hello In the past, I used to get these warnings of viruses, but I would ignore them since they looked much more informal, and since I had heard the warnings that require you to install MacKeeper are scam. However, this one popped up today and I was w
-
Keynote video export: horrible!
Hello! Gurus of the keyNote: I bought a MacBookAir 15 months ago. I found myself having the iWorks Suite. Currently! They, completely updated, run on Mac OSX 10.10.5. I know that PowerPoint. Now! I am KeyNote. I was shocked: the last KeyNote offers a
-
Using stage monitors and speakers to the computer at the same time
I have a monitor connected to my computer and I would like to use two speakers to listen to my music. I tried to fix it through the "my control panel", with the 'Sound' and "SmartAudio" icons, but I can't get to set the two speakers at the same time.