Re: [Koha] (Sip2) couldn't start sip2

2015-02-01 Thread schnydszch
Thanks for the reply off list regarding amazon servers and SIP. Don't forget
to restart the sip server through koha-stop-sip and koha-start-sip (in
Debian package) so that the settings edited in SIPconfig.xml will take
effect. This one took me time when I was configuring our Koha ILS server to
make SIP work. 



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Sip2-couldn-t-start-sip2-tp5810936p5827029.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] (Sip2) couldn't start sip2

2014-09-12 Thread Abdulsalam Yousef
Hi Chris and All,
I tried your suggestion several times by changing this line
port=127.0.0.1:6001/tcp http://176.34.249.176:6001/tcp

to

port=176.34.249.176:6001/tcp

where 176.34.249.176  http://176.34.249.176:6001/tcpis our ip address

also we use Amazon EC2 instance
port 8023  6001 is alresdy opened on our server

also there is no any typo in the file SIPconfig.xml
i used the default SIPconfig.xml file coming with koha instead of our
SIPconfig.xml
 file to be sure that there's no typo
only i changed


port=127.0.0.1:6001/tcp http://176.34.249.176:6001/tcp

to

port=176.34.249.176:6001/tcp


it gives us the same result that couldn't connect to the server
by using

telnet 176.34.249.176 http://176.34.249.176:6001/tcp 8023

or
telnet 127.0.0.1 http://176.34.249.176:6001/tcp 8023

or
telnet localhost 8023

the result is

Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

and sometimes it gives us

Trying ::1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

is there any modifications in perl modules or other any files

thanks
http://176.34.249.176:6001/tcp

On Mon, Sep 8, 2014 at 5:47 AM, Chris Cormack chr...@catalyst.net.nz
wrote:

 * Abdulsalam Yousef (ayou...@kwareict.com) wrote:
  hi Chris
  I mean i've changed this line
 
port=127.0.0.01:6001/tcp
 
  to
 
port=123.456.7.89:6001/tcp

 That's not a real ip number, you need to set it to your actual ip number

 Chris

 
  in my SIPConfig.xml (or in my case SIPServer.xml)
  as you suggested.
  thanks
  ___
  Koha mailing list  http://koha-community.org
  Koha@lists.katipo.co.nz
  http://lists.katipo.co.nz/mailman/listinfo/koha

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

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] (Sip2) couldn't start sip2

2014-09-07 Thread Abdulsalam Yousef
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
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] (Sip2) couldn't start sip2

2014-09-07 Thread Chris Cormack
* Abdulsalam Yousef (ayou...@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
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] (Sip2) couldn't start sip2

2014-09-07 Thread Abdulsalam Yousef
hi Chris
I mean i've changed this line

  port=127.0.0.01:6001/tcp

to

  port=123.456.7.89:6001/tcp

in my SIPConfig.xml (or in my case SIPServer.xml)
as you suggested.
thanks
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] (Sip2) couldn't start sip2

2014-09-07 Thread Abdulsalam Yousef
i've already changed it my real ip #

like this


port=176.34.249.176:6001/tcp

On Mon, Sep 8, 2014 at 6:47 AM, Chris Cormack chr...@catalyst.net.nz
wrote:

 * Abdulsalam Yousef (ayou...@kwareict.com) wrote:
  hi Chris
  I mean i've changed this line
 
port=127.0.0.01:6001/tcp
 
  to
 
port=123.456.7.89:6001/tcp

 That's not a real ip number, you need to set it to your actual ip number

 Chris

 
  in my SIPConfig.xml (or in my case SIPServer.xml)
  as you suggested.
  thanks
  ___
  Koha mailing list  http://koha-community.org
  Koha@lists.katipo.co.nz
  http://lists.katipo.co.nz/mailman/listinfo/koha

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

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha