We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-basis] SAPControl Command Fails Rather Hangs

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from Chetan on Jan 23 at 9:05 AM
I have a similar dev system which is updated to kernel 720, and the plan was the same for production where I see this problem.
the sapctl is related to hostagent and I see this same in dev system .

So have to revert back the kernel in prd.
this is a AIX /oracle.

Attached is the debug for dev and prd when I run sap control command.

mopa67:u8dadm 4> sapcontrol -nr 11 -debug -function GetEnvironment -trace /home/u8dadm/sapcontrol.trace
Tue Jan 21 11:32:55 2014
NiIInit: allocated nitab (2048 at 1107e26f0)
NiIHSBufInit: initialize hostname buffer (IPv4)
NiHLInit: alloc host buf (100 entries)
NiSrvLInit: alloc serv bufs (100 entries)
NiPGetNodeAddrList: got 2 interface(s) from operating system
[ 0-en2 ] IPv4-Address: 10.81.89.23 UP
[ 1-lo0 ] IPv4-Address: 127.0.0.1 UP
***LOG Q0I=> NiPGetServByName: 'sapctrl11' not found: getaddrinfo [niuxi.c 1814]
NiSrvLGetServNo: service name 'sapctrl11' not found by operating system
NiInit3: NI already initializes (init=1;cur
48)
addrinfo of 'localhost':
0: 127.0.0.1:0 'loopback' <unknown socket type 0> (0-2-0-0-16)
NiHLGetNodeAddr: got hostname 'localhost' from operating system
NiIGetNodeAddr: hostname 'localhost' = addr 127.0.0.1
NiIGetServNo: servicename '51113' = port 51113
NiICreateHandle: hdl 1 state NI_INITIAL_CON
NiILocalCheck: local loopback address: 127.0.0.1
NiIInitSocket: set default settings for new hdl 1/sock 4 (UD; ST)
NiIBlockMode: set blockmode for hdl 1 FALSE
NiITraceByteOrder: CPU byte order: big endian, network, high val..low val
NiIConnectSocket: hdl 1 is connecting to /tmp/.sapstream51113 (timeout=-1)
NiIConnectSocket: connection of hdl 1 established to /tmp/.sapstream51113
NiIConnect: state of hdl 1 NI_CONNECTED
NiIBlockMode: set blockmode for hdl 1 TRUE
NiIWrite: hdl 1 sent data (wrt=705,pac=1,RAW_IO)
Tue Jan 21 11:32:56 2014
NiIRead: hdl 1 received data (rcd=2770,pac=1,RAW_IO)


21.01.2014 11:32:56
GetEnvironment
OK


In production

mopf97:u8padm 77> pwd
/sapmnt/U8P/exe
mopf97:u8padm 78> sapcontrol_720 -nr 30 -debug -function GetEnvironment -trace /home/u8padm/sapcontrol.trace
Tue Jan 21 11:46:04 2014
NiIInit: allocated nitab (2048 at 1107e1330)
NiIHSBufInit: initialize hostname buffer (IPv4)
NiHLInit: alloc host buf (100 entries)
NiSrvLInit: alloc serv bufs (100 entries)
NiPGetNodeAddrList: got 2 interface(s) from operating system
[ 0-en6 ] IPv4-Address: 10.84.36.21 UP
[ 1-lo0 ] IPv4-Address: 127.0.0.1 UP
***LOG Q0I=> NiPGetServByName: 'sapctrl30' not found: getaddrinfo [niuxi.c 1814]
NiSrvLGetServNo: service name 'sapctrl30' not found by operating system
NiInit3: NI already initializes (init=1;cur
48)
addrinfo of 'localhost':
0: 127.0.0.1:0 'loopback' RAW (0-2-3-0-16)
NiHLGetNodeAddr: got hostname 'localhost' from operating system
NiIGetNodeAddr: hostname 'localhost' = addr 127.0.0.1
NiIGetServNo: servicename '53013' = port 53013
NiICreateHandle: hdl 1 state NI_INITIAL_CON
NiILocalCheck: local loopback address: 127.0.0.1
NiIInitSocket: set default settings for new hdl 1/sock 4 (UD; ST)
NiIBlockMode: set blockmode for hdl 1 FALSE
NiITraceByteOrder: CPU byte order: big endian, network, high val..low val
NiIConnectSocket: hdl 1 is connecting to /tmp/.sapstream53013 (timeout=-1)
NiIConnectSocket: connection of hdl 1 established to /tmp/.sapstream53013
NiIConnect: state of hdl 1 NI_CONNECTED
NiIBlockMode: set blockmode for hdl 1 TRUE
NiIWrite: hdl 1 sent data (wrt=705,pac=1,RAW_IO)


• *** thus in hanging here

---------------Original Message---------------
From: Chetan
Sent: Wednesday, January 22, 2014 11:50 PM
Subject: SAPControl Command Fails Rather Hangs

#sapcontrol -nr 30 -function GetEnvironment

will not proceed with any output, it hangs, below is the debugmode.


sapcontrol_720 -nr 30 -debug -function GetEnvironment -trace /home/u8padm/sapcontrol.trace
Tue Jan 21 11:46:04 2014
NiIInit: allocated nitab (2048 at 1107e1330)
NiIHSBufInit: initialize hostname buffer (IPv4)
NiHLInit: alloc host buf (100 entries)
NiSrvLInit: alloc serv bufs (100 entries)
NiPGetNodeAddrList: got 2 interface(s) from operating system
[ 0-en6 ] IPv4-Address: 10.84.36.21 UP
[ 1-lo0 ] IPv4-Address: 127.0.0.1 UP
***LOG Q0I=> NiPGetServByName: 'sapctrl30' not found: getaddrinfo [niuxi.c 1814]
NiSrvLGetServNo: service name 'sapctrl30' not found by operating system
NiInit3: NI already initializes (init=1;cur
48)
addrinfo of 'localhost':
0: 127.0.0.1:0 'loopback' RAW (0-2-3-0-16)
NiHLGetNodeAddr: got hostname 'localhost' from operating system
NiIGetNodeAddr: hostname 'localhost' = addr 127.0.0.1
NiIGetServNo: servicename '53013' = port 53013
NiICreateHandle: hdl 1 state NI_INITIAL_CON
NiILocalCheck: local loopback address: 127.0.0.1
NiIInitSocket: set default settings for new hdl 1/sock 4 (UD; ST)
NiIBlockMode: set blockmode for hdl 1 FALSE
NiITraceByteOrder: CPU byte order: big endian, network, high val..low val
NiIConnectSocket: hdl 1 is connecting to /tmp/.sapstream53013 (timeout=-1)
NiIConnectSocket: connection of hdl 1 established to /tmp/.sapstream53013
NiIConnect: state of hdl 1 NI_CONNECTED
NiIBlockMode: set blockmode for hdl 1 TRUE
NiIWrite: hdl 1 sent data (wrt=705,pac=1,RAW_IO)

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2014 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
Chetan  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language