[Pkg-giraffe-maintainers] Bug#947040: kopano-core: PIDFILE in /etc/init.d/kopano-* does not match /etc/kopano/*.cfg
Carsten Schoenert
c.schoenert at t-online.de
Thu Dec 19 20:11:57 GMT 2019
Hello Albert,
Am 19.12.19 um 12:43 schrieb Albert:
> When configuring kopano, I needed to restart the server to activate the new
> configuration. I did a:
>
> systemctl restart kopano-server
>
> I noticed the following messages in /var/log/syslog:
>
> Dec 19 11:04:42 defiant systemd[1]: Stopping LSB: Kopano Collaboration
> Platform's Storage Server...
> Dec 19 11:04:42 defiant kopano-server[4728]: Stopping Kopano server: kopano-
> serverNo /usr/sbin/kopano-server found running; none killed.
> Dec 19 11:04:42 defiant kopano-server[4728]: failed!
> Dec 19 11:04:42 defiant systemd[1]: kopano-server.service: Succeeded.
> Dec 19 11:04:42 defiant systemd[1]: Stopped LSB: Kopano Collaboration
> Platform's Storage Server.
> Dec 19 11:04:42 defiant systemd[1]: kopano-server.service: Found left-over
> process 1506 (kopano-server) in control group while starting unit. Ignoring.
> Dec 19 11:04:42 defiant systemd[1]: This usually indicates unclean termination
> of a previous run, or service implementation deficiencies.
> Dec 19 11:04:42 defiant systemd[1]: Starting LSB: Kopano Collaboration
> Platform's Storage Server...
> Dec 19 11:04:43 defiant kopano-server[4744]: Starting kopano-server version
> 8.7.0 (pid 4744 uid 0)
> Dec 19 11:04:43 defiant kopano-server[4744]: Unable to bind to port 236:
> Address already in use. This is usually caused by another process (most likely
> another server) already using this port. This program will terminate now.
>
> In the end the 'old' kopano-server kept running, while the 'one' terminated due
> to 'unable to bind port 236'.
>
>
> Searching for the source of this problem, I found that the PIDFILE directives
> in /etc/init.d/kopano-* are not consistent with the ones used in
> /etc/init.d/kopano-*.
>
> My problem was locally solved by changing /etc/init.d/kopano-* and running
> 'systemctl daemon-reload'.
>
> In my opinion others can benefit if this change is integrated in the kopano-
> package.
we had several bug reports about this or similar issues. Your report
sounds like https:/bugs.debian.org/924569
There is currently version 8.7.0-5 in testing which needs to get into
the next point release of Debian buster. I'm quite sure your problem is
solved within the modifications we have added to that version.
You might want to look at the modifications since 8.7.0-3 within our
packaging repository on Salsa.
https://salsa.debian.org/giraffe-team/kopanocore/commits/debian/sid
If you are willing to test this version I can provide some packages.
--
Regards
Carsten Schoenert
More information about the Pkg-giraffe-maintainers
mailing list