mysql startet nicht mehr [gelöst]

  • Hallo zusammen,


    ich hatte testweise meine IP Adressen auf dem Server geändert, anschliessend wieder auf die Ursprungsadresse zurückgestellt.
    Seitdem läuft mysql nicht mehr.


    VDR:/var/run/mysqld# /etc/init.d/mysql start
    Starting MySQL database server: mysqld...failed.
    Please take a look at the syslog.
    /usr/bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
    Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!


    die Datei mysqld.sock existiert tatsächlich nicht.
    Warum kann ers ich nicht mit localhost verbinden?


    aus dem Syslog:
    Jun 19 15:42:35 VDR /etc/init.d/mysql[7118]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
    Jun 19 15:42:35 VDR /etc/init.d/mysql[7118]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
    Jun 19 15:42:35 VDR /etc/init.d/mysql[7118]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
    Jun 19 15:42:35 VDR /etc/init.d/mysql[7118]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
    Jun 19 15:42:35 VDR /etc/init.d/mysql[7118]:
    Jun 19 15:42:37 VDR mysqld_safe[7194]: started
    Jun 19 15:42:37 VDR mysqld[7198]: ^G/usr/sbin/mysqld: Can't create/write to file '/tmp/ibWGMbdF' (Errcode: 13)
    Jun 19 15:42:37 VDR mysqld[7198]: 060619 15:42:37 InnoDB: Error: unable to create temporary file; errno: 13
    Jun 19 15:42:37 VDR mysqld[7198]: 060619 15:42:37 Can't init databases
    Jun 19 15:42:37 VDR mysqld[7198]: 060619 15:42:37 Aborting
    Jun 19 15:42:37 VDR mysqld[7198]:
    Jun 19 15:42:37 VDR mysqld[7198]: 060619 15:42:37 InnoDB: Warning: shutting down a not properly started
    Jun 19 15:42:37 VDR mysqld[7198]: InnoDB: or created database!
    Jun 19 15:42:37 VDR mysqld[7198]: 060619 15:42:37 /usr/sbin/mysqld: Shutdown Complete
    Jun 19 15:42:37 VDR mysqld[7198]:
    Jun 19 15:42:37 VDR mysqld_safe[7200]: ended
    Jun 19 15:42:43 VDR /etc/init.d/mysql[7288]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
    Jun 19 15:42:43 VDR /etc/init.d/mysql[7288]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
    Jun 19 15:42:43 VDR /etc/init.d/mysql[7288]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
    Jun 19 15:42:43 VDR /etc/init.d/mysql[7288]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
    Jun 19 15:42:43 VDR /etc/init.d/mysql[7288]:


    Hat jemand einen Rat?


    Gruss
    ZEN


    ct5.0, mit DVB-T in HH

  • Zitat

    Original von ZEN


    Jun 19 15:42:37 VDR mysqld[7198]: ^G/usr/sbin/mysqld: Can't create/write to file '/tmp/ibWGMbdF' (Errcode: 13)H


    Hi!
    Vielleicht eine doofe Idee, aber gibts das Verzeichnis /tmp noch und hat es 777 als Zugriffsrechte?


    Hat zwar mit der IP-Änderung und so nix zu tun, aber die Fehlermeldung oben zeigt einen Fehler bei /tmp an...


    Viel Glück!
    Tueftler17

  • komisch, nachdem ich im /tmp die Rechte auf 777 geändert hatte, startete mysql.


    Jetzt kommt bei vdr-xxv eine Meldung:


    Can't call method "selectall_arrayref" on unblessed reference at /usr/share/perl5/vdr-xxv//Tools.pm line 236.



    wilderigel, Platten sind fast leer

  • hi,


    siehe wilderigel.


    rootpartition voll, ich weiss wovon ich rede.


    bernd

    --------------------------------
    aktuelle Konfiguration:
    SERVER-VDR:suse10, kernel:2.6.5, DVB-treiber: kerneleigener, vdr-1.4.0 plain + noad + and. Serverdienste, 2*Nova-S-SE Rev:1.0, gesteuert via xxv-4.0, hda3-->/video0
    CLIENT-VDR: activy-300 mit gen2vdr1.2 (thx@helau+activy-300), hda3-->/video0
    nfs-mounts:
    server:/video0 --> client:/video0/SERVER_NEU
    server:/hdc1 --> client:/video0/FILME
    server:/hdd1 --> client:/video0/SERIEN
    SERVER läuft 24/7, CLIENT bei Bedarf

  • nee, leider net :(
    VDR:~# df -h
    Dateisystem Größe Benut Verf Ben% Eingehängt auf
    /dev/hda1 3,8G 850M 2,8G 24% /
    tmpfs 252M 0 252M 0% /dev/shm
    /dev/hda6 33G 5,8G 26G 19% /var/lib/video.00
    tmpfs 10M 116K 9,9M 2% /dev



    so, hab mal dpkg --purge vdr-xxv uznd neu installiert, die /etc/default/vdr-xxv enabled und voila, es funzt


    Dank an Alle!


    ZEN

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!