dear chris, Thanks for your reply, the OS we use is Ubuntu. should i follow the instruction still? thanks in advance junsiang On Mon, Jan 18, 2016 at 3:31 AM, Chris Cormack <chrisc@catalyst.net.nz> wrote:
* TIN JUN SIANG郑俊祥 (jstin@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.
Hi
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
eg
sudo koha-enable-sip mylibrary
The config file will then be in /etc/koha/sites/instancename/SIPconfig.xml Edit it if you need to
Then
sudo koha-start-sip instancename
To start it the first time, it will then start on reboot etc automatically
Hope this helps
Chris
-- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand