Error while accessing HANA-Database
Hi all,
I try to access the HANA-database (installed as secondary database).
The table is replicated in HANA and I have created a program in ERP with the following procedure:
SELECT * FROM [table]
CONNECTION ('HANADB')
INTO lt_table.
HANADB is the database connection name for HANA (table DBCON).
By running the program I become the following error:
The file "dbhdbslib.dll" is already in the folder "C:\usr\sap\IS0\DVEBMGS00\exe\". Any idea what is missing?
Thx for help, mlf.
Hi Jasmin,
the program ADBC_TEST_CONNECTION gives the following error:
But I can't open the trace file.
Do you know what is meaning with error 16?
I'm not the System admin but I can ask him to check on OS level.
Cheers, mlf
Similar Messages
-
Error while accessing hana-cloud-platform-mobile-services-trial
I am facing following error after creating hana could mobile services trail account.
i have used the following link for creating it
http://scn.sap.com/community/developer-center/mobility-platform/blog/2014/12/18/how-to-enable-hana-cloud-platform-mobile-services-trial -
ERROR While Accessing the DATABASE
Hi all,
when i try to login to the db its showing an error.....
bsa0048:l0madm 72> dbmcli -d <SID> -u control,PWD db_state
Error! Connection failed to node (local) for database SID:
-24700,ERR_DBMSRV_NOSTART: Could not start DBM server.
-24832,ERR_SHMNOTAVAILABLE: Shared memory not available
-24686,ERR_SHMNOCLEANUP: Could not cleanup the DBM server Shared Memory
-24606,ERR_SHMSO: Start address 0x390e002a95669e57 for linetype 0 out of
scope
dunno how and where to clean the shared memory......
please help me.....
cheers,
DurairajHi,
Gr8.....
now its working fine......but u r saying that its a work around..?
so it would be great if u could tell me what was the actual problem and why it has happend like that and what would be the permanent solution for that...........
Thanks for ur help...
Cheers,
Durairaj premsundar -
Get ORA-12560 error while accessing 11g database
Database version: 11.2.0.1.0
This is a development database running on CentOS. We had setup this database recently and everything has been fine. Today I noticed that when I connect to the database from remote, I get the following error -
ORA-12560: TNS:protocol adapter error
I'm able to get in to the database after logging in directly into the database server via putty. I have stopped & restarted the database, but with no help. I have checked the environment variables (ORACLE_HOME, ORACLE_SID) and they seem to be fine.
Can you please help on what might be the problem here? Is this something to do with some change in the OS firewall setting?
Edited by: museshad on Dec 20, 2012 12:44 PMlsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 20-DEC-2012 13:27:55
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 27-AUG-2012 16:50:42
Uptime 114 days 20 hr. 37 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/xxxx/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxxx)(PORT=1521)))
Services Summary...
Service "orcl.ENTERPRISENET.ORG" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.ENTERPRISENET.ORG" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
tnsnames.ora
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.ENTERPRISENET.ORG)
) -
I have SP Server 2010, and when I try to DELETE a rule within an existing Audience, "Property (Account Name) = domain/username", I get this error, "An error has occurred while accessing SQL database or system resources. If this
is the first time you have seen this message, please try again later. If this
problem persists, please contact your administrator." When I try to "MODIFY" the rule I get this error, "One or more values typed on this page are not valid. Check the text for the indicated fields."
The last time I checked it was working, I'm not aware of any new updates installed recently? I did a full Profile Synchronization as well, but still not working, please advise? -- EvenstarlineHi Sara,
First of all thank you very much for your prompt responses. Here are my comments to each of your suggestions below, and just to let you know I am using a Farm Admin account. I
was able to do this way after we upgraded from SP 2007 to SP 2010 as well. I would like to mention I'm not a SP expert, just been given the responsibility due to another person handling it just left, so apologize with some of
my novice questions below?
1. When I change the Operators to "Contains" or "Not Contains" get generates this error below.
Error generating in red towards top of the audience page..."One or more values typed on this page are not valid. Check the text for the indicated fields."
Error occurred where you enter your "Value"..."Could not resolve the user identity. Please re-enter the account name."
2. We have a 3-server-tier topology (SPWeb, SPDB, and SPFarm). Does the updates only apply to where the Central Admin is installed, which is the "SPFarm"? I checked all
3 servers, and NONE of the updates (KB2899494, KB2889845, and KB2883055) you'd mentioned are installed.
3. I'm new to IISRET, I need to be extra cautious of what I run in production, is this safe to run with no problem? What does it do? And How do I run it?
4. I'm also new to viewing the ULS log. I'd just downloaded a viewer for it. I'm assuming the only logs I need to be concern with viewing are within the SPAdmin (where Central
Admin is installed)? There's so many of them, what should I be looking for exactly?
Evenstarline -
"Error while accessing porting layer for ORACLE database via getSessionId()
Hi,
My ejb3.0 Entity is created from Emp table in scott/tiger schema of an Oracle 10g database. I am guessing I made some mistake creating the datasource or uploading the driver, because when I run my application, I get a long exception stack trace. The bottom-most entry in the stack trace is:
Caused by: com.sap.sql.log.OpenSQLException: Error while accessing porting layer for ORACLE database via getSessionId().
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:148)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createPooledConnection(DirectConnectionFactory.java:527)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:158)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:118)
at com.sap.sql.connect.factory.PooledConnectionFactory.createPooledConnection(PooledConnectionFactory.java:119)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:38)
at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:685)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPool(DBDataSourcePoolImpl.java:1081)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPooledConnection(DBDataSourcePoolImpl.java:919)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.getConnection(DBDataSourcePoolImpl.java:67)
at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.getConnection(DatabaseDataSourceImpl.java:36)
at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
... 90 moreActually, now (after the GRANT described in my reply before) the Exception has changed to:
Caused by: com.sap.sql.log.OpenSQLException: Error while
accessing porting layer for ORACLE database via
<b>getDatabaseHost</b>().
at com.sap.sql.log.Syslog.createAndLogOpenSQLException
(Syslog.java:148)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createPooledConnection(DirectConnectionFactory.java:527)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createDirectPooledConnection(DirectConnectionFactory.java:158)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createDirectPooledConnection(DirectConnectionFactory.java:118)
at com.sap.sql.connect.factory.PooledConnectionFactory.
createPooledConnection(PooledConnectionFactory.java:119)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.
getPooledConnection(DriverPooledConnectionFactory.java:38)
at com.sap.sql.connect.datasource.DBDataSourceImpl.
createPooledConnection(DBDataSourceImpl.java:685)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
matchPool(DBDataSourcePoolImpl.java:1081)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
matchPooledConnection(DBDataSourcePoolImpl.java:919)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
getConnection(DBDataSourcePoolImpl.java:67)
at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.
getConnection(DatabaseDataSourceImpl.java:36)
at com.sap.engine.services.dbpool.spi.
ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
... 90 more -
Error while accessing secure store
Hi Team,
We are on EP 7.0 on SQL server 2005 . Iam facing one problem , in sometimemy IRJ pOrtal site stops giving error " Java iView Runtime " .At this time what happens that in my usr/sap drive , the sap folder is not shown as shared its share goes away and that time when i connect to visual admin tool the authentication fails and that time config tool gives error
#1.5#00188B417A01007E0160B338000008FC00045DE876A4C303#1229152911187#com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl##com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl#Guest#2####f168def0c8c411dd9a2100188b417a01#SAPEngine_Application_Thread[impl:3]_29##0#0#Error##Plain###ManagedConnectionFactoryImpl.createManagedConnection(): SQLException occured while creating ManagedConnection: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
musaprd
sapmnt
PWC
SYS
global
security
data
SecStore.properties" does not exist although it should..#
#1.5#00188B417A010085015AAAF5000008FC00045DE876A4C207#1229152911187#com.sap.sql.connect.OpenSQLDataSourceImpl##com.sap.sql.connect.OpenSQLDataSourceImpl#Guest#2####09e36ed0c8c711dd93b200188b417a01#SAPEngine_Application_Thread[impl:3]_39##0#0#Error#1#/System/Database/sql/connect#Java#com.sap.sql_0019##Exception of type com.sap.sql.log.OpenSQLException caught: Error while accessing secure store: File
When i check in this path SecStore.properties is there , also i have checked the permissions .....................please revert the reason of this error .
Main part of this all is that after taking a reboot everything becomes fine , this happens every few days .
Please revert to this .
Regards,
SomyaHi,
This error crops up when the the folder usr/sap folder sharing is lost . We have recently faced this problem this is Windows OS level problem you can ask your OS admin. Applying a security patch will do.
Regards,
Vamshi. -
Getting Error while accessing the data using odata service
Hi All,
Iam new to SAP FIORI.
Iam getting the below error while accessing the data using odata service.
"Failed to load resource: the server responded with a status of 404 (Not found)"
"No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin "
i have tried all the solutions like changing the url pattern "proxy/htttp".
and disabled - security in chrome (Chrome is Updated version).
i tried with IE still got the same problem.
And installed all the required software in eclipse
While installing GWPA plugin i got the following error.
let me know if any one have idea.
Thanks in advance.> Do you want to add and/or update the data in the already existing tables or do you want to replace the content completely?
>
> so in that way :
> bot the options are fine what ever take less time.
Sorry mate, but YOU have to know what you want here.
I gave you an easy to follow set of steps.
As you don't seam to mind the outcome, just might just use them...
> I wanted to know weathe i can use the loadercli for thie export import or not? if yes then is there any new steps to do before i do the export import?
We had this discussion before...
>
> For that the easiest option would be just to drop the tables of SAPR3 and run the import again.
>
> For ease of use you could also just do:
> - logon as superdba
> - drop user SAPR3
> - create user SAPR3 password SOMEPW not exclusive dba
>
> After these steps you can easily pump the data into the database again.
>
> So here in th above given steps , i am creating a new SAPR3 user and why it is not exclusive dba ?
> i already have that user SAPR3 can i use the same.
Yes, you do have the SAPR3 user.
But you don't seem to like to read documentation or learn about how the tools work or anything like that.
Therefore I gave you s simple way to reach your goal.
Of course it's possible to reuse the user.
But then you would have to deal with already existing tables, already existing data etc.
You don't seem to be able to do that. So, the easy steps might be better suited for your needs.
regards,
Lars -
Problem Summary
DG4ODBC: STRING DATA, RIGHT TRUNCATION ERROR WHILE ACCESSING VARCHAR(MAX) COLUMN
Driver
Microsoft® ODBC Driver 11 for SQL Server® - RedHat Linux
Problem Description
When selecting a MS SQL VARCHAR (max) column over a ODBC Gateway database connection I am getting this error from Oracle:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][ODBC Driver 11 for SQL Server]String data, right truncation {01004}
[Microsoft][ODBC Driver 11 for SQL Server]String data, right truncation {01004}
[Microsoft][ODBC Driver 11 for SQL Server]String data, right truncation {01004}
[Microsoft][ODBC Driver 11 for SQL Server]String data, right truncation {01004}
[Microsoft][ODBC Driver 11 for SQL Server]String data, right truncation {01004}
ORA-02063: preceding 2 lines from <LINK_NAME>
The ODBC driver should map the varchar(max) column to SQL_LONGVARCHAR which would be appropriate for Oracle but the column is getting truncated
Issue
By default the SQL Server ODBC driver exposes the varchar(max) data type as a SQL_VARCHAR. When reporting the maximum size of a varchar(max) column, the driver returns 0, which is the Microsoft convention for "unlimited".
[ODBC][25518][1399527750.588980][SQLDescribeCol.c][497]
Exit:[SQL_SUCCESS]
Column Name = [raw_response]
Data Type = 0x7fffe3cbe1a4 -> 12
Column Size = 0x7fffe3cbe158 -> 0
Decimal Digits = 0x7fffe3cbe1ac -> 0
Nullable = 0x7fffe3cbe1b0 -> 1
DG4ODBC is unable to interpret a zero length as an "unlimited" size and returns an error when retrieving varchar(max) data.
FreeTDS and DataDirect ODBC drivers return SQL_LONGVARCHAR instead of SQL_VARCHAR with 0 precision. So there is no problem reported for these drivers.
Is there a fix for this or is the Microsoft ODBC driver team working on a fix for the driver regarding varchar(max)?
Regards,
JamesHi James,
Thank you for your question. I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
If you have any feedback on our support, please click
here.
Regards,
Elvis Long
TechNet Community Support -
Error while accessing oracle link
Dear Gurus,
I am facing following error while accessing oracle ODBC Link.
I cross varify ODBC connection , its working fine ,
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
SQLSTATE: IM002
SQL System code: 0
Please suggest.Qureshi,
An ODBC connection is not required for Oracle or IBM DB2 because Application Server has internal connections to these databases through Oracle (OCI) or DB2 (CLI).
When you create a new Link ID, you select Oracle (OCI) as the connection type.
In the Link ID properties box specify the additional information needed to connect to the database server. The username and password must be the owner of the CPMS_ tables.
You can find further documentation in the guide Configuration Help Strategy Management 7.5 in Section 3.1.5 Creating a Link ID for Certain Implementations.
This is available on Service Marketplace in Installation Guides for Strategy Management 7.5
Regards,
Bob -
Error while accessing Oracle E-Business Suite 11i from Linux/firefox
error while accessing Oracle E-Business Suite 11i from Linux/firefox
OS: SUSE Linux Desktop 11(SLED11)
Web browser: firefox 3.x
Java versions:
# rpm -qa |grep java
java-1_6_0-sun-plugin-1.6.0.u18-0.1.1
java-1_6_0-sun-1.6.0.u18-0.1.1
# java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)
when I access the url firefox says
"Additional plugins are required to display all the media on this page"
then I clicked on "Install Missing Plugin" button
then I got the following message
No Suitable Plugins were found
Unknown Plugin (application/x-java-applet;jpi-version=1.4.1)
please help/suggest
RegardsHi user;
Its not certified to login EBS from linux client
Please check:
Linux-cleint (ebs) certification
pluggins
Hope it helps
Regard
Helios -
Error while accessing discver report
Hi,
I am getting error while accessing a shared report from my colleague.
1)Item "Project Overview Project Type" used by the workbook is missing. Would you like to continue
2)Item dependency "not found in the EUL. Attempt to open workbook failed.
Could you please give my the workaround for this.
Thankshi,
the link is:
Discoverer
Regards
Cosimo -
Error while accessing secure store: File "SecStore.properties" does not exi
Hi ,
I have a java desktop application, and i am trying to get a connection from a datasource deployed on one SAP AS Java, I can get the datasource succsfullly but when i try to get a connection from the DS, it throughs this exception, I put the secstore..properties file in the classpath even after that it is not happy,
any solution/hint/light please!!!!
com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "SecStore.properties" does not exist although it should..
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
at com.sap.customcode.ConflictingActionFixture.(ConflictingActionFixture.java:53)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at fit.FixtureClass.newInstance(Unknown Source)
at fit.FixtureLoader.instantiateFixture(Unknown Source)
at fit.FixtureLoader.instantiateFirstValidFixtureClass(Unknown Source)
at fit.FixtureLoader.disgraceThenLoad(Unknown Source)
at fit.Fixture.loadFixture(Unknown Source)
at fit.Fixture.getLinkedFixtureWithArgs(Unknown Source)
at fit.Fixture.doTables(Unknown Source)
at fit.FitServer.process(Unknown Source)
at fit.FitServer.run(Unknown Source)
at fit.FitServer.main(Unknown Source)
Caused by: com.sap.security.core.server.secstorefs.FileMissingException: File "SecStore.properties" does not exist although it should.
at com.sap.security.core.server.secstorefs.StorageHandler.openExistingStore(StorageHandler.java:372)
at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1946)
at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)
at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)
at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)
... 18 more
caused bythe SecStore.key file was not there, I changed the passwd and checked the 'Encryption' on, after that my sever instance is not starting.
Any idea?
-Puneet -
Gating error while creating standby database in oracle 11g
Dear Gurus
I am getting following error while creating standby database. My database version is oracle 11g 11.2.0.1 in Redhat 5.2
RMAN> duplicate target database for standby from active database;
Starting Duplicate Db at 10-MAY-12
using channel ORA_AUX_DISK_1
contents of Memory Script:
backup as copy reuse
targetfile '/oracle/product/11.2.0/dbhome_1/dbs/orapworcl' auxiliary format
'/oracle/product/11.2.0/dbhome_1/dbs/orapwstdb' ;
executing Memory Script
Starting backup at 10-MAY-12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/10/2012 15:44:18
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/10/2012 15:44:18
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
ORA-17629: Cannot connect to the remote database server
RMAN>
Regards
RabiHello;
Generally for the connection to work you need to add something like this to the listener.ora file :
(SID_DESC =
(global_dbname = STANDBY.hostname)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
(sid_name = STANDBY)
)You should stop and start the listener on the Standby after adding this. Also your tnsnames.ora must be correct on both the primary and the Standby.
Also you need an INIT for the Standby side :
STANDBY.__db_cache_size=343932928
STANDBY.__java_pool_size=4194304
STANDBY.__large_pool_size=4194304
STANDBY.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
STANDBY.__pga_aggregate_target=281018368
STANDBY.__sga_target=834666496
STANDBY.__shared_io_pool_size=0
STANDBY.__shared_pool_size=469762048
STANDBY.__streams_pool_size=0
audit_file_dest='/u01/app/oracle/admin/PRIMARY/adump'
audit_trail='db'
compatible='11.2.0.0.0'
control_files='/u01/app/oracle/oradata/PRIMARY/control01.ctl','/u01/app/oracle/oradata/PRIMARY/control02.ctl'
db_block_size=8192
db_domain='SOME.DOMAIN.COM'
db_flashback_retention_target=2880
db_name='PRIMARY'
db_recovery_file_dest_size=2147483648
db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
diagnostic_dest='/u01/app/oracle'
dispatchers='(PROTOCOL=TCP) (SERVICE=PRIMARYXDB)'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
open_cursors=300
pga_aggregate_target=277872640
processes=150
remote_login_passwordfile='EXCLUSIVE'
sga_target=833617920
undo_tablespace='UNDOTBS1'
log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) '
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_STATE_2=DEFER
LOG_ARCHIVE_MAX_PROCESSES=30
FAL_SERVER=STANDBY
STANDBY_FILE_MANAGEMENT=AUTO
DB_UNIQUE_NAME=STANDBYFinally
startup nomount
Start RMAN and issue duplicate command
$ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
RMAN>duplicate target database for standby from active database NOFILENAMECHECK;
Keys to success
1. New Standby start NOMOUNT on new password file. ( On Oracle 11 you must copy and rename the file from Primary server )
2. Hard coded listener on new Standby server.
3. Correct tnsnames.ora files.
4. Correct duplicate command.
Please consider closing some of you old answered questions
Best Regards
mseberg
Edited by: mseberg on May 10, 2012 7:06 AM -
Error while accessing table from procedure but no error from anonymous plsq
Hi All,
I am getting a strange error while accessing a table from a different schema.
In that concerned schema OWBSYS, i executed the following:
grant Select on wb_rt_audit to ods;In Ods schema i executed:
CREATE OR REPLACE SYNONYM wb_rt_audit FOR OWBSYS.wb_rt_audit;In ODS schema, when i execute:
create or replace
procedure pp_test as
lv_owb_reject number := 0;
lv_filename_1 varchar2(200):= 'asda';
begin
SELECT MAX(aud.rta_iid) into lv_owb_reject
FROM wb_rt_audit aud
WHERE aud.rta_lob_name LIKE Upper(lv_filename_1)
end;
/I get the error:
Warning: execution completed with warning
procedure Compiled.
ORA-00942 - TABLE OR VIEW DOES NOT EXISTHowever, when i execute as an anonymous plsql the same code:
declare
lv_owb_reject number := 0;
lv_filename_1 varchar2(200):= 'asda';
begin
SELECT MAX(aud.rta_iid) lv_owb_reject
FROM wb_rt_audit aud
WHERE aud.rta_lob_name LIKE Upper(lv_filename_1)
end;
anonymous block completedthere is no issue.
Can someone help me understand what I might be missing:
Edited by: Chaitanya on Feb 28, 2012 12:31 AMCheck if have some other steps.
SQL>conn scott1/tiger
Connected.
SQL>create table wb_rt_audit (rta_iid number);
Table created.
SQL>insert into wb_rt_audit values (100);
1 row created.
SQL>insert into wb_rt_audit values (200);
1 row created.
SQL>commit;
Commit complete.
SQL>grant select on wb_rt_audit to scott2;
Grant succeeded.
SQL>conn scott2/tiger
Connected.
SQL>create synonym wb_rt_audit for scott1.wb_rt_audit;
Synonym created.
SQL>create or replace procedure pp_test as
l_number number(10);
begin
SELECT MAX(rta_iid) into l_number
FROM wb_rt_audit;
end pp_test;
Procedure created.
Maybe you are looking for
-
Inutilização SEFAZ BA NF-e 3.10
Boa tarde a todos, Estamos tentando inutilizar algumas notas em homologação para a sefaz BA (3.10), está voltando o status 999 do sefaz, mas não está atualizando este código 999 na J_1BNFE... e as notas estão ficando com status inicial.. Gostaria de
-
ADF FACES: how to preserve the sort criteria for an af:table
How can I preserve the sort criteria on an af:table across page invocations? I've searched all through the forum and I don't see anything on this topic. I simply want the sort criteria (from when the user clicks on a column header) to be remembered a
-
Not seeing iPhotos 'photos' in Photo Library on iPhone.
I have some photos in the Photos, Events folders in iPhoto. However, they are not in the Photo Library on iPhone. They are in the Photo Stream folder on iPhone. I am confused they are not showing up in the iPhone Photo library when they are in iPhot
-
How to make an exception to RDS session Idle Time Limit?
A little bit of background: We are running WYSE Thin Clients to connect to a RDS server farm at our company. We have set the Idle Session Time Limit to 12 hours, in Remote Desktop Session Host Configuration (in Connection --> Properties --> Sessions
-
Move-ActiveMailboxDatabase Failed
Running Exchange 2010. I have a database copy between DB7 and DB8. I needed to reboot DB8 so I moved the active DB to DB7. It moved successfully. I rebooted the server with DB8. The server came back up and I tried to move the database back and got th