Hallo ich mal wieder.:D
Hab über apt-get install mysql-server einen Mysql Server installiert. Der lässt sich leider nicht starten.
Achja es ist ein Ubuntu 768 vServer.
ZitatAlles anzeigenFeb 27 19:49:03 v224320919 mysqld_safe[5006]: started
Feb 27 19:49:03 v224320919 mysqld[5009]: 090227 19:49:03 InnoDB: Started; log sequence number 0 43655
Feb 27 19:49:03 v224320919 mysqld[5009]: 090227 19:49:03 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
Feb 27 19:49:03 v224320919 mysqld[5009]: 090227 19:49:03 [ERROR] Do you already have another mysqld server running on port: 3306 ?
Feb 27 19:49:03 v224320919 mysqld[5009]: 090227 19:49:03 [ERROR] Aborting
Feb 27 19:49:03 v224320919 mysqld[5009]:
Feb 27 19:49:03 v224320919 mysqld[5009]: 090227 19:49:03 InnoDB: Starting shutdown...
Feb 27 19:49:05 v224320919 mysqld[5009]: 090227 19:49:05 InnoDB: Shutdown completed; log sequence number 0 43655
Feb 27 19:49:05 v224320919 mysqld[5009]: 090227 19:49:05 [Note] /usr/sbin/mysqld: Shutdown complete
Feb 27 19:49:05 v224320919 mysqld[5009]:
Feb 27 19:49:05 v224320919 mysqld_safe[5030]: ended
Feb 27 19:49:17 v224320919 /etc/init.d/mysql[5185]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Feb 27 19:49:17 v224320919 /etc/init.d/mysql[5185]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Feb 27 19:49:17 v224320919 /etc/init.d/mysql[5185]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Feb 27 19:49:17 v224320919 /etc/init.d/mysql[5185]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Feb 27 19:49:17 v224320919 /etc/init.d/mysql[5185]:
Die Fehlermeldung meint zwar der Port wird genutzt, das stimmt aber nicht.
ZitatActive Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Pro gram name
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 7445/js vc
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7445/js vc
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 7698/ss
Kann es irgend eine Firewall Einstellung sein? Habe keine Ahnung wo ich die suchen soll. Für Linux pros drüfte die Lösung einfach sein oder?
EDIT
Ah ich sehe gerade ich komme nicht auf 127.0.0.1 drauf. Deswegen bootet der mysql Server auch nicht. Trage ich 0.0.0.0 oder meine Server ip ein dann bootet er. Aber das ist eine riesen Sicherheitslücke. Wie komme ich jetzt an einen sicheren MySql Server?
Ich kann das auch nicht ändern.