cancel
Showing results for 
Search instead for 
Did you mean: 

Background Job is not running in KW

Former Member
0 Kudos

Hi All,

I have problem with background job.

I am working on Knowledge warehouse server.

And I am scheduling background job to upload contents.

But background job is not finishing at proper time.

And while displaying trace it is giving following error.

      • ERROR => BtcCleanUp: BtcLgAp-call failed (rc = 4) [btcjcntl.c 1251]

Please help me to resolve this.

Regards,

Payal patel

Accepted Solutions (1)

Accepted Solutions (1)

JPReyes
Active Contributor
0 Kudos

Hi Payal,

Do you have BTC processes available??... if the status of the BTC process is stopped just click on Process -> restart after error -> Yes

regards

Juan

Former Member
0 Kudos

Hi Juan,

I have tried with process as well as instance restart.

It didn't help me.

Hi Santosh,

Following is the part of trace file (level -2).

First line shows error.

Tell me if you need any other log file.

-


L *** ERROR => BtcCleanUp: BtcLgAp-call failed (rc = 4) [btcjcntl.c 1251]

M read msgserver-list from MBUF

M ThSemRq (4, 1, 0, 0)

M ThSemRel (4, 1)

M ThSetBtcName: found batch server sapbl4_KW7_00

M ThScheduler2: server name: sapbl4_KW7_00

M ThISendMsg: send message (5) to server (wp) with name >sapbl4_KW7_00 <

M ThISndName: send to name: >sapbl4_KW7_00 <

M ThISend: (tm/type/info = 10/0x2000/0x0, mode_deleted=0)

M ThRqOutCheck: o.k.

M abap strategy ROLL / O.K.

M ThNewWpStat (type=0x2000, task_switch=0, inline_hold=0, hand_shake=0, debug=0, ..)

M ThNewWpStat: new state of T10/M0 = 0x3c

M ThISend: new wp stat: 0x0

M Adresse Offset Message by name (one way)

M -


M 06C60600 000000 00000000 05000000 255f4556 454e545f |........%_EVENT_|

M 06C60610 000016 53434845 44554c45 52202020 20202020 |SCHEDULER |

M -


M ThMkReq: send output to canceled mode

M make DISP owner of wp_ca_blk 180

M DpRqPutIntoQueue: put request into queue (reqtype 0, prio LOW, rq_id 19358)

M -OUT- sender_id WORK_PROCESS tid 10 wp_ca_blk 180 wp_id 10

M -OUT- action SEND_MSG_ONEWAY uid 11 appc_ca_blk -1 type NOWP

M -OUT- new_stat NO_CHANGE mode 0 len 268 rq_id 19358

M -OUT- forward DIA

M -OUT- req_info CANCELMODE MSG_WITH_REQ_BUF MSG_WITH_OH

M nihsl-getHostAddr: got hostname 'localhost' from operation system

M nihsi-getHostAddr: hostname 'localhost' = addr 127.0.0.1

M nihsl-getServNo: got servicename 'sapdp00' from operation system

M nihsi-getServNo: servicename 'sapdp00' = port 0C.80/3200

M NiIInitSocket: set default settings for socket 1196

M NiCreateHandle: state hdl 1 / socket 1196 NI_INITIAL

M NiIDgSend: init datagram send hdl 1 / socket 1196

M CPU byte order: little endian, reverse network, low val .. high val

M NiIDgSend: connect dgram to: host 127.0.0.1, port 0C.80/3200, fam 2 (low adr..high adr)

M NiIDgsend: sending on connected datagram-handle

M LOCK WP ca_blk 181

M ThResFree: free resources of U11 M0 I2 (normal mode, complete free) at level 3, errno=23, db_action=TH_DB_NO_ACTION, pooling=1

M ThResFree: reset spa state for user T10/U11/M0

M ThCallHooks: call hook >RtmClearSession< for event BEFORE_SESSION_CANCEL

M ThCallHooks: call hook >HttpClearSession< for event BEFORE_SESSION_CANCEL

M ThCallHooks: call hook >SpoolHandleHook< for event BEFORE_SESSION_CANCEL

M SosSearchAnchor: search anchor for 2

M PfStatDisconnect: disconnect statistics

M ThDealComm: del 1 cpic conn(s) of T10/U11/M0 (errno/deal_r2/free_level = 23/1/3)

M ThCPICFree: send DEAL to U11/M0

M ThICMDEAL (14030609, ..)

M ThCPIC: execute cpic func DEALLOCATE

M ThCPIC: last_ftype/last_timeout/last_requested_length/last_receive_data 1/-1/-1/0

M ThCPIC: allowed rq_type of T10/M0 = TH_APPC_RC_RQ

M ThConnectToLocGw: connect to local gateway

M GwConnectSapWp: connect to gateway >localhost< >sapgw00<

M nihsl-getHostAddr: found hostname 'localhost' in cache

M nihsi-getHostAddr: hostname 'localhost' = addr 127.0.0.1

M nihsl-getServNo: got servicename 'sapgw00' from operation system

M nihsi-getServNo: servicename 'sapgw00' = port 0C.E4/3300

M NiCreateHandle: state hdl 2 / socket -1 NI_INITIAL

M NiIBlockMode: switch off block-mode for hdl 2 / socket -1

M NiLowLevCon: connect to: host 127.0.0.1, port 0C.E4/3300, fam 2 (low adr..high adr)

M NiIInitSocket: set default settings for socket 1140

M NiISocket: hdl 2 got socket 1140

M NiPConnect: connect in progress

M SiPeekPendConn: connection of socket 1140 established

M NiLowLevCon: took local port 0E.51/3665

M nilh-localCheck: using local address list

M NiSetStat: state hdl 2 NI_CONNECTED

M NiIWrite: write 64, 1 packs, MESG_IO, hdl 2, data complete

M NiIPeek: peek successful for hdl 2 / socket 1140 (r)

M NiIRead: read 64, 2 packs, MESG_IO, hdl 2, data complete

M GwConnectSapWp: connect to gateway localhost / sapgw00 (pid = 6184) o.k.

M ThISend: (tm/type/info = 10/0x80/0x0, mode_deleted=0)

M ThRqOutCheck: o.k.

M abap strategy ROLL / O.K.

M ThNewWpStat (type=0x80, task_switch=0, inline_hold=0, hand_shake=0, debug=0, ..)

M ThNewWpStat: new state of T10/M0 = 0x3c

M ThISend: new wp stat: 0x0

Regards,

Payal Patel

Message was edited by:

Payal Patel

Former Member
0 Kudos

Hello Payal ,

Did you check :

Note 767673 - Job no longer in work process has 'Active' status

Regards ,

Santosh Karadkar

Former Member
0 Kudos

Hi Santosh,

I checked that note, but that too didn't help in this condition.

Regards,

Payal Patel

Message was edited by:

Payal Patel

Former Member
0 Kudos

Hello Payal,

You mentioned:

Hi Juan,

I have tried with process as well as instance restart.

It didn't help me.

Is the job occupying work process even after instance restart?

Regards.

Ruchit.

Former Member
0 Kudos

Hi Ruchit,

No it doesn't occupy work-process.

After instance restart- If I am trying to schedule the job, same thing is being repeated.

One more thing I came to know.

I had configured SLD on this server 2 days ago.

And right now in trace file it is giving SLD_NUC is not registered program, whereas SLD_NUC RFC is running properly.

I had done setting in RZ20 for SLD.

and now I want to get rid of this thing. I don't need SLD configuration so i want to remove it.

Can you help me deactivating the setting of RZ20??

Regards,

Payal patel

Former Member
0 Kudos

Hello Payal,

Two things:

1. Is the job log showing anything. Check in Sm37.

2. Set an ST05 sql trace on the workprocess and see what is output.

Also for SLD I guess you are mentioning RZ70?

Regards.

Ruchit.

Former Member
0 Kudos

Hello Payal,

Also check in Sm21 and ST22 for any related entires.

Also at the same time try to just take a small sample of data to be uploaded and try to upload it using background method. See if that works.

Regards.

Ruchit.

Former Member
0 Kudos

Hi Ruchit,

I have deleted jobs from RZ70 and now problem is solved.

Thanks a lot all weho had tried to help me for this problem.

Regards,

Payal patel

Former Member
0 Kudos

Oh!! so it was RZ70 in the end )

Regards.

Ruchit.

Former Member
0 Kudos

Ya and that SLD configuration was just R&D.

Server doesn't need it.

I guess i will think 1000 time before doing R&D on such servers.

Answers (2)

Answers (2)

Former Member
0 Kudos

what is the current patch level of your system i.e details of SPAM??

Former Member
0 Kudos

Hi Vinod,

Cuurent status:

SAP_ABA - 640 - 0017

SAP_BASIS - 640 - 0017

PI_BASIS -2004_1_640 - 0010

SAP_BW -350 - 0013

Regards,

Payal Patel

Former Member
0 Kudos

When I am checking the status in Sm66.

It is giving stopped status.

Please suggest something even if it is not solution.

It is really urgent.

Regards,

Payal Patel

Former Member
0 Kudos

Hello Payal ,

Can you check the relevent error / warning in dev_w* files ?

Regards ,

Santosh