Pb plantage serveur Linux

guilom076 Messages postés 52 Statut Membre -  
guilom076 Messages postés 52 Statut Membre -
Bonjour,

J'ai mis en place dans mon entreprise un serveur Web tournant sur Linux pour permettre au gros clients de passer commande via le Net.

Il s'agit d'une distrib Linux avec apache, Mysql, Php.

Le serveur fonctionne niquel mais voila maintenant la troisiéme fois qu'il plante (3éme fois en un mois dont 2 cette semaine).

Au niveau des logs, je vois bien que le serveur s'arréte mais aucune idée de pourquoi.

J'ai du coup programmé un reboot de la machine (taches cron) qui s'est bien passé hier matin mais qui n'as pas empéché le serveur de planter 1heure 30 aprés.

Quelqu'un aurait une idée? Une piste à creuser?

Merci pour vos réponses

10 réponses

  1. Enjolras_ Messages postés 107 Statut Membre 11
     
    Bonjour,
    si tu n'en dit pas plus on ne sera pas trop avancé ...
    0
  2. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898
     
    Salut,

    Il s'agit d'une distrib Linux avec apache, Mysql, Php.
    Oui mais encore ?
    0
  3. guilom076 Messages postés 52 Statut Membre 2
     
    A vrai dire, ya pas grand chose de plus à ajouter.

    C'est une debian, il ya vraiment pas grand chose d'installer dessus :
    - Apache
    - Mysql
    - php
    - phpmyadmin
    - connection ssh
    - connection ftp

    Et je crois que j'ai fais le tour.

    Quelles informations supplémentaires ils vous faudrait pour pouvoir m'aider?
    0
  4. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898
     
    Merci.

    Et côté matos ? Récent ou vieux coucou ?

    CPU ? Ram (memtest ?) ? HD ?
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. Enjolras_ Messages postés 107 Statut Membre 11
     
    Peut etre pourrais tu poster le bout de syslog et de erreur.log qui precede le plantage...
    avec un peu de chance quelqu'un y trouvera une piste
    0
  7. guilom076 Messages postés 52 Statut Membre 2
     
    C'est un HP compaq d330 ut.

    Il doit avoir 2 ou 3 ans maxi.

    Je viens de faire le test avec memtest et il me sors aucune erreur.

    La machine :

    CARTE MERE ET PROCESSEUR

    # dmidecode 2.9
    SMBIOS 2.3 present.

    Handle 0x0001, DMI type 0, 20 bytes
    BIOS Information
    Vendor: Hewlett-Packard
    Version: 786B2 v2.04
    Release Date: 10/03/2003
    Address: 0xE0000
    Runtime Size: 128 kB
    ROM Size: 512 kB
    Characteristics:
    PCI is supported
    PNP is supported
    BIOS is upgradeable
    BIOS shadowing is allowed
    Boot from CD is supported
    Selectable boot is supported
    EDD is supported
    Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
    5.25"/360 KB floppy services are supported (int 13h)
    5.25"/1.2 MB floppy services are supported (int 13h)
    3.5"/720 KB floppy services are supported (int 13h)
    Print screen service is supported (int 5h)
    8042 keyboard services are supported (int 9h)
    Serial services are supported (int 14h)
    Printer services are supported (int 17h)
    ACPI is supported
    USB legacy is supported
    AGP is supported
    LS-120 boot is supported
    ATAPI Zip drive boot is supported
    BIOS boot specification is supported
    Function key-initiated network boot is supported

    Handle 0x0026, DMI type 13, 22 bytes
    BIOS Language Information
    Installable Languages: 1
    en|US|iso8859-1
    Currently Installed Language: en|US|iso8859-1

    # dmidecode 2.9
    SMBIOS 2.3 present.

    Handle 0x0005, DMI type 4, 35 bytes
    Processor Information
    Socket Designation: XU1 PROCESSOR
    Type: Central Processor
    Family: Pentium 4
    Manufacturer: Intel
    ID: 29 0F 00 00 FF FB EB BF
    Signature: Type 0, Family 15, Model 2, Stepping 9
    Flags:
    FPU (Floating-point unit on-chip)
    VME (Virtual mode extension)
    DE (Debugging extension)
    PSE (Page size extension)
    TSC (Time stamp counter)
    MSR (Model specific registers)
    PAE (Physical address extension)
    MCE (Machine check exception)
    CX8 (CMPXCHG8 instruction supported)
    APIC (On-chip APIC hardware supported)
    SEP (Fast system call)
    MTRR (Memory type range registers)
    PGE (Page global enable)
    MCA (Machine check architecture)
    CMOV (Conditional move instruction supported)
    PAT (Page attribute table)
    PSE-36 (36-bit page size extension)
    CLFSH (CLFLUSH instruction supported)
    DS (Debug store)
    ACPI (ACPI supported)
    MMX (MMX technology supported)
    FXSR (Fast floating-point save and restore)
    SSE (Streaming SIMD extensions)
    SSE2 (Streaming SIMD extensions 2)
    SS (Self-snoop)
    HTT (Hyper-threading technology)
    TM (Thermal monitor supported)
    PBE (Pending break enabled)
    Version: Intel(R) Pentium(R) 4 CPU 2.66GHz
    Voltage: 1.5 V
    External Clock: 533 MHz
    Max Speed: 3200 MHz
    Current Speed: 2666 MHz
    Status: Populated, Enabled
    Upgrade: Socket 478
    L1 Cache Handle: 0x0006
    L2 Cache Handle: 0x0007
    L3 Cache Handle: Not Provided
    Serial Number: Not Specified
    Asset Tag: Not Specified
    Part Number: Not Specified

    MES CARTES PCI

    00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
    00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
    00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
    00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
    00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
    00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
    00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
    00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
    00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
    05:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5782 Gigabit Ethernet (rev 03)
    05:09.0 Communication controller: Agere Systems LT WinModem (rev 02)

    MES PERIPHERIQUES USB

    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    0
  8. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898
     
    Comme suggéré par Enjolras dans son post, essaie de poster un bout de ton syslog ;-\
    0
  9. guilom076 Messages postés 52 Statut Membre 2
     
    Autant pour moi, j'avais pas vu le post donc :

    syslog :

    Mar 21 02:09:01 SRVDEBIAN /USR/SBIN/CRON[6572]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)
    Mar 21 02:17:01 SRVDEBIAN /USR/SBIN/CRON[6584]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
    Mar 21 02:39:01 SRVDEBIAN /USR/SBIN/CRON[6587]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)
    Mar 21 03:09:01 SRVDEBIAN /USR/SBIN/CRON[6598]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)
    Mar 21 03:17:01 SRVDEBIAN /USR/SBIN/CRON[6609]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
    ---------->>> PLANTAGE entre 03:35:35 et 03:38:35
    Mar 22 08:26:56 SRVDEBIAN kernel: imklog 3.18.6, log source = /proc/kmsg started.
    Mar 22 08:26:56 SRVDEBIAN kernel: [ 0.000000] Initializing cgroup subsys cpuset

    Mar 16 22:39:01 SRVDEBIAN /USR/SBIN/CRON[19727]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)
    Mar 16 23:09:01 SRVDEBIAN /USR/SBIN/CRON[19741]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)
    Mar 16 23:17:01 SRVDEBIAN /USR/SBIN/CRON[19755]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
    Mar 16 23:39:01 SRVDEBIAN /USR/SBIN/CRON[19759]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)
    ---------->>> PLANTAGE
    Mar 17 07:47:00 SRVDEBIAN kernel: imklog 3.18.6, log source = /proc/kmsg started.
    Mar 17 07:47:00 SRVDEBIAN kernel: [ 0.000000] Initializing cgroup subsys cpuset
    0
  10. Enjolras_
     
    je ne vois rien de special la dedans ...
    0
  11. guilom076 Messages postés 52 Statut Membre 2
     
    Effectivement, moi non plus ! :s

    Et c'est bien la le probléme. Rien dans les logs n'explique le plantage, le test de la RAM est ok.. Je suis un peu paumé la, je sais plus quoi tester. D'autres idées?
    0