Bonjour,
Après de nombreuses heures à essayer de résoudre le problème tout seul je me résous à demander un peu d'aide...
Je dispose d'un serveur dédié chez Oneprovider (serveur Dedibox de chez Online) dont la configuration est la suivante :
Debian 8
ruTorrent (Script Bonobox de ex_rat : https://mondedie.fr/d/5399-script-installation-automatique-rutorrent-nginx )
Sécurisation & Logs V.3 (Tuto de ex_rat : https://mondedie.fr/d/5318-tuto-securisation-logs-v-3-nginx )
Plex
Tautulli
Ubooquity
Suite à un problème matériel les disques durs ont été installés sur un nouveau serveur par le service technique. Impossible cependant d'accéder au serveur, que ce soit en SSH ou même depuis une requête ping...
Le mode rescue sous Ubuntu 18.04 fonctionne cependant.
Petit récapitulatif des actions effectuées :
Connexion en mode rescue, identification et montage de partitions
sudo -s
lsblk
#NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
#loop0 7:0 0 484,6M 1 loop /lib/live/mount/rootfs/img.current.squashfs
#sda 8:0 0 5,5T 0 disk
#├─sda1 8:1 0 1M 0 part
#├─sda2 8:2 0 200M 0 part
#├─sda3 8:3 0 2G 0 part [SWAP]
#├─sda4 8:4 0 20G 0 part
#└─sda5 8:5 0 5,4T 0 part
#La partition système est sda4
mkdir -p /mnt/target
mount /dev/sda4 /mnt/target
mount -o bind /dev/ /mnt/target/dev
mount -o bind /sys/ /mnt/target/sys
mount -t proc proc /mnt/target/proc
chroot /mnt/target
mount -a
ifconfig -a
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet X.X.X.X netmask 255.255.255.0 broadcast 62.210.167.255
inet6 X.X.X..X prefixlen 64 scopeid 0x20<link>
ether 84:34:97:11:c9:68 txqueuelen 1000 (Ethernet)
RX packets 546325 bytes 581681346 (581.6 MB)
RX errors 0 dropped 26 overruns 0 frame 0
TX packets 79535 bytes 5798004 (5.7 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17
eno2: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 84:34:97:11:c9:69 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 18
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 2 bytes 78 (78.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2 bytes 78 (78.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address X.X.X.X
netmask 255.255.255.0
gateway X.X.X.1
#J'ai essayé de remplacer eth0 par eno1, sans résultat
/etc/hosts
127.0.0.1 localhost
X.X.X.X X-X-X-X X-X-X-X
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
/etc/resolv.conf
nameserver 62.210.16.6
nameserver 62.210.16.7
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
#J'ai également désinstaller Postsentry.
/var/log/syslog
#Extraits pouvant être utile
Jun 22 16:46:17 Blockhaus kernel: [ 0.558849] tg3 0000:03:00.0 eth0: Tigon3 [partno(N/A) rev 5720000] (PCI Express) MAC address 84:34:97:11:c9:68
Jun 22 16:46:17 Blockhaus kernel: [ 0.558851] tg3 0000:03:00.0 eth0: attached PHY is 5720C (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[1])
Jun 22 16:46:17 Blockhaus kernel: [ 0.558853] tg3 0000:03:00.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
Jun 22 16:46:17 Blockhaus kernel: [ 0.558854] tg3 0000:03:00.0 eth0: dma_rwctrl[00000001] dma_mask[64-bit]
Jun 22 16:46:19 Blockhaus named[424]: error (network unreachable) resolving './DNSKEY/IN': 84.200.69.80#53
Jun 22 16:46:19 Blockhaus named[424]: error (network unreachable) resolving './NS/IN': 84.200.69.80#53
Jun 22 16:46:19 Blockhaus named[424]: error (network unreachable) resolving './DNSKEY/IN': 84.200.70.40#53
Jun 22 16:46:19 Blockhaus named[424]: error (network unreachable) resolving './NS/IN': 84.200.70.40#53
Jun 22 16:46:19 Blockhaus named[424]: error (network unreachable) resolving './DNSKEY/IN': 2001:dc3::35#53
Jun 22 16:46:19 Blockhaus named[424]: error (network unreachable) resolving './NS/IN': 2001:dc3::35#53
Jun 22 16:46:19 Blockhaus named[424]: error (network unreachable) resolving './DNSKEY/IN': 199.7.83.42#53
Jun 22 16:46:32 Blockhaus sh[496]: sendto: Network is unreachable
Jun 22 16:46:32 Blockhaus sh[496]: sendto: Network is unreachable
Jun 22 16:47:21 Blockhaus ntpd_intres[532]: host name not found: 0.fr.pool.ntp.org
Jun 22 16:47:21 Blockhaus ntpd_intres[532]: host name not found: 1.fr.pool.ntp.org
Jun 22 16:47:21 Blockhaus ntpd_intres[532]: host name not found: 2.fr.pool.ntp.org
Jun 22 16:47:21 Blockhaus ntpd_intres[532]: host name not found: 3.fr.pool.ntp.org
Jun 22 16:49:24 Blockhaus ntpd_intres[532]: host name not found: 0.fr.pool.ntp.org
Jun 22 16:49:24 Blockhaus ntpd_intres[532]: host name not found: 1.fr.pool.ntp.org
Jun 22 16:49:24 Blockhaus ntpd_intres[532]: host name not found: 2.fr.pool.ntp.org
Jun 22 16:49:24 Blockhaus ntpd_intres[532]: host name not found: 3.fr.pool.ntp.org
Merci d'avance.