Bug 27163

Summary: SIP2 stopped working
Product: Koha Reporter: Vihaan Gupta <ujjwalguptax202>
Component: SIP2Assignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: colin.campbell, joonas.kylmala
Version: 20.11   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Vihaan Gupta 2020-12-07 08:28:34 UTC
after enabling the sip using this
cd /usr/share/koha/lib
export PERL5LIB=/usr/share/koha/lib
export KOHA_CONF=/etc/koha/sites/library/koha-conf.xml
perl -IC4/SIP/ -MILS C4/SIP/SIPServer.pm /etc/koha/SIPconfig.xml

after a while it stopped working and if again we use these command it will start but again it stopped whenever i reboot my system or few minutes wait any suggestion????
Comment 1 Joonas Kylmälä 2020-12-07 10:09:24 UTC
Do you have any clues why this might be, for example try to see sip-error.log or sip.log if there is any messages about any issues. We came across bug 27151 which sometimes kills/stops the sip2 server for us.
Comment 2 Vihaan Gupta 2020-12-07 11:03:16 UTC
(In reply to Joonas Kylmälä from comment #1)
> Do you have any clues why this might be, for example try to see
> sip-error.log or sip.log if there is any messages about any issues. We came
> across bug 27151 which sometimes kills/stops the sip2 server for us.

no but when i check the status of sip it show running but but when i use sip tool to check it not be able to connect until i again repeat these process

cd /usr/share/koha/lib
export PERL5LIB=/usr/share/koha/lib
export KOHA_CONF=/etc/koha/sites/library/koha-conf.xml
perl -IC4/SIP/ -MILS C4/SIP/SIPServer.pm /etc/koha/SIPconfig.xml

if i run these command its working fine for some time but after that same issue occured and when i check sip status for instance it shows running
Comment 3 Joonas Kylmälä 2020-12-07 11:09:45 UTC
Ok, please figure out first why koha-sip --enable <instance> and koha-sip --start <instance> doesn't work – otherwise it is quite difficult to help if you have custom procedure to starting the server.
Comment 4 Vihaan Gupta 2020-12-07 12:26:18 UTC
(In reply to Joonas Kylmälä from comment #3)
> Ok, please figure out first why koha-sip --enable <instance> and koha-sip
> --start <instance> doesn't work – otherwise it is quite difficult to help if
> you have custom procedure to starting the server.

koha-sip --start library not working thats why i use the manual way to start sip but it not possible to cause after a while it stopped working
Comment 5 Joonas Kylmälä 2020-12-10 12:07:09 UTC
Discussion has moved to bug 27169, marking this as duplicate.

*** This bug has been marked as a duplicate of bug 27169 ***