Project

General

Profile

Bug #746

Updated by Pierre-Louis Bonicoli over 1 year ago

Today Toushirou was restarted unexpectedly. It seems that this restart wasn't due a command.

The server was restarted after @Dec 13 10:07:03@ (UTC+1). I unlocked the encrypted encryption around 13h15 (UTC+1).

@syslog@ contains: contains
<pre>
Dec 13 10:06:52 Toushirou postfix/smtpd[1353160]: disconnect from <redacted> ehlo=2 starttls=1 mail=1 rcpt=1 bdat=1 quit=1 commands=7
Dec 13 10:07:03 Toushirou stunnel: LOG5[8632]: Connection closed: 182 byte(s) sent to TLS, 20 byte(s) sent to socket
@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
[...]
@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
Dec 13 13:18:38 Toushirou systemd-udevd[631]: Using default interface naming scheme 'v247'.
Dec 13 13:18:38 Toushirou systemd-udevd[630]: Using default interface naming scheme 'v247'.
Dec 13 13:18:38 Toushirou lvm[578]: 3 logical volume(s) in volume group "extra" monitored
</pre>

Thanks to GuiHome and Victor for letting me know that the NextCloud service was unavailable.

Once the server has been restarted there was an error with the hivane network link. Hence some service were unavailable. The nerim link worked.
unavailable:
<pre>
root@Toushirou:~# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● apache2.service loaded failed failed The Apache HTTP Server
● ifup@eth\x2dwan\x2dhivane.service loaded failed failed ifup for eth-wan-hivane
● matrix-appservice-irc.service loaded failed failed Matrix AppService IRC
● networking.service loaded failed failed Raise network interfaces
</pre>

<pre>
root@Toushirou:~# ifdown --force eth-wan-hivane
RTNETLINK answers: Cannot assign requested address
RTNETLINK answers: Cannot assign requested address
root@Toushirou:~# ifup --force eth-wan-hivane
Waiting for DAD... Timed out
ifup: failed to bring up eth-wan-hivane
</pre>

I remember the timed out issue occurred when the last time the server was moved from a rack to another. I tried the @ifdown@/@ifup@ commands several times (until the @Timed out@ disappeared).

The logs show that the timed out issue occurred at boot:
<pre>
Dec 13 13:18:45 Toushirou sh[1562]: Waiting for DAD... Timed out
Dec 13 13:18:45 Toushirou sh[1496]: ifup: failed to bring up eth-wan-hivane
</pre>

Next I restarted @apache2.service@ and @matrix-appservice-irc.service@, then I updated @/lib/systemd/system/lxd.socket@ in order to fix a typo:
<pre>Dec 13 15:48:22 Toushirou systemd[1]: /lib/systemd/system/lxd.socket:8: Unit must be of type service, ignoring: lxd.servcie
</pre>
After that i ran @systemctl daemon-reload@ and @lxc list@ then the redmine LXC container restarted.

At this time I tried to create this issue using redmine:https://projects.duckcorp.org/ but an issue occurred after i tried to authenticate: the redmine web interface showed an error: @"Cannot assign requested address - connect(2) for [2001:67c:1740:9001::c1c8:2ab1]:636"@.

The restart of the @slapd@ service (which was listening on IPv6 but not IPv4) fixed this issue.

Back