Mysql installation immer fehlerhaft

SNIP4

New Member
Ich brauche dringend eure hilfe bin am verzweifeln habe schon zich mal den server neu aufgesetzt un immer die gleiche kacke :(
Code:
Unable to set password for the MySQL "root" user                          x
 x                                                                           x
 x An error occurred while setting the password for the MySQL                x
 x administrative user. This may have happened because the account already   x
 x has a password, or because of a communication problem with the MySQL      x
 x server.                                                                   x
 x                                                                           x
 x You should check the account's password after the package installation.   x
 x                                                                           x
 x Please read the /usr/share/doc/mysql-server-5.5/README.Debian file for    x
 
Wie genau hast Du mySQL installiert?

Als erste Maßnahme würde ich ein dpkg-reconfigure versuchen.

Im Extremefall die Installation komplett mit apt-get remove --purge whipen und dann nochmal ansetzen.

Gibt es in der Folge noch weitere Fehlermeldungen? Evtl. den kompletten Installationvorgang hier posten.
 
mit sudo apt-get install mysql da war nach passwort bereits der error :(
werde deien rats mal ausprobieren
 
Ich will es mal so ausdrücken: Wenn Debian ein systematisches Problem mit MySQL hätte, dann wüssten wir das, weil es täglich 100 Nutzer betreffen würde.

Wenn es nur dir wieder und wieder passiert, dann machst du bei der Installation irgendwas falsch oder bastelst vorher komischen Kram in deine Distribution ein.

Daher die berechtigte Frage von TerraX: Wie genau hast Du mySQL installiert?
 
Welcher Mirror ist denn hinterlegt?
Von wem stammt das Debian-Image? Vom Hoster?
 
In der source.list stand
Code:
deb http://archive.ubuntu.com/ubuntu quantal main restricted universe
deb http://archive.ubuntu.com/ubuntu quantal-updates main restricted universe
deb http://security.ubuntu.com/ubuntu quantal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu quantal partner
 
Last edited by a moderator:
Oki, ein Ubuntu 12.10, soweit so gut. So und nun leitest Du bitte alle Ein- und Ausgaben im Rahmen der Installation des mySQL-Servers an der Konsole in eine Textdatei um (Ich sage es mal ganz höflich: ein "Video" als Log ist unbrauchbar aber es war zumindest originell; ich glaube, das hat hier noch keiner gebracht.).

Zweitens, was passiert wenn Du eine Rekonfiguration versuchst mittels "dpkg-reconfigure"?
 
Ok. Werde dpkg reconfigure probieren kann man irgenwie ein log erstellen von der installation oder muss ich per STRG+C kopieren?
 
Generell gilt: Du kannst alles was auf die Konsole ausgegeben wird mit ">" in eine Datei sichern.
Bleistift: cat /proc/cpuinfo > /home/user/cpuinfo.txt
Allgemein also: Befehl > Datei
Mit >> würdest Du an die bestehende Datei anhängen.
 
Habe es jz schon kopiert aber danke
Code:
root@Testhotel123:~# sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
  libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-5.5
  mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5
Suggested packages:
  libipc-sharedcache-perl tinyca
The following NEW packages will be installed:
  libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
  libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-5.5
  mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5
  mysql-server-core-5.5
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.3 MB of archives.
After this operation, 97.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ quantal/main libaio1 amd64 0.3.109-2ubuntu1 [6396 B]
Get:2 http://archive.ubuntu.com/ubuntu/ quantal-updates/main mysql-common all 5.5.34-0ubuntu0.12.10.1 [13.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ quantal-updates/main libmysqlclient18 amd64 5.5.34-0ubuntu0.12.10.1 [950 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ quantal/main libnet-daemon-perl all 0.48-1 [43.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ quantal/main libplrpc-perl all 0.2020-2 [36.0 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ quantal/main libdbi-perl amd64 1.622-1 [852 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ quantal/main libdbd-mysql-perl amd64 4.021-1 [97.7 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ quantal-updates/main mysql-client-core-5.5 amd64 5.5.34-0ubuntu0.12.10.1 [1943 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ quantal/main libterm-readkey-perl amd64 2.30-4build4 [28.4 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ quantal-updates/main mysql-client-5.5 amd64 5.5.34-0ubuntu0.12.10.1 [8336 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ quantal-updates/main mysql-server-core-5.5 amd64 5.5.34-0ubuntu0.12.10.1 [6015 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ quantal-updates/main mysql-server-5.5 amd64 5.5.34-0ubuntu0.12.10.1 [8857 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ quantal/main libhtml-template-perl all 2.91-1 [65.1 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ quantal-updates/main mysql-server all 5.5.34-0ubuntu0.12.10.1 [11.6 kB]
Fetched 27.3 MB in 8s (3297 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libaio1:amd64.
(Reading database ... 27604 files and directories currently installed.)
Unpacking libaio1:amd64 (from .../libaio1_0.3.109-2ubuntu1_amd64.deb) ...
Selecting previously unselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.5.34-0ubuntu0.12.10.1_all.deb) ...
Selecting previously unselected package libmysqlclient18:amd64.
Unpacking libmysqlclient18:amd64 (from .../libmysqlclient18_5.5.34-0ubuntu0.12.10.1_amd64.deb) ...
Selecting previously unselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ...
Selecting previously unselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously unselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.622-1_amd64.deb) ...
Selecting previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.021-1_amd64.deb) ...
Selecting previously unselected package mysql-client-core-5.5.
Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.34-0ubuntu0.12.10.1_amd64.deb) ...
Selecting previously unselected package libterm-readkey-perl.
Unpacking libterm-readkey-perl (from .../libterm-readkey-perl_2.30-4build4_amd64.deb) ...
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.34-0ubuntu0.12.10.1_amd64.deb) ...
Selecting previously unselected package mysql-server-core-5.5.
Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.34-0ubuntu0.12.10.1_amd64.deb) ...
Processing triggers for man-db ...
Setting up mysql-common (5.5.34-0ubuntu0.12.10.1) ...
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 27984 files and directories currently installed.)
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.34-0ubuntu0.12.10.1_amd64.deb) ...
Selecting previously unselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.91-1_all.deb) ...
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.5.34-0ubuntu0.12.10.1_all.deb) ...
Processing triggers for man-db ...
Setting up libaio1:amd64 (0.3.109-2ubuntu1) ...
Setting up libmysqlclient18:amd64 (5.5.34-0ubuntu0.12.10.1) ...
Setting up libnet-daemon-perl (0.48-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.622-1) ...
Setting up libdbd-mysql-perl (4.021-1) ...
Setting up mysql-client-core-5.5 (5.5.34-0ubuntu0.12.10.1) ...
Setting up libterm-readkey-perl (2.30-4build4) ...
Setting up mysql-client-5.5 (5.5.34-0ubuntu0.12.10.1) ...
Setting up mysql-server-core-5.5 (5.5.34-0ubuntu0.12.10.1) ...
Setting up mysql-server-5.5 (5.5.34-0ubuntu0.12.10.1) ...
131108  9:05:59 [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.
nach dem letzden kam immer der error.
und das zweite
Code:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
stepping        : 7
cpu MHz         : 848.077
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips        : 6784.61
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
 
Das mit cat /proc/cpuinfo war nur ein Beispiel, die Infos helfen uns in diesem Fall nichts.
Interessanter wäre auch der Output von dpkg-reconfigure, wie TerraX ja bereits sagte.
 
Ich wiederhole mich ja nur ungern und ich will euch auch nicht entmutigen, aber das Debian / Ubuntu MySQL-Paket ist nicht kaputt!!! Da könnt ihr noch 5 mal apt-get install und dpgk-reconfigure hoch und runter prügeln.

An irgend einem Punkt deiner Installation vergurgst du etwas grundlegend. Im schlimmsten Fall ist es bereits das Image des Hosters, aber das mag ich bei deinem hier demonstriertem Wissensstand nicht recht glauben.

Also mal von vorn: Vom Moment deiner ersten Anmeldung an einer frisch installierten VM, was tust du alles?
 
Back
Top