Forums » Enduro/X development »
TMS_ORA server does want to start (died)
Hi !
am trying to migrate a the an application from tuxedo to endurox whene i execute the xadmin start i got this result :
- Enduro/X back-end (ndrxd) is not running
- ndrxd PID (from PID file): 1220285
- ndrxd idle instance started.
exec cconfsrvk zg4jwE93 -i 1 -e /opt/tuxapp/log/cconfsrv.1.log -r -:
process id=1220287 ... Started.
exec cconfsrvk zg4jwE93 -i 2 -e /opt/tuxapp/log/cconfsrv.2.log -r -:
process id=1220288 ... Started.
exec tpadmsvk zg4jwE93 -i 3 -e /opt/tuxapp/log/tpadmsv.3.log -r -:
process id=1220312 ... Started.
exec tpadmsvk zg4jwE93 -i 4 -e /opt/tuxapp/log/tpadmsv.4.log -r -:
process id=1220313 ... Started.
exec tpevsrvk zg4jwE93 -i 5 -e /opt/tuxapp/log/tpevsrv.5.log -r -:
process id=1220337 ... Started.
exec tmsrvk zg4jwE93 -i 7 -e /opt/tuxapp/log/tmsrv.7.log -r -t1 -l /opt/tuxapp/tmlogs/rm8 :
process id=1220343 ... Started.
exec tmsrv -k zg4jwE93 -i 8 -e /opt/tuxapp/log/tmsrv.8.log -r -t1 -l /opt/tuxapp/tmlogs/rm8 :
process id=1220355 ... Started.
exec tmqueue -k zg4jwE93 -i 40 -e /opt/tuxapp/log/tmqueue.40.log -r -s1 -p10 -f10 :
process id=1220367 ... Started.
exec tmsrv -k zg4jwE93 -i 9 -e /opt/tuxapp/log/tmsrv.9.log -r -t1 -l /opt/tuxapp/tmlogs/rm2 ::
process id=1220400 ... Started.
exec entrysv -k zg4jwE93 -i 100 -e /opt/tuxapp/log/entrysv.log -
process id=1220435 ... Started.
exec entrysvk zg4jwE93 -i 101 -e /opt/tuxapp/log/entrysv.log -:
process id=1220436 ... Started.
exec entrysvk zg4jwE93 -i 102 -e /opt/tuxapp/log/entrysv.log -:
process id=1220437 ... Started.
exec entrysvk zg4jwE93 -i 103 -e /opt/tuxapp/log/entrysv.log -:
process id=1220461 ... Started.
exec entrysvk zg4jwE93 -i 104 -e /opt/tuxapp/log/entrysv.log -:
process id=1220485 ... Started.
exec TMS_ORA1k zg4jwE93 -i 12 -e /opt/tuxapp/log/TMS_ORA1.12.log -r -t1 -l /opt/tuxapp/tmlogs/rm5 :
process id=1220486 ... Died.
exec TMS_ORA1 -k zg4jwE93 -i 13 -e /opt/tuxapp/log/TMS_ORA1.13.log -r -t1 -l /opt/tuxapp/tmlogs/rm5 ::
process id=1220536 ... Died.
exec txlogsv -k zg4jwE93 -i 200 -e /opt/tuxapp/log/txlogsv.200.log -
process id=1220583 ... Started.
exec txlogsvk zg4jwE93 -i 201 -e /opt/tuxapp/log/txlogsv.201.log -:
process id=1220670 ... Started.
exec txlogsvk zg4jwE93 -i 202 -e /opt/tuxapp/log/txlogsv.202.log -:
process id=1220766 ... Started.
exec txlogsvk zg4jwE93 -i 203 -e /opt/tuxapp/log/txlogsv.203.log -:
process id=1220798 ... Started.
exec txlogsvk zg4jwE93 -i 204 -e /opt/tuxapp/log/txlogsv.204.log -:
process id=1220834 ... Started.
exec TMS_ORA1k zg4jwE93 -i 14 -e /opt/tuxapp/log/TMS_ORA1.14.log -r -t1 -l /opt/tuxapp/tmlogs/rm6 :
process id=1220906 ... Died.
exec TMS_ORA1 -k zg4jwE93 -i 15 -e /opt/tuxapp/log/TMS_ORA1.15.log -r -t1 -l /opt/tuxapp/tmlogs/rm6 ::
process id=1220985 ... Died.
exec txlogsv -k zg4jwE93 -i 300 -e /opt/tuxapp/log/txlogsv.300.log -
process id=1221068 ... Started.
exec txlogsvk zg4jwE93 -i 301 -e /opt/tuxapp/log/txlogsv.301.log -:
process id=1221106 ... Started.
exec txlogsvk zg4jwE93 -i 302 -e /opt/tuxapp/log/txlogsv.302.log -:
process id=1221136 ... Started.
exec txlogsvk zg4jwE93 -i 303 -e /opt/tuxapp/log/txlogsv.303.log -:
process id=1221196 ... Started.
exec txlogsvk zg4jwE93 -i 304 -e /opt/tuxapp/log/txlogsv.304.log -:
process id=1221226 ... Started.
exec tmrecoversvk zg4jwE93 -i 6 -e /opt/tuxapp/log/tmrecoversv.6.log -r --p -s10 :
process id=1221267 ... Started.
Startup finished. 25 processes started.
[@global/ORAGRP1]
NDRX_XA_RES_ID=5
NDRX_XA_OPEN_STR=ORACLE_XA+SqlNet=XE+ACC=P/tuxapp1/tuxapp11+SesTM=10+LogDir=/opt/tuxapp/log+Threads=true
NDRX_XA_CLOSE_STR=CLOSE_STR
- use built in switch resolver
NDRX_XA_DRIVERLIB=libndrxxatmsx.so
NDRX_XA_RMLIB=-
NDRX_XA_LAZY_INIT=1
NDRX_XA_FLAGS=RECON:*:3:100
NDRX_RTGRP=ORAGRP1
ndrxconfig:
<servers>
<server name="TMS_ORA1">
<min>2</min>
<max>2</max>
<srvid>12</srvid>
<sysopt>-e ${NDRX_ULOG}/TMS_ORA1.${NDRX_SVSRVID}.log -r</sysopt>
<appopt>-t1 -l ${NDRX_APPHOME}/tmlogs/rm5</appopt>
</server>
<server name="txlogsv">
<min>5</min>
<max>5</max>
<srvid>200</srvid>
<sysopt>-e ${NDRX_ULOG}/txlogsv.${NDRX_SVSRVID}.log</sysopt>
</server>
</servers>
any help please !
Replies (4)
RE: TMS_ORA server does want to start (died) - Added by Lauris 5 months ago
- Anything in /opt/tuxapp/log/TMS_ORA1.14.log ?
- are there any xa*trc files?
RE: TMS_ORA server does want to start (died) - Added by elmehdi 5 months ago
here is my TMS_ORA1.14.log:
N:NDRX:3:55917863:1146884:7ffff7fe2ec0:001:20240807:142122069942:atmi_xa_init:tmi/xa.c:0435:Parsing RECON tag... [RECON:*:3:100]
N:NDRX:2:55917863:1146884:7ffff7fe2ec0:001:20240807:142122069967:atmi_xa_init:tmi/xa.c:0505:XA flag: [RECON]: on xa_start ret codes: [,*,], recon number of 3 times, sleep 100000 microseconds between attempts
N:NDRX:2:55917863:1146884:7ffff7fe2ec0:001:20240807:142122088300:a_open_entry:tmi/xa.c:0600:atmi_xa_open_entry ret XAER_RMERR remapping to XAER_RMFAIL
N:NDRX:2:55917863:1146884:7ffff7fe2ec0:001:20240807:142122088311:a_open_entry:tmi/xa.c:0604:atmi_xa_open_entry - fail: -7 [resource manager unavailable]
N:NDRX:3:55917863:1146884:7ffff7fe2ec0:001:20240807:142122088321:rror_fmt_rsn:perror.c:0404:ndrx_TPset_error_fmt_rsn: 16 (TPERMERR) reason: -7 [atmi_xa_open_entry - fail: -7 [resource manager unavailable]]
N:NDRX:2:55917863:1146884:7ffff7fe2ec0:001:20240807:142122088356:tpsvrinit :/tmsrv.c:0659:xa_open failed
N:NDRX:2:55917863:1146884:7ffff7fe2ec0:001:20240807:142122089493:ndrx_main :rvmain.c:1200:tpsvrinit() fail
N:NDRX:2:55917863:1146884:7fffe9d8b700:000:20240807:142122089501:ound_process:ground.c:0565:***********BACKGROUND PROCESS START **
N:NDRX:2:55917863:1146884:7fffe9d8b700:002:20240807:142122098923:a_open_entry:tmi/xa.c:0600:atmi_xa_open_entry ret XAER_RMERR remapping to XAER_RMFAIL
N:NDRX:2:55917863:1146884:7fffe9d8b700:002:20240807:142122098933:a_open_entry:tmi/xa.c:0604:atmi_xa_open_entry - fail: -7 [resource manager unavailable]
N:NDRX:3:55917863:1146884:7fffe9d8b700:002:20240807:142122098938:rror_fmt_rsn:perror.c:0404:ndrx_TPset_error_fmt_rsn: 16 (TPERMERR) reason: -7 [atmi_xa_open_entry - fail: -7 [resource manager unavailable]]
N:NDRX:2:55917863:1146884:7fffe9d8b700:002:20240807:142122098943:_thread_init:/tmsrv.c:0115:Worker thread failed to tpopen() - nothing to do, process will exit
N:NDRX:3:55917863:1202450:7ffff7fe2ec0:001:20240807:155451183770:atmi_xa_init:tmi/xa.c:0435:Parsing RECON tag... [RECON:*:3:100]
N:NDRX:2:55917863:1202450:7ffff7fe2ec0:001:20240807:155451183795:atmi_xa_init:tmi/xa.c:0505:XA flag: [RECON]: on xa_start ret codes: [,*,], recon number of 3 times, sleep 100000 microseconds between attempts
N:NDRX:2:55917863:1202450:7ffff7fe2ec0:001:20240807:155451202892:a_open_entry:tmi/xa.c:0600:atmi_xa_open_entry ret XAER_RMERR remapping to XAER_RMFAIL
N:NDRX:2:55917863:1202450:7ffff7fe2ec0:001:20240807:155451202906:a_open_entry:tmi/xa.c:0604:atmi_xa_open_entry - fail: -7 [resource manager unavailable]
N:NDRX:3:55917863:1202450:7ffff7fe2ec0:001:20240807:155451202919:rror_fmt_rsn:perror.c:0404:ndrx_TPset_error_fmt_rsn: 16 (TPERMERR) reason: -7 [atmi_xa_open_entry - fail: -7 [resource manager unavailable]]
N:NDRX:2:55917863:1202450:7ffff7fe2ec0:001:20240807:155451202950:tpsvrinit :/tmsrv.c:0659:xa_open failed
N:NDRX:2:55917863:1202450:7ffff7fe2ec0:001:20240807:155451203951:ndrx_main :rvmain.c:1200:tpsvrinit() fail
RE: TMS_ORA server does want to start (died) - Added by Lauris 5 months ago
1) Have you created Oracle account as SqlNet=XE+ACC=P/tuxapp1/tuxapp11 ?
2) In directory: /opt/tuxapp/log see contents of xa*.trc files, written by Oracle DB
3) You can try to increase the log to ndrx=5, and boot again, maybe logs will have more details (to see where it connects).
4) Run test again then please attach all log files and all configuration files.
RE: TMS_ORA server does want to start (died) - Added by elmehdi 5 months ago
i didnt create users.
here is the content of xa_NULL08072024.trc :
ORACLE XA: Version 19.0.0.0.0. RM name = 'Oracle_XA'.
142121.1146437.4160630464.5:
ORA-12154: TNS:could not resolve the connect identifier specified
142121.1146437.4160630464.5:
xaolgn_help: XAER_RMERR; OCIServerAttach failed. ORA-12154.
ORACLE XA: Version 19.0.0.0.0. RM name = 'Oracle_XA'.
142121.1146437.3923293952.5:
ORA-12154: TNS:could not resolve the connect identifier specified
142121.1146437.3923293952.5:
xaolgn_help: XAER_RMERR; OCIServerAttach failed. ORA-12154.
Apparently i have to create new users tuxapp1 and tuxapp2. i will create the user and give you a feedback.
Thank you lauris
(1-4/4)