seit 2 Tagen versuche ich auf einem debian vServer PD-Admin zu installieren - leider ohne Erfolg. Wie ich gelesen habe, scheinen es auch andere an fast gleicher Stelle gescheitert zu sein.
Das Skript install-all.pl findet die DB nicht.
Normalerweise scheint da ja nur ein link zum Socket zu fehlen, aber bei mir startet die DB anscheinend nicht.
Das Skript wirft folgendes aus:
MySQL läuft anscheinend nicht:done installing smtp-poplock :-)
/usr/local/pd-admin2/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/usr/local/pd-admin2/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/usr/local/pd-admin2/tmp/mysql.sock' exists!
--21:30:00-- http://www.pd-admin.de/download/service2.tar.gz
=> `service2.tar.gz'
Resolving http://www.pd-admin.de... done.
Connecting to http://www.pd-admin.de[195.68.246.2]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 883 [application/x-tar]
100%[====================================>] 883 862.30K/s ETA 00:00
21:30:00 (862.30 KB/s) - `service2.tar.gz' saved [883/883]
Lege Gruppe popuser an.
Lege Benutzer popuser an.
Lege Verzeichnis /home/popuser an.
Lege Verzeichnis /home/popuser/popboxen an.
Entpacke /etc/admin
Teste Verbindung zur MySQL-Datenbank...
Bitte geben Sie das root-Passwort fuer Ihren MySQL-Datenbankserver ein.
Dieses wird zur Installation der pd-Admin 2.0 Datenbank benoetigt.
MySQL root password:
Re-enter MySQL root password:
Speichere MySQL root-Passwort in /etc/admin/mysql_rootpw
Setze Passwort fuer Datenbank-Benutzer vadmin: 'P4573Ltv'
ERROR 2002: Can't connect to local MySQL server through socket '/usr/local/pd-admin2/tmp/mysql.sock' (2)
ERROR 2002: Can't connect to local MySQL server through socket '/usr/local/pd-admin2/tmp/mysql.sock' (2)
ERROR 2002: Can't connect to local MySQL server through socket '/usr/local/pd-admin2/tmp/mysql.sock' (2)
proftpd ...
configuring ...
done (0)
Kopiere Passwortcheck
Installiere autoresponder
Installiere spamfilter
DBI connect('database=vadmin;host=localhost;','vadmin',...) failed: Can't connect to local MySQL server through socket '/usr/local/pd-admin2/tmp/mysql.sock' (2) at /etc/admin/vhosts.pl line 18
can't connect! at /etc/admin/vhosts.pl line 18.
Installation abgeschlossen
MySQL-Datenbank wird neu gestartet...
/usr/local/pd-admin2/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/usr/local/pd-admin2/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/usr/local/pd-admin2/tmp/mysql.sock' exists!
Fertig.
Bitte führen Sie nun einmalig das script /etc/admin/makereseller.pl
und anschließend das script /etc/admin/vhosts.pl aus.
Der Port ist auch frei:vserver105:~# ps -ef | grep my
root 7043 7037 0 21:29 ? 00:00:01 readproctitle service errors: ... already in use IO::Socket::INET: Address already in use?tcpserver: fatal: unable to bind: address already used?Starting mysqld daemon with databases from /usr/local/pd-admin2/var/mysql?040426 21:52:18 mysqld ended??server85.serverflex.de - Failed binding to 0.0.0.0, port 21: Address already in use?einserver.irgendwo.de - Check the ServerType directive to ensure you are configured correctly.?
root 12518 7042 0 21:30 ? 00:00:01 supervise mysqld
root 10440 12518 1 21:52 ? 00:00:00 [mysqld_safe <defunct>]
root 10476 13701 0 21:52 pts/9 00:00:00 grep my
Socket suchen hilft natürlich nicht, wenn MySQL nicht da ist:vserver105:/usr/local/pd-admin2/var/mysql# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 195.122.134.31:37 0.0.0.0:* LISTEN
tcp 0 0 195.122.134.31:9 0.0.0.0:* LISTEN
tcp 0 0 195.122.134.31:13 0.0.0.0:* LISTEN
tcp 0 0 195.122.134.31:80 0.0.0.0:* LISTEN
tcp 0 0 195.122.134.31:22 0.0.0.0:* LISTEN
tcp 0 0 195.122.134.31:22 117.39.18.210:62871 ESTABLISHED
tcp 0 176 195.122.134.31:22 117.39.18.210:62873 ESTABLISHED
udp 0 0 195.122.134.65:9 0.0.0.0:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 6183582 /tmp/clamd
unix 5 [ ] DGRAM 6163552 /dev/log
unix 2 [ ] DGRAM 6183536
unix 2 [ ] DGRAM 6183292
unix 2 [ ] DGRAM 6163561
Hat da noch jemand eine Idee?vserver105:/usr/local/pd-admin2/var/mysql# mysql -p`cat /etc/admin/mysql_rootpw ` -e "show variables" | grep socket
ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Ich bin für jede Hilfe dankbar.
Gruß
Joachim