Hi,
ja mit pct enter komme ich noch rein, htop sieht dann aber harmlos aus.
Alle (wichtigen) Dienste scheinen zu laufen (service DIENSTNAME status) aber bei restart von mysql wird dieser nicht neu gestartet. der Befehl hängt dann einfach, was mich glauben lässt, dass mysql vlt das Grundproblem ist, daran hängt ja auch so ziemlich alles andere...würde also passen.
In den Logs sehe ich nichts auffälliges, kompletter Neustart der VM behebt das Problem sofort.
Hier mal ein paar Auszüge, die vlt helfen können...
Logs auf dem ISPConfig Guest während des "Stop"-Backups der VM (auf dem Proxmox Host) und kurz danach bis zum Crash:
Code:
Das Image Backup ("Stop") wird angestoßen:
> Sep 11 03:07:54 ohoco-host vmunix: [716379.559693] fwbr101i0: port 1(fwln101i0) entered forwarding state
> Sep 11 03:07:54 ohoco-host vmunix: [716379.562144] vmbr1: port 1(fwpr101p0) entered disabled state
> Sep 11 03:07:54 ohoco-host vmunix: [716379.562207] vmbr1: port 1(fwpr101p0) entered blocking state
> Sep 11 03:07:54 ohoco-host vmunix: [716379.651293] eth0: renamed from veth4XJ8WV
> Sep 11 03:07:55 ohoco-host syslogd: exiting on signal 15
Das Backup wurde erfolgreich erstellt, die VM wieder hochgefahren:
> Sep 11 04:50:59 ohoco-host syslogd (GNU inetutils UNKNOWN): restart
> Sep 11 04:50:59 ohoco-host postfix-policyd: starting policyd v1.82
> Sep 11 04:51:01 ohoco-host postfix-policyd: connecting to mysql database: localhost
> Sep 11 04:51:01 ohoco-host postfix-policyd: mysql_real_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
> Sep 11 04:51:01 ohoco-host CRON[370]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
> Sep 11 04:51:02 ohoco-host postgrey[377]: Process Backgrounded
> Sep 11 04:51:02 ohoco-host postgrey[377]: 2017/09/11-04:51:02 postgrey (type Net::Server::Multiplex) starting! pid(377)
> Sep 11 04:51:02 ohoco-host postgrey[377]: Resolved [localhost]:10023 to [::1]:10023, IPv6
> Sep 11 04:51:02 ohoco-host postgrey[377]: Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4
> Sep 11 04:51:02 ohoco-host postgrey[377]: Binding to TCP port 10023 on host ::1 with IPv6
> Sep 11 04:51:02 ohoco-host postgrey[377]: Binding to TCP port 10023 on host 127.0.0.1 with IPv4
> Sep 11 04:51:02 ohoco-host postgrey[377]: Setting gid to "115 115"
> Sep 11 04:51:02 ohoco-host postgrey[377]: Setting uid to "110"
> Sep 11 04:51:02 ohoco-host postfix/policyd-weight[439]: policyd-weight 0.1.15 beta-2 started and daemonized. conf:/etc/policyd-weight.conf; GID:119 119 EGID:119 119 UID:115 EUID:115; taint mode: 0
> Sep 11 04:51:02 ohoco-host postfix/policyd-weight[439]: cache_query: start: calling spawn_cache()
> Sep 11 04:51:02 ohoco-host postfix/policyd-weight[440]: cache spawned
> Sep 11 04:51:03 ohoco-host mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql
> Sep 11 04:51:03 ohoco-host mysqld: 170911 4:51:03 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
> Sep 11 04:51:03 ohoco-host mysqld: 170911 4:51:03 [Note] /usr/sbin/mysqld (mysqld 5.5.57-0+deb8u1) starting as process 751 ...
> Sep 11 04:51:03 ohoco-host mysqld: 170911 4:51:03 [ERROR] An old style --language value with language specific part detected: /usr/share/mysql/english/
> Sep 11 04:51:03 ohoco-host mysqld: 170911 4:51:03 [ERROR] Use --lc-messages-dir without language specific part instead.
> Sep 11 04:51:03 ohoco-host mysqld: 170911 4:51:03 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
> Sep 11 04:51:03 ohoco-host mysqld: 170911 4:51:03 [Note] Plugin 'FEDERATED' is disabled.
> Sep 11 04:51:03 ohoco-host mysqld: 170911 4:51:03 InnoDB: The InnoDB memory heap is disabled
> Sep 11 04:51:03 ohoco-host mysqld: 170911 4:51:03 InnoDB: Mutexes and rw_locks use GCC atomic builtins
> Sep 11 04:51:03 ohoco-host mysqld: 170911 4:51:03 InnoDB: Compressed tables use zlib 1.2.8
> Sep 11 04:51:03 ohoco-host mysqld: 170911 4:51:03 InnoDB: Using Linux native AIO
> Sep 11 04:51:04 ohoco-host mysqld: 170911 4:51:04 InnoDB: Initializing buffer pool, size = 128.0M
> Sep 11 04:51:04 ohoco-host mysqld: 170911 4:51:04 InnoDB: Completed initialization of buffer pool
> Sep 11 04:51:04 ohoco-host mysqld: 170911 4:51:04 InnoDB: highest supported file format is Barracuda.
[...]
Und dann:
> Sep 11 04:55:22 ohoco-host vmunix: [722827.611920] device veth204i0 entered promiscuous mode
> Sep 11 04:55:23 ohoco-host vmunix: [722828.542077] audit: type=1400 audit(1505098523.362:112): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default-cgns" name="/dev/pts/" pid=29565 comm="mount" flags="rw, nosuid, noexec, remount, relatime"
Und danach war der Server glaube ich "down", denn im Syslog kommen nur noch MARKs
Ausserdem gibt es noch das hier an manchen Stellen:
Code:
Sep 11 04:55:22 ohoco-host vmunix: [722827.611920] device veth204i0 entered promiscuous mode
Sep 11 04:55:23 ohoco-host vmunix: [722828.542077] audit: type=1400 audit(1505098523.362:112): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default-cgns" name="/dev/pts/" pid=29565 comm="mount" flags="rw, nosuid, noexec, remount, relatime"
was mich dazu veranlasst hat, dass hier in der Datei
/etc/apparmor.d/lxc/lxc-default-cgns
auf dem Host hinzuzufügen (Quelle:
https://gist.github.com/gionn/7585324):
Code:
mount options=(rw, nosuid, noexec, remount, relatime, ro, bind)
Werde auch das Gefühl nicht los, das LXC noch nicht so weit ist...
Danke für Eure Hilfe
Sascha