Mysql ne démarre plus

Bonsoir,
Je virtualise en Debian testing sur un Windows 8.1. Sur Debian, je suis en train de développer un site sur Prestashop.
Jusqu’ à Vendredi tout allait bien, et cet après midi, je ne peux plus ouvrir mon site en développement. Je redémarre apache2, puis mysql et j’ ai cette erreur :

/etc/init.d/mysql restart [ ok ] Stopping MySQL database server: mysqld. [FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
Je regarde mon syslog, à l’ heure ou j’ ai tenté de redémarrer mysql j’ obtiens ce genre de message :

Dec 21 23:19:25 debian mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql Dec 21 23:19:25 debian mysqld: 141221 23:19:25 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead. Dec 21 23:19:25 debian mysqld: 141221 23:19:25 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. Dec 21 23:19:25 debian mysqld: 141221 23:19:25 [Note] Plugin 'FEDERATED' is disabled. Dec 21 23:19:25 debian mysqld: 141221 23:19:25 InnoDB: The InnoDB memory heap is disabled Dec 21 23:19:25 debian mysqld: 141221 23:19:25 InnoDB: Mutexes and rw_locks use GCC atomic builtins Dec 21 23:19:25 debian mysqld: 141221 23:19:25 InnoDB: Compressed tables use zlib 1.2.7 Dec 21 23:19:25 debian mysqld: 141221 23:19:25 InnoDB: Using Linux native AIO Dec 21 23:19:25 debian mysqld: 141221 23:19:25 InnoDB: Initializing buffer pool, size = 128.0M Dec 21 23:19:25 debian mysqld: 141221 23:19:25 InnoDB: Completed initialization of buffer pool Dec 21 23:19:25 debian mysqld: 141221 23:19:25 InnoDB: highest supported file format is Barracuda. Dec 21 23:19:25 debian mysqld: 141221 23:19:25 InnoDB: Waiting for the background threads to start Dec 21 23:19:26 debian mysqld: 141221 23:19:26 InnoDB: 5.5.40 started; log sequence number 16792212 Dec 21 23:19:26 debian mysqld: 141221 23:19:26 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306 Dec 21 23:19:26 debian mysqld: 141221 23:19:26 [Note] - '127.0.0.1' resolves to '127.0.0.1'; Dec 21 23:19:26 debian mysqld: 141221 23:19:26 [Note] Server socket created on IP: '127.0.0.1'. Dec 21 23:19:26 debian mysqld: 141221 23:19:26 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address Dec 21 23:19:26 debian mysqld: 141221 23:19:26 [ERROR] Do you already have another mysqld server running on port: 3306 ? Dec 21 23:19:26 debian mysqld: 141221 23:19:26 [ERROR] Aborting Dec 21 23:19:26 debian mysqld: Dec 21 23:19:26 debian mysqld: 141221 23:19:26 InnoDB: Starting shutdown... Dec 21 23:19:27 debian mysqld: 141221 23:19:27 InnoDB: Shutdown completed; log sequence number 16792212 Dec 21 23:19:27 debian mysqld: 141221 23:19:27 [Note] /usr/sbin/mysqld: Shutdown complete Dec 21 23:19:27 debian mysqld: Dec 21 23:19:27 debian mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended Dec 21 23:19:39 debian /etc/init.d/mysql[18032]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Dec 21 23:19:39 debian /etc/init.d/mysql[18032]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed Dec 21 23:19:39 debian /etc/init.d/mysql[18032]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Dec 21 23:19:39 debian /etc/init.d/mysql[18032]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Dec 21 23:19:39 debian /etc/init.d/mysql[18032]:

Plusieurs lignes m’ interpellent :

Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead. Dec 21 23:19:25 debian mysqld: 141221 23:19:25 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. Dec 21 23:19:25 debian mysqld: 141221 23:19:25 [Note] Plugin 'FEDERATED' is disabled. Dec 21 23:19:25 debian mysqld: 141221 23:19:25 InnoDB: The InnoDB memory heap is disabled
Mais je ne sais pas si cela a un rapport avec mon problème.

Server hostname (bind-address): '127.0.0.1'; port: 3306 Dec 21 23:19:26 debian mysqld: 141221 23:19:26 [Note] - '127.0.0.1' resolves to '127.0.0.1'; Dec 21 23:19:26 debian mysqld: 141221 23:19:26 [Note] Server socket created on IP: '127.0.0.1'. Dec 21 23:19:26 debian mysqld: 141221 23:19:26 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address Dec 21 23:19:26 debian mysqld: 141221 23:19:26 [ERROR] Do you already have another mysqld server running on port: 3306 ? Dec 21 23:19:26 debian mysqld: 141221 23:19:26 [ERROR] Aborting

Je n’ ai pas d’ autres serveurs mysql qui tournent, et au cas ou je teste le port 3306 :

Ne donne rien

netstat -l 3306 Connexions Internet actives (seulement serveurs) Proto Recv-Q Send-Q Adresse locale Adresse distante Etat tcp 0 0 *:sunrpc *:* LISTEN tcp 0 0 *:ssh *:* LISTEN tcp 0 0 *:41732 *:* LISTEN tcp6 0 0 [::]:sunrpc [::]:* LISTEN tcp6 0 0 [::]:http [::]:* LISTEN tcp6 0 0 [::]:ssh [::]:* LISTEN tcp6 0 0 [::]:44515 [::]:* LISTEN udp 0 0 *:606 *:* udp 0 0 *:57962 *:* udp 0 0 *:sunrpc *:* udp 0 0 *:42209 *:* udp 0 0 *:mdns *:* udp 0 0 *:1900 *:* udp6 0 0 [::]:606 [::]:* udp6 0 0 [::]:sunrpc [::]:* udp6 0 0 [::]:36470 [::]:* udp6 0 0 [::]:44731 [::]:* udp6 0 0 [::]:mdns [::]:* Sockets du domaine UNIX actives(seulement serveurs) Proto RefCnt Flags Type State I-Node Chemin unix 2 [ ACC ] STREAM LISTENING 8334 @/tmp/.ICE-unix/4306 unix 2 [ ACC ] STREAM LISTENING 6488 @/tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 6453 /var/run/sdp unix 2 [ ACC ] STREAM LISTENING 8196 /home/casper/.cache/keyring-N9p8vC/control unix 2 [ ACC ] STREAM LISTENING 6017 @/tmp/gdm-session-TDfyyUUx unix 2 [ ACC ] STREAM LISTENING 6782 /var/run/minissdpd.sock unix 2 [ ACC ] STREAM LISTENING 8320 /tmp/ssh-Und0gMz9U496/agent.4306 unix 2 [ ACC ] STREAM LISTENING 8335 /tmp/.ICE-unix/4306 unix 2 [ ACC ] STREAM LISTENING 8502 /home/casper/.cache/keyring-N9p8vC/ssh unix 2 [ ACC ] STREAM LISTENING 8556 /home/casper/.cache/keyring-N9p8vC/pkcs11 unix 2 [ ACC ] STREAM LISTENING 8557 /home/casper/.cache/keyring-N9p8vC/gpg unix 2 [ ACC ] STREAM LISTENING 5017 /var/run/acpid.socket unix 2 [ ACC ] STREAM LISTENING 4774 /var/run/rpcbind.sock unix 2 [ ACC ] STREAM LISTENING 7974 /tmp/pulse-cxpxRf2Bmjld/native unix 2 [ ACC ] STREAM LISTENING 8608 /tmp/pulse-cxpxRf2Bmjld/dbus-socket unix 2 [ ACC ] STREAM LISTENING 6489 /tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 5065 /var/run/dbus/system_bus_socket unix 2 [ ACC ] SEQPACKET LISTENING 3797 /run/udev/control unix 2 [ ACC ] STREAM LISTENING 6377 /var/run/avahi-daemon/socket unix 2 [ ACC ] STREAM LISTENING 8331 @/tmp/dbus-EvftNF9pp1

J’ ai vu des problèmes semblables, résolus en désinstallant, réinstallant… J’ aimerai pouvoir éviter.

Je n’ ai rien fait entre Vendredi ou cela fonctionnait, et aujourd’ hui, sinon une petite mise à jour ce matin (je ne me rappelle plus quels programmes étaient mis à jour) et une modification de mon network interfaces qui est :

auto eth0 iface eth0 inet static address 192.168.1.20 netmask 255.255.255.0 gateway 192.168.1.1

Merci d’ avance pour votre aide, bonne soirée

Edit : j’ ai remplacé le bind adress par l’ adresse ip du serveur, mysql démarre :

/etc/init.d/mysql restart [ ok ] Stopping MySQL database server: mysqld. [ ok ] Starting MySQL database server: mysqld .. [info] Checking for tables which need an upgrade, are corrupt or were not closed cleanly..
En revanche, je n’ ai toujours rien si je tape l’ adresse en localhost dans mon navigateur, ça pédale, ça cherche, mais rien n’ apparait.

Merci encore et bonne soirée.

Edit 2 : je viens de me rendre compte que je peux accéder maintenant à un dotclear qui est sur ma Debian, mais depuis la machine hote sur laquelle tourne en vm ma debian(en tapant sur mon navigateur 192.168.1.20/dotclear) Mais pas à mon site sur prestashop. Et en local je ne peux accéder à rien du tout.
Donc mon serveur lamp semble fonctionner, j’ ignore pourquoi je ne peux pas y accéder en local, uniquement à distance, et pourquoi un seul site fonctionne.

Edit 3 : je pense vraiment que c’ est le fait d’ avoir attribué un adresse ip fixe à mon serveur, qui est la cause de mes problèmes. Il doit y avoir quelque chose à parametrer que j’ ignore pour que lamp fonctionne.

Ton Prestashop et ton Dotclear cherche à se connecter au MySQL depuis l’IP du serveur ou depuis localhost ?
Regarde la chaîne de connexion et modifie là au besoin.

Ce n’est pas le manque de place qui est en faute pour ton problème avec MySQL car il a réussi à démarrer, mais quels ont été les raisons du problèmes.

As-tu étudier les logs avant plantage ?

Et pourquoi faire écouter MySQL sur L’IP si tes sites sont sur la même machine virtuelle ?

Comme Clochette, mon premier réflexe est de regarder si la partition n’est pas pleine.
ensuite, essaie de redemarrer mysql depuis un terminal, et regarde ce qui se passe.

Bonjour et merci à vous pour me venir en aide.

[quote]Ton Prestashop et ton Dotclear cherche à se connecter au MySQL depuis l’IP du serveur ou depuis localhost ?
Regarde la chaîne de connexion et modifie là au besoin.[/quote]
J’ avais changé le bind address, en mettant l’ adresse ip de mon serveur du coup mon serveur fonctionne mais je ne peux toujours pas ouvrir mes sites en développement, c’ est cela que tu voulais que je fasse ?
Il me reste de la place, je n’ avais pas pensé à regarder de ce coté là mais c’ est bon :

rootfs 20G 5,2G 14G 29% / udev 10M 0 10M 0% /dev tmpfs 101M 604K 100M 1% /run /dev/disk/by-uuid/e5df9190-b35e-4636-ac58-40025627dab7 20G 5,2G 14G 29% / tmpfs 5,0M 0 5,0M 0% /run/lock tmpfs 380M 228K 380M 1% /run/shm root@debian:~#

Pour les logs, j’ ai regardé les jours précédent, mais je n’ ai rien vu de louche (à mon niveau) :

[code]135.167.153

Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ‘:1.56’: no such name
Dec 18 21:28:34 debian NetworkManager[2369]: error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ‘:1.56’: no such name
Dec 18 21:28:34 debian NetworkManager[2369]: error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ‘:1.56’: no such name
Dec 18 21:28:34 debian NetworkManager[2369]: error requesting auth for org.freedesktop.NetworkManager.settings.modify.system: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ‘:1.56’: no such name
Dec 18 21:28:34 debian NetworkManager[2369]: error requesting auth for org.freedesktop.NetworkManager.settings.modify.own: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ‘:1.56’: no such name
Dec 18 21:28:34 debian NetworkManager[2369]: error requesting auth for org.freedesktop.NetworkManager.settings.modify.hostname: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ‘:1.56’: no such name
Dec 18 21:28:35 debian init: Switching to runlevel: 0
Dec 18 21:28:38 debian bluetoothd[2816]: Terminating
Dec 18 21:28:38 debian bluetoothd[2816]: Stopping SDP server
Dec 18 21:28:38 debian bluetoothd[2816]: Exit
Dec 18 21:28:40 debian minissdpd[3579]: received signal 15, good-bye
Dec 18 21:28:42 debian avahi-daemon[2777]: Got SIGTERM, quitting.
Dec 18 21:28:42 debian avahi-daemon[2777]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::a00:27ff:fe92:a152.
Dec 18 21:28:42 debian avahi-daemon[2777]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.13.
Dec 18 21:28:42 debian avahi-daemon[2777]: avahi-daemon 0.6.31 exiting.
Dec 18 21:28:42 debian kernel: [ 6944.027998] colord-sane[3962]: segfault at 3136 ip 00007f559f0eb81c sp 00007f559f0c1b88 error 6 in libdbus-1.so.3.7.2[7f559f0c3000+45000]
Dec 18 21:28:43 debian NetworkManager[2369]: caught signal 15, shutting down normally.
Dec 18 21:28:43 debian NetworkManager[2369]: quit request received, terminating…
Dec 18 21:28:43 debian NetworkManager[2369]: exiting (success)
Dec 18 21:28:48 debian acpid: exiting
Dec 18 21:28:49 debian modem-manager[2678]: Caught signal 15, shutting down…
Dec 21 10:42:00 debian kernel: imklog 5.8.11, log source = /proc/kmsg started.
Dec 21 10:42:00 debian rsyslogd: [origin software=“rsyslogd” swVersion=“5.8.11” x-pid=“2123” x-info=“http://www.rsyslog.com”] start
Dec 21 10:42:00 debian kernel: [ 0.000000] Initializing cgroup subsys cpuset
Dec 21 10:42:00 debian kernel: [ 0.000000] Initializing cgroup subsys cpu[/code]

Pas mal de messages, mais y a t’ il un rapport avec mon problème ?

Aujourd’ hui, j’ ai des messages d’ erreur dans mon syslog, mais là encore y a t’ il un rapport avec mon problème :

Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: stopped client: /org/gnome/SessionManager/Client3 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: stopped client: /org/gnome/SessionManager/Client4 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmAutostartApp: (pid:3830) done (status:0) Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmXSMPClient: Client '0x2362dd0 [metacity 10d2749ba77438fb9c141923444127724500000035720005]' received CloseConnection Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: disconnect client Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: disconnect client: /org/gnome/SessionManager/Client3 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: in shutdown, not restarting application Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmStore: Unreffing object: 0x2362dd0 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: Client removed: /org/gnome/SessionManager/Client3 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmClient: disposing /org/gnome/SessionManager/Client3 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmXSMPClient: xsmp_finalize (0x2362dd0 [metacity 10d2749ba77438fb9c141923444127724500000035720005]) Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: disconnect client: /org/gnome/SessionManager/Client4 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: in shutdown, not restarting application Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmStore: Unreffing object: 0x2465040 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmClient: disposing /org/gnome/SessionManager/Client4 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmStore: emitting removed for /org/gnome/SessionManager/Client4 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: Client removed: /org/gnome/SessionManager/Client4 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmDBusClient: obj_path=(null) interface=(null) method=(null) Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmDBusClient: obj_path=(null) interface=(null) method=(null) Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmAutostartApp: (pid:3825) done (status:0) Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): App metacity.desktop exited with 0 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: disconnect client: /org/gnome/SessionManager/Client1 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: disconnect for app 'at-spi-registryd.desktop' Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: unable to find application for client - not restarting Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmStore: Unreffing object: 0x23396a0 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmClient: disposing /org/gnome/SessionManager/Client1 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmStore: emitting removed for /org/gnome/SessionManager/Client1 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmManager: Client removed: /org/gnome/SessionManager/Client1 Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged Dec 22 08:49:02 debian gnome-session[3572]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmManager: disconnect client: /org/gnome/SessionManager/Client2 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmManager: in shutdown, not restarting application Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: Unreffing object: 0x2339720 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmClient: disposing /org/gnome/SessionManager/Client2 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: emitting removed for /org/gnome/SessionManager/Client2 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmManager: Client removed: /org/gnome/SessionManager/Client2 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmManager: last client disconnected - exiting Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmManager: ending phase EXIT#012 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): Unreffing manager Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmManager: disposing manager Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: Clearing object store Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: Unreffing object: 0x237ba00 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: Unreffing object: 0x237bae0 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: Unreffing object: 0x237bbc0 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: Unreffing object: 0x237bca0 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: Unreffing object: 0x237b840 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: Unreffing object: 0x237b920 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: emitting removed for /org/gnome/SessionManager/App2 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: emitting removed for /org/gnome/SessionManager/App1 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: emitting removed for /org/gnome/SessionManager/App6 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: emitting removed for /org/gnome/SessionManager/App5 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: emitting removed for /org/gnome/SessionManager/App4 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: emitting removed for /org/gnome/SessionManager/App3 Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: Clearing object store Dec 22 08:49:03 debian gnome-session[3572]: DEBUG(+): GsmStore: Clearing object store Dec 22 08:49:03 debian gdm-simple-slave[2830]: WARNING: Child process 3572 was already dead. Dec 22 08:49:05 debian gnome-session[4152]: WARNING: Session 'gnome' runnable check failed: Quitté avec le code 1 Dec 22 08:49:07 debian rtkit-daemon[3816]: Successfully made thread 4262 of process 4262 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11. Dec 22 08:49:07 debian rtkit-daemon[3816]: Supervising 4 threads of 2 processes of 2 users. Dec 22 08:49:07 debian pulseaudio[4262]: [pulseaudio] alsa-util.c: Disabling timer-based scheduling because running inside a VM. Dec 22 08:49:07 debian rtkit-daemon[3816]: Successfully made thread 4266 of process 4262 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5. Dec 22 08:49:07 debian rtkit-daemon[3816]: Supervising 5 threads of 2 processes of 2 users. Dec 22 08:49:07 debian pulseaudio[4262]: [pulseaudio] alsa-util.c: Disabling timer-based scheduling because running inside a VM. Dec 22 08:49:07 debian rtkit-daemon[3816]: Successfully made thread 4267 of process 4262 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5. Dec 22 08:49:07 debian rtkit-daemon[3816]: Supervising 6 threads of 2 processes of 2 users. Dec 22 08:49:07 debian pulseaudio[4262]: [alsa-source] alsa-source.c: ALSA nous a réveillé pour lire de nouvelles données à partir du périphérique, mais il n'y avait en fait rien à lire ! Dec 22 08:49:07 debian pulseaudio[4262]: [alsa-source] alsa-source.c: Il s'agit très probablement d'un bogue dans le pilote ALSA « snd_intel8x0 ». Veuillez rapporter ce problème aux développeurs d'ALSA. Dec 22 08:49:07 debian pulseaudio[4262]: [alsa-source] alsa-source.c: Nous avons été réveillés avec POLLIN actif, cependant un snd_pcm_avail() ultérieur a retourné 0 ou une autre valeur < min_avail. Dec 22 08:49:07 debian dbus[2308]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper) Dec 22 08:49:08 debian dbus[2308]: [system] Successfully activated service 'org.freedesktop.UDisks' Dec 22 08:49:08 debian dbus[2308]: [system] Activating service name='org.freedesktop.ColorManager' (using servicehelper) Dec 22 08:49:08 debian dbus[2308]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper) Dec 22 08:49:08 debian dbus[2308]: [system] Successfully activated service 'org.freedesktop.ColorManager' Dec 22 08:49:08 debian dbus[2308]: [system] Activating service name='org.freedesktop.colord-sane' (using servicehelper) Dec 22 08:49:09 debian pulseaudio[4262]: [alsa-sink] alsa-sink.c: ALSA nous a réveillé pour écrire de nouvelles données à partir du périphérique, mais il n'y avait en fait rien à écrire ! Dec 22 08:49:09 debian pulseaudio[4262]: [alsa-sink] alsa-sink.c: Il s'agit très probablement d'un bogue dans le pilote ALSA « snd_intel8x0 ». Veuillez rapporter ce problème aux développeurs d'ALSA. Dec 22 08:49:09 debian pulseaudio[4262]: [alsa-sink] alsa-sink.c: Nous avons été réveillés avec POLLOUT actif, cependant un snd_pcm_avail() ultérieur a retourné 0 ou une autre valeur < min_avail. Dec 22 08:49:09 debian dbus[2308]: [system] Successfully activated service 'org.freedesktop.colord-sane' Dec 22 08:49:10 debian dbus[2308]: [system] Successfully activated service 'org.freedesktop.PackageKit' Dec 22 08:49:11 debian rtkit-daemon[3816]: Successfully made thread 4335 of process 4335 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11. Dec 22 08:49:11 debian rtkit-daemon[3816]: Supervising 7 threads of 3 processes of 2 users. Dec 22 08:49:11 debian pulseaudio[4335]: [pulseaudio] pid.c: Daemon already running. Dec 22 08:49:20 debian goa[4404]: goa-daemon version 3.4.2 starting [main.c:112, main()] Dec 22 08:52:46 debian minissdpd[3637]: 6 new devices added Dec 22 09:00:07 debian minissdpd[3637]: 11 new devices added Dec 22 09:09:01 debian /USR/SBIN/CRON[8202]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime)) Dec 22 09:09:25 debian kernel: [ 1367.020118] hrtimer: interrupt took 19819122 ns

Maintenant, quand je redémarre apache et mysql, je n’ ai pas d’ erreur :

mysql restart [ ok ] Stopping MySQL database server: mysqld. [ ok ] Starting MySQL database server: mysqld . .. [info] Checking for tables which need an upgrade, are corrupt or were not closed cleanly.. root@debian:~# /etc/init.d/apache2 restart [ ok ] Restarting web server: apache2 ... waiting .

Rien de louche dans mes logs à l’ heure du reboot :

Dec 22 09:17:01 debian /USR/SBIN/CRON[9645]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Dec 22 09:17:07 debian mysqld: 141222 9:17:07 [Note] /usr/sbin/mysqld: Normal shutdown Dec 22 09:17:07 debian mysqld: Dec 22 09:17:07 debian mysqld: 141222 9:17:07 [Note] Event Scheduler: Purging the queue. 0 events Dec 22 09:17:07 debian mysqld: 141222 9:17:07 InnoDB: Starting shutdown... Dec 22 09:17:09 debian mysqld: 141222 9:17:08 InnoDB: Shutdown completed; log sequence number 16792461 Dec 22 09:17:09 debian mysqld: 141222 9:17:09 [Note] /usr/sbin/mysqld: Shutdown complete Dec 22 09:17:09 debian mysqld: Dec 22 09:17:09 debian mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended Dec 22 09:17:10 debian mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql Dec 22 09:17:10 debian mysqld: 141222 9:17:10 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead. Dec 22 09:17:10 debian mysqld: 141222 9:17:10 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. Dec 22 09:17:10 debian mysqld: 141222 9:17:10 [Note] Plugin 'FEDERATED' is disabled. Dec 22 09:17:10 debian mysqld: 141222 9:17:10 InnoDB: The InnoDB memory heap is disabled Dec 22 09:17:10 debian mysqld: 141222 9:17:10 InnoDB: Mutexes and rw_locks use GCC atomic builtins Dec 22 09:17:10 debian mysqld: 141222 9:17:10 InnoDB: Compressed tables use zlib 1.2.7 Dec 22 09:17:10 debian mysqld: 141222 9:17:10 InnoDB: Using Linux native AIO Dec 22 09:17:10 debian mysqld: 141222 9:17:10 InnoDB: Initializing buffer pool, size = 128.0M Dec 22 09:17:10 debian mysqld: 141222 9:17:10 InnoDB: Completed initialization of buffer pool Dec 22 09:17:10 debian mysqld: 141222 9:17:10 InnoDB: highest supported file format is Barracuda. Dec 22 09:17:10 debian mysqld: 141222 9:17:10 InnoDB: Waiting for the background threads to start Dec 22 09:17:11 debian mysqld: 141222 9:17:11 InnoDB: 5.5.40 started; log sequence number 16792461 Dec 22 09:17:11 debian mysqld: 141222 9:17:11 [Note] Server hostname (bind-address): '192.168.1.20'; port: 3306 Dec 22 09:17:11 debian mysqld: 141222 9:17:11 [Note] - '192.168.1.20' resolves to '192.168.1.20'; Dec 22 09:17:11 debian mysqld: 141222 9:17:11 [Note] Server socket created on IP: '192.168.1.20'. Dec 22 09:17:11 debian mysqld: 141222 9:17:11 [Note] Event Scheduler: Loaded 0 events Dec 22 09:17:11 debian mysqld: 141222 9:17:11 [Note] /usr/sbin/mysqld: ready for connections. Dec 22 09:17:11 debian mysqld: Version: '5.5.40-0+wheezy1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Debian) Dec 22 09:17:13 debian /etc/mysql/debian-start[10192]: Upgrading MySQL tables if necessary. Dec 22 09:17:13 debian /etc/mysql/debian-start[10197]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored Dec 22 09:17:13 debian /etc/mysql/debian-start[10197]: Looking for 'mysql' as: /usr/bin/mysql Dec 22 09:17:13 debian /etc/mysql/debian-start[10197]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck Dec 22 09:17:13 debian /etc/mysql/debian-start[10197]: This installation of MySQL is already upgraded to 5.5.40, use --force if you still need to run mysql_upgrade Dec 22 09:17:13 debian /etc/mysql/debian-start[10213]: Checking for insecure root accounts. Dec 22 09:17:13 debian /etc/mysql/debian-start[10218]: Triggering myisam-recover for all MyISAM tables root@debian:~#

En résumé :

Je pense que maintenant, apache et mysql fonctionnent, je peux accéder à un de mes sites en développement sous dotclear depuis la machine hote qui héberge ma debian ou j’ ai mon problème. Mais depuis la machine invitée, en local donc, niet. Je ne peux accéder à prestashop que ce soit en local ou depuis la machine hote, mais là j’ ai déjà eu ce problème avant, il est différent de mon problème du jour.
Je pense qu’ il doit y avoir un rapport avec le fait que j’ ai mis une adresse ip fixe hier

auto eth0 iface eth0 inet static address 192.168.1.20 netmask 255.255.255.0 gateway 192.168.1.1
Je dois surement modifier quelque chose quelque part, mais ou ?

Merci beaucoup pour le temps que vous me consacrez, bonne journée.

Edit : je suis passé en dhcp avec ces parametres dans mon network interfaces :

auto eth0 allow-hotplug eth0 iface eth0 inet dhcp

Le problème est le même, donc ce n’ est pas une histoire d’ ip fixe comme je le pensais. C’ est à localhost que je n’ arrrive pas à me connecter, car depuis une machine distante j’ arrive à me connecter sur le serveur lamp qui me pose problème. En local je finis par avoir ce message d’ erreur :

[code]La connexion a échoué

Firefox ne peut établir de connexion avec le serveur à l’adresse localhost.

Le site est peut-être temporairement indisponible ou surchargé. Réessayez plus tard ;
Si vous n'arrivez à naviguer sur aucun site, vérifiez la connexion au réseau de votre ordinateur ;
Si votre ordinateur ou votre réseau est protégé par un pare-feu ou un proxy, assurez-vous que Iceweasel est autorisé à accéder au Web.[/code]

Ou des fois que localhost met trop de temps à répondre.

Bon après midi.

Bonjour,
Je me permets de faire un up.

J’ ai l’ impression que c’ est juste l’ accès à localhost qui est impossible, sur une machine distante, je peux accéder au serveur lamp.

Merci beaucoup, bonne journée.

Si tu veux une réponse des experts réseau, il faut modifier le titre de ton premier post pour qu’il corresponde mieux au probléme.

Bonjour,
Je pense que je vais ouvrir un autre post, vu que maintenant mysql démarre.

Bonne journée.