Bdb deadlocks when opening database
When I call _dbp->open(), the library hangs. I am attempting to test how BDB works during system crashes, in order to code my application appropriately, but these hangs are difficult to work with.
I am running multiple processes all reading and writing to a single database. I then kill off the processes one at a time, until one of the terminations hangs all the other processes reading or writing to that database. I understand the database may at that time be in a bad state and may need to be re-opened with the DB_RECOVER flag, but I don't get any kind of an error message on the other processes reading or writing to the database. They just hang. (it looks like they are waiting for the lock of the terminated process to be closed).
I have code to check for a DB_RUNRECOVERY error number returned as part of the exception thrown during a db->open() operation, so I can then can db->open() again with the DB_RECOVER option, but db->open() never returns.
I have tried setting the transaction timeout values and lock timeout values, but nothing seems to be working.
I have tried working with the DB_REGISTER option, but would prefer not to limit each process to a single environment. I'd like to hide the BDB environment entirely from the caller and simply require the database name.
Any assistance would be appreciated,
Todd
I do not have the option of launching a separate process to monitor the database. Unfortunately, I have resigned to the fact I must provide a separate thread to test for failures and deadlocks.
As a result, I have created a static process-wide "EnvironmentManager" class to maintain a collection of Environments and Databases opened by the current process. This ensures the process will only have a single instance of any Environment open. As a result, I should be able to open my environment(s) with DB_REGISTER and DB_RECOVER.
I also created a monitor thread. This thread does the following:
foreach open environment
envp->lock_detect(0,DB_LOCK_DEFAULT,NULL);
envp->failchk(0);
If a DbException with errno set to DB_RUNRECORY occurs, I do the following:
Close each database opened within the faulted environment
Close the environment
Re-Open the environment
Re-Open each database
I would like to cycle through any open transactions, locks and cursors to close them, but it appears I do not have access to them.
My test engine runs in an infinite loop doing the following:
- Open Environment and Database
- Write 200 records
- Read 200 records
- Get a count of records
- Close the database and environment
To test the failures, I launch multiple instances of the test engine then kill the processes one at a time. Obviously my production application with do a normal shut-down under normal conditions, but I need to handle time when an application crashes unexpectedly. I understand problems will occur, my goal is simply to get the system to throw exceptions that I can recover from. I need to resolve all dead-lock issues that can hang my application and all unexpected application-aborts that occur as a result of DB_ASSERT failures.
The problems I am now encountering after implementing all of this:
1) After a process has crashed and I attempt to ‘recover’ from within another running process, I am getting an exception regarding an open file handle to __db.register.
PANIC: fatal region error detected; run recovery
File handles still open at environment close
Open file handle: C:\__db.register
assert failure: ..\mutex\mut_win32.c/174: "__ip != NULL && __ip->dbth_state != THREAD_OUT"
2) If I try to run the same application multiple times quickly by double clicking on the same executable, I get the following exception:
DB_REGISTER limits processes to one open DB_ENV handle per environment
DbEnv::open: Invalid argument
Both of these issues appear to be with the DB_REGISTER option being specified when I open the environment, but things get much murkier if I remove that option.
If I do not specify DB_REGISTER and DB_RECOVER on the command line, it is possible for my call to DbEnv->Open() to hang indefinitely. Otherwise, I would call Open() once and if it failed, call it again with DB_RECOVER.
Please let me know how to proceed. How have other people handled running Berkeley DB across multiple processes?
Regards,
Todd
Similar Messages
-
Error when opening Database.
Hii,
IM facing error when trying to open the database,
My apps:11.5.10.2
my Database:10.2.0.4
i have successfully run adcfgclone dbTechStack on Database Tier, but when i try to open the database im getting the following error,
Errors in file f:\dev\devdb\10.2.0\admin\dev_diwerp-02\bdump\dev_dbw0_6020.trc:
ORA-01186: file 1 failed verification tests
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1: 'F:\DEV\DEVDATA\SYSTEM01.DBF'
ORA-01206: file is not part of this database - wrong database id
Mon Jan 30 15:51:16 2012
File 1 not verified due to error ORA-01122
Mon Jan 30 15:51:16 2012
Aborting crash recovery due to error 1221
Mon Jan 30 15:51:16 2012
Errors in file f:\dev\devdb\10.2.0\admin\dev_diwerp-02\udump\dev_ora_6056.trc:
ORA-01221: data file 1 is not the same file to a background process
Can anyone provide me solution for this issue ASAP,
Waiting for your replies
Thanks in advance.Hi;
Error: ORA 1221
Text: datafile <name> is not the same file to a background process
Cause: When the database writer opens the datafile, it is accessing a
different physical file than the foreground doing the recovery.
The time-stamp set in the file header by the foreground was not found
by the background.
It may be that the background process could not read the file at all.
Action: Look in the DBWR trace file for the error it received when attempting
to read the file header.
Reconfigure the operating system as needed to have the filename
successfully access the same file when opened by a background process.
Regard
Helios -
ORA-00490 error when opening database
I am having a problem starting up my database. It had been running without problems for a long time, but it crashed recently, and now every time I attempt to restart it I get 'ORA-00490: PSP process terminated with error.' Here is the info from the alert log:
Tue Jul 20 08:35:16 2010
Starting ORACLE instance (normal)
Dump file d:\oracle\product\10.2.0/admin/iceman/bdump\alert_iceman.log
Tue Jul 20 09:06:13 2010
ORACLE V10.2.0.1.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows NT Version V5.2 Service Pack 2
CPU : 8 - type 8664, 2 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:7404M/8186M, Ph+PgF:19658M/20025M
Tue Jul 20 09:06:13 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =61
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 500
sga_max_size = 2097152000
__shared_pool_size = 352321536
__large_pool_size = 16777216
__java_pool_size = 33554432
__streams_pool_size = 33554432
spfile = D:\ORACLE\PRODUCT\10.2.0\DB_1\DBS\SPFILEICEMAN.ORA
sga_target = 1258291200
control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\CONTROL01.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\CONTROL02.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 805306368
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:\oracle\product\10.2.0/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=ICEMANXDB)
job_queue_processes = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ICEMAN\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ICEMAN\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ICEMAN\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ICEMAN\CDUMP
audit_trail = OS
db_name = ICEMAN
open_cursors = 300
pga_aggregate_target = 418381824
PSP0 started with pid=3, OS id=2372
MMAN started with pid=4, OS id=2388
PMON started with pid=2, OS id=2456
DBW0 started with pid=5, OS id=2396
LGWR started with pid=6, OS id=2376
CKPT started with pid=7, OS id=2380
SMON started with pid=8, OS id=1496
RECO started with pid=9, OS id=2296
CJQ0 started with pid=10, OS id=2300
MMON started with pid=11, OS id=2128
MMNL started with pid=12, OS id=2784
Tue Jul 20 09:06:15 2010
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
Tue Jul 20 09:06:17 2010
ALTER DATABASE MOUNT
Tue Jul 20 09:06:21 2010
Setting recovery target incarnation to 2
Tue Jul 20 09:06:21 2010
Successful mount of redo thread 1, with mount id 2079135369
Tue Jul 20 09:06:21 2010
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Tue Jul 20 09:10:42 2010
Starting ORACLE instance (normal)
Tue Jul 20 09:10:55 2010
alter database open
Tue Jul 20 09:10:56 2010
Beginning crash recovery of 1 threads
Process P000 died, see its trace file
parallel recovery setup failed: using serial mode
Tue Jul 20 09:10:57 2010
Started redo scan
Tue Jul 20 09:10:57 2010
Completed redo scan
233 redo blocks read, 74 data blocks need recovery
Tue Jul 20 09:10:57 2010
Started redo application at
Thread 1: logseq 36859, block 3
Tue Jul 20 09:10:57 2010
Recovery of Online Redo Log: Thread 1 Group 3 Seq 36859 Reading mem 0
Mem# 0 errs 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\REDO03.LOG
Tue Jul 20 09:10:57 2010
Completed redo application
Tue Jul 20 09:10:57 2010
Completed crash recovery at
Thread 1: logseq 36859, block 236, scn 832195314
74 data blocks read, 74 data blocks written, 233 redo blocks read
Tue Jul 20 09:10:57 2010
Thread 1 advanced to log sequence 36860
Thread 1 opened at log sequence 36860
Current log# 1 seq# 36860 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ICEMAN\REDO01.LOG
Successful open of redo thread 1
Tue Jul 20 09:10:57 2010
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Tue Jul 20 09:10:57 2010
SMON: enabling cache recovery
Tue Jul 20 09:10:58 2010
Successfully onlined Undo Tablespace 1.
Tue Jul 20 09:10:58 2010
SMON: enabling tx recovery
Tue Jul 20 09:10:58 2010
Database Characterset is AL32UTF8
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=16, OS id=672
Tue Jul 20 09:11:05 2010
Completed: alter database open
Tue Jul 20 09:11:10 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_j000_976.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x77EF1CD6] [ADDR:0x4F0] [UNABLE_TO_READ] []
Tue Jul 20 09:11:13 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_pmon_2456.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:13 2010
PMON: terminating instance due to error 490
Tue Jul 20 09:11:13 2010
Error occured while spawning process J001; error = 490
Tue Jul 20 09:11:13 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_reco_2296.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:13 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_smon_1496.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:14 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_ckpt_2380.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:14 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_lgwr_2376.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:14 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_dbw0_2396.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:14 2010
Errors in file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_mman_2388.trc:
ORA-00490: PSP process terminated with error
Tue Jul 20 09:11:14 2010
Instance terminated by PMON, pid = 2456
The background process dumps all look very similar. Here is the file iceman_dbw0_2396.trc
Dump file d:\oracle\product\10.2.0\admin\iceman\bdump\iceman_dbw0_2396.trc
Tue Jul 20 09:11:14 2010
ORACLE V10.2.0.1.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Windows NT Version V5.2 Service Pack 2
CPU : 8 - type 8664, 2 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:7133M/8186M, Ph+PgF:18431M/20025M
Instance name: iceman
Redo thread mounted by this instance: 1
Oracle process number: 5
Windows thread id: 2396, image: ORACLE.EXE (DBW0)
*** 2010-07-20 09:11:14.316
*** SERVICE NAME:(SYS$BACKGROUND) 2010-07-20 09:11:14.316
*** SESSION ID:(552.1) 2010-07-20 09:11:14.316
error 490 detected in background process
ORA-00490: PSP process terminated with error
I have been searching, but I have not found a reference to a problem quite like this anywhere. Any pointers to how this can be solved would be greatly appreciated.HI
1) can you post OS version?
2) antivirus/firewall enabled
3)Increase the depleted swap/memory or other resource which is logged in the OS log file
Have sufficient physical memory on Server so that you can allocate more SGA/PGA to the database.
4) Increase SGA_MAX_SIZE and SGA_TARGET so that you can accommodate following pools.
5) Restart the instance.
6) Increase INIT.ORA memory parameters and make sure following pools are set to recommended value i.e. 200M.
7) SHARED_POOL_SIZE
8) JAVA_POOL_SIZE
9) STREAMS_POOL_SIZE
there is no swap to grow stack.
Edited by: CKPT on Jul 20, 2010 7:26 PM -
When opening Aperture I get Warning that says "There was an error opening the database for the library “~/Desktop/Feb 12, 2011.aplibrary.” That's it. The program does not open at all. I'm concerned that my pictures may be lost. Does anyone know how to deal with this Warning?
Might just need to rebuild the library...see this link:
Aperture 3: Troubleshooting Basics -
Problem when opening the database
Hi,
OracleVersin:10.2.0.1
OperatingSystem:linux
When i restart my server and trying to start the database it is not starting .And it is throwing the following error.
SQL> startup
ORACLE instance started.
Total System Global Area 838860800 bytes
Fixed Size 1222144 bytes
Variable Size 213912064 bytes
Database Buffers 616562688 bytes
Redo Buffers 7163904 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
ORA-01110: data file 8: '/u06/oradata/QFUNDAPAYPROD_JUN09.dbf'
SQL> alter database archivelog;
alter database archivelog
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
SQL> shut immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 838860800 bytes
Fixed Size 1222144 bytes
Variable Size 213912064 bytes
Database Buffers 616562688 bytes
Redo Buffers 7163904 bytes
Database mounted.
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
ORA-01110: data file 8: '/u06/oradata/QFUNDAPAYPROD_JUN09.dbf'please help meHi,
Here is the output of the logfile
tarting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 300
__shared_pool_size = 205520896
__large_pool_size = 0
__java_pool_size = 4194304
__streams_pool_size = 0
sga_target = 838860800
control_files = /u01/app/oracle/oradata/VSMIG/control01.ctl, /u01/app/oracle/oradata/VSMIG/control02.ctl, /u01/app/oracle/oradata/VSMIG/control03.ctl
db_block_size = 8192
__db_cache_size = 620756992
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
db_recovery_file_dest = /u01/app/oracle/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=VSMIGXDB)
job_queue_processes = 10
background_dump_dest = /u01/app/oracle/admin/VSMIG/bdump
user_dump_dest = /u01/app/oracle/admin/VSMIG/udump
core_dump_dest = /u01/app/oracle/admin/VSMIG/cdump
audit_file_dest = /u01/app/oracle/admin/VSMIG/adump
db_name = VSMIG
open_cursors = 300
pga_aggregate_target = 201326592
PMON started with pid=2, OS id=3205
PSP0 started with pid=3, OS id=3207
MMAN started with pid=4, OS id=3209
DBW0 started with pid=5, OS id=3212
LGWR started with pid=6, OS id=3214
CKPT started with pid=7, OS id=3216
SMON started with pid=8, OS id=3218
RECO started with pid=9, OS id=3220
CJQ0 started with pid=10, OS id=3222
MMON started with pid=11, OS id=3224
Wed Nov 11 16:41:56 2009
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=12, OS id=3226
Wed Nov 11 16:41:56 2009
starting up 1 shared server(s) ...
Wed Nov 11 16:41:56 2009
ALTER DATABASE MOUNT
Wed Nov 11 16:42:00 2009
Setting recovery target incarnation to 3
Wed Nov 11 16:42:00 2009
Successful mount of redo thread 1, with mount id 1073552788
Wed Nov 11 16:42:00 2009
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Wed Nov 11 16:42:07 2009
alter database open
Wed Nov 11 16:42:07 2009
Errors in file /u01/app/oracle/admin/VSMIG/bdump/vsmig_dbw0_3212.trc:
ORA-01157: cannot identify/lock data file 8 - see DBWR trace file
ORA-01110: data file 8: '/u06/oradata/QFUNDAPAYPROD_JUN09.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
Wed Nov 11 16:42:07 2009
Errors in file /u01/app/oracle/admin/VSMIG/bdump/vsmig_dbw0_3212.trc:
ORA-01157: cannot identify/lock data file 13 - see DBWR trace file
ORA-01110: data file 13: '/u06/oradata/APAYPROD_90616.dbf'
ORA-27086: unable to lock file - already in use
Linux Error: 11: Resource temporarily unavailable
Additional information: 8
ORA-1157 signalled during: alter database open...
Wed Nov 11 16:57:00 2009
db_recovery_file_dest_size of 2048 MB is 75.04% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup. -
Checkpoint frequency when the database is open.
Dear All,
I am facing a lot of problem with some checkpoint parameters.
FAST_START_IO_TARGET = value in what?
LOG_CHECKPOINT_INTERVAL = value in no. of OS blocks
LOG_CHECKPOINT_TIMEOUT = value in seconds
Almost every places (Documentation and our books) it is
mentioned that they are used only for instance recovery. Is it
true? If so, then we don't have any way to force checkpoint to
occur frequently when the database is running. Is there any way?
I think the last two parameters work also when the database is
running.
If multiple parameters used for checkpoint will oracle use FIFO
system or it will choose only the most aggressive parameter?
Please see the Backup&Recovery slide 2-12. It show the case of
instance recovery. As the most aggressive parameter
LOG_CHECKPOINT_INTERVAL is issuing checkpoint first. Will there
be any checkpoint at "C" or checkpoint will occur at any other
point again set by LOG_CHECKPOINT_INTERVAL ?
Please help me to solve this problem.
Have a nice time,
Tarek
BASE Ltd, DhakaThere is an execellent document available on metalink explaining
the details of the checkpoint mechanism and how to tune it.
Document's name is "Checkpoint Tuning and Troubleshooting Guide",
Doc Id is 147468.1.
That document explains the parameters you ask about and
tells you a helluva lot about checkpoints and how to get
them to do just as you want.
If you do not have access to Metalink, drop me a mail
notice at [email protected], and I'll send you
a copy via email.
Hope that helps.
All the best
Michael -
Why BDB deadlock ??
BDB is deadlock , env init :
set_lk_detect isn't action. Why??
/* Open and configure an environment. */
int env_init(DB_ENV dbenv, const char home)
u_int32_t flags;
int ret;
ret = dbenv->set_cachesize(dbenv, 0, M_DB_ENV_CACHESIZE, 0);
ret |= dbenv->set_flags(dbenv, DB_TXN_NOSYNC, 1);
ret |= dbenv->set_flags(dbenv, DB_AUTO_COMMIT, 1);
ret |= dbenv->set_flags(dbenv, DB_LOG_INMEMORY, 1);
ret |= dbenv->set_lg_bsize(dbenv, 512*1024);
ret |= dbenv->set_timeout(dbenv, 1*1000*1000, DB_SET_LOCK_TIMEOUT);
ret |= dbenv->set_lk_detect(dbenv, DB_LOCK_MINLOCKS);
flags = DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL |
DB_INIT_REP | DB_INIT_TXN | DB_RECOVER | DB_THREAD|DB_PRIVATE;
if ((ret = dbenv->open(dbenv, home, flags, 0)) != 0)
dbenv->err(dbenv, ret, "can't open environment");
return (ret);
db_stat "-C co"
env_lock_stat
db_stat "-C co"
show :
8000360b READ 1 HELD /ram/uplinkhis15.db.db page 1
8000360d WRITE 1 WAIT /ram/uplinkhis15.db.db page 1
8000360e READ 1 WAIT /ram/uplinkhis15.db.db page 1
8000360d WRITE 3 HELD /ram/uplinkhis15.db.db page 2
8000360b READ 1 PENDING /ram/uplinkhis15.db.db page 46
vxWorks-Shell#tt perf
4854f0 vxTaskEntry +68 : ipcModuleRecvTaskEntry (3)
683b04 ipcModuleRecvTaskEntry+190: perfCoreIpcCallback (909a4c0)
25d550 perfCoreIpcCallback+dc : perf15mHandAll ()
25d654 perf15mHandAll +18 : perfUplink15mHandle ()
25d850 perfUplink15mHandle+190: DBApiCondCount (2007, 8, b835a80, b83572c)
2c0650 DBApiCondCount +1c4: __db_c_get_pp (be7f8e8, b834c20, b834c40, 1b)
3dd950 __db_c_get_pp +12c: __db_c_get (be7f8e8, b834c20, b834c40, 1b)
3cdc3c __db_c_get +6e0: 425828 ()
425828 __bam_c_dup +ab0: 429e68 (90a5280, 0, b834c20, 1b, b834ad0)
42a9b8 __bam_c_rget +19b4: __bam_search (90a5280)
3a2e84 __bam_search +120: __bam_get_root (90a5280, 1, 1, 101, b8349c4)
3a28c0 __bam_get_root +108: __db_lget (90a5280, 0, 1, 1, 0, b834900)
3e3714 __db_lget +3cc: __lock_get (9971970, 8000360e, 0, 90a52f8, 1, b83490
0)
3102d0 __lock_get +e0 : __lock_get_internal (97d8930, 8000360e, 0, 90a52f8,
1, f4240, b834900)
3117e4 __lock_get_internal+149c: __db_tas_mutex_lock (9971970, 349)
348808 __db_tas_mutex_lock+2fc: __os_sleep (9971970, 0, 2710)
34be78 __os_sleep +ec : select ()
value = 0 = 0x0
vxWorks-Shell#tt CLI_T
4854f0 vxTaskEntry +68 : cli_telnet_thread ()
665abc cli_telnet_thread+7c : thread_call (90e9ef8)
66bfd8 thread_call +4c : 671568 ()
671568 vty_read +450: 670f24 (be878c8)
670f9c vty_clear_buf +4e0: vty_command (be878c8, be847b0)
66ebec vty_command +54 : cmd_execute_command (be773e0, be878c8, 0, 0)
6614a0 cmd_execute_command+130: 660ec0 (be773e0, be878c8, 0)
66134c cmd_complete_command+570: 6bbb04 (&no_perf_uplink_if_cmd, be878c8, 1, 90e
9ab8)
6bbb6c perfCheckSampleTime+24e8: perfDisableUplink (1010000)
25e5ac perfDisableUplink+c0 : perfDeleteUplinkIf (1, 1)
260e90 perfDeleteUplinkIf+21c: DBApiDelSingle (2007, 90e9758)
2bef74 DBApiDelSingle +178: __db_del_pp (970ddb0, 90b8690, 90e89c8, 0)
3d9ad4 __db_del_pp +284: __db_del (970ddb0, 90b8690, 90e89c8, 0)
3c2048 __db_del +308: __db_c_close (90911b8)
3cc73c __db_c_close +238: 423b84 ()
423b84 __bam_c_refresh+7a8: 42ad00 (90911b8)
42b0c4 __bam_c_rget +20c0: __bam_search (90911b8)
3a2e84 __bam_search +120: __bam_get_root (90911b8, 1, 0, 40000, 90e877c)
3a28c0 __bam_get_root +108: __db_lget (90911b8, 0, 1, 2, 0, 90e86b8)
3e3714 __db_lget +3cc: __lock_get (9971970, 8000360d, 0, 9091230, 2, 90e86b
8)
3102d0 __lock_get +e0 : __lock_get_internal (97d8930, 8000360d, 0, 9091230,
2, f4240, 90e86b8)
3117e4 __lock_get_internal+149c: __db_tas_mutex_lock (9971970, 347)
348808 __db_tas_mutex_lock+2fc: __os_sleep (9971970, 0, 2710)
34be78 __os_sleep +ec : select ()
b41d0 select +168: semTake ()
f0e88 semTake +13c: semBTake ()
value = 0 = 0x0
vxWorks-Shell#tt tSnmpd
4854f0 vxTaskEntry +68 : e1adc (eeeeeeee)
e1b10 snmpdInit +1a4: snmpIoMain ()
e31a8 snmpIoMain +b8 : e31c4 ()
e3324 snmpIoMain +234: snmpdPktProcess ()
e1be0 snmpdPktProcess+28 : Process_Rcvd_SNMP_Packet_Async ()
48b4a4 Process_Rcvd_SNMP_Packet_Async+e0 : 48b0a4 ()
48b3a8 process_packet_two+3b4: process_packet_two ()
48b060 process_packet_two+6c : SNMP_Process_Next_PDU ()
490bf8 SNMP_Process_Next_PDU+324: eponPerfHis15minUplinkEntry_next (3, 3, 90b838
c, 9091450, 9091340)
45e210 eponPerfHis15minUplinkEntry_next+50 : eponPerfHis15minUplinkEntry_int_nex
t (3, 90b838c, be91860)
47bb38 eponPerfHis15minUplinkEntry_int_next+238: perfGetUplinkHistory15StatNext
(be91860)
6b6a80 perfGetUplinkHistory15StatNext+28 : DBApiQueryNext (2007, be91860, be9186
0)
2bfb9c DBApiQueryNext +1ec: __db_c_get_pp (970d7b0, be90cf0, be90d10, 19)
3dd950 __db_c_get_pp +12c: __db_c_get (970d7b0, be90cf0, be90d10, 19)
3cdc3c __db_c_get +6e0: 4257e8 ()
4257e8 __bam_c_dup +a70: 429e68 (90bd268, 0, be90cf0, 19, be90ba0)
42a9b8 __bam_c_rget +19b4: __bam_search (90bd268)
3a2e84 __bam_search +120: __bam_get_root (90bd268, 1, 1, 581, be90a94)
3a28c0 __bam_get_root +108: __db_lget (90bd268, 0, 1, 1, 0, be909d0)
3e3714 __db_lget +3cc: __lock_get (9971970, 8000360f, 0, 90bd2e0, 1, be909d
0)
3102d0 __lock_get +e0 : __lock_get_internal (97d8930, 8000360f, 0, 90bd2e0,
1, f4240, be909d0)
3117e4 __lock_get_internal+149c: __db_tas_mutex_lock (9971970, 344)
value = 0 = 0x0
vxWorks-Shell#
vxWorks-Shell#
vxWorks-Shell#
vxWorks-Shell#env_lock_stat ---->lock_stat_print
182 Last allocated locker ID
0x7fffffff Current maximum unused locker ID
9 Number of lock modes
1000 Maximum number of locks possible
1000 Maximum number of lockers possible
1000 Maximum number of lock objects possible
76 Number of current locks
82 Maximum number of locks at any one time
185 Number of current lockers
185 Maximum number of lockers at any one time
74 Number of current lock objects
81 Maximum number of lock objects at any one time
37040 Total number of locks requested
36961 Total number of locks released
0 Total number of locks upgraded
72 Total number of locks downgraded
72 Lock requests not available due to conflicts, for which we waited
1 Lock requests not available due to conflicts, for which we did not wait
0 Number of deadlocks
1000000 Lock timeout value
0 Number of locks that have timed out
0 Transaction timeout value
0 Number of transactions that have timed out
344KB The size of the lock region
29 The number of region locks that required waiting (0%)
value = 0 = 0x0
vxWorks-Shell#Hello,
There are three basic ways to perform deadlock detection.
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/lock/dead.html
http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_set_lk_detect.html
http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/lock_detect.html
http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_set_timeout.html
1. use the DbEnv::set_lk_detect method to automatically run the
deadlock detector whenever there is a conflict over a lock. With
this method you specify what lock request(s) should be rejected.
With this choice the lock table will be walked as soon as a lock
request blocks) hence an application should not have to wait
on a lock before discovering that deadlock occurred.
2. use the DbEnv::lock_detect method which runs a single iteration
of the BDB deadlock detector. In this case use a thread or external
process to perform deadlock detection. Your application will run
deadlock detection at some interval. The application may have to
wait to be notified of a deadlock, but you will not incur the
overhead of walking the lock table every time a lock request is blocked.
3. use DBenv::set_timeout to configure the locking subsystem to time out
any lock not released within a specified amount of time. Note that lock
timeouts are only checked when a lock request is blocked or when deadlock
detection is otherwise performed. Therefore, a lock can have timed out
and still be held for some length of time until BDB has a reason to
examine its locking tables.
So for your question on DbEnv::lock_detect, yes this needs to be
run in a thread or external process after some specific time interval,
like a few seconds to a minute.
For your initial question, please clarify in a bit more detail what
the problem is. The output from db_stat -Co does not look to show a
deadlock.
Thanks,
Sandra -
Core + JNI binding cannot re-open database with log in mem option
I am doing some tests with BDB Core using the JNI interface and I have so far found that the speed is much faster with the setLogInMemory(true) option set on the database. I know this puts durability at risk but assuming there is no crash and I successfully close the database I am not able to re-open the database.
I am opening the DB with code like the following:
public void setupEventDB(File envHome)
throws DatabaseException, FileNotFoundException {
EnvironmentConfig myEnvConfig = new EnvironmentConfig();
myEnvConfig.setTransactional(_transactional);
myEnvConfig.setAllowCreate(_allowCreate);
myEnvConfig.setInitializeCache(true);
myEnvConfig.setLogBufferSize(100000000);
myEnvConfig.setLogInMemory(true); //Causes all logging to go to memory
myEnvConfig.setPrivate(true);
// Open the environment
myEnv = new Environment(envHome, myEnvConfig);
DatabaseConfig myDbConfig = new DatabaseConfig();
myDbConfig.setReadOnly(_readOnly);
myDbConfig.setTransactional(_transactional);
myDbConfig.setAllowCreate(_allowCreate);
myDbConfig.setType(DatabaseType.BTREE);
// Now open, or create and open, our databases
// Open the vendors and inventory databases
eventDb = myEnv.openDatabase(null,
"eventDB.db",
"eventDB",
myDbConfig);
My basic test is the following:
1. Open database
2. Insert 10 million records
3. Walk cursor across all records
4. Close database
5. Re open database
6. Walk cursor again
7. Close database
Basically when I get to step 5 I get the following error:
file unknown has LSN 18889/65067, past end of log at 1/28
Commonly caused by moving a database from one database environment
to another without clearing the database LSNs, or by removing all of
the log files from a database environment
/u02/DB/0/eventDB.db: unexpected file type or format
Exception: java.lang.IllegalArgumentException: Invalid argument: the log files from a database environment
/u02/DB/0/eventDB.db: unexpected file type or format
java.lang.IllegalArgumentException: Invalid argument: the log files from a database environment
/u02/DB/0/eventDB.db: unexpected file type or format
at com.sleepycat.db.internal.db_javaJNI.Db_open(Native Method)
at com.sleepycat.db.internal.Db.open(Db.java:404)
at com.sleepycat.db.DatabaseConfig.openDatabase(DatabaseConfig.java:1990)
at com.sleepycat.db.Environment.openDatabase(Environment.java:314)
at db.MyDbEnv.setupEventDB(MyDbEnv.java:139)
at db.InsertTool.run(InsertTool.java:94)
at db.InsertTool.main(InsertTool.java:61)
Exception in thread "main" java.lang.NullPointerException
at db.MyDbEnv.close(MyDbEnv.java:170)
at db.InsertTool.main(InsertTool.java:70)
My cursor code looks like the following:
private void walkCursor() throws DatabaseException {
System.out.println("Walking cursor");
Cursor cursor = myDbEnv.getEventDB().openCursor(null, null);
long count = 0;
long beforeCursor = System.currentTimeMillis();
PnRealTimeObj obj = new PnRealTimeObj();
PnRealTimeObj temp = null;
while(cursor.getNext(theKey, theData, null) == OperationStatus.SUCCESS){
count ++;
temp = (PnRealTimeObj) obj.entryToObject(theData);
if(count != temp.getMsgId()){
System.out.println("Count: "+count+" record: "+temp);
cursor.close();
long afterCursor = System.currentTimeMillis();
System.out.println("End Scan Found : "+count+" records. Time delta: "+(afterCursor - beforeCursor)+ " ms");
Interested in how you can get a DB with log in memory == true to open? I have tried this by starting a different program afterwords to just walk the cursor and that didn't work either. I am assuming it is complaining because there is no log but there isn't supposed to be a log with log in mem == true. I am assuming everything should get flushed to the DB when you close the database so it should still work?
Thanks,
JaredTo answer your questions I was closing the DB and then closing the environment when I ran into this problem.
I however was not using the remove call from the API it isn't clear to me when one should call remove and when one should call close? It appears that both put the environment in a terminal state and seems that remove uses slightly more forceful language and talks about removing environment files on disk.
I did however as an update to this receive an answer from oracle from an email thread I had with them and was told that I should try the resetLogSequenceNumber command. I tried doing this between the DB close and the environment close and this seemed to do the trick. My code looked like the following:
eventDb.close();
long logResetStart = System.currentTimeMillis();
File[] dbfiles = _envHome.listFiles(new FilenameFilter(){
@Override
public boolean accept(File arg0, String arg1) {
if(arg1.endsWith(".db")){
return true;
}else{
return false;
for(File dbfile:dbfiles){
System.out.println("Resetting log sequence number in: "+dbfile.getAbsolutePath());
myEnv.resetLogSequenceNumber(dbfile.getAbsolutePath(), false);
long logResetEnd = System.currentTimeMillis();
System.out.println("Elapsed time for log reset: "+(logResetEnd-logResetStart));
=============
As a side note it looks like the reset log sequence number call is fairly heavy weight operation it took on the order of 22 seconds to complete on my box. -
Database Table cannot be found when Verify Database
Post Author: brentlaw
CA Forum: Other
I have been using CRW 7 for many years. I recently upgraded to XI (I have current version). I can open existing reports and create new reports fine. The problem is when I Verify Database I get an error message "The Database table <tablename here> cannot be found. Remove this table from the report".
This happens to all existing and new created reports. The data fills correctly when previewing. The problem only occurs when Verifying Database.
I thought it might be an ODBC driver problem so I upgraded my driver to v 3.525.1117. At least I think I upgraded it I did not check the version before I installed SQL 2005 SP2. After installing SP2 it seemed to be fine but a week later the problem came back. Mysterious eh?
I am trying to launch a report from VB6 using RDC and rpt file. I get logged in correctly but at .viewreport I get a generic error message. I am assuming the problem is related the the issue I raise in this forum post.Post Author: brentlaw
CA Forum: Other
I fixed the problem. In CR XI Developer Designer window I opened up Database-SetDataSourceLocation. I noticed that in "Properties" the last item "Use DSN Default Properties": was set to True. I changed this value to False. Now this problem is solved.
I am Not using Windows Authentication I am using SQLServer authentication. In my code I was passing SQLServer Authentication credentials.
I opened up all of my CR 7 reports in CR XI and changed this setting on both the Main and the Subreort property in the SetDataSourceLocation dialog box and now all my reports work. I am a happy camper.
I don't know if this is a CR 7 conversion to CR XI only situation or not. Hope this information helps someone else. -
Error: Failed to open the connection when opening Crystal Report in CMC or
Hello all,
I am getting theError: Failed to open the connection when opening Crystal Report in CMC or Infoview
with access database as the datasource which is in the network drive.Hi Sonali,
This is because Crystal Reports does not recognize database connection from share drive
1. Save the database locally on server machine
2. Create a new database on server and link the new database with the database on Network.
Steps to link the database.
1.Create a new test database on server.
2. Go to File --> Get External Data --> Link tables | Select the database on Network Drive.
3. Select all the tables from the database.
4. Save the Database e.g. Test.mdb.
5. Create an ODBC Connection on server machine, with the same name as on client machine using test.mdb database.
Note: Click on Advanced button, enter the default user id and password for the odbc connection, it is not mandatory to give Login Name and Password, only if the user id and password are given then we need to provide the same user id and password in the CMC database configuration.
6. Create a report using this ODBC connection, and save the report to Enterprise.
Regards,
Navin -
Outlook 2013 crashes when opening Calendar search result
I have a user who uses her Outlook 2013 calendar extensively, mainly to note for herself when she has spoken to a customer, and creating appointments for when she needs to speak to them again. (This is outside of our policy to note the contact in
MS CRM.) She can have scores of such Calendar items each day.
When seraching for these appointments in her Calendar, she gets the list of results, but Oulook crashes when she tries to open any of them. Sometimes Outlook restarts on its own, sometimes she must relaunch it herself.
Related threads reference a wwlib.dll error, but she is not getting that. It is Outlook.exe itself that is crashing. There are other threads that reference other open windows, or items containing webpages or tables, but these do not apply to her, either.
Event Data (two related entries) contain the following:
OUTLOOK.EXE
15.0.4551.1004
5253ad6f
c0000005
00025b09
19cc
01cef2a610938033
C:\Program Files\Microsoft Office\Office15\OUTLOOK.EXE
C:\Program Files\Microsoft Office\Office15\OUTLOOK.EXE
77f5e493-5e9b-11e3-9ef4-00219b4a7172
And:
3915849571
1
APPCRASH
Not available
0
OUTLOOK.EXE
15.0.4511.1004
5253ad6f
OUTLOOK.EXE
15.0.4551.1004
5253ad6f
c0000005
00025b09
C:\Users\[username]\AppData\Local\Temp\163947659.cvr C:\User\[username]\AppData\Local\Temp\CVR780F.tmp.cvr
C:\Users\[username]\AppData\Local\Temp\WERA546.tmp.WERInternalMetadata.xml
C:\Users\[username]\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_OUTLOOK.EXE_2e80497b46642ed3f64262bb26bbba2f6ecc_02d1bdd5
0
77f5e493-5e9b-11e3-9ef4-00219b4a7172
0
On answers.microsoft.com, Girish M (Support Engineer who eventally directed me here), asked me to run Scanpst.exe. I would paste the results here, but this window does not seem to allow pasting. A summary description of what it found on her .ost file (no
.pst in use) is basically this:
**Beginning NDB recovery
**Attempting to open database
**Attempting to validate header
**Attempting to validate AMap
**Attempting to validate BBT
**Attempting to validate NBT
**Attempting to validate BBT refcounts
??Couldint find BBT entry in the RBT (E025CC)
**Attempting to validate header NID high-water marks
**Beginning PST/OST recovery
**Attempting to recover all top-level objects
**Store created by biuld: 15.4517
**Attempting to walk all folders
Failed to add row to the FLT, RowID = 719
Failed to add row to the FLT, RowID = 6CD
Failed to add row to the FLT, RowID = 6DE
Failed to add row to the FLT, RowID = 6D8
and so on, and so on, with a few hundred more FLT RowID errors, finally ending with:
**Attempting to locate any orphaned folders/messages
**Performing Final HMP validation
**Attempting to check top-level objects for consistency
**Updating folder hierarchy
**Verifying message moves
My understanding of the Scanpst.exe process is that it also disables any addons which might cause crashing, but the issue is still being experienced. Running Scanpst.exe a second time (appending the previous log, although it seemed to actually prepend the
file) only returned a few lines from the top of the result above ending with "Attempting to validate BBT."
Fixes not attempted yet that I have found performing searches include running the Office Repair tool, or checking for KB2817631 (a Word update that is apparently having adverse affects on Outlook, not attempted yet because it seems to be related to the wwlib.dll
error, which is not happening here).
Any thoughts out there? Thanks!Mavis,
Thanks for the reply. Running Outlook using /cleansharing and
/cleanroamedprefs did not have any effect when used individually or in combination with each other.
Running the Search Index Rebuild option also did not seem to do anything, as the pop-up message indicated that it may take a long time to finish, and yet seemed to finish instantaneously, not giving any indication that the indexing took place. The option
window immediately said "Indexing complete" for 23,755 items.
As to the Outlook Forum, they are the ones who directed me to this forum (you can see the thread on the Answers support page under Office - Office 2013 - Microsoft Office Outlook - Office on Windows 7, under the title "Outlook 2013 restarts when
opening Calendar Search result item" first posted on Dec 11, 2013), as Girish M felt that it might be due to Exchange, and not Outlook. (I have no reports of any of our other users on the same Exchange server having the problem with their Outlook, but
they also do not use it the way this user has been.)
I can repost the issue there, or continue the same thread, if you think the issue lies with them. Was the "Answers" site the improper place to post, perhaps? Should it go in a different thread on Technet instead?
Thanks for your assistance!
Edited to add:
Here are the KBs installed just before or on the date the problem started (12/6/2013):
12/5/2016 (Office updates, all 32-Bit):
Security Update Office 2013 KB2768005
Office 2013 KB2768016
Office 2013 KB2817640
Office 2013 KB2827228
Security Office 2013 KB2837618
Word 2013 KB2817631
InfoPath 2013 KB2752078
Office 2013 KB2817493
Office 2013 KB2760539
Office 2013 KB2827235
Office 2013 KB2827225
Security Excel 2013 KB2827238
Office 2013 KB2760242
Office 2013 KB2817626
Office 2013 KB2817314
Office 2013 KB2760610
Access 2013 KB2768008
Office 2013 KB2738038
SkyDrive Pro KB2825633
Security Office 2013 KB2817623
Office 2013 KB2760267
Visio Viewer 2013 KB2768338
Office 2013 KB2827230
OneNote 2013 KB2810016
Office 2013 KB2827228
Office 2013 KB2767845
Definition Office 2013 KB2760587
Office 2013 KB2726996
Security Office 2013 KB2810009
Office 2013 KB2817316
Word 2013 KB2817631
Lync 2013 KB2817621
Office 2013 KB2760224
Office 2013 KB2726954
Office 2013 KB2817640
Publisher 2013 KB2752097
PowerPoint 2013 KB2817625
Office 2013 KB2760257
Office 2013 KB2817309
Security Outlook 2013 KB2837618
Visio 2013 KB2752018
Office 2013 KB2817490
Word 2013 KB2827218
Office 2013 KB2760553
12/6/2013 (for Windows, all Security):
KB2900986
KB2888505
KB2876331
KB2868725
KB2868626
KB2862152
I listed all updates because there have been reported instances of a Word update causing Outlook to crash, but she is not getting the wwlib.dll error related to that KB. If you are aware of any issues with these updates, and which ones might be worth uninstalling
in an attempt to fix, please let me know.
Thanks again! -
I want to grant permissions to all domain users to view reports on our Report Server. Domain users are able to access our Report Server URL and folder, but when they click on a report item they get an error message:
"Cannot open database "ReportServer" requested by the login. The login failed. Login failed for user 'USER LOGON'"
I'm using windows authentication and configured the local service account in SSReportS Config Manager as the credentials to connect to the Report Server DB.
Can someone please help how I should properly do this step by step to give all domain users permissions to view a report in SSRS?
Thanks much! - Rookie DBAHi IWAR,
The error message "Cannot open database "ReportServer" requested by the login. The login failed. Login failed for user 'USER LOGON'" means the user 'USER LOGON' does not have permissions to access the "ReportServer" database.
To fix this issue, please verify that the user has a valid database user login. For more details, please refer to the following steps.
In SQL Server Management Studio, open Object Explorer and expand the Databases folder.
Expand the database in which to create the new database user.
Right-click the Security folder, point to New, and then click User.
On the General page, enter a name for the new user in the User name box.
In the Login name box, enter the name of a SQL Server login to map to the database user.
Click OK.
Reference:
http://technet.microsoft.com/en-us/library/ms156468(v=sql.105).aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Error while opening database studio in maxdb
Hi Experts,
I am having maxdb 7.8 and database studio AP MaxDB Database Studio,Version: 7.8.02.21,Build: 021-121-242-175
but when i am tying to open database studio it through
error message " problems opening perspective 'com.sap.sdb.ui.perspectives.mainperspective '
i was though it is coming due to old version of java then i have upgrade with 1.7 but problem is still there.
so please help me .....
Thanks
Naresh KK.Hi Naresh,
Basically MAXDB Database studio 7.8 requires JRE 1.6. You can do the following
Uninstall the Database Studio version.
1. To uninstall, call the installation manager 7.8 ("Programs -> SAP MaxDB -> Installation Manager").
2. Choose "Remove MaxDB Installation".
3. Under "Legacy", select the Database Studio version.
Selecting "Legacy" ensures that you do not select the Database Studio 7.8 that you have just installed for uninstallation.
4. Choose "Forward" to confirm that you want the system to remove the installation.
Due to the operation of the earlier Database Studio version, some processes may still run (for example, serv.exe). Stop these processes and continue with the 7.8 installation.
And then install JRE 1.6. Then delete the files in location c:\Users\<User>\sdb\DatabaseStudio (delete files .configuration, .metadata, p2) and then re-install MaxDB database studio.
Regards,
Deepak Kori -
Hi,
We update the BW landscape for version 7.4 suppport package 4 (whitout HANA).
We use a external system connection to extract data from a SQLServer database (Microsoft Connector 1.1 for SAP/BW)
In the previous version (BW 7.0.1 SP 10) run correctly, but now is in error.
Below the BW error log:
Error: COMMUNICATION_FAILURE with function RSB_API_OHS_3RDPARTY_NOTIFY and target system SQLIS.
Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679 Transaction program not regist).
Error log of Integrations Services
[SAP BI Destination 1 [476]] Error: Microsoft.SqlServer.Dts.SapBw.Connectivity.ERPException: An error occurred during the dispatch of the incoming function. The last return code was "RFC_FAILURE".
em Microsoft.SqlServer.Dts.SapBw.Components.SapBwSourceBWLoader.ProcessInput(Int32 inputID, PipelineBuffer buffer)
em Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "SAP BI Destination 1" (476) failed with error code 0x80131500 while processing input "SAP BI Destination Input" (491). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.
I checked the topic and notes below, but without success
CPIC Return Code 679 - Transaction Program not Registered - ABAP Connectivity - SCN Wiki
Note 1480644 - gw/acl_mode versus gw/reg_no_conn_info.
Note 353597 - Registering RFC server programs
Regards,
BrunoHi Bruno,
We were able to resolve the issue. SAP RDS is assisting us with our upgrade and one of their consultants gave us this fix/workaround.
Edit and add an entry into P:\usr\sap\<SID>\DVEBMGS00\data\reginfo.dat on your BW host server.
Below is the entry I added.
P TP=<NAME OF PROGRAM ID> HOST=<remote hostname where you creating the RFC to> CANCEL=<remote hostname> ACCESS=*
P TP=CTSAPNPSCI_PORTAL_FPS HOST=ctsapnpsci CANCEL=ctsapnpsci ACCESS=*
Then in BW system goto smgw > goto > Expert Funtions > External Security > ReRead ACL (N) & Globally
I hope that this works for you.
Regards
James -
Oracle forms 6i designer has stopeed working when opening canvas?
forms 6i
Hi to all,
i have facing one problem when opening form canvas.i get the error message like this "oracle forms 6i designer has stopeed working".
any one help please
Regards,
StevieHi
no os no db version not enough information ..!
Pls try to send adequate information Pls& look at the following thread this might help
connecting form 6i to oracle database 10G express edition
Amatu Allah
Maybe you are looking for
-
Ical displays Wednesday every day in Week and day view
Upgraded to SnowLeopard and added "calendar.app" from the app store, evr since ical displays "Wednesday" everyday in week and day views. Any ideas?
-
Gapless playback no longer working with the the latest version
Recently, after updating the app from Walkman to Music, gapless playback stopped working which is very annoying for me. Is there a way to get it to work again? I'm using Xperia Z3 Dual (D6633) running Android 5.0.2
-
Is WebDynpro ABAP a viable option?
Hi all Some generic questions, is WebDynpro ABAP a viable option? Can I suggest it to the customers? Is it a good practice to have UI and Business logic on the same server? Y are two strains of webdynpro one for ABAP and one for Java necessary? I hav
-
How do I convert .MSG files with their attachments to a .PDF?
These files were profiled in Hummingbird, then exported to Workshare, but it is not bringing the attachments with it. I work for a litigation firm that is needing 300 separate MS Outlook emails converted to a .PDF to bates label.
-
Hi All, Do we have a report in SAP were in i can see the minimum/maximum control of any Item specifies the point at which an item should be reordered (minimum stocking level) and a reorder quantity ceiling (maximum stocking level)?