Nach PHP Update startet der SQL Demon nicht mehr

Dragonleader

New Member
Hallo Leute,

auch wenn das Thema schon viel Diskutiert wurde komme ich einfach nicht weiter.

Also folgendes ist geschehen:

Ich habe per SSH PHP von V5.16 auf 5.36 geupdated. Mir hätte auch 5.2 genügt. Um die Frage vorgweg zunehmen. Ich brauche das update wegen der JSON Erweiterung. Diese Erweiterung benötige ich um Stats Daten in ein für PHP verständliches Format zu konvertieren. So dies also zum Hintergrund.

Also wie gesagt habe PHP geupdatet. Hat auch Funktioniert. Aber wenn ich jetzt über Virtuozzo Power Panel oder auch per SSH versuche den Dienst zu starten kommen folgende Fehlermeldungen.

Auszug aus der mysql Log:
Code:
110511 03:30:27 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] option 'innodb-additional-mem-pool-size': signed value 512000 adjusted to 524288
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Warning] /usr/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead.
110511  3:30:27 [Note] Plugin 'ndbcluster' is disabled.
/usr/libexec/mysqld: Table 'mysql.plugin' doesn't exist

110511  3:30:27 [ERROR] Can't open the mysql.plugin table. [COLOR=Red]Please run mysql_upgrade to create it.[/COLOR]
110511  3:30:27  InnoDB: Initializing buffer pool, size = 2.0M
110511  3:30:27  InnoDB: Completed initialization of buffer pool
110511  3:30:27  InnoDB: Started; log sequence number 0 1711758
110511  3:30:27 [ERROR] /usr/libexec/mysqld: unknown option '--skip-bdb'
110511  3:30:27 [ERROR] Aborting
110511  3:30:27  InnoDB: Starting shutdown...
110511  3:30:32  InnoDB: Shutdown completed; log sequence number 0 1711758
110511  3:30:32 [Note] /usr/libexec/mysqld: Shutdown complete
110511 03:30:32 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Also habe ich versucht ein Update zu machen, jedoch ohne Erfolg.
Code:
[root@s15444181 ~]# mysql_upgrade
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running 'mysqlcheck with default connection arguments
mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect
FATAL ERROR: Upgrade failed
[root@s15444181 ~]#
So langsam haut es mir die Fragezeichen aus dem Kopf :confused:
Könnt ihr mir weiterhelfen.

Achso ich habe das Betriebssystem: CentOS 5 mit Parallels SB Panel 10 (64-bit)
Gehostet bei 1und1 / VServer


Grüße Dragon
 
Last edited by a moderator:
Schau dir die Logs nochmal genau an. Der Abschnitt vor dem [ERROR] ist besonders interessant. In der my.cf solltest du den Fehler beheben können (heißer Tipp: auskommentieren)
 
Nicht PHP ist dein Problem, sondern dass du im gleichen Upgrade auch MySQL auf eine neuere Version gebracht hat deren Konfiguration durch einige grosse Veraenderungen nicht mehr 100% kompatibel ist.

Aus dem Bugtracker des Herstellers:
--skip-bdb was a storage engine specific variable. Since the engine is gone, either are
the variables. On top, adding a stub variable would cause a conflict if a bdb storage
engine is added. It's a major version upgrade anyway, the configuration file needs to be
revised in any case.
This is not a bug.
http://bugs.mysql.com/bug.php?id=50336
 
Last edited by a moderator:
Super,

der Tip mit dem ausklammern der
#skip-bdb
war ein totaler Erfolg. :D

Danke für eure Hilfe
Gruß Dragon


(keep up the good work)
 
Back
Top