cancel
Showing results for 
Search instead for 
Did you mean: 

AS JAVA can not be started - ERROR => NiIBindSocket: SiBind failed

Former Member
0 Kudos

Hello experts,

we have installed a new BI 7.0 Ehp1 with seperate stacks , the JAVA instance (DE6) can not be started, the message server can not connect because of this message

[Thr 1] Thu Jan 14 19:37:51 2010

[Thr 1] WLM Tag 'DE6/MSG' successfully set for this process

[Thr 1] MsSSetTrcLog: trc logging active, max size = 20971520 bytes

systemid 324 (IBM RS/6000 with AIX)

relno 7010

patchlevel 0

patchno 11

intno 20020600

make: multithreaded, Unicode, 64 bit, optimized

pid 1511564

[Thr 1] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 1511564) [msxxserv_mt. 1853]

[Thr 1] SigISetDefaultAction : default handling for signal 20

[Thr 1] ***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3239]

[Thr 1] *** ERROR => NiIBindSocket: SiBind failed for hdl 0 / sock 6

(SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:3905) [nixxi.cpp 3239]

[Thr 1] *** ERROR => MsSCommInit: NiBufListen(3905) (rc=NIESERV_USED) [msxxserv_mt. 10212]

[Thr 1] *** ERROR => MsSInit: MsSCommInit (internal) [msxxserv_mt. 1903]

[Thr 1] *** ERROR => main: MsSInit [msxxserv_mt. 5974]

[Thr 1] ***LOG Q02=> MsSHalt, MSStop (Msg Server 1511564) [msxxserv_mt. 6021]

dev_ms: END

I understant that the port 3905 is in use, I had a look to the file "services" and add the line

sapmsDE6 3905/tcp

in the file there is also

mupdate 3905/tcp # Mailbox Update (MUPDATE) protocol

I also saw in the file, that the message server for DE4 (ABAP Stack) is

sapmsDE4 3603/tcp and there is an entry

int-rcv-cntrl 3603/tcp # Integrated Rcvr Control

but there is no problem with it.

Do you think there is a conflict and I should change the port sapmsDE6 and put an other in the instance profile?

Thanks for your advise

Thibaud.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thanks for your help.

Thie solution was stopping all processes running under <sid>adm.

If this can not solve the problem, then delete the remaining .sapstream files in /tmp then the message server should be able to start well.

Now, I have other problems

Answers (3)

Answers (3)

canute
Explorer
0 Kudos

Hi,

We had the same problem in one of the Java instance server( linux)

-->the touch command didnt work in the /tmp/ folder. The disk has become read only.

touch: cannot touch `toto': Read-only file system

we found out due some disk problème, sap process couldn't write.

Once the file system problem was sorted, eveything works fine.


Former Member
0 Kudos

Hello Zachary,

As you suggested, I have done a netstat -an |grep 3905

tcp4 0 0 *.3905 . LISTEN

tcp 0 0 10.104.32.43.63905 . LISTEN

tcp4 0 0 10.104.32.43.63905 10.104.32.42.60353 CLOSE_WAIT

f10007000ac17408 stream 0 0 f100068034ba4420 0 0 0 /tmp/.sapstream3905

Do you have an idea what is the last line, can I delete it and how?

Regards,

Thibaud.

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Just rename your last line in /tmp directory and try gain but before you start again , check this port should be free.

Thanks

Sunny

former_member185954
Active Contributor
0 Kudos

Hello,

tcp4 0 0 *.3905 . LISTEN seems to be your problem, the port is probably being used by another NON - SAP Program.

Caution - do not remove any live sockets in the /tmp directory that will lock memory in shared memory area and you won't be able to start SAP even when you fix the problem.

I think it will be a good idea of changing the Message Server to a unused port, however great care has to be taken with JAVA instance in order to ensure that you have updated the change in all relevant parameters.

Please search on SAP notes for specific details about changing JAVA ports.

Regards,

Siddhesh

Former Member
0 Kudos

Thibaud,

I understant that the port 3905 is in use, I had a look to the file "services" and add the line
sapmsDE6	3905/tcp

I'm not sure if by "in use" you mean currently being used or defined.... Please execute a "netstat -a | grep 3905" and "netstat -a | grep sapmsDE6". This should show you if any other program is current bound to that port. If an application is already using the port when your server tries to bind to the port, there will be a problem.

Best Regards,

Zach