Mysql ne demarre plus erreur socket

bonjour, je me suis planté en effacant un site sur mon panel de gestion et maintenant j’ai une erreur en redemarrant bind.

Stopping domain name service…: bind9rndc: connect failed: 127.0.0.1#953: connection refused

le site est toujours accessible mais uniquement si index.html est derrier le ndd

named.conf

[code]// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, BEFORE you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

options {
directory “/var/cache/bind”;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
also-notify {213.251.156.212;};
};

// prime the server with knowledge of the root servers
zone “.” {
type hint;
file “/etc/bind/db.root”;
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone “localhost” {
type master;
file “/etc/bind/db.local”;
};

zone “127.in-addr.arpa” {
type master;
file “/etc/bind/db.127”;
};

zone “0.in-addr.arpa” {
type master;
file “/etc/bind/db.0”;
};

zone “255.in-addr.arpa” {
type master;
file “/etc/bind/db.255”;
};

Includes des zones

zone “servrtx.net” {
type master;
notify yes;
file “/etc/bind/db.servrtx.net”;
forwarders{};

};

include “/etc/bind/vhosts.conf”;[/code]

erreur log daemon :

Oct 23 13:29:51 host named[23409]: exiting (due to fatal error) Oct 23 13:31:33 host named[23520]: starting BIND 9.6-ESV-R4 -u bind -t /var/lib/named Oct 23 13:31:33 host named[23520]: built with '--prefix=/usr' '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var/run/bind' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--enable-ipv6' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -DNS_RUN_PID_DIR=0 -O2' 'LDFLAGS=' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' 'FFLAGS=-g -O2' Oct 23 13:31:33 host named[23520]: adjusted limit on open files from 1024 to 1048576 Oct 23 13:31:33 host named[23520]: found 4 CPUs, using 4 worker threads Oct 23 13:31:33 host named[23520]: using up to 4096 sockets Oct 23 13:31:33 host named[23520]: loading configuration from '/etc/bind/named.conf' Oct 23 13:31:33 host named[23520]: /etc/bind/vhosts.conf:11: zone 'servrtx.net': already exists previous definition: /etc/bind/named.conf:46 Oct 23 13:31:33 host named[23520]: loading configuration: failure Oct 23 13:31:33 host named[23520]: exiting (due to fatal error)

dans le syslog j’ai :

Oct 23 14:00:15 host named[25160]: loading configuration from '/etc/bind/named.conf' Oct 23 14:00:15 host named[25160]: /etc/bind/vhosts.conf:5: zone 'servrtx.net': already exists previous definition: /etc/bind/named.conf:46
merci

bon j’ai reussi a réparer en mode rescue mais maintenant mysql ne veut plus demarrer j’ai passé du temps sur le net pour en trouver la solution mais rien ne fais j’ai toujours cette erreur :

  • le repertoirs mysqld est vide.

mycnf :

[code][mysqld]

Basic Settings

user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
language = /usr/share/mysql/english
skip-external-locking

Query Cache Configuration

query_cache_limit = 1M
query_cache_size = 16M

[mysqldump]

quick
quote-names
max_allowed_packet = 16M

BerkeleyDB Using BerkeleyDB is now discouraged as its support will cease in 5.1.12.

skip-bdb[/code]

quand je lance mysqld :

host:~# mysqld 111024 5:05:22 InnoDB: Operating system error number 13 in a file operation. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation.

ps aux | grep mysql

host:~# ps aux | grep mysql
root      7297  0.0  0.0   5704   692 pts/0    S+   03:35   0:00 grep mysql
host:~# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql
host:~# mysqld
111024  3:36:21  InnoDB: Started; log sequence number 0 43655
111024  3:36:21 [ERROR] Can't start server : Bind on unix socket: Permission denied
111024  3:36:21 [ERROR] Do you already have another mysqld server running on socket: /
111024  3:36:21 [ERROR] Aborting

111024  3:36:21  InnoDB: Starting shutdown...
111024  3:36:23  InnoDB: Shutdown completed; log sequence number 0 43655
111024  3:36:23 [Note] mysqld: Shutdown complete

si je tente de me connecter a mysql en root avec le pass j’ai aussi cette erreur.

ce qui c’est passé j’au du rebooter et passer en mode rescue car plus d’acces ssh et le pass root ne fonctionnais plus,
je l’ai donc changé et je peu maintenant me reconnecter, le site est toujours en ligne mais plus de bdd ce qui
me bloc aussi pour mon panel ou je n’est plus d’acces.

merci pour votre aide car la j’ai passé tte la journée sur le web a tenter de trouver une solution mais rien ne marche
il doit y a voir une erreur mais je ne voit pas ou.

merci