Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 15/12/2010, à 10:48

PsYKrO

Serveur Ubuntu sur une DEDIBOX plus aucun service ne redémarre.

Bonjour,

Je n'ai plus accés à mon serveur en SSH, mes services ftp, http sont éteints...  rien ne redémarre.
Grace au mode secours de Dedibox, je peux me connecter en ssh sur mes disques durs systèmes.

uname -a 
2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux

Espace disque :

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             146G   88G   51G  64% /
varrun                146G   88G   51G  64% /var/run
varlock               146G   88G   51G  64% /var/lock
udev                  146G   88G   51G  64% /dev
devshm                146G   88G   51G  64% /dev/shm
devpts                146G   88G   51G  64% /dev/pts
/dev/sda1              38M  7.5M   29M  21% /boot

vi /var/log/boot

ug  4 09:01:45 rcS:  * Setting preliminary keymap...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:01:45 rcS:  * Starting basic networking...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:01:45 rcS:  * Starting kernel event manager...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:01:48 rcS:  * Loading hardware drivers...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:01:48 rcS:  ^[[33m*^[[39;49m Filesystem type 'usbfs' is not supported. Skipping mount.
Aug  4 09:01:48 rcS: mount: mount point /proc/bus/usb does not exist
Aug  4 09:01:48 rcS:  * Loading manual drivers...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:01:48 rcS:  * Assembling RAID arrays...       ^[[80G ^M^[[74G[^[[31mfail^[[39;49m]
Aug  4 09:01:48 rcS:  * Mounting local filesystems...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:01:48 rcS:  * Activating swapfile swap...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:01:48 rcS:  * Configuring network interfaces...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:01:48 rcS:  * Setting up console font and keymap...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:01:50 rc2:  * Starting system log...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:01:50 rc2:  * Starting kernel log...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:02:06 rc2:  * Starting MySQL database server mysqld       ^[[80G ^M^[[74G[^[[31mfail^[[39;49m]
Aug  4 09:02:06 rc2: Starting MTA: exim4.
Aug  4 09:02:06 rc2: Starting SFTP Server: MySecureShell is now online
Aug  4 09:02:07 rc2:  * Starting OpenBSD Secure Shell server...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:02:07 rc2:  * Starting RAID monitoring service mdadm --monitor       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:02:07 rc2:  * Starting ftp server proftpd       ^[[80G  - IPv6 getaddrinfo 'sd-xxxxx.dedibox.fr' error: Name or service not known
Aug  4 09:02:07 rc2: ^M^[[74G[ ok ]
Aug  4 09:02:07 rc2:  * Starting deferred execution scheduler atd       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:02:07 rc2:  * Starting periodic command scheduler...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:02:08 rc2:  * Starting apache 1.3 web server...       ^[[80G ^M^[[74G[ ok ]
Aug  4 09:02:08 rc2:  * Starting apache 2.0 web server...       ^[[80G (98): make_sock: could not bind to address 0.0.0.0:80
Aug  4 09:02:08 rc2: no listening sockets available, shutting down
Aug  4 09:02:08 rc2: Unable to open logs
Aug  4 09:02:08 rc2: ^M^[[74G[^[[31mfail^[[39;49m]
Aug  4 09:02:09 rc2:  * Running local boot scripts (/etc/rc.local)       ^[[80G ^M^[[74G[ ok ]

Normalement j'ai pas de parefeu, mais si j'essaye un iptables -F

iptables -F
FATAL: Could not load /lib/modules/2.6.32-21-generic/modules.dep: No such file or directory
iptables v1.3.6: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

il est vrai que cela fait un moment que je n'ai pas mis à jour le système.

apt-get update

Err http://apt.emesene.org ./ Sources
  404 Not Found
Fetched 8172B in 1s (8157B/s)
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy/main/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy/restricted/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy/universe/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy/multiverse/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy-security/main/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy-security/restricted/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy-security/universe/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy-security/multiverse/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy-updates/main/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy-updates/restricted/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy-updates/universe/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy-updates/multiverse/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy-backports/main/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy-backports/restricted/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy-backports/universe/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/edgy-backports/multiverse/binary-i386/Packages.gz  404 Not Found
Failed to fetch http://apt.emesene.org/./Packages.gz  404 Not Found
Failed to fetch http://apt.emesene.org/./Sources.gz  404 Not Found
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.

Dernière modification par PsYKrO (Le 15/12/2010, à 10:51)

Hors ligne

#2 Le 23/12/2010, à 00:59

Yann

Re : Serveur Ubuntu sur une DEDIBOX plus aucun service ne redémarre.

Wow. effectivement edgy n'est plus supporté depuis belle lurette, tes depots ne fonctionneront plus. La seule solution serait de mettre a jour vers la LTS la plus proche, la hardy - mais c est deja une grosse mise a jour, et c est possible que dedibox recommande un kernel perso.

Tu as deux serveurs web installés, apache 1.3 et apache 2, ce qui explique que apache2 se vautre au demarrage, vu que le 1.3 est dejá bind sur le port 80.

Le reste parait normal. Ton SSH tourne au moins quand tu essaies de te connecter, que dit un nmap quand ta machine demarre? Quelle est la derniere chose que tu aies changée avant que ca casse?

Bonne chance en tout cas!

Dernière modification par Yann (Le 23/12/2010, à 01:00)


Et pourtant moi, jsuis pas du genre délicat,
Dans un coin de la musse, j'ai posé mon matelas
- Paulo Anarkao

Hors ligne