(Sip2) couldn't start sip2
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. and running this command perl -d "/usr/share/koha/lib/C4/SIP/SIPServer.pm" "/etc/koha/sites/catalog/SIPconfig.xml" shows this UNIVERSAL->import is deprecated and will be removed in a future perl at /usr/share/koha/lib/C4/SIP/Sip/MsgType.pm line 22. at /usr/share/perl/5.14/UNIVERSAL.pm line 20. UNIVERSAL::import("UNIVERSAL", "can") called at /usr/share/koha/lib/C4/SIP/Sip/MsgType.pm line 22 Sip::MsgType::BEGIN() called at /usr/share/koha/lib/C4/SIP/Sip/MsgType.pm line 22 eval {...} called at /usr/share/koha/lib/C4/SIP/Sip/MsgType.pm line 22 require Sip/MsgType.pm called at /usr/share/koha/lib/C4/SIP/SIPServer.pm line 19 SIPServer::BEGIN() called at /usr/share/koha/lib/C4/SIP/Sip/MsgType.pm line 22 eval {...} called at /usr/share/koha/lib/C4/SIP/Sip/MsgType.pm line 22 SIPServer::(/usr/share/koha/lib/C4/SIP/SIPServer.pm:13): 13: require UNIVERSAL::require; We asking for any solutions that could help us??? thanks
* Abdulsalam Yousef (ayousef@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
participants (2)
-
Abdulsalam Yousef -
Chris Cormack