[Koha] (Sip2) couldn't start sip2

Chris Cormack chrisc at catalyst.net.nz
Mon Sep 8 07:58:34 NZST 2014


* Abdulsalam Yousef (ayousef at kwareict.com) wrote:
> Hello all,
> We have a problem when trying to run Sip2 using this command
> 
> perl -I./ ./SIPServer.pm ./SIPServer.xml >~/sip_log.out 2>~/sip_log.err &
> 
> the log file called sip_log.err shows this error
> 
> END SIPServer config.
> Bad arg length for Socket::unpack_sockaddr_in, length is 28, should be 16
> at /usr/local/lib/perl/5.14.2/Socket.pm line 830.
> 

Its Socket.pm having trouble with an IPv6 address.

In your SIPConfig.xml (or in your case SIPServer.xml) where you have the port="6001/tcp" (or whatever
port you have) make it be

  port="123.456.7.89:6001/tcp"

(Or whatever IP you want it to bind on)

Chris


-- 
Chris Cormack
Catalyst IT Ltd.
+64 4 803 2238
PO Box 11-053, Manners St, Wellington 6142, New Zealand


More information about the Koha mailing list