RMAN Hangs when executing
Hello friends,
I am running Oracle 9i R2 on RHEL4 32bit,
Hardware HP ProLiant servers
Just today i installed this setup, and database is doing fine.
Except of RMAN
When i run rman command on the UNix prompt... it just hangs. nothing comes out of it.
Neither do i see any error.. nor do i see any exit prompt. It just gets stuck after i type rman and hit enter.
Pls help.
I am putting up the entire content of the bash profile from the top to the bottom... just incase i messed up with something somewhere.
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
# Set the LD_ASSUME_KERNEL environment variable only for Red Hat 9,
# RHEL AS 3, and RHEL AS 4 !!
# Use the "Linuxthreads with floating stacks" implementation instead of NPTL:
export LD_ASSUME_KERNEL=2.4.1 # for RH 9 and RHEL AS 3
export LD_ASSUME_KERNEL=2.4.19 # for RHEL AS 4
# Oracle Environment
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/9.2.0
export ORACLE_SID=hp001
export ORACLE_TERM=xterm
# export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
export NLS_LANG=AMERICAN;
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
# Set shell search paths
export PATH=$PATH:$ORACLE_HOME/bin
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
export CLASSPATH
export PATH
unset USERNAME
Similar Messages
-
RMAN hangs when started at Linux command promp
Running 9.2.0.4 on Red Hat Linux 8.0. Has anyone experienced RMAN hang when "rman" entered at command prompt?
Thanks!Ah!!!! I think I had the same once! Use the linux command 'which rman' to determine what it is actually running! I bet it is some dodgy linux program instead. Change your PATH settings
-
Labview hangs when accessing dll
Im accessing an active x dll using labview 8.21. When we query the dll all parallel loops in labview hang until the dll returns. Is there a way to get around this behaivour?
HI,
I do not know if this will help, but there is an issue with the Call Function Library node in LabVIEW 8.2.1 and is posted in the LabVIEW 8.2.1 Readme help here:
If you configure a Call Library Function Node to call a LabVIEW DLL, place a checkmark in the Specify path on diagram checkbox on the Function page of the Call Library Function dialog box, and select Run in UI thread in the Thread control, LabVIEW hangs when executing the Call Library Function Node. To correct this problem, select Reentrant instead of Run in UI thread in the Thread
control. If you configure the Call Library Function Node to call a DLL
written in C with these same settings, LabVIEW works correctly.
I hope this helps,
Regards,
Nadim
Applications Engineering
National Instruments -
Labview OI executable hangs when started.
Hello,
Specs:
2 Systems running:
Dell Precision workstations 670
Windows 2000
Labview 6.1
TestStand 2.0.1
I have compiled the Labview custom Operator Interface (slightly modified) into an executable file (SPR_TSM.EXE) which I installed on each machine. However, on one of the machines when running the executable, the application just hangs at the initial "loading" screen without even displaying the window (just a white square). Then I need to end the process from the task manager. The only way I have found to run the application is to open the SeqEdit.exe (sequence editor) which in turns opens my application because of using the TestStandLVGUIRTS server (!?). The same application runs OK in the other system. I have tried in several user accounts and the problem persists even for users belonging to the ADMIN group. All permissions in the C: driver were set to FULL CONTROL for EVERYONE.
Please let me know what can else I do to solve this problem. Thanks for your help.Thanks very much for the info. It seems to be working, however not as I expected. For this machine I have the application (spr_tsm) running from a batch file that does:
spr_tsm /RegServer
spr_tsm
I tried just registering the application in the command prompt and then running the executable, but it still "hangs" when called from the shortcut. On all occasions I have confirmed that the TestStandLVGUIRTS is listed in the dcomcnfg screen.Another interesting note is that when uninstalling the application there is always an error "Write permission to the Registry denied, LABVIEW Server not unregistered" but it removes TesStandLVGUIRTS from the dcom list. Again, thanks a lot for the info! -
JVM hangs while executing a sql query
My JVM hangs while I try to execute an update query. I am using JDBC thin client and Oracle 9i as database. Can someone please suggest what could be wrong.
I have a serious problem regarding the usage of Prepared Statement.
I am working on J2EE based application with the application server as Oracle 9ias.We have mostly used Prepared in 0ur queries.But one our application got implemented we are facing some strange problems.The first instance was a web page was getting hanged and does not give any results.But this had worked fine in all our testing environment.We analysed the table which it uses and still no result.Finally we changed prepared statement to statement and the result page came within seconds.
The second instance is the main issue.Again a query is getting hanged when we try to process it through the web page.We again tested it by converting from prepared statement to statement and its coming within seconds.
Can someone give me some input.Is there any databse parameter that is controlling this prepared statement or statement. -
System hanging when i try to display or change or create a function module?
Hi Experts,
My system is hanging when i try to display or change or create a FM using SE37 transaction. I am able to execute SE37 transaction but when i give a FM name which is already existing, the system is getting hanged up. If i give a FM which is not present in the system and try to display it, it gives an error "FM does not exists". I have unistalled the SAP logon and reinstalled it again and restarted my system but still this problem is encountered.
Can any one please help me in this issue??
Thanks a lot in Advance!
Regards,
Lakshman.Hi Prasad,
Go to se38 transaction and look at UTILITIES-> Settings-> ABAP editor-> Change front-end editor to old(if it is new) and check once. Hope this solves your problem becuase this is what i have done for my problem and let me know whether the problem has been solved.
Regards,
Lakshman.
Edited by: lakshman reddy G on Mar 5, 2009 5:54 PM -
JNDI hanging when trying to BIND
We are currently having problems with our application hanging when it tries to obtain LDAP context. I have attached a thread dump. Once all the threads start hanging the weblogic server cannot do any work and needs to be restarted. Any help would be appreciatted.
I can make it happen by creating a load on the server.
Code snippet:
we call a static method to return us a context instance, context is not shared.
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://"+directoryHost+":"+directoryPort);
env.put(Context.SECURITY_PRINCIPAL, name);
env.put(Context.SECURITY_CREDENTIALS, password);
env.put(Context.REFERRAL,"follow");
DirContext ctx = new InitialDirContext(env);
return ctx;
Thread dump (there are a few threads like this)
"ExecuteThread: '36' for queue: 'default'" daemon prio=5 tid=0x2718c808 nid=0x77
c waiting on monitor [0x2852f000..0x2852fdc0]
at java.lang.Object.wait(Native Method)
- waiting on <55e31f0> (a com.sun.jndi.ldap.LdapRequest)
at com.sun.jndi.ldap.Connection.readReply(Connection.java:283)
- locked <55e31f0> (a com.sun.jndi.ldap.LdapRequest)
at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:310)
- locked <55e31d8> (a com.sun.jndi.ldap.LdapClient)
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:163)
- locked <55e31d8> (a com.sun.jndi.ldap.LdapClient)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2386)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:239)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.jav
a:74)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
60)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.jav
a:78)
at com.truecontext.wasabi.business.util.LDAPUtil.getContext(LDAPUtil.jav
a:318)
at com.truecontext.wasabi.business.devman.dao.SynchronizationProfileDAOi
Planet.getObjectsByFilter(SynchronizationProfileDAOiPlanet.java:562)
at com.truecontext.wasabi.business.devman.dao.SynchronizationProfileDAOi
Planet.getObjectsByFilter(SynchronizationProfileDAOiPlanet.java:544)
at com.truecontext.wasabi.business.devman.dao.SynchronizationProfileDAOi
Planet.findSynchronizationProfileDataByDeviceAndUser(SynchronizationProfileDAOiP
lanet.java:1319)
at com.truecontext.wasabi.business.devman.ejb.DeviceMgrEJB.findSynchroni
zationProfileDataByDeviceAndUser(DeviceMgrEJB.java:6502)
at com.truecontext.wasabi.business.devman.ejb.DeviceMgrEJB_fo5kg5_EOImpl
.findSynchronizationProfileDataByDeviceAndUser(DeviceMgrEJB_fo5kg5_EOImpl.java:7
010)
at com.truecontext.wasabi.business.devman.ejb.DeviceMgrSyncSessionEJB.fi
ndSynchronizationProfileDataByDeviceAndUser(DeviceMgrSyncSessionEJB.java:880)
at com.truecontext.wasabi.business.devman.ejb.DeviceMgrSyncSessionEJB_th
6b7o_EOImpl.findSynchronizationProfileDataByDeviceAndUser(DeviceMgrSyncSessionEJ
B_th6b7o_EOImpl.java:166)
at com.truecontext.wasabi.business.sync.ejb.SFSyncEngineEJB.beginSync(SF
SyncEngineEJB.java:1008)
at com.truecontext.wasabi.business.sync.ejb.SFSyncEngineEJB.doProcess(SF
SyncEngineEJB.java:867)
at com.truecontext.wasabi.business.sync.ejb.SFSyncEngineEJB.doProcess(SF
SyncEngineEJB.java:782)
at com.truecontext.wasabi.business.sync.ejb.SFSyncEngineEJB_62algz_EOImp
l.doProcess(SFSyncEngineEJB_62algz_EOImpl.java:199)
at com.truecontext.wasabi.presentation.sync.servlet.SFSyncListener.onMes
sage(SFSyncListener.java:352)
at com.truecontext.wasabi.presentation.sync.servlet.SFSyncListener.doPos
t(SFSyncListener.java:284)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5445)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:780)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3105)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2588)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
Environment:
iplanet directory server 5.1 Service Pack 2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_08-b03) (also tried 1.4.2)
OS Name Microsoft Windows 2000 Server
Version 5.0.2195 Service Pack 4 Build 2195
BEA Weblogic Server 7.0 sp2We are having the same problem as well and this has been reported else where as well.
We were able to reproduce this problem on the full blown Weblogic application, with a simple program which creates a large number of connection in quick succession - after a certain number of connections ( about 60), the client simply hangs! It turns out that this is a known problem with iPlanet 5.1 with SSL: http://www.openldap.org/lists/openldap-software/200205/msg00567.html
I have also posted this message to the Directory Server forum at Sun, but have not heard anything yet!
http://swforum.sun.com/jive/thread.jspa?threadID=46914&tstart=0
There have been quite a few other cases of this problem ( probably manifesting itself in other forms!)
http://forum.java.sun.com/thread.jsp?forum=51&thread=358357
Let me know if you come up with a solution to your problem -
Forms 9i/ DB 10g - Form Hangs when function is called
Using 9i Web Forms on 10g Database Linux O/S
I have the following function call in a form within a loop:
:nbt02_lentrn.nbt_txn_descr := fn_get_trans_descr(ls_app_area_code,ls_txn_type);
The function being called contains this code:
FUNCTION fn_get_trans_descr(ps_app_area_code IN VARCHAR2,
ps_txn_code IN VARCHAR2) RETURN VARCHAR2 IS
CURSOR cur_txn_descr IS
SELECT descr
FROM financial_trans_types
WHERE code = ps_txn_code
AND aparea_code = ps_app_area_code;
ls_txn_descr financial_trans_types.descr%TYPE;
BEGIN
OPEN cur_txn_descr;
FETCH cur_txn_descr INTO ls_txn_descr;
CLOSE cur_txn_descr;
Return(ls_txn_descr);
END;
When the call is executed, the form hangs after the OPEN command. I have checked the parameters for their values and successfully executed the cursor in SQL.
When I hardcode the function parameter values, the code executes successfully. Also, and perhaps most unusually, if I do either of the following before the function call, the code runs successfully:
ls_txn_type := ls_txn_type;
:nbt02_lentrn.nbt_txn_descr := fn_get_trans_descr(ls_app_area_code,ls_txn_type);
ls_txn_type := NVL(ls_txn_type,NULL);
:nbt02_lentrn.nbt_txn_descr := fn_get_trans_descr(ls_app_area_code,ls_txn_type);
I have also extracted the call and placed it into a different form where it works fine!
The variable ln_txn_type is populated via another call within the same loop. It's value alternates between null and a value for the record set.
The same code works fine Client/Server and although I have a solution, I'm not sure what the problem is! Does anyone have any clues?Hello - your problem actually looks similar in symptoms to one I hit just a couple of days ago (see my post 'Forms hangs when using result of an OUT parameter to do an Insert ' on July 19th.)
The problem I was having was if I had a variable which already had a value, then passed into an IN OUT parameter of a db stored proc, the proc set the value to null, and then I tried to use the variable in a table insert. The form would just hang completely. Like you, one workaround for the problem was to have a line like:
my_var := NVL(my_var,NULL);
to somehow 'fix' the variable before trying to use it further. Even though the variable seems null, and returns true for IF ... IS NULL, something had gone wrong with it that rendered it toxic to my form. This workaround should have no net effect, but it does somehow solve the problem. Like your problem, mine doesn't occur on client server, only on the newer version.
I hit this problem using Forms 10g904, against a 9i database. Having talked it over with Oracle support, I've tried doing the same thing using 10g Release 2, and the problem disappears, so Oracle have obviously fixed it somewhere between the two releases - I'm currently investigating intermediate Patch Sets.
Don't know if this is helpful, but all I can suggest is that you ensure you've applied the latest patchsets to your Forms (you can try it on the Builder first before patching your apps server installation.) If that doesn't do it, I'm guessing it's a case of use the workarounds, or go up to a higher version altogether of Forms.
Sorry not to have any more optimistic advice!
James -
Rsh hang when remote host halted
Solaris 8 on a sunblade 100. Running an rsh command to a remote box hangs when the remote box is killed with halt -q. The rsh command used to illustrate the fault is: rsh -l username hostname sleep 30
Looking into this, it seems the ndd parameter tcp_keepalive_interval was set to the default 7200000 (2 hours) so I changed it to the minimum of 10000 (10 seconds). Problem pesists. Looking further it seems that setsockopt needs to set SO_KEEPALIVE too. This needs to be done by the rsh internals, not by my command line as I have no knowledge of the underlying socket.
Searching this site tells me that this was a reported bug in previous versions of the OS, but not in SunOS5.8, check bug id 1075044
Any help would be appreciated, even if it is to suggest a workaround. I am sending the rsh from a popen in C. At the moment my whole application hangs forever if the remote box is killed.Solaris 8 on a sunblade 100. Running an rsh command
to a remote box hangs when the remote box is killed
with halt -q. The rsh command used to illustrate the
fault is: rsh -l username hostname sleep 30
Looking into this, it seems the ndd parameter
tcp_keepalive_interval was set to the default 7200000
(2 hours) so I changed it to the minimum of 10000 (10
seconds). Problem pesists. Looking further it seems
that setsockopt needs to set SO_KEEPALIVE too. This
needs to be done by the rsh internals, not by my
command line as I have no knowledge of the underlying
socket.
Searching this site tells me that this was a reported
bug in previous versions of the OS, but not in
SunOS5.8, check bug id 1075044
Any help would be appreciated, even if it is to
suggest a workaround. I am sending the rsh from a
popen in C. At the moment my whole application hangs
forever if the remote box is killed.Do you observe similar issue if there is a network failure
that happens inbetween the remote command executing.. -
Mail hangs when downloading messages from Exchange
I've had the problem of Mail hanging when downloading from Exchange 2007, though from time to time it all works fine, suggesting all the settings are correct. Sometimes it will all work after a few forced quit- restart cycles, but this isn't reliable. Following advice on this forum I've trimmed the number of messages on the server (to c. 3,500), to no effect, and have deleted the Envelope Index file (which did temporarily alleviate the problem, but issues returned 24 hours later).
I see several errors are reported to Console which suggest a communication problem with EWS, and in particular an "id" issue, ("id is malformed" and a illegal temporary id is being used online) though I have no idea what id this is, or whether I can influence it in any way. Here are three exemplars:
1)
04/01/2010 00:27:10 Mail[14116] * Assertion failure in -[EWSGateway resolvedIdStringForIdString:], /SourceCache/Message/Message-1077/MessageStores.subproj/EWSGateway.m:1548
Temporary ids should never be used while online. Got temp-e2dbcc09-254b-4f02-9a54-05e314cb0755.
0 Message 0x00007fff82691119 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
1 Message 0x00007fff8269107e -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
2 Message 0x00007fff825dcb68 -[EWSGateway resolvedIdStringForIdString:] + 186
3 Message 0x00007fff825da29d -[EWSDeleteItemsRequestOperation prepareRequest] + 380
4 Message 0x00007fff825f1f93 -[EWSRequestOperation executeOperation] + 60
5 Message 0x00007fff8269f347 -[MonitoredOperation main] + 229
6 Foundation 0x00007fff8800406d -[__NSOperationInternal start] + 681
7 Foundation 0x00007fff88003d23 ___startOperations_block_invoke2 + 99
8 libSystem.B.dylib 0x00007fff87cb0ce8 dispatch_call_block_andrelease + 15
9 libSystem.B.dylib 0x00007fff87c8f279 dispatch_workerthread2 + 231
10 libSystem.B.dylib 0x00007fff87c8ebb8 pthreadwqthread + 353
11 libSystem.B.dylib 0x00007fff87c8ea55 start_wqthread + 13
3)
04/01/2010 00:27:11 Mail[14116] * Assertion failure in -[EWSResponseOperation handleResponseMessage:withObject:], /SourceCache/Message/Message-1077/MessageStores.subproj/EWSResponseOperation.m: 420
Mail did something wrong: Id is malformed. on EWS response <EWSResponseOperation: 0x1168c57a0> (EXECUTING)
0 Message 0x00007fff82691119 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
1 Message 0x00007fff8269107e -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
2 Message 0x00007fff825f2eb2 -[EWSResponseOperation handleResponseMessage:withObject:] + 2295
3 Message 0x00007fff825f3592 -[EWSResponseOperation handleResponseMessages] + 240
4 Message 0x00007fff825f30a1 -[EWSResponseOperation executeOperation] + 69
5 Message 0x00007fff8269f347 -[MonitoredOperation main] + 229
6 Foundation 0x00007fff8800406d -[__NSOperationInternal start] + 681
7 Foundation 0x00007fff88003d23 ___startOperations_block_invoke2 + 99
8 libSystem.B.dylib 0x00007fff87cb0ce8 dispatch_call_block_andrelease + 15
9 libSystem.B.dylib 0x00007fff87c8f279 dispatch_workerthread2 + 231
10 libSystem.B.dylib 0x00007fff87c8ebb8 pthreadwqthread + 353
11 libSystem.B.dylib 0x00007fff87c8ea55 start_wqthread + 13
3)
04/01/2010 11:25:57 iCal[9798] deleting pending creates because the server failed to confirm their creation: (
"<NSManagedObject: 0x115cf0a50> (entity: ContactMapping; id: 0x1185962f0 <x-coredata://54D56B92-4C67-416D-8B08-A79AB7FDAF86/ContactMapping/p361> ; data: <fault>)",
"<NSManagedObject: 0x115c4e530> (entity: ContactMapping; id: 0x115ce7bc0 <x-coredata://54D56B92-4C67-416D-8B08-A79AB7FDAF86/ContactMapping/p362> ; data: <fault>)"
Any help very welcome!I finally called AppleCare again (after the first rep never got back to me), and we determined that somehow my Mail Rules had become corrupted. One of them (probably thanks to OmniFocus fiddling with my Mail rules) was caught in a loop that would keep repeating until it caused Mail to crash. I had to remove the "MessageRules.plist.backup" and "MessageRules.plist" files from my ~/Library/Mail folder, and then recreate all my rules, but that did the trick.
-
Process chain hangs when reaching AND process before Attribute Change Run
Hi Experts,
I have the following problem. For some reason my master data attribute process chain hangs when it reaches the AND process variant right before the Attribute Change Run. It does not go anywhere from that point.
Thank youhi AG,
if this is hanging daily at the same place without proceeding further, and with out giving the instance for the same. then the better way is to replace that AND process in the chain with the new AND process. and then check and activate ur chain. this wil solve ur problem.
if this is the first time that happend to u, then check the previous load status, if any of the load has failed and u didnt turned the status of the process then also this can happen. So please do check it and act accordingly. If u cannt find the resolution then please run ur changerun manually.
u can use RSPC_PRCESS_FINISH FM to convert the status of any process. for this u need to give instance and variant details. and then if u execute, then chain will continue further.
Hope this will help you.
thanks
Vishnu -
Concurrent Data Store (CDB) application hangs when it shouldn't
My application hangs when trying to open a concurrent data store (CDB) database for reading:
#0 0x0000003ad860b309 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
#1 0x00007ffff7ce67de in __db_pthread_mutex_lock (env=0x610960, mutex=100)
at /home/steve/ldm/package/src/Berkeley-DB/dist/../mutex/mut_pthread.c:318
#2 0x00007ffff7ce5ea5 in __db_tas_mutex_lock_int (env=0x610960, mutex=100,
nowait=0)
at /home/steve/ldm/package/src/Berkeley-DB/dist/../mutex/mut_tas.c:218
#3 0x00007ffff7ce5c43 in __db_tas_mutex_lock (env=0x610960, mutex=100)
at /home/steve/ldm/package/src/Berkeley-DB/dist/../mutex/mut_tas.c:248
#4 0x00007ffff7d3715b in __lock_id (env=0x610960, idp=0x0, lkp=0x610e88)
at /home/steve/ldm/package/src/Berkeley-DB/dist/../lock/lock_id.c:68
#5 0x00007ffff7da1b4d in __fop_file_setup (dbp=0x610df0, ip=0x0, txn=0x0,
name=0x40b050 "registry.db", mode=0, flags=1024, retidp=0x7fffffffdd94)
at /home/steve/ldm/package/src/Berkeley-DB/dist/../fileops/fop_util.c:243
#6 0x00007ffff7d70c8e in __db_open (dbp=0x610df0, ip=0x0, txn=0x0,
fname=0x40b050 "registry.db", dname=0x0, type=DB_BTREE, flags=1024,
mode=0, meta_pgno=0)
at /home/steve/ldm/package/src/Berkeley-DB/dist/../db/db_open.c:176
#7 0x00007ffff7d673b2 in __db_open_pp (dbp=0x610df0, txn=0x0,
fname=0x40b050 "registry.db", dname=0x0, type=DB_BTREE, flags=1024, mode=0)
at /home/steve/ldm/package/src/Berkeley-DB/dist/../db/db_iface.c:1146
I suspect that the database environment believes that another process has the database open for writing. This cannot be the case, however, as all applications that access the database do so via an interface library I wrote that registers a termination function via the atexit() system-call to ensure that both the DB and DB_ENV handles are properly closed -- and all previously-executed applications terminated normally.
The interface library opens the database like this (apparently, this forum doesn't support indentation, sorry):
int status;
Backend* backend = (Backend*)malloc(sizeof(Backend));
if (NULL == backend) {
else {
DB_ENV* env;
if (status = db_env_create(&env, 0)) {
else {
if (status = env->open(env, path,
DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL, 0)) {
else {
DB* db;
if (status = db_create(&db, env, 0)) {
else {
if (status = db->open(db, NULL, DB_FILENAME, NULL,
DB_BTREE, forWriting ? DB_CREATE : DB_RDONLY, 0)) {
else {
backend->db = db;
} /* "db" opened */
if (status)
db->close(db, 0);
} /* "db" allocated */
if (status) {
env->close(env, 0);
env = NULL;
} /* "env" opened */
if (status && NULL != env)
env->close(env, 0);
} /* "env" allocated */
if (status)
free(backend);
} /* "backend" allocated */
This code encounters no errors.
The interface library also registers the following code to be executed when any process that uses the interface library exits:
if (NULL != backend) {
DB* db = backend->db;
DB_ENV* env = db->get_env(db);
if (db->close(db, 0)) {
else {
if (env->close(env, 0)) {
else {
/* database properly closed */
As I indicated, all previously-executed processes that use the interface library terminated normally.
I'm using version 4.8.24.NC of Berkeley DB on the following platform:
$ uname -a
Linux gilda.unidata.ucar.edu 2.6.27.41-170.2.117.fc10.x86_64 #1 SMP Thu Dec 10 10:36:29 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
Any ideas?Bogdan,
That can't be it. I'm using a structured programming style in which the successful initialization of a cursor is ultimately followed by a closing of the cursor. There's only one place where the code does this and it's obvious that the cursor gets released.
I've also read the CDB section.
--Steve Emmerson -
SDM hang when try to deploy aii_adapter_jms_app from SP9
Hello Everyone,
I trying to apply SP9, when SDM try to apply SAPXIAF09_0-20000273.SCA and more specifically aii_adapter_jms_app have a long time (more than 2 hours) and I can't see any errors in any file (.out, .err, .log). I proceed closing SDM and restart the whole process but I can´t deploy the aii_adapter_jms_app.
Any idea???
Kinds regards,
CarlosDid you get any answer??
Mine is also hanging when deploying SAPXIAF10_P_1.SCA. the following is the error log.
... 13 more
#1.5#00306EF3A78F005600000009000035450003F28790E59207#1111088995604#/Applications/AdminConsole/ABAPConnector#sap.com/tcwebadministratoraba
pco#com.sap.sup.admin.connector.AbapConnectorLauncher#J2EE_GUEST#0####bc434030971d11d98c4700306ef3a78f#SAPEngine_Application_Thread[impl:3]_
19##0#0#Error#1#com.sap.sup.admin.connector.AbapConnectorLauncher#Plain###Cannot start ABAP Connector Listener. Please try to configure the
connection in ABAP Systems Management (Setup Local Connectivity).
java.rmi.RemoteException: com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method startListener.
at com.sap.sup.admin.connector.rfc.AbapConnectorObjectImpl0.startListener(AbapConnectorObjectImpl0.java:206)
at com.sap.sup.admin.connector.rfc.AbapConnector_Stub.startListener(AbapConnector_Stub.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy20.startListener(Unknown Source)
at com.sap.sup.admin.connector.AbapConnectorLauncher.contextInitialized(AbapConnectorLauncher.java:42)
at com.sap.engine.services.servlets_jsp.server.runtime.context.WebEvents.contextInitialized(WebEvents.java:45)
at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:112)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Caused by: java.lang.NullPointerException
at com.sap.sup.admin.connector.rfc.RfcRuntimeProxy.isListenerRuning(RfcRuntimeProxy.java:169)
at com.sap.sup.admin.connector.rfc.RfcRuntimeProxy.startListener(RfcRuntimeProxy.java:102)
at com.sap.sup.admin.connector.rfc.AbapConnectorBean.startListener(AbapConnectorBean.java:34)
at com.sap.sup.admin.connector.rfc.AbapConnectorObjectImpl0.startListener(AbapConnectorObjectImpl0.java:188) -
Why does the server hang while starting up or the "csdb recover" hang when it is run?
Sometimes after iPlanet Calendar Server crashes, the server hangs during
startup or the csdb
utility hangs when I execute the recover
command.
<P>
One possible solution is to delete all of the .share
files in the same directory as the
Calendar Server database. In most cases, the server will successfully start up
again.When you start up in Safe Mode various things aren't loaded at startup, Bob.
Have a thinbk about which of the following may be involved in your own case:
It forces a directory check of the startup volume.
It loads only required kernel extensions (some of the items in /System/Library/Extensions).
It runs only Apple-installed startup items (some of the items in /Library/StartupItems and /System/Library/StartupItems - and different than login items).
Mac OS X 10.4 Tiger only: It disables all fonts other than those in /System/Library/Fonts .
Mac OS X 10.4 Tiger only: It moves to the Trash all font caches normally stored in /Library/Caches/com.apple.ATS/(uid)/ , where (uid) is a user ID number such as 501.
Mac OS X 10.4 Tiger only: It disables any Login Items.
(from http://docs.info.apple.com/article.html?artnum=107392)
Have a look at http://docs.info.apple.com/article.html?artnum=106464 for some more possibilities.
You may find it worth while using System Prefernces/Accounts to creat a new admin user account and see if the problem persists with it. THis may help you narrow down the problem further.
Cheers
Rod -
Scode failure when executing test uuts
I'm getting an scode failure when executing the "test uuts" for my sequence. The station was working earlier so I'm not sure what happened. The test dialog starts then I get and error promt stating
Scode = 0xffffbc65
Description unknown type name '1'
error accessing item 'ModelOptions(1).NumTestSockets'
Has anyone seen this type of error before? I eneabled tracing and it looks like it hangs up at the "read model options defaults" dll.Hi Jblpep,
Which process model are you using, and have you modified the process model at all? If you have modified the process model, do you still have the original copy to see if the original process model still runs? If you do have the original and it does still run properly, I would recommend trying to diff your process model with the original NI process model to see if anything is different.
Pat P.
Software Engineer
National Instruments
Maybe you are looking for
-
Any tips on how to create pdf's on my mac will do I've installed Mountain Lion by the way and it's working great!
-
How to publish the private folder content to public folder?
Dear Experts, I am a biginer in SAP DMS. We are using EDMS as the front end for the DMS. When I log on to EDMS for the first time, it creates a private folder. I have created so many folders and created some documents as well. Now my question is, how
-
Printing List of Artists then Albums
Some time ago, I was able to obtain a nice list from iTunes of artists, followed by their albums. I am using iTunes 11 under OS 10.6.8, and I suspect this was an earlier version of iTunes. The format was: Artist Name Album 1 Album 2
-
Need download link for Photoshop Elements 12!
I have a serial number for Adobe Photoshop Elements 12, but I can't find a place where to download the software. All I get is Photoshop Elements 13. I tried the serial number for version 13, but it didn't work.
-
IPhone purchased a song all on its own...
I have an iPhone and I purchased a song (Default: "Count on Me") via the iTunes download on my iPhone. I saw the download start and put the iPhone down for a few seconds. When I picked up my iPhone it had downloaded the song I wanted but had also pur