[Koha-bugs] [Bug 28122] Remove old syslog config from SIPconfig.xml
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Apr 14 10:25:59 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28122
--- Comment #3 from Magnus Enger <magnus at libriotech.no> ---
Hm, I wonder if there is another problem here. Given this config:
<server-params
min_servers='5'
min_spare_servers='0'
/>
<listeners>
<service
port="8027/tcp"
transport="RAW"
protocol="SIP/2.00"
timeout="360" />
<service
port="127.0.0.1:6001/tcp"
transport="RAW"
protocol="SIP/2.00"
client_timeout="360"
timeout="360" />
I get this output when the SIP2 server starts up:
2021/04/14-10:09:03 C4::SIP::SIPServer (type Net::Server::PreFork) starting!
pid(20848)
Resolved [*]:8027 to [::]:8027, IPv6
Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::]
IPv6
Binding to TCP port 8027 on host :: with IPv6
Binding to TCP port 6001 on host 127.0.0.1 with IPv4
IPv6 is probably not what we want here? If I update the server-params section
to this:
<server-params
min_servers='5'
min_spare_servers='0'
ipv='4'
/>
I get this:
2021/04/14-10:10:29 C4::SIP::SIPServer (type Net::Server::PreFork) starting!
pid(22340)
Binding to TCP port 6001 on host 127.0.0.1 with IPv4
Binding to TCP port 8027 on host * with IPv4
which is more in line with what I expect. The "ipv" setting is made avaiable by
Net::Server:
https://metacpan.org/pod/Net::Server#ipv-(IPv4-and-IPv6)
"IPv6 is now available under Net::Server. It will be used automatically if an
IPv6 address is passed, or if the ipv is set explicitly to IPv6, or if ipv is
left as the default value of IPv*. This is a significant change from version
2.004 and earlier where the default value was IPv4."
So maybe we need the release notes to say something like "Remove log_file,
syslog_ident and syslog_facility from the server-params config, and add ipv to
it"?
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list