|
malo66
Anmeldungsdatum: 24. August 2011
Beiträge: 893
|
Hi, seit dem Upgrade auf 25.04 treten anscheinend Probleme auf. Festmachen kann ich das zum Einen an Digikam, da hier die Datenbank nicht mehr gelesen werden kann und zum Anderen auch bei den Updates, wo folgende Meldung erscheint. sudo apt-get update && sudo apt-get dist-upgrade -V
OK:1 http://archive.ubuntu.com/ubuntu plucky InRelease
Holen:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
OK:3 http://archive.ubuntu.com/ubuntu plucky-backports InRelease
Holen:4 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [414 kB]
Holen:5 http://archive.ubuntu.com/ubuntu plucky-updates/main i386 Packages [223 kB]
Holen:6 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [253 kB]
Holen:7 http://archive.ubuntu.com/ubuntu plucky-updates/universe i386 Packages [122 kB]
OK:8 http://security.ubuntu.com/ubuntu plucky-security InRelease
Es wurden 1.138 kB in 6 s geholt (204 kB/s).
Paketlisten werden gelesen… Fertig
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
Die folgenden Pakete sind zurückgehalten worden:
libcanberra-pulse (0.30-10ubuntu10 => 0.30-17ubuntu2)
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
mysql-server (8.4.6-0ubuntu0.25.04.3) wird eingerichtet ...
dpkg: Fehler beim Bearbeiten des Paketes mysql-server (--configure):
»installiertes post-installation-Skript des Paketes mysql-server«-Unterprozess gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1) oder
mysql -u -p
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13) Mysql Version
mysql --version
mysql Ver 8.4.6-0ubuntu0.25.04.3 for Linux on x86_64 ((Ubuntu)) dpkg -l mysql* | grep ii
ii mysql-client 8.4.6-0ubuntu0.25.04.3 amd64 MySQL database client
ii mysql-client-core 8.4.6-0ubuntu0.25.04.3 amd64 MySQL database core client binaries
ii mysql-common 5.8+1.1.1ubuntu1 all MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server-core 8.4.6-0ubuntu0.25.04.3 amd64 MySQL database server binaries Ich erwäge eine Neuinstallation. Werden dabei die vorhanden Datenbanken gelöscht?
|
|
Doc_Symbiosis
Anmeldungsdatum: 11. Oktober 2006
Beiträge: 4476
Wohnort: Göttingen
|
Schau doch mal ins Syslog, ob Du dort hilfreiche Hinweise findest. Bei Upgrade und nicht startendem Mysql muss ich da spontan an Apparmor denken.
|
|
malo66
(Themenstarter)
Anmeldungsdatum: 24. August 2011
Beiträge: 893
|
Hi, ehrlich gesagt fehlt mir da das Wissen um das zu verstehen cat error.log
2025-11-14T10:12:23.985717Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.43-0ubuntu0.24.04.2).
2025-11-14T10:12:25.283061Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.43-0ubuntu0.24.04.2) (Ubuntu).
2025-11-14T10:14:20.440285Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.43-0ubuntu0.24.04.2) starting as process 1957
2025-11-14T10:14:20.494645Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2025-11-14T10:14:21.770104Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2025-11-14T10:14:22.399577Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2025-11-14T10:14:22.399619Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2025-11-14T10:14:22.507457Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '127.0.0.1' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2025-11-14T10:14:22.507508Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.43-0ubuntu0.24.04.2' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu).
2025-11-14T10:49:34.017939Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.43-0ubuntu0.24.04.2).
2025-11-14T10:49:34.965684Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.43-0ubuntu0.24.04.2) (Ubuntu).
2025-11-14T12:34:41.782564Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.43-0ubuntu0.24.04.2) starting as process 2220
2025-11-14T12:34:41.842325Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2025-11-14T12:34:43.114681Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2025-11-14T12:34:43.729102Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2025-11-14T12:34:43.729229Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2025-11-14T12:34:43.806361Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '127.0.0.1' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2025-11-14T12:34:43.806487Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.43-0ubuntu0.24.04.2' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu).
2025-11-14T12:55:25.623000Z 8 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
2025-11-14T12:56:25.232441Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.43-0ubuntu0.24.04.2).
2025-11-14T12:56:27.248587Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld: Forcing close of thread 12 user: 'digimarc'.
2025-11-14T12:56:27.248728Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld: Forcing close of thread 13 user: 'digimarc'.
2025-11-14T12:56:27.248779Z 0 [Warning] [MY-010909] [Server] /usr/sbin/mysqld: Forcing close of thread 14 user: 'digimarc'.
2025-11-14T12:56:28.345620Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.43-0ubuntu0.24.04.2) (Ubuntu).
2025-11-14T12:56:36.065583Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-11-14T12:56:36.334380Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.6-0ubuntu0.25.04.3) starting as process 7511
2025-11-14T12:56:36.345409Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysqld: Can't create/write to file '/tmp/user/0/ibajEghX' (OS errno 13 - Permission denied)
2025-11-14T12:56:36.387573Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file inside "/tmp/user/0"; errno: 13
2025-11-14T12:56:36.387601Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2025-11-14T12:56:36.387630Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2025-11-14T12:56:36.387865Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-11-14T12:56:36.387898Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-11-14T12:56:36.389433Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.6-0ubuntu0.25.04.3) (Ubuntu).
2025-11-14T12:56:36.389459Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2025-11-14T13:37:12.883299Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-11-14T13:37:13.136808Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.6-0ubuntu0.25.04.3) starting as process 18077
2025-11-14T13:37:13.166497Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysqld: Can't create/write to file '/tmp/user/0/ibwUB8RT' (OS errno 13 - Permission denied)
2025-11-14T13:37:13.262783Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file inside "/tmp/user/0"; errno: 13
2025-11-14T13:37:13.262824Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2025-11-14T13:37:13.262858Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2025-11-14T13:37:13.263105Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-11-14T13:37:13.263187Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-11-14T13:37:13.266192Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.6-0ubuntu0.25.04.3) (Ubuntu).
2025-11-14T13:37:13.266239Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2025-11-14T13:39:26.983268Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-11-14T13:39:27.233322Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.6-0ubuntu0.25.04.3) starting as process 18390
2025-11-14T13:39:27.243889Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysqld: Can't create/write to file '/tmp/user/0/ibj91xV5' (OS errno 13 - Permission denied)
2025-11-14T13:39:27.299191Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file inside "/tmp/user/0"; errno: 13
2025-11-14T13:39:27.299229Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2025-11-14T13:39:27.299257Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2025-11-14T13:39:27.299545Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-11-14T13:39:27.299617Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-11-14T13:39:27.302235Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.6-0ubuntu0.25.04.3) (Ubuntu).
2025-11-14T13:39:27.302280Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2025-11-14T13:40:56.962805Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-11-14T13:40:57.215218Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.6-0ubuntu0.25.04.3) starting as process 18588
2025-11-14T13:40:57.225821Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysqld: Can't create/write to file '/tmp/user/0/ibnaGdXi' (OS errno 13 - Permission denied)
2025-11-14T13:40:57.280301Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file inside "/tmp/user/0"; errno: 13
2025-11-14T13:40:57.280339Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2025-11-14T13:40:57.280373Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2025-11-14T13:40:57.280641Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-11-14T13:40:57.280760Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-11-14T13:40:57.283091Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.6-0ubuntu0.25.04.3) (Ubuntu).
2025-11-14T13:40:57.283114Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2025-11-14T13:41:55.613125Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-11-14T13:41:55.866135Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.6-0ubuntu0.25.04.3) starting as process 2280
2025-11-14T13:41:55.903447Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2025-11-14T13:41:57.222477Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2025-11-14T13:41:57.320497Z 1 [System] [MY-011090] [Server] Data dictionary upgrading from version '80023' to '80300'.
2025-11-14T13:41:59.713815Z 1 [System] [MY-013413] [Server] Data dictionary upgrade from version '80023' to '80300' completed.
2025-11-14T13:42:05.685375Z 4 [System] [MY-013381] [Server] Server upgrade from '80043' to '80406' started.
2025-11-14T13:42:19.947647Z 4 [System] [MY-013381] [Server] Server upgrade from '80043' to '80406' completed.
2025-11-14T13:42:20.306092Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2025-11-14T13:42:20.306190Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2025-11-14T13:42:20.363585Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '127.0.0.1' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2025-11-14T13:42:20.363644Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.4.6-0ubuntu0.25.04.3' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu).
2025-11-14T13:47:22.033380Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.4.6-0ubuntu0.25.04.3).
2025-11-14T13:47:23.275292Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.6-0ubuntu0.25.04.3) (Ubuntu).
2025-11-14T13:47:23.275318Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2025-11-14T13:47:23.602584Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-11-14T13:47:23.857900Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.6-0ubuntu0.25.04.3) starting as process 5757
2025-11-14T13:47:23.868270Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysqld: Can't create/write to file '/tmp/user/0/ibpf0gPN' (OS errno 13 - Permission denied)
2025-11-14T13:47:23.900225Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file inside "/tmp/user/0"; errno: 13
2025-11-14T13:47:23.900255Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2025-11-14T13:47:23.900282Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2025-11-14T13:47:23.900510Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-11-14T13:47:23.900561Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-11-14T13:47:23.903297Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.6-0ubuntu0.25.04.3) (Ubuntu).
2025-11-14T13:47:23.903322Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2025-11-14T13:47:58.698115Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-11-14T13:47:58.949229Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.6-0ubuntu0.25.04.3) starting as process 5976
2025-11-14T13:47:58.960061Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysqld: Can't create/write to file '/tmp/user/0/ibWtVOoX' (OS errno 13 - Permission denied)
2025-11-14T13:47:59.004682Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file inside "/tmp/user/0"; errno: 13
2025-11-14T13:47:59.004710Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2025-11-14T13:47:59.004745Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2025-11-14T13:47:59.004973Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-11-14T13:47:59.005021Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-11-14T13:47:59.007549Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.6-0ubuntu0.25.04.3) (Ubuntu).
2025-11-14T13:47:59.007580Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2025-11-14T14:39:20.733398Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-11-14T14:39:20.988106Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.6-0ubuntu0.25.04.3) starting as process 8300
2025-11-14T14:39:20.999140Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysqld: Can't create/write to file '/tmp/user/0/ibqSojQF' (OS errno 13 - Permission denied)
2025-11-14T14:39:21.058493Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file inside "/tmp/user/0"; errno: 13
2025-11-14T14:39:21.058524Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2025-11-14T14:39:21.058555Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2025-11-14T14:39:21.058807Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-11-14T14:39:21.058867Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-11-14T14:39:21.061518Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.6-0ubuntu0.25.04.3) (Ubuntu).
2025-11-14T14:39:21.061544Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2025-11-14T15:21:55.702322Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-11-14T15:21:55.959836Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.6-0ubuntu0.25.04.3) starting as process 12264
2025-11-14T15:21:55.970603Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysqld: Can't create/write to file '/tmp/user/0/ibZ7D0BH' (OS errno 13 - Permission denied)
2025-11-14T15:21:56.017296Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file inside "/tmp/user/0"; errno: 13
2025-11-14T15:21:56.017325Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2025-11-14T15:21:56.017351Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2025-11-14T15:21:56.017562Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-11-14T15:21:56.017585Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-11-14T15:21:56.019232Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.6-0ubuntu0.25.04.3) (Ubuntu).
2025-11-14T15:21:56.019260Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2025-11-14T15:22:17.284930Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-11-14T15:22:17.550451Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.6-0ubuntu0.25.04.3) starting as process 12466
2025-11-14T15:22:17.561597Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysqld: Can't create/write to file '/tmp/user/0/ibOuUDjj' (OS errno 13 - Permission denied)
2025-11-14T15:22:17.624177Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file inside "/tmp/user/0"; errno: 13
2025-11-14T15:22:17.624206Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2025-11-14T15:22:17.624228Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2025-11-14T15:22:17.624385Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-11-14T15:22:17.624420Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-11-14T15:22:17.626863Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.6-0ubuntu0.25.04.3) (Ubuntu).
2025-11-14T15:22:17.626906Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2025-11-14T15:24:55.973228Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-11-14T15:24:56.228488Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.6-0ubuntu0.25.04.3) starting as process 12742
2025-11-14T15:24:56.241211Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysqld: Can't create/write to file '/tmp/user/0/ib5t1HJq' (OS errno 13 - Permission denied)
2025-11-14T15:24:56.286565Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file inside "/tmp/user/0"; errno: 13
2025-11-14T15:24:56.286593Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2025-11-14T15:24:56.286615Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2025-11-14T15:24:56.286828Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-11-14T15:24:56.286883Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-11-14T15:24:56.289741Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.6-0ubuntu0.25.04.3) (Ubuntu).
2025-11-14T15:24:56.289816Z 0 [System] [MY-015016] [Server] MySQL Server - end.
2025-11-14T15:39:24.772037Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2025-11-14T15:39:25.020325Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.6-0ubuntu0.25.04.3) starting as process 14664
2025-11-14T15:39:25.032115Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysqld: Can't create/write to file '/tmp/user/0/ibA7WiL3' (OS errno 13 - Permission denied)
2025-11-14T15:39:25.085666Z 1 [ERROR] [MY-012576] [InnoDB] Unable to create temporary file inside "/tmp/user/0"; errno: 13
2025-11-14T15:39:25.085694Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2025-11-14T15:39:25.085716Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2025-11-14T15:39:25.085879Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2025-11-14T15:39:25.085902Z 0 [ERROR] [MY-010119] [Server] Aborting
2025-11-14T15:39:25.087441Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.6-0ubuntu0.25.04.3) (Ubuntu).
2025-11-14T15:39:25.087480Z 0 [System] [MY-015016] [Server] MySQL Server - end.
|
|
malo66
(Themenstarter)
Anmeldungsdatum: 24. August 2011
Beiträge: 893
|
Kann ich noch weitere Infos posten? Durch das MySQL Problem kann ich auch kein Upgrade durchführen?
|
|
Ruth-Wies
Anmeldungsdatum: 12. April 2023
Beiträge: 1020
Wohnort: im Exil ;(
|
seit dem Upgrade auf 25.04
Von wo hast du das wann gemacht? Der Support für den Vorgänger 24.10 war im April zu Ende. - Riecht so, als wäre eine saubere Neuinstallation fällig. Dein Log sieht nach einer nicht unterstützten Aktualisierung von 24.04 auf 25.04 aus.
|
|
malo66
(Themenstarter)
Anmeldungsdatum: 24. August 2011
Beiträge: 893
|
Ja ich habe erst vor kurzem von LTS 22.04. auf 24.04 aktualisiert. Da hatte ich dieses Problem nicht. Erst mit dem Upgrade auf 25.04 fing das Problem mit MySQL an. Gibt es keine andere Möglichkeit als eine Neuinstallation? Könnte man nicht einfach MySQL neu installieren?
|
|
Ruth-Wies
Anmeldungsdatum: 12. April 2023
Beiträge: 1020
Wohnort: im Exil ;(
|
Noch mal mit anderen Worten: Eine Aktualisierung von 24.04 hätte auf 24.10 und erst im Anschluss auf 25.04 geschehen sollen. Und das beides bis letzten April. Das ist der offizielle Weg. Wenn man den verlässt, dann sollte man mit Schwierigkeiten rechnen und IMHO auch alleine klar kommen können. Ansonsten vorher fragen und nicht erst, wenn das Kind im Brunnen liegt. (Vielleicht erbarmt sich noch jemand, aber ich bin gerade mit Smartphone nicht in der Laune, etwas Komplexeres lösen zu wollen. Mir ist es gestern am PC bereits aufgefallen und wollte meinen Einwurf nicht bis Montagabend aufschieben.)
|
|
Doc_Symbiosis
Anmeldungsdatum: 11. Oktober 2006
Beiträge: 4476
Wohnort: Göttingen
|
Das Problem scheint ja dieses hier zu sein:
[InnoDB] Unable to create temporary file inside "/tmp/user/0"; errno: 13 Ist das TMPDIR in deiner Config definiert? Kannst Du das vielleicht ändern? Probier vielleicht mal, ob das mit Apparmor zusammenhängt, indem Du Apparmor stoppst und dann mysql neu startest:
sudo systemctl stop apparmor.service
|
|
malo66
(Themenstarter)
Anmeldungsdatum: 24. August 2011
Beiträge: 893
|
@Doc_Symbiosis Habe Apparmor gestoppt und MySQL neu gestartet: sudo aa-teardown
Unloading AppArmor profiles
sudo service mysql restart
sudo systemctl reload apparmor.service Dann habe mich ein update durchgeführt, aber die gleiche Fehlermeldung erhalten. Hier mal eine konkrete Auassage ☺
sudo dpkg-reconfigure mysql-server
/usr/sbin/dpkg-reconfigure: mysql-server ist kaputt oder nicht komplett installiert
|
|
malo66
(Themenstarter)
Anmeldungsdatum: 24. August 2011
Beiträge: 893
|
So, mal anders gefragt. Ich würde jetzt einfach mal Mysql löschen und neu installieren. Aber vorher erst einmal fragen, ob das so richtig ist bzw. überhaupt funktioniert. Nicht das ich nachher noch mit mehr Problemen zu tun habe. Wie löschen am besten? Reicht ein sudo apt-get purge mysql-server oder doch besser auf dem Wege?
sudo apt-get remove --purge --auto-remove mysql-client-8.4 mysql-client-core-8.4 mysql-common mysql-server-8.4 Was ist mit den Daten die sich noch in /etc, /var/lib /var/log usw. befinden? Auch am besten löschen? Ich selbst habe eigentlich nur eine Datenbank selbst erstellt und zwar für Digikam. Wie kann ich die jetzt noch sichern? Ich habe ja kein Zugriff mehr auf Mysql. Ich habe zwar vor dem Upgrade ein Backup gemacht, aber nicht speziell in Mysql.
|
|
Doc_Symbiosis
Anmeldungsdatum: 11. Oktober 2006
Beiträge: 4476
Wohnort: Göttingen
|
Naja, das purge löscht halt auch die ganzen Config-Dateien des Pakets, wie auch beschrieben unter apt/apt.
|
|
malo66
(Themenstarter)
Anmeldungsdatum: 24. August 2011
Beiträge: 893
|
Schon klar. Aber brauch ich die denn? Hab ja selbst nichts an den configs geändert. Und für eine saubere Neuinstallation, wäre es doch sicher vernünftiger, oder nicht? Wenn wir schon von der my.cnf sprechen. Bei mir sieht sie irgendwie leer aus. Ist das normal? /etc/mysql$ cat my.cnf
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
#
# * IMPORTANT: Additional settings that can override those from this file!
# The files must end with '.cnf', otherwise they'll be ignored.
#
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mysql.conf.d/
|
|
Doc_Symbiosis
Anmeldungsdatum: 11. Oktober 2006
Beiträge: 4476
Wohnort: Göttingen
|
Die Config liegt dann wohl in den conf.d-Unterverzeichnissen. Und wegen Neuinstallation des Mysql-Servers: Ich würde einfach eine Sicherung der Msql-Configs unter /etc und der Datenbanken machen und es dann ausprobieren.
|
|
malo66
(Themenstarter)
Anmeldungsdatum: 24. August 2011
Beiträge: 893
|
Die Config liegt dann wohl in den conf.d-Unterverzeichnissen.
Das ist natürlich richtig ☺ /etc/mysql/mysql.conf.d$ cat mysql.cnf
#
# The MySQL database client configuration file
#
# Ref to https://dev.mysql.com/doc/refman/en/mysql-command-options.html
[mysql]
marc@marcx:/etc/mysql/mysql.conf.d$ cat mysqld.cnf
#
# The MySQL database server configuration file.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
# Here is entries for some specific programs
# The following values assume you have at least 32M ram
[mysqld]
#
# * Basic Settings
#
user = mysql
# pid-file = /var/run/mysqld/mysqld.pid
# socket = /var/run/mysqld/mysqld.sock
# port = 3306
# datadir = /var/lib/mysql
# If MySQL is running as a replication slave, this should be
# changed. Ref https://dev.mysql.com/doc/refman/8.4/en/server-system-variables.html#sysvar_tmpdir
# tmpdir = /tmp
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 127.0.0.1
mysqlx-bind-address = 127.0.0.1
#
# * Fine Tuning
#
key_buffer_size = 16M
# max_allowed_packet = 64M
# thread_stack = 256K
# thread_cache_size = -1
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover-options = BACKUP
# max_connections = 151
# table_open_cache = 4000
#
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
#
# Log all queries
# Be aware that this log type is a performance killer.
# general_log_file = /var/log/mysql/query.log
# general_log = 1
#
# Error log - should be very few entries.
#
log_error = /var/log/mysql/error.log
#
# Here you can see queries with especially long duration
# slow_query_log = 1
# slow_query_log_file = /var/log/mysql/mysql-slow.log
# long_query_time = 2
# log-queries-not-using-indexes
#
# The following can be used as easy to replay backup logs or for replication.
# note: if you are setting up a replication slave, see README.Debian about
# other settings you may need to change.
# server-id = 1
# log_bin = /var/log/mysql/mysql-bin.log
# binlog_expire_logs_seconds = 2592000
max_binlog_size = 100M
# binlog_do_db = include_database_name
# binlog_ignore_db = include_database_name und der Datenbanken machen
befinden sich die auch in /etc oder in /var/lib
|
|
malo66
(Themenstarter)
Anmeldungsdatum: 24. August 2011
Beiträge: 893
|
Jo, also auch Neuisntallation hat nichts gebracht: sudo apt-get install mysql-server
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Die folgenden zusätzlichen Pakete werden installiert:
libhtml-template-perl libmecab2 mecab-ipadic mecab-ipadic-utf8 mecab-utils
mysql-client mysql-client-core mysql-common mysql-server-core
Vorgeschlagene Pakete:
libipc-sharedcache-perl mailx tinyca
Die folgenden NEUEN Pakete werden installiert:
libhtml-template-perl libmecab2 mecab-ipadic mecab-ipadic-utf8 mecab-utils
mysql-client mysql-client-core mysql-common mysql-server mysql-server-core
0 aktualisiert, 10 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
Es müssen noch 7.009 kB von 30,3 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 234 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
Holen:1 http://archive.ubuntu.com/ubuntu plucky/main amd64 mysql-common all 5.8+1.1.1ubuntu1 [6.922 B]
Holen:2 http://archive.ubuntu.com/ubuntu plucky/main amd64 libmecab2 amd64 0.996-15.1build2 [217 kB]
Holen:3 http://archive.ubuntu.com/ubuntu plucky/main amd64 libhtml-template-perl all 2.97-2build1 [58,3 kB]
Holen:4 http://archive.ubuntu.com/ubuntu plucky/main amd64 mecab-utils amd64 0.996-15.1build2 [4.902 B]
Holen:5 http://archive.ubuntu.com/ubuntu plucky/main amd64 mecab-ipadic all 2.7.0-20070801+main-3 [6.718 kB]
Holen:6 http://archive.ubuntu.com/ubuntu plucky/main amd64 mecab-ipadic-utf8 all 2.7.0-20070801+main-3 [4.384 B]
Es wurden 7.009 kB in 3 s geholt (2.796 kB/s).
Vorkonfiguration der Pakete ...
Vormals nicht ausgewähltes Paket mysql-common wird gewählt.
(Lese Datenbank ... 486648 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../mysql-common_5.8+1.1.1ubuntu1_all.deb ...
Entpacken von mysql-common (5.8+1.1.1ubuntu1) ...
Vormals nicht ausgewähltes Paket mysql-client-core wird gewählt.
Vorbereitung zum Entpacken von .../mysql-client-core_8.4.6-0ubuntu0.25.04.3_amd64.deb ...
Entpacken von mysql-client-core (8.4.6-0ubuntu0.25.04.3) ...
Vormals nicht ausgewähltes Paket mysql-client wird gewählt.
Vorbereitung zum Entpacken von .../mysql-client_8.4.6-0ubuntu0.25.04.3_amd64.deb ...
Entpacken von mysql-client (8.4.6-0ubuntu0.25.04.3) ...
Vormals nicht ausgewähltes Paket libmecab2:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../libmecab2_0.996-15.1build2_amd64.deb ...
Entpacken von libmecab2:amd64 (0.996-15.1build2) ...
Vormals nicht ausgewähltes Paket mysql-server-core wird gewählt.
Vorbereitung zum Entpacken von .../mysql-server-core_8.4.6-0ubuntu0.25.04.3_amd64.deb ...
Entpacken von mysql-server-core (8.4.6-0ubuntu0.25.04.3) ...
mysql-common (5.8+1.1.1ubuntu1) wird eingerichtet ...
update-alternatives: /etc/mysql/my.cnf.fallback wird verwendet, um /etc/mysql/my.cnf (my.cnf) im automatischen Modus bereitzustellen
Vormals nicht ausgewähltes Paket mysql-server wird gewählt.
(Lese Datenbank ... 486840 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../mysql-server_8.4.6-0ubuntu0.25.04.3_amd64.deb ...
Entpacken von mysql-server (8.4.6-0ubuntu0.25.04.3) ...
Vormals nicht ausgewähltes Paket libhtml-template-perl wird gewählt.
Vorbereitung zum Entpacken von .../libhtml-template-perl_2.97-2build1_all.deb ...
Entpacken von libhtml-template-perl (2.97-2build1) ...
Vormals nicht ausgewähltes Paket mecab-utils wird gewählt.
Vorbereitung zum Entpacken von .../mecab-utils_0.996-15.1build2_amd64.deb ...
Entpacken von mecab-utils (0.996-15.1build2) ...
Vormals nicht ausgewähltes Paket mecab-ipadic wird gewählt.
Vorbereitung zum Entpacken von .../mecab-ipadic_2.7.0-20070801+main-3_all.deb ...
Entpacken von mecab-ipadic (2.7.0-20070801+main-3) ...
Vormals nicht ausgewähltes Paket mecab-ipadic-utf8 wird gewählt.
Vorbereitung zum Entpacken von .../mecab-ipadic-utf8_2.7.0-20070801+main-3_all.deb ...
Entpacken von mecab-ipadic-utf8 (2.7.0-20070801+main-3) ...
libmecab2:amd64 (0.996-15.1build2) wird eingerichtet ...
libhtml-template-perl (2.97-2build1) wird eingerichtet ...
mysql-server-core (8.4.6-0ubuntu0.25.04.3) wird eingerichtet ...
mecab-utils (0.996-15.1build2) wird eingerichtet ...
mysql-client-core (8.4.6-0ubuntu0.25.04.3) wird eingerichtet ...
mysql-client (8.4.6-0ubuntu0.25.04.3) wird eingerichtet ...
mecab-ipadic (2.7.0-20070801+main-3) wird eingerichtet ...
Compiling IPA dictionary for Mecab. This takes long time...
reading /usr/share/mecab/dic/ipadic/unk.def ... 40
emitting double-array: 100% |###########################################|
/usr/share/mecab/dic/ipadic/model.def is not found. skipped.
reading /usr/share/mecab/dic/ipadic/Noun.csv ... 60477
reading /usr/share/mecab/dic/ipadic/Noun.nai.csv ... 42
reading /usr/share/mecab/dic/ipadic/Noun.number.csv ... 42
reading /usr/share/mecab/dic/ipadic/Noun.adjv.csv ... 3328
reading /usr/share/mecab/dic/ipadic/Adj.csv ... 27210
reading /usr/share/mecab/dic/ipadic/Auxil.csv ... 199
reading /usr/share/mecab/dic/ipadic/Noun.adverbal.csv ... 795
reading /usr/share/mecab/dic/ipadic/Prefix.csv ... 221
reading /usr/share/mecab/dic/ipadic/Noun.verbal.csv ... 12146
reading /usr/share/mecab/dic/ipadic/Postp-col.csv ... 91
reading /usr/share/mecab/dic/ipadic/Noun.demonst.csv ... 120
reading /usr/share/mecab/dic/ipadic/Interjection.csv ... 252
reading /usr/share/mecab/dic/ipadic/Adnominal.csv ... 135
reading /usr/share/mecab/dic/ipadic/Noun.proper.csv ... 27328
reading /usr/share/mecab/dic/ipadic/Conjunction.csv ... 171
reading /usr/share/mecab/dic/ipadic/Noun.name.csv ... 34202
reading /usr/share/mecab/dic/ipadic/Suffix.csv ... 1393
reading /usr/share/mecab/dic/ipadic/Postp.csv ... 146
reading /usr/share/mecab/dic/ipadic/Noun.org.csv ... 16668
reading /usr/share/mecab/dic/ipadic/Adverb.csv ... 3032
reading /usr/share/mecab/dic/ipadic/Noun.others.csv ... 151
reading /usr/share/mecab/dic/ipadic/Symbol.csv ... 208
reading /usr/share/mecab/dic/ipadic/Noun.place.csv ... 72999
reading /usr/share/mecab/dic/ipadic/Verb.csv ... 130750
reading /usr/share/mecab/dic/ipadic/Others.csv ... 2
reading /usr/share/mecab/dic/ipadic/Filler.csv ... 19
emitting double-array: 100% |###########################################|
reading /usr/share/mecab/dic/ipadic/matrix.def ... 1316x1316
emitting matrix : 100% |###########################################|
done!
update-alternatives: /var/lib/mecab/dic/ipadic wird verwendet, um /var/lib/mecab/dic/debian (mecab-dictionary) im automatischen Modus bereitzustellen
mecab-ipadic-utf8 (2.7.0-20070801+main-3) wird eingerichtet ...
Compiling IPA dictionary for Mecab. This takes long time...
reading /usr/share/mecab/dic/ipadic/unk.def ... 40
emitting double-array: 100% |###########################################|
/usr/share/mecab/dic/ipadic/model.def is not found. skipped.
reading /usr/share/mecab/dic/ipadic/Noun.csv ... 60477
reading /usr/share/mecab/dic/ipadic/Noun.nai.csv ... 42
reading /usr/share/mecab/dic/ipadic/Noun.number.csv ... 42
reading /usr/share/mecab/dic/ipadic/Noun.adjv.csv ... 3328
reading /usr/share/mecab/dic/ipadic/Adj.csv ... 27210
reading /usr/share/mecab/dic/ipadic/Auxil.csv ... 199
reading /usr/share/mecab/dic/ipadic/Noun.adverbal.csv ... 795
reading /usr/share/mecab/dic/ipadic/Prefix.csv ... 221
reading /usr/share/mecab/dic/ipadic/Noun.verbal.csv ... 12146
reading /usr/share/mecab/dic/ipadic/Postp-col.csv ... 91
reading /usr/share/mecab/dic/ipadic/Noun.demonst.csv ... 120
reading /usr/share/mecab/dic/ipadic/Interjection.csv ... 252
reading /usr/share/mecab/dic/ipadic/Adnominal.csv ... 135
reading /usr/share/mecab/dic/ipadic/Noun.proper.csv ... 27328
reading /usr/share/mecab/dic/ipadic/Conjunction.csv ... 171
reading /usr/share/mecab/dic/ipadic/Noun.name.csv ... 34202
reading /usr/share/mecab/dic/ipadic/Suffix.csv ... 1393
reading /usr/share/mecab/dic/ipadic/Postp.csv ... 146
reading /usr/share/mecab/dic/ipadic/Noun.org.csv ... 16668
reading /usr/share/mecab/dic/ipadic/Adverb.csv ... 3032
reading /usr/share/mecab/dic/ipadic/Noun.others.csv ... 151
reading /usr/share/mecab/dic/ipadic/Symbol.csv ... 208
reading /usr/share/mecab/dic/ipadic/Noun.place.csv ... 72999
reading /usr/share/mecab/dic/ipadic/Verb.csv ... 130750
reading /usr/share/mecab/dic/ipadic/Others.csv ... 2
reading /usr/share/mecab/dic/ipadic/Filler.csv ... 19
emitting double-array: 100% |###########################################|
reading /usr/share/mecab/dic/ipadic/matrix.def ... 1316x1316
emitting matrix : 100% |###########################################|
done!
update-alternatives: /var/lib/mecab/dic/ipadic-utf8 wird verwendet, um /var/lib/mecab/dic/debian (mecab-dictionary) im automatischen Modus bereitzustellen
mysql-server (8.4.6-0ubuntu0.25.04.3) wird eingerichtet ...
update-alternatives: /etc/mysql/mysql.cnf wird verwendet, um /etc/mysql/my.cnf (my.cnf) im automatischen Modus bereitzustellen
Renaming removed key_buffer and myisam-recover options (if present)
dpkg: Fehler beim Bearbeiten des Paketes mysql-server (--configure):
»installiertes post-installation-Skript des Paketes mysql-server«-Unterprozess gab den Fehlerwert 1 zurück
Trigger für man-db (2.13.0-1) werden verarbeitet ...
Trigger für libc-bin (2.41-6ubuntu1.2) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Schon merkwürdig, dass eine Neuinstallation nicht funktioniert. Bleibt wohl nicht anderes übrig als das System Neu aufzuspielen. Shit
|