[Koha] unable Fire up the SIPServer

Chris Cormack chrisc at catalyst.net.nz
Mon Jan 18 08:31:01 NZDT 2016

* TIN JUN SIANG郑俊祥 (jstin at chhs.edu.my) wrote:
> Dear,
> when i tried to fire up the sip server with the command below
>  perl C4/SIP/SIPServer.pm C4/SIP/SIPconfig.xml &
> or with this command
> perl -I./ ./SIPServer.pm ./SIPServer.xml
> i get the error message as below:
>  a Can't locate C4/Auth.pm in @INC (@INC contains:
> /usr/share/koha/lib/C4/SIP ./ /etc/perl /usr/local/lib/perl/5.14.2
> /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5
> /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at
> /usr/share/koha/lib/C4/SIP/Sip/MsgType.pm line 20.
> BEGIN failed--compilation aborted at
> /usr/share/koha/lib/C4/SIP/Sip/MsgType.pm line 20.
> Compilation failed in require at ./SIPServer.pm line 19.
> BEGIN failed--compilation aborted at ./SIPServer.pm line 19.


It looks to me like you have installed Koha using the debian packages?
If so, you do not need to start the SIP Server this way.

If so, what you want to do is run

sudo koha-enable-sip instancename


sudo koha-enable-sip mylibrary

The config file will then be in /etc/koha/sites/instancename/SIPconfig.xml
Edit it if you need to


sudo koha-start-sip instancename

To start it the first time, it will then start on reboot etc automatically

Hope this helps


Chris Cormack
Catalyst IT Ltd.
+64 4 803 2238
PO Box 11-053, Manners St, Wellington 6142, New Zealand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.katipo.co.nz/pipermail/koha/attachments/20160118/a953914c/attachment.sig>

More information about the Koha mailing list