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 19/09/2019, à 21:52

Thibaut51

Serveur web RaspBerry PI

Hey, j'ai un problème avec mon serveur web, a chaque fois que j’éteins le serveur,
toute les modification se s'ont remis a zéro...
si je supprime un fichier, il revient
si je crée un fichier il s'efface...
MAIS t'en que j'ai pas éteins le serveur, il y a pas de problème
c'est des extinction que sa part en zizanie  lol
Mais cela le fait que depuis 1 semaine..
J'ai un raspberry PI 3 modèle b sous ubuntu mate 16.04
(le serveur fonctionne en soit, mais on peut rien touché)

sur les forum je n'ai rien trouvé de similaire alors je n'ai pas su régler le problème lol


Merci et bonne journée smile

Hors ligne

#2 Le 19/09/2019, à 21:59

Thibaut51

Re : Serveur web RaspBerry PI

Ah oui et il n'y a aucune erreur qui s'affiche hmm

Hors ligne

#3 Le 20/09/2019, à 07:52

bruno

Re : Serveur web RaspBerry PI

Bonjour,

On dirait bien que tu travailles sur un système d fichiers temporaire (en RAM).
Retour de :

cat /etc/fstab

et

mount

Hors ligne

#4 Le 20/09/2019, à 09:30

Thibaut51

Re : Serveur web RaspBerry PI

Salut,

thibault@thibault-desktop:~$ cat /etc/fstab
proc            /proc           proc    defaults          0       0
/dev/mmcblk0p2  /               ext4   defaults,noatime  0       1
/dev/mmcblk0p1  /boot/          vfat    defaults          0       2
thibault@thibault-desktop:~$ mount
/dev/mmcblk0p2 on / type ext4 (rw,noatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=469532k,nr_inodes=117383,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=94776k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
thibault@thibault-desktop:~$

Merci pour cette réponse rapide smile

Hors ligne

#5 Le 20/09/2019, à 10:09

bruno

Re : Serveur web RaspBerry PI

Je ne vois rien d'anormal et le système de fichier racine est bien monté en rw.

Peux-tu décrire plus précisément ce qui se passe : comment et où crées-tu un fichier

Par exemple que se passe-t-il si tu crées un fichier :

touch fichier_test

puis que tu redémarres ?
Le fichier est-il toujours présent ?

Hors ligne

#6 Le 20/09/2019, à 10:21

Thibaut51

Re : Serveur web RaspBerry PI

Si je crée un fichier, peut-importe oû, Ou bien que j'en supprime un par example:
/var/www/html/monfichier.txt

Ou

/home/thibault/Bureau

des le redémarrage, Pam se revient comme avant hmm , le fichier crée disparaît et le fichier supprimé réapparais .

Ma base de donnée MYSQL est aussi affecter par sa, petite experience:
j'ai supprimé l’intégralité de mes base de donnée que j'utilisais,
(après les savoir sauvegarder big_smile ). puis j'ai fermer la page phpmyadmin,
2 min après je suis revenu sur la base de donnée avec pma, la bdd étais bien vide .
Je redémarre le serveur et hop tout est revenu... et tout étais parfaitement lisible...
rien de corrompue...
Alors je dis pas c'est pratique pour jamais perdre ses donnée mais bon...

Dernière modification par Thibaut51 (Le 20/09/2019, à 10:23)

Hors ligne

#7 Le 20/09/2019, à 10:37

Thibaut51

Re : Serveur web RaspBerry PI

une autre experience:
la commande:

sudo apt-get install <pack>

va bien marcher, le package va bien marcher,
mais si je redémarre,
eh bag le package n'est pas installer

Hors ligne

#8 Le 20/09/2019, à 10:44

bruno

Re : Serveur web RaspBerry PI

Si tu utilises une carte SD, vérifie bien qu'elle n'est pas verrouillée physiquement avec le petit bouton « lock » sur le côté de la carte.

Hors ligne

#9 Le 20/09/2019, à 10:46

Thibaut51

Re : Serveur web RaspBerry PI

c'est une micro sd seule, pas d'adaptateur, il y a donc pas de commutateur lock,
c'est ce modéle de sd: https://www.lesnumeriques.com/carte-mic … /test.html
de + si c'étais le cas, j'aurais rien pu écrire dessus, même de façon temporaire, car les fichier s'ont bien crée,
c'est juste qu'il y a une sorte de rollback a une certaine date a chaque redémarrage

Dernière modification par Thibaut51 (Le 20/09/2019, à 10:53)

Hors ligne

#10 Le 20/09/2019, à 10:51

bruno

Re : Serveur web RaspBerry PI

Bon je ne vois pas d'où cela peut venir. Les symptômes ressemblent à ce qui se produirait avec un système « live » sans persistance des données.
La question est donc comment as-tu installé le système ? Est-ce qu'il fonctionnait correctement au départ ? Si oui, qu'as-tu fait avant que le problème n'apparaisse.

Hors ligne

#11 Le 20/09/2019, à 10:56

Thibaut51

Re : Serveur web RaspBerry PI

Oui avant cette semaine, tout fonctionnais parfaitement, de façon stable,
Mais la semaine dernière (comme chaque semaine) je lance cette commande:

sudo reboot

et après le redémarrage, surprise... hmm
toute les donnée sql plus récente au samedi 14 septembre sont effacé, et après
j'ai entrepris les test cité juste au dessus

Dernière modification par Thibaut51 (Le 20/09/2019, à 10:59)

Hors ligne

#12 Le 20/09/2019, à 12:52

bruno

Re : Serveur web RaspBerry PI

À tout hasard retour de :

dmesg

Hors ligne

#13 Le 20/09/2019, à 12:57

Thibaut51

Re : Serveur web RaspBerry PI

Alors:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.38-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #938 SMP Thu Dec 15 15:22:21 GMT 2016
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] cma: Reserved 8 MiB at 0x3a800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 241664
[    0.000000] free_area_init_node: node 0, pgdat 808c4f40, node_mem_map b9fa6000
[    0.000000]   Normal zone: 2124 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 241664 pages, LIFO batch:31
[    0.000000] [bcm2709_smp_init_cpus] enter (9520->f3003010)
[    0.000000] [bcm2709_smp_init_cpus] ncores=4
[    0.000000] PERCPU: Embedded 13 pages/cpu @b9f62000 s22592 r8192 d22464 u53248
[    0.000000] pcpu-alloc: s22592 r8192 d22464 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 239540
[    0.000000] Kernel command line: 8250.nr_uarts=0 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa22082 bcm2709.serial=0xf3cd1231 smsc95xx.macaddr=B8:27:EB:CD:12:31 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 939064K/966656K available (6357K kernel code, 432K rwdata, 1716K rodata, 476K init, 764K bss, 19400K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xbb800000 - 0xff800000   (1088 MB)
                   lowmem  : 0x80000000 - 0xbb000000   ( 944 MB)
                   modules : 0x7f000000 - 0x80000000   (  16 MB)
                     .text : 0x80008000 - 0x807ea688   (8074 kB)
                     .init : 0x807eb000 - 0x80862000   ( 476 kB)
                     .data : 0x80862000 - 0x808ce250   ( 433 kB)
                      .bss : 0x808d1000 - 0x809901ec   ( 765 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]   Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000010] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000027] Switching to timer-based delay loop, resolution 52ns
[    0.000295] Console: colour dummy device 80x30
[    0.000497] console [tty1] enabled
[    0.000522] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000542] pid_max: default: 32768 minimum: 301
[    0.000860] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000876] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001796] Disabling cpuset control group subsystem
[    0.001827] Initializing cgroup subsys io
[    0.001856] Initializing cgroup subsys memory
[    0.001901] Initializing cgroup subsys devices
[    0.001921] Initializing cgroup subsys freezer
[    0.001940] Initializing cgroup subsys net_cls
[    0.001987] CPU: Testing write buffer coherency: ok
[    0.002050] ftrace: allocating 21237 entries in 63 pages
[    0.051976] CPU0: update cpu_capacity 1024
[    0.052009] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.052021] [bcm2709_smp_prepare_cpus] enter
[    0.052160] Setting up static identity map for 0x8240 - 0x8274
[    0.053813] [bcm2709_boot_secondary] cpu:1 started (0) 17
[    0.054028] [bcm2709_secondary_init] enter cpu:1
[    0.054071] CPU1: update cpu_capacity 1024
[    0.054077] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.054458] [bcm2709_boot_secondary] cpu:2 started (0) 16
[    0.054621] [bcm2709_secondary_init] enter cpu:2
[    0.054642] CPU2: update cpu_capacity 1024
[    0.054648] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.055014] [bcm2709_boot_secondary] cpu:3 started (0) 17
[    0.055144] [bcm2709_secondary_init] enter cpu:3
[    0.055164] CPU3: update cpu_capacity 1024
[    0.055170] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.055230] Brought up 4 CPUs
[    0.055254] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.055262] CPU: All CPU(s) started in HYP mode.
[    0.055270] CPU: Virtualization extensions available.
[    0.055890] devtmpfs: initialized
[    0.067021] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.067354] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.068059] pinctrl core: initialized pinctrl subsystem
[    0.068585] NET: Registered protocol family 16
[    0.073857] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.080858] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.080869] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.081021] Serial: AMBA PL011 UART driver
[    0.081152] uart-pl011 3f201000.uart: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[    0.081311] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.144101] bcm2835-dma 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0x1
[    0.144668] SCSI subsystem initialized
[    0.144858] usbcore: registered new interface driver usbfs
[    0.144947] usbcore: registered new interface driver hub
[    0.145047] usbcore: registered new device driver usb
[    0.151515] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-12-09 15:11
[    0.178751] clocksource: Switched to clocksource arch_sys_counter
[    0.223745] FS-Cache: Loaded
[    0.224015] CacheFiles: Loaded
[    0.236325] NET: Registered protocol family 2
[    0.237184] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.237298] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.237488] TCP: Hash tables configured (established 8192 bind 8192)
[    0.237580] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.237627] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.237853] NET: Registered protocol family 1
[    0.238173] RPC: Registered named UNIX socket transport module.
[    0.238184] RPC: Registered udp transport module.
[    0.238193] RPC: Registered tcp transport module.
[    0.238201] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.239394] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    0.240706] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.253957] VFS: Disk quotas dquot_6.6.0
[    0.254268] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.256487] FS-Cache: Netfs 'nfs' registered for caching
[    0.257387] NFS: Registering the id_resolver key type
[    0.257433] Key type id_resolver registered
[    0.257443] Key type id_legacy registered
[    0.259759] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.259879] io scheduler noop registered
[    0.259896] io scheduler deadline registered (default)
[    0.259947] io scheduler cfq registered
[    0.262466] BCM2708FB: allocated DMA memory fac10000
[    0.262491] BCM2708FB: allocated DMA channel 0 @ f3007000
[    0.271218] Console: switching to colour frame buffer device 82x26
[    0.277018] bcm2835-rng 3f104000.rng: hwrng registered
[    0.277113] vc-cma: Videocore CMA driver
[    0.277123] vc-cma: vc_cma_base      = 0x00000000
[    0.277133] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    0.277141] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    0.277347] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    0.292084] brd: module loaded
[    0.300602] loop: module loaded
[    0.301487] vchiq: vchiq_init_state: slot_zero = 0xbac80000, is_master = 0
[    0.302917] Loading iSCSI transport class v2.0-870.
[    0.303536] usbcore: registered new interface driver smsc95xx
[    0.303589] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.503910] Core Release: 2.80a
[    0.503923] Setting default values for core params
[    0.503956] Finished setting default values for core params
[    0.704324] Using Buffer DMA mode
[    0.704335] Periodic Transfer Interrupt Enhancement - disabled
[    0.704343] Multiprocessor Interrupt Enhancement - disabled
[    0.704353] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.704367] Dedicated Tx FIFOs mode
[    0.704666] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbac04000 dma = 0xfac04000 len=9024
[    0.704695] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    0.704718] dwc_otg: Microframe scheduler enabled
[    0.704760] WARN::hcd_init_fiq:413: FIQ on core 1 at 0x8044844c
[    0.704774] WARN::hcd_init_fiq:414: FIQ ASM at 0x804487bc length 36
[    0.704789] WARN::hcd_init_fiq:439: MPHI regs_base at 0xbb87e000
[    0.704848] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.704884] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.704919] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    0.704971] Init: Port Power? op_state=1
[    0.704979] Init: Power Port (0)
[    0.705179] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.705194] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.705207] usb usb1: Product: DWC OTG Controller
[    0.705219] usb usb1: Manufacturer: Linux 4.4.38-v7+ dwc_otg_hcd
[    0.705231] usb usb1: SerialNumber: 3f980000.usb
[    0.706015] hub 1-0:1.0: USB hub found
[    0.706060] hub 1-0:1.0: 1 port detected
[    0.706759] dwc_otg: FIQ enabled
[    0.706768] dwc_otg: NAK holdoff enabled
[    0.706777] dwc_otg: FIQ split-transaction FSM enabled
[    0.706810] Module dwc_common_port init
[    0.707062] usbcore: registered new interface driver usb-storage
[    0.707334] mousedev: PS/2 mouse device common for all mice
[    0.708048] bcm2835-cpufreq: min=600000 max=1200000
[    0.708339] sdhci: Secure Digital Host Controller Interface driver
[    0.708348] sdhci: Copyright(c) Pierre Ossman
[    0.708653] sdhost: log_buf @ bac07000 (fac07000)
[    0.768782] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    0.771055] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    0.771069] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    0.826126] mmc0: host does not support reading read-only switch, assuming write-enable
[    0.828090] mmc0: new high speed SDHC card at address 59b4
[    0.828633] mmcblk0: mmc0:59b4 00000 14.9 GiB
[    0.828871] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.829292] ledtrig-cpu: registered to indicate activity on CPUs
[    0.829413] hidraw: raw HID events driver (C) Jiri Kosina
[    0.829602] usbcore: registered new interface driver usbhid
[    0.829610] usbhid: USB HID core driver
[    0.830147] Initializing XFRM netlink socket
[    0.830181] NET: Registered protocol family 17
[    0.830330] Key type dns_resolver registered
[    0.830947] Registering SWP/SWPB emulation handler
[    0.831877] registered taskstats version 1
[    0.832056] vc-sm: Videocore shared memory driver
[    0.832071] [vc_sm_connected_init]: start
[    0.832435]  mmcblk0: p1 p2
[    0.832688] [vc_sm_connected_init]: end - returning 0
[    0.834073] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    0.834476] of_cfs_init
[    0.834560] of_cfs_init: OK
[    0.838635] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    0.838649] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    0.851842] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.853393] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.854945] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.857730] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.898861] Indeed it is in host mode hprt0 = 00021501
[    0.948305] mmc1: new high speed SDIO card at address 0001
[    1.078782] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.078912] Indeed it is in host mode hprt0 = 00001101
[    1.279056] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    1.279074] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.279853] hub 1-1:1.0: USB hub found
[    1.279951] hub 1-1:1.0: 5 ports detected
[    1.558785] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.659037] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    1.659054] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.661871] smsc95xx v1.0.4
[    1.722172] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:cd:12:31
[    2.856231] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
[    2.900790] EXT4-fs (mmcblk0p2): 90 orphan inodes deleted
[    2.900808] EXT4-fs (mmcblk0p2): recovery complete
[    2.924504] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.924566] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.925715] devtmpfs: mounted
[    2.926462] Freeing unused kernel memory: 476K (807eb000 - 80862000)
[    3.253359] systemd[1]: System time before build time, advancing clock.
[    3.402469] NET: Registered protocol family 10
[    3.418848] random: systemd: uninitialized urandom read (16 bytes read, 90 bits of entropy available)
[    3.431182] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    3.431732] systemd[1]: Detected architecture arm.
[    3.433093] systemd[1]: Set hostname to .
[    3.491171] random: systemd: uninitialized urandom read (16 bytes read, 91 bits of entropy available)
[    3.504234] random: systemd-cryptse: uninitialized urandom read (16 bytes read, 91 bits of entropy available)
[    3.526844] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 91 bits of entropy available)
[    3.528953] random: systemd: uninitialized urandom read (16 bytes read, 91 bits of entropy available)
[    3.541361] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 91 bits of entropy available)
[    3.541666] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 91 bits of entropy available)
[    3.603177] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 92 bits of entropy available)
[    3.775826] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 93 bits of entropy available)
[    3.865388] random: systemd: uninitialized urandom read (16 bytes read, 94 bits of entropy available)
[    4.195849] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    4.196213] systemd[1]: Started Trigger resolvconf update for networkd DNS.
[    4.196443] systemd[1]: Listening on Syslog Socket.
[    4.228452] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    4.228814] systemd[1]: Listening on Journal Socket.
[    4.229110] systemd[1]: Listening on udev Control Socket.
[    4.229284] systemd[1]: Listening on udev Kernel Socket.
[    4.229375] systemd[1]: Reached target Encrypted Volumes.
[    4.230006] systemd[1]: Created slice System Slice.
[    4.269371] systemd[1]: Starting Uncomplicated firewall...
[    4.272162] systemd[1]: Starting Nameserver information manager...
[    4.272323] systemd[1]: Reached target Remote File Systems (Pre).
[    4.272477] systemd[1]: Reached target Remote File Systems.
[    4.272645] systemd[1]: Reached target Swap.
[    4.275750] systemd[1]: Started Read required files in advance.
[    4.282903] systemd[1]: Created slice User and Session Slice.
[    4.283035] systemd[1]: Reached target Slices.
[    4.311616] systemd[1]: Starting Load Kernel Modules...
[    4.311952] systemd[1]: Listening on Journal Socket (/dev/log).
[    4.315288] systemd[1]: Starting Journal Service...
[    4.318861] systemd[1]: Mounting Debug File System...
[    4.319087] systemd[1]: Reached target User and Group Name Lookups.
[    4.323094] systemd[1]: Starting Set console keymap...
[    4.323427] systemd[1]: Listening on fsck to fsckd communication Socket.
[    4.327276] systemd[1]: Starting File System Check on Root Device...
[    4.331630] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    4.332768] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    4.362861] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    4.365746] systemd[1]: Mounting POSIX Message Queue File System...
[    4.375658] systemd[1]: Started Uncomplicated firewall.
[    4.377034] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    4.453828] systemd[1]: Mounted Debug File System.
[    4.454166] systemd[1]: Mounted POSIX Message Queue File System.
[    4.471216] media: Linux media interface: v0.10
[    4.495307] systemd[1]: Started Nameserver information manager.
[    4.502692] Linux video capture interface: v2.00
[    4.612731] systemd[1]: ureadahead.service: Main process exited, code=exited, status=5/NOTINSTALLED
[    4.614746] systemd[1]: ureadahead.service: Unit entered failed state.
[    4.614793] systemd[1]: ureadahead.service: Failed with result 'exit-code'.
[    4.626695] i2c /dev entries driver
[    4.634429] systemd[1]: Started Journal Service.
[    5.169047] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.663910] systemd-journald[118]: Received request to flush runtime journal from PID 1
[    6.046266] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    6.096200] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    6.540232] usbcore: registered new interface driver brcmfmac
[    6.690161] random: nonblocking pool is initialized
[    6.761937] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Aug 29 2016 20:48:16 version 7.45.41.26 (r640327) FWID 01-4527cfab
[    6.785235] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[    6.812300] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[    6.812329] cfg80211: World regulatory domain updated:
[    6.812338] cfg80211:  DFS Master region: unset
[    6.812347] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    6.812363] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    6.812377] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    6.812390] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    6.812404] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    6.812419] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    6.812432] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    6.812444] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    6.812457] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    7.397496] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    7.664796] smsc95xx 1-1.1:1.0 enxb827ebcd1231: renamed from eth0
[    8.362643] uart-pl011 3f201000.uart: no DMA platform data
[   10.478647] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   11.100353] IPv6: ADDRCONF(NETDEV_UP): enxb827ebcd1231: link is not ready
[   11.160278] smsc95xx 1-1.1:1.0 enxb827ebcd1231: hardware isn't capable of remote wakeup
[   11.160564] IPv6: ADDRCONF(NETDEV_UP): enxb827ebcd1231: link is not ready
[   11.177810] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   11.222746] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[   11.222764] brcmfmac: brcmf_add_if: ignore IF event
[   11.227044] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   11.227058] brcmfmac: power management disabled
[   11.917445] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[   11.917459] brcmfmac: brcmf_add_if: ignore IF event
[   11.960690] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   12.850607] warning: process `colord-sane' used the deprecated sysctl system call with 8.1.2.
[   15.896622] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   22.434963] fuse init (API version 7.23)
[   33.826063] Bluetooth: Core ver 2.21
[   33.826992] NET: Registered protocol family 31
[   33.827004] Bluetooth: HCI device and connection manager initialized
[   33.827022] Bluetooth: HCI socket layer initialized
[   33.827032] Bluetooth: L2CAP socket layer initialized
[   33.827056] Bluetooth: SCO socket layer initialized
[   33.834213] Bluetooth: HCI UART driver ver 2.3
[   33.834233] Bluetooth: HCI UART protocol H4 registered
[   33.834239] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   33.835221] Bluetooth: HCI UART protocol BCM registered
[   34.059069] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   34.059082] mBluetooth: BNEP filters: protocol multicast
[   34.059096] Bluetooth: BNEP socket layer initialized
[   34.104080] Bluetooth: RFCOMM TTY layer initialized
[   34.104105] Bluetooth: RFCOMM socket layer initialized
[   34.104121] Bluetooth: RFCOMM ver 1.11
[   80.419935] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 49, block bitmap and bg descriptor inconsistent: 550 vs 555 free clusters
[   80.988330] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[   82.761742] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[  144.860875] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 4, block bitmap and bg descriptor inconsistent: 14251 vs 14233 free clusters
[  144.860926] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[  144.863676] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 51, block bitmap and bg descriptor inconsistent: 13445 vs 13457 free clusters
[  144.863709] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[  900.410500] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 53, block bitmap and bg descriptor inconsistent: 5116 vs 5121 free clusters
[  900.410552] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[  900.420031] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 33, block bitmap and bg descriptor inconsistent: 7337 vs 7338 free clusters
[  900.420079] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[  900.420899] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 32, block bitmap and bg descriptor inconsistent: 20415 vs 20249 free clusters
[  900.420931] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[  900.501402] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 1, block bitmap and bg descriptor inconsistent: 20814 vs 20815 free clusters
[  900.501450] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[  900.679472] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 37, block bitmap and bg descriptor inconsistent: 18199 vs 18196 free clusters
[  900.679515] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[  900.714057] EXT4-fs error (device mmcblk0p2): htree_dirblock_to_tree:986: inode #390926: block 1582861: comm systemd-tmpfile: bad entry in directory: rec_len % 4 != 0 - offset=0(0), inode=1852796268, rec_len=25646, name_len=108
[ 1610.045644] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 20, block bitmap and bg descriptor inconsistent: 13835 vs 13837 free clusters
[ 1610.045706] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[ 1616.276281] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 39, block bitmap and bg descriptor inconsistent: 18203 vs 18219 free clusters
[ 1616.276321] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[ 1619.125521] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 38, block bitmap and bg descriptor inconsistent: 19829 vs 19877 free clusters
[ 1621.044536] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
[ 1621.061263] JBD2: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a risk of filesystem corruption in case of system crash.

Hors ligne

#14 Le 20/09/2019, à 13:16

bruno

Re : Serveur web RaspBerry PI

Déjà, la fin montre que le système de fichier comporte des erreurs.
Il faut sortir la carte SD et la vérifier sur une autre machine ou redémarrer en mode de récupération pour lancer fsck.

Hors ligne

#15 Le 20/09/2019, à 15:49

Thibaut51

Re : Serveur web RaspBerry PI

Je suis sur raspberry, mais j'ai un deuxième raspberry que j'ai essayé également, même problème

Hors ligne

#16 Le 21/09/2019, à 15:16

bruno

Re : Serveur web RaspBerry PI

Avec la même carte SD ou une autre ? As-tu fait une vérification du système de fichiers ?

Hors ligne

#17 Le 24/09/2019, à 14:17

Thibaut51

Re : Serveur web RaspBerry PI

Avec la même carte sd sur un autre raspberry, je sais pas si sa peut être utile mais voilà le serveur: http://93.24.40.205

Hors ligne

#18 Le 24/09/2019, à 15:51

Compte supprimé

Re : Serveur web RaspBerry PI

@Thibaut51
Je ne sais pas comment est codé le serveur, mais la page d'accueil est loin d'être parfaite.
Manifestement, il y a des choses à vendre. Mais qui va acheter sur une telle page ?

bruno a écrit :

pour lancer fsck.

Tu l'as fait ?

Dernière modification par Compte supprimé (Le 24/09/2019, à 15:53)

#19 Le 24/09/2019, à 17:33

bruno

Re : Serveur web RaspBerry PI

bruno a écrit :

As-tu fait une vérification du système de fichiers ?

Tant que tu ne vérifieras pas ta carte SD on ne pourra rien faire.

Hors ligne

#20 Le 24/09/2019, à 19:12

Thibaut51

Re : Serveur web RaspBerry PI

Tamarou a écrit :

@Thibaut51
Je ne sais pas comment est codé le serveur, mais la page d'accueil est loin d'être parfaite.
Manifestement, il y a des choses à vendre. Mais qui va acheter sur une telle page ?

bruno a écrit :

pour lancer fsck.

Tu l'as fait ?

C'est un essai, il y a rien a vendre c'est un serveur personnel... D'ailleur il marche même pas xD
C'est juste pour montrer que le serveur fonctionne d'un point de vue serveur après le site dessus c'est autre chose... J'avais créé sa pour apprendre à gérer une base de donnée MySQL avec PHP sa fait déjà quelques années big_smile ...
D'ailleurs j'aimerais bien tout supprimer... Mais bon

Dernière modification par Thibaut51 (Le 24/09/2019, à 19:18)

Hors ligne

#21 Le 24/09/2019, à 19:45

Compte supprimé

Re : Serveur web RaspBerry PI

As-tu fait une vérification du système de fichiers ?

#22 Le 24/09/2019, à 19:49

Thibaut51

Re : Serveur web RaspBerry PI

Qu'elle est la procédure ? smile

(J'allais re installer l'os sur la carte sd)

Dernière modification par Thibaut51 (Le 24/09/2019, à 19:50)

Hors ligne

#23 Le 25/09/2019, à 07:03

Compte supprimé

Re : Serveur web RaspBerry PI

bruno au message N°14 a écrit :

Il faut sortir la carte SD et la vérifier sur une autre machine ou redémarrer en mode de récupération pour lancer fsck.

Même si tu refais une installation, il vaut mieux la faire sur une carte saine tongue

Dernière modification par Compte supprimé (Le 25/09/2019, à 07:03)