Page 1 of 1

Warning: MySQL - Connection Error: No such file or directory

Posted: Mon 6. Jan 2025, 09:34
by marcus198514
Hallo,

habe ein Problem. Wenn ich Keyhelp aufrufe bekomme ich die Meldung. Kann da jemand Helfen ?

MySQL - Connection Error: No such file or directory

wenn ich folgendes mache bekomme ich die Ausgabe :

# keyhelp-toolbox

Warning: MySQL - Connection Error: No such file or directory in /home/keyhelp/www/keyhelp/core/pending/DBConnectio n.php on line 338

Fatal error: Uncaught Error: Call to a member function query() on null in /home/keyhelp/www/keyhelp/core/pending/D BConnection.php:114
Stack trace:
#0 /home/keyhelp/www/keyhelp/core/pending/DBConnection.php(65): DBConnection->connect()
#1 /home/keyhelp/www/keyhelp/core/pending/DBConnection.php(374): DBConnection->__construct()
#2 /home/keyhelp/www/keyhelp/bin/keyhelp_toolbox.php(32): DBConnection::getConnection()
#3 {main}
thrown in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 114

Speicher war voll ! Habe dann einiges gelöscht.

# df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 13G 1.2M 13G 1% /run
/dev/md2 3.5T 2.8T 490G 86% /
tmpfs 63G 0 63G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/md1 989M 183M 756M 20% /boot
tmpfs 13G 0 13G 0% /run/user/0

# sudo systemctl restart mariadb.service
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xeu mariadb.service" for details.


Tab stops: eu mariadb.service
Jan 06 09:30:00 xxxxxxxxxx mariadbd[2521]: 2025-01-06 9:30:00 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Pl>
Jan 06 09:30:00 xxxxxxxxxx mariadbd[2521]: 2025-01-06 9:30:00 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
Jan 06 09:30:00 xxxxxxxxxx mariadbd[2521]: 2025-01-06 9:30:00 0 [Note] InnoDB: 10.6.18 started; log sequence number 1317611616618; transaction id 10524000>
Jan 06 09:30:00 xxxxxxxxxx mariadbd[2521]: 2025-01-06 9:30:00 0 [Note] Plugin 'FEEDBACK' is disabled.
Jan 06 09:30:00 xxxxxxxxxx mariadbd[2521]: 2025-01-06 9:30:00 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
Jan 06 09:30:00 xxxxxxxxxx mariadbd[2521]: 2025-01-06 9:30:00 0 [ERROR] Could not open mysql.plugin table: "Unknown storage engine 'Aria'". Some plugins m>
Jan 06 09:30:00 xxxxxxxxxx mariadbd[2521]: 2025-01-06 9:30:00 0 [ERROR] Failed to initialize plugins.
Jan 06 09:30:00 xxxxxxxxxx mariadbd[2521]: 2025-01-06 9:30:00 0 [ERROR] Aborting
Jan 06 09:30:01 xxxxxxxxxx systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit mariadb.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jan 06 09:30:01 xxxxxxxxxx systemd[1]: mariadb.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support


Vielen Dank für die Hilfe

Re: Warning: MySQL - Connection Error: No such file or directory

Posted: Mon 6. Jan 2025, 09:44
by Jolinar
marcus198514 wrote: Mon 6. Jan 2025, 09:34 tmpfs 13G 1.2M 13G 1% /run
tmpfs 63G 0 63G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
Schaff Platz auf der Kiste, dann läuft auch wieder alles...

Re: Warning: MySQL - Connection Error: No such file or directory

Posted: Mon 6. Jan 2025, 09:48
by marcus198514
Kannst du mir sagen wo genau das iss bzw. wie das geht ? :roll:

Re: Warning: MySQL - Connection Error: No such file or directory

Posted: Mon 6. Jan 2025, 09:58
by Florian
Hallo,

der Platz ist nicht das Problem, da / nur zu 86 % belegt ist.

Der Fehler ist:
[ERROR] Could not open mysql.plugin table: "Unknown storage engine 'Aria'". Some plugins m>
Dazu findet man einige Ansatzpunkte via Recherche.

Re: Warning: MySQL - Connection Error: No such file or directory

Posted: Mon 6. Jan 2025, 10:33
by marcus198514
Komme nicht weiter ...

gibt es jemand der Helfen kann ? Habe den Keyhelp Service bereits per Chat geschrieben jedoch kommt da keine Antwort.

Re: Warning: MySQL - Connection Error: No such file or directory

Posted: Mon 6. Jan 2025, 10:39
by Florian
Hallo,

du hast mich per PM angeschrieben. Das ist kein Chat!

Ich habe erstmal unsere Kunden die Support benötigen und dann schaue ich es mir ggf an, wobei meine Motivation bei solchen Aussagen nicht steigt

Re: Warning: MySQL - Connection Error: No such file or directory

Posted: Mon 6. Jan 2025, 10:41
by marcus198514
Welche Aussage ?

Zählt man mit einer Pro Lizenz nicht als Kunde ?

Ich habe auf der Webseite den Chat geöffnet und dort auch geschrieben :-)
Ebenfalls auch dich per PN.

Also alles gut :-)

Re: Warning: MySQL - Connection Error: No such file or directory

Posted: Mon 6. Jan 2025, 11:18
by Florian
Hallo,

woher soll ich wissen, dass du eine Lizenz hast?

Mit einer Lizenz kannst du ein kostenloses Ticket aufmachen bei uns, obwohl dieses Problem nichts mit Keyhelp zu tun hat.

Re: Warning: MySQL - Connection Error: No such file or directory

Posted: Mon 6. Jan 2025, 11:51
by Florian
PS: Du kannst dir die Daten per PM schicken, ich habe dort bereits geantwortet

Re: Warning: MySQL - Connection Error: No such file or directory

Posted: Mon 6. Jan 2025, 13:47
by Florian
Läuft wieder.

Lösung:

Code: Select all

mv /var/lib/mysql/aria_log_control /var/lib/mysql/aria_log_control.orig
systemctl start mariadb.service