https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28122
--- Comment #1 from Magnus Enger <[email protected]> --- Created attachment 119431 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119431&action=edit Bug 28122 - Remove old syslog config from SIPconfig.xml Bug 15253 added logging based on log4perl for SIP2, replacing the old logging to syslog. It seems that the remnants of the old syslog config makes the SIP2 server not run properly. To reproduce: - Create a site called e.g. siptest: $ sudo koha-create --create-db siptest - Verify that /etc/koha/sites/siptest/log4perl.conf has a section for SIP: log4perl.logger.sip = DEBUG, SIP log4perl.appender.SIP=Log::Log4perl::Appender::File log4perl.appender.SIP.filename=/var/log/koha/siptest/sip.log log4perl.appender.SIP.mode=append log4perl.appender.SIP.layout=PatternLayout log4perl.appender.SIP.layout.ConversionPattern=[%d] [%p] %m %l %n log4perl.appender.SIP.utf8=1 - Enable and start the SIP2 server: $ sudo koha-sip --enable siptest $ sudo koha-sip --start siptest - Use ps to check if the SIP server is actually running: $ ps aux | grep SIPServer If the output does not contain a line like this: "perl /usr/share/koha/lib/C4/SIP/SIPServer.pm /etc/koha/sites/siptest/SIPconfig.xml" it means the actual SIP2 server is not running To test: - Apply this patch - If you are on a dev setup (e.g. kohadevbox), copy the log4perl template to the standard location: $ sudo cp kohaclone/debian/templates/log4perl-site.conf.in \ /etc/koha/log4perl-site.conf.in - Create another site and check the output from ps again. If it contains one or more lines like "perl SIPServer.pm SIPconfig.xml" that means the server is actually running You can also check if the server is running properly by talking to it over telnet: $ telnet localhost <port number from SIPconfig.xml> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
