confixx_counterscript.pl kann keine DB-verbindung aufbauen

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
webs
Posts: 16
Joined: 2004-05-28 14:26
 

confixx_counterscript.pl kann keine DB-verbindung aufbauen

Post by webs »

Hallo Leute,

ich habe da ein Problem. Ich habe schon in google und hier rumgesucht aber leider keine Lösung gefunden.
Gestern habe ich neue Updates auf dem Server(SuSE9.0) über yast eingespielt. Darunter waren auch MySQL sachen. Ich habe dann server neugestartet und jetzt bekomme ich Fehlermeldung:

Code: Select all

DBI->connect(confixx:localhost;mysql_socket=/var/lib/mysql/mysql.sock) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at confixx_counterscript.pl line 84 #2005: Konnte Datenbankverbindung nicht aufbauen : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Hm, die Datei confixx_counterscript.pl ist eine Binärdatei, deshalb kann ich da gar nicht nachgucken, woran es liegt.

Vielleicht weiss einer wo hier evtl ein Fehler liegen könnte???

Vielen Dank!
webs

PS: wir haben ConfixxPremiumedition2003
tomek
Posts: 243
Joined: 2003-08-05 09:44
Location: Paderborn
Contact:
 

Re: confixx_counterscript.pl kann keine DB-verbindung aufbauen

Post by tomek »

Läuft denn der MySQL-Dienst?
webs
Posts: 16
Joined: 2004-05-28 14:26
 

Re: confixx_counterscript.pl kann keine DB-verbindung aufbauen

Post by webs »

ja, es läuft.
ich merke jetzt das der Traffic nicht mehr berechnet wird... mist...
tomek
Posts: 243
Joined: 2003-08-05 09:44
Location: Paderborn
Contact:
 

Re: confixx_counterscript.pl kann keine DB-verbindung aufbauen

Post by tomek »

Du sagst er läuft. Gibt es bei dir die Datei /var/lib/mysql/mysql.sock ?
Und was gibt der Befehl grep socket /etc/my.cnf aus?
webs
Posts: 16
Joined: 2004-05-28 14:26
 

Re: confixx_counterscript.pl kann keine DB-verbindung aufbauen

Post by webs »

Tomek wrote:Du sagst er läuft. Gibt es bei dir die Datei /var/lib/mysql/mysql.sock ?

Code: Select all

srwxrwxrwx    1 mysql    daemon          0 2004-09-20 23:10 /var/lib/mysql/mysql.sock
Tomek wrote: Und was gibt der Befehl grep socket /etc/my.cnf aus?

Code: Select all

socket          = /var/lib/mysql/mysql.sock
socket          = /var/lib/mysql/mysql.sock
# All interaction with mysqld must be made via Unix sockets or named pipes.
tomek
Posts: 243
Joined: 2003-08-05 09:44
Location: Paderborn
Contact:
 

Re: confixx_counterscript.pl kann keine DB-verbindung aufbauen

Post by tomek »

Ich bezweifle, dass dein MySQL-Server läuft.

Gib mal folgendes ein paste mal die Ausgabe:

Code: Select all

ps auxf |grep -v grep|grep mysql
lsof -i :3306
webs
Posts: 16
Joined: 2004-05-28 14:26
 

Re: confixx_counterscript.pl kann keine DB-verbindung aufbauen

Post by webs »

Tomek wrote:Ich bezweifle, dass dein MySQL-Server läuft.
Hmm, naja sonst wäre unser Forum nicht erreichbar...

Code: Select all

root       554  0.0  0.4  2460 1092 ?        S    Sep20   0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --socket=/var/lib/mysql/mysql.sock --datadir=/var/lib/mysql
mysql      593  0.0  6.5 72984 15568 ?       S    Sep20   0:00  _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql      613  0.0  6.5 72984 15568 ?       S    Sep20   0:00      _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql      614  0.0  6.5 72984 15568 ?       S    Sep20   0:00          _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql      615  0.0  6.5 72984 15568 ?       S    Sep20   0:00          _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql      616  0.0  6.5 72984 15568 ?       S    Sep20   0:00          _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql      617  0.0  6.5 72984 15568 ?       S    Sep20   0:00          _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql      619  0.0  6.5 72984 15568 ?       S    Sep20   0:00          _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql      620  0.0  6.5 72984 15568 ?       S    Sep20   0:00          _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql      621  0.0  6.5 72984 15568 ?       S    Sep20   0:00          _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql      622  0.0  6.5 72984 15568 ?       S    Sep20   0:00          _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql      623  0.0  6.5 72984 15568 ?       S    Sep20   0:00          _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql     8603  0.0  6.5 72984 15568 ?       S    09:59   0:00          _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql     8930  0.0  6.5 72984 15568 ?       S    10:22   0:00          _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking
mysql     9058  0.0  6.5 72984 15568 ?       S    10:32   0:00          _ /usr/sbin/mysqld-max --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/mysqld.pid --skip-locking

Code: Select all

COMMAND    PID  USER   FD   TYPE DEVICE SIZE NODE NAME
mysqld-ma  593 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma  613 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma  614 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma  615 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma  616 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma  617 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma  619 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma  620 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma  621 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma  622 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma  623 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma 8603 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma 8930 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
mysqld-ma 9058 mysql   10u  IPv4   3431       TCP *:mysql (LISTEN)
tomek
Posts: 243
Joined: 2003-08-05 09:44
Location: Paderborn
Contact:
 

Re: confixx_counterscript.pl kann keine DB-verbindung aufbauen

Post by tomek »

Hmm, richtig. *grübel*
webs
Posts: 16
Joined: 2004-05-28 14:26
 

Re: confixx_counterscript.pl kann keine DB-verbindung aufbauen

Post by webs »

Habe Support-Ticket in Anspruch genommen:
Sehr geehrter Kunde,

das Problem scheint nicht mehr zu bestehen. Vermutlich ist beim Updaten der MySQL-Daemon ausgefallen, weswegen auch Confixx keine Verbindung mehr zu der Datenbanken aufbauen konnte.
Also es war quasi zwischenzeitig...
Und der Server führt den counterscript.pl erst abends aus. daher wird ja Traffic nicht berechnet .. ich hong :oops:

Auf jedenfall vielen Dank für deine Hifle Tomek!
Post Reply