Bonsoir,
Mon serveur (Debian Squeeze) tourne depuis un mois bientot non stop (sauf la semaine dernière ou j’ ai du le rebooter suite à une mise à jour du noyau) . Il heberge mon site web (en signature) , un serveur smtp, et ssh.
Cette nuit, pour je ne sais quelle raison, il s’ est passé quelque chose.
à 2 h 44, il fonctionnait encore, un membre de mon forum a posté un message. Ce matin, à 6 heures, avant d’ aller travailler, je jette un oeil sur mon site web et j’ obtiens une erreur 403, même en local… J’ essaye de me connecter via ssh, en console j’ ai le droit à un :
Read from socket failed: Connection reset by peer
Que ce soit en root, en user…J’ ai essayé via Nautilus, la connexion a été arrété de manière innatendue… Bref, impossible de faire quelque chose sous peine d’ être en retard à mon travail. Ce soir à mon retour, je me connecte en port usb via cu , je reboot mon serveur et tout refonctionne comme si de rien n’ était.
Je n’ ai rien touché récemment, et je n’ ai eu aucun signe avant courreur.
Je poste ma configuration d’ apache, qui a toujours fonctionné depuis un mois :
/etc/apache2/sites-available/defaut
[code] <VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
Options -FollowSymLinks
AccessFileName .httpdoverride
<Files ~ “^.ht”>
Order allow,deny
Deny from all
Satisfy All
[/code]
Mon apache2.conf :
[code] #
Based upon the NCSA server configuration files originally by Rob McCool.
This is the main Apache server configuration file. It contains the
configuration directives that give the server its instructions.
See http://httpd.apache.org/docs/2.2/ for detailed information about
the directives.
Do NOT simply read the instructions in here without understanding
what they do. They’re here only as hints or reminders. If you are unsure
consult the online docs. You have been warned.
The configuration directives are grouped into three basic sections:
1. Directives that control the operation of the Apache server process as a
whole (the ‘global environment’).
2. Directives that define the parameters of the ‘main’ or ‘default’ server,
which responds to requests that aren’t handled by a virtual host.
These directives also provide default values for the settings
of all virtual hosts.
3. Settings for virtual hosts, which allow Web requests to be sent to
different IP addresses or hostnames and have them handled by the
same Apache server process.
Configuration and logfile names: If the filenames you specify for many
of the server’s control files begin with “/” (or “drive:/” for Win32), the
server will use that explicit path. If the filenames do not begin
with “/”, the value of ServerRoot is prepended – so “foo.log”
with ServerRoot set to “/etc/apache2” will be interpreted by the
server as “/etc/apache2/foo.log”.
Section 1: Global Environment
The directives in this section affect the overall operation of Apache,
such as the number of concurrent requests it can handle or where it
can find its configuration files.
ServerRoot: The top of the directory tree under which the server’s
configuration, error, and log files are kept.
NOTE! If you intend to place this on an NFS (or otherwise network)
mounted filesystem then please read the LockFile documentation (available
at URL:http://httpd.apache.org/docs/2.2/mod/mpm_common.html#lockfile);
you will save yourself a lot of trouble.
Do NOT add a slash at the end of the directory path.
#ServerRoot “/etc/apache2”
The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
LockFile ${APACHE_LOCK_DIR}/accept.lock
PidFile: The file in which the server should record its process
identification number when it starts.
This needs to be set in /etc/apache2/envvars
PidFile ${APACHE_PID_FILE}
Timeout: The number of seconds before receives and sends time out.
Timeout 300
KeepAlive: Whether or not to allow persistent connections (more than
one request per connection). Set to “Off” to deactivate.
KeepAlive On
MaxKeepAliveRequests: The maximum number of requests to allow
during a persistent connection. Set to 0 to allow an unlimited amount.
We recommend you leave this number high, for maximum performance.
MaxKeepAliveRequests 100
KeepAliveTimeout: Number of seconds to wait for the next request from the
same client on the same connection.
KeepAliveTimeout 15
Server-Pool Size Regulation (MPM specific)
prefork MPM
StartServers: number of server processes to start
MinSpareServers: minimum number of server processes which are kept spare
MaxSpareServers: maximum number of server processes which are kept spare
MaxClients: maximum number of server processes allowed to start
MaxRequestsPerChild: maximum number of requests a server process serves
StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0worker MPM
StartServers: initial number of server processes to start
MaxClients: maximum number of simultaneous client connections
MinSpareThreads: minimum number of worker threads which are kept spare
MaxSpareThreads: maximum number of worker threads which are kept spare
ThreadLimit: ThreadsPerChild can be changed to this maximum value during a
graceful restart. ThreadLimit can only be changed by stopping
and starting Apache.
ThreadsPerChild: constant number of worker threads in each server process
MaxRequestsPerChild: maximum number of requests a server process serves
StartServers 2 MinSpareThreads 25 MaxSpareThreads 75 ThreadLimit 64 ThreadsPerChild 25 MaxClients 150 MaxRequestsPerChild 0event MPM
StartServers: initial number of server processes to start
MaxClients: maximum number of simultaneous client connections
MinSpareThreads: minimum number of worker threads which are kept spare
MaxSpareThreads: maximum number of worker threads which are kept spare
ThreadsPerChild: constant number of worker threads in each server process
MaxRequestsPerChild: maximum number of requests a server process serves
StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadLimit 64 ThreadsPerChild 25 MaxRequestsPerChild 0These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
AccessFileName: The name of the file to look for in each directory
for additional configuration directives. See also the AllowOverride
directive.
AccessFileName .htaccess
The following lines prevent .htaccess and .htpasswd files from being
viewed by Web clients.
<Files ~ “^.ht”>
Order allow,deny
Deny from all
Satisfy all
DefaultType is the default MIME type the server will use for a document
if it cannot otherwise determine one, such as from filename extensions.
If your server contains mostly text or HTML documents, “text/plain” is
a good value. If most of your content is binary, such as applications
or images, you may want to use “application/octet-stream” instead to
keep browsers from trying to display binary files as though they are
text.
DefaultType text/plain
HostnameLookups: Log the names of clients or just their IP addresses
e.g., www.apache.org (on) or 204.62.129.132 (off).
The default is off because it’d be overall better for the net if people
had to knowingly turn this feature on, since enabling it means that
each client request will result in AT LEAST one lookup request to the
nameserver.
HostnameLookups Off
ErrorLog: The location of the error log file.
If you do not specify an ErrorLog directive within a
container, error messages relating to that virtual host will be
logged here. If you do define an error logfile for a
container, that host’s errors will be logged there and not here.
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel: Control the number of messages logged to the error_log.
Possible values include: debug, info, notice, warn, error, crit,
alert, emerg.
LogLevel warn
Include module configuration:
Include mods-enabled/.load
Include mods-enabled/.conf
Include all the user configurations:
Include httpd.conf
Include ports listing
Include ports.conf
The following directives define some format nicknames for use with
a CustomLog directive (see below).
If you are behind a reverse proxy, you might want to change %h into %{X-Forwarded-For}i
LogFormat “%v:%p %h %l %u %t “%r” %>s %O “%{Referer}i” “%{User-Agent}i”” vhost_combined
LogFormat “%h %l %u %t “%r” %>s %O “%{Referer}i” “%{User-Agent}i”” combined
LogFormat “%h %l %u %t “%r” %>s %O” common
LogFormat “%{Referer}i -> %U” referer
LogFormat “%{User-agent}i” agent
Include of directories ignores editors’ and dpkg’s backup files,
see README.Debian for details.
Include generic snippets of statements
Include conf.d/
Include the virtual host configurations:
Include sites-enabled/ [/code]
Enfin, les logs sur mon serveur :
- Dmesg :
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.32-5-kirkwood (Debian 2.6.32-25) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 Fri Oct 15 13:52:51 UTC 2010
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Marvell SheevaPlug Reference Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat c03d30b8, node_mem_map c0440000
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130048 pages, LIFO batch:31
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line:
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 256MB 256MB = 512MB total
[ 0.000000] Memory: 509568KB available (3512K code, 583K data, 124K init, 0K highmem)
[ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:114
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 21.475105] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
[ 21.714928] Security Framework initialized
[ 21.714955] SELinux: Disabled at boot.
[ 21.714988] Mount-cache hash table entries: 512
[ 21.715287] Initializing cgroup subsys ns
[ 21.715310] Initializing cgroup subsys cpuacct
[ 21.715337] Initializing cgroup subsys devices
[ 21.715355] Initializing cgroup subsys freezer
[ 21.715371] Initializing cgroup subsys net_cls
[ 21.715439] CPU: Testing write buffer coherency: ok
[ 21.716176] devtmpfs: initialized
[ 21.717863] regulator: core version 0.5
[ 21.718091] NET: Registered protocol family 16
[ 21.718597] Kirkwood: MV88F6281-A0, TCLK=200000000.
[ 21.718630] Feroceon L2: Enabling L2
[ 21.718673] Feroceon L2: Cache support initialised.
[ 21.719103] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[ 21.719125] final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[ 21.720516] bio: create slab <bio-0> at 0
[ 21.720793] vgaarb: loaded
[ 21.721253] Switching to clocksource orion_clocksource
[ 21.724839] NET: Registered protocol family 2
[ 21.725149] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 21.725921] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 21.726294] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 21.726483] TCP: Hash tables configured (established 16384 bind 16384)
[ 21.726502] TCP reno registered
[ 21.726657] NET: Registered protocol family 1
[ 21.726840] Unpacking initramfs...
[ 22.089448] Freeing initrd memory: 5548K
[ 22.089578] NetWinder Floating Point Emulator V0.97 (double precision)
[ 22.089831] audit: initializing netlink socket (disabled)
[ 22.089875] type=2000 audit(0.600:1): initialized
[ 22.096272] VFS: Disk quotas dquot_6.5.2
[ 22.096548] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 22.096651] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 22.097308] msgmni has been set to 1006
[ 22.098942] alg: No test for stdrng (krng)
[ 22.099078] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 22.099109] io scheduler noop registered
[ 22.099123] io scheduler anticipatory registered
[ 22.099139] io scheduler deadline registered
[ 22.099325] io scheduler cfq registered (default)
[ 22.105224] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 22.105696] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 22.106264] NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
[ 22.106302] Scanning device for bad blocks
[ 22.164620] Bad eraseblock 1994 at 0x00000f940000
[ 22.165369] Bad eraseblock 2019 at 0x00000fc60000
[ 22.207268] Bad eraseblock 3453 at 0x00001afa0000
[ 22.226045] Creating 3 MTD partitions on "orion_nand":
[ 22.226077] 0x000000000000-0x000000100000 : "u-boot"
[ 22.226645] 0x000000100000-0x000000500000 : "uImage"
[ 22.227120] 0x000000500000-0x000020000000 : "root"
[ 22.228538] mice: PS/2 mouse device common for all mice
[ 22.228795] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[ 22.228882] i2c /dev entries driver
[ 22.229093] cpuidle: using governor ladder
[ 22.229224] cpuidle: using governor menu
[ 22.229337] Registered led device: plug:green:health
[ 22.229406] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[ 22.229443] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[ 22.261322] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 22.301327] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[ 22.341325] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[ 22.381325] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[ 22.382495] TCP cubic registered
[ 22.382517] NET: Registered protocol family 17
[ 22.382544] Gating clock of unused units
[ 22.382552] before: 0x00c701dd
[ 22.382559] after: 0x00c701d9
[ 22.382849] registered taskstats version 1
[ 22.383479] rtc-mv rtc-mv: setting system clock to 2010-10-25 18:33:27 UTC (1288031607)
[ 22.383509] Initalizing network drop monitor service
[ 22.383580] Freeing init memory: 124K
[ 22.461723] udev[44]: starting version 163
[ 22.755353] usbcore: registered new interface driver usbfs
[ 22.756008] usbcore: registered new interface driver hub
[ 22.756669] usbcore: registered new device driver usb
[ 22.779475] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[ 22.793414] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 22.793497] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 22.793569] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 22.821330] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 22.841298] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 22.841371] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 22.841395] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 22.841419] usb usb1: Product: Marvell Orion EHCI
[ 22.841435] usb usb1: Manufacturer: Linux 2.6.32-5-kirkwood ehci_hcd
[ 22.841453] usb usb1: SerialNumber: orion-ehci.0
[ 22.841987] usb usb1: configuration #1 chosen from 1 choice
[ 22.842302] hub 1-0:1.0: USB hub found
[ 22.842352] hub 1-0:1.0: 1 port detected
[ 22.845111] MV-643xx 10/100/1000 ethernet driver version 1.4
[ 22.845381] mv643xx_eth smi: probed
[ 22.862811] net eth0: port 0 with MAC address 00:50:43:e4:13:0c
[ 23.161315] usb 1-1: new high speed USB device using orion-ehci and address 2
[ 23.312141] usb 1-1: New USB device found, idVendor=059b, idProduct=0475
[ 23.312173] usb 1-1: New USB device strings: Mfr=10, Product=11, SerialNumber=5
[ 23.312197] usb 1-1: Product: USB to ATA/ATAPI bridge
[ 23.312214] usb 1-1: Manufacturer: Iomega
[ 23.312229] usb 1-1: SerialNumber: 9C90FFFFFFFF
[ 23.313502] usb 1-1: configuration #1 chosen from 1 choice
[ 23.395784] SCSI subsystem initialized
[ 23.418809] Initializing USB Mass Storage driver...
[ 23.419074] scsi0 : SCSI emulation for USB Mass Storage devices
[ 23.419736] usbcore: registered new interface driver usb-storage
[ 23.419767] USB Mass Storage support registered.
[ 23.421809] usb-storage: device found at 2
[ 23.421819] usb-storage: waiting for device to settle before scanning
[ 28.421577] usb-storage: device scan complete
[ 28.422224] scsi 0:0:0:0: Direct-Access ST350041 8AS PQ: 0 ANSI: 2 CCS
[ 28.450543] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 28.451279] sd 0:0:0:0: [sda] Write Protect is off
[ 28.451362] sd 0:0:0:0: [sda] Mode Sense: 28 00 00 00
[ 28.451372] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 28.452902] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 28.452930] sda: sda1 sda2 sda3
[ 28.457280] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 28.457313] sd 0:0:0:0: [sda] Attached SCSI disk
[ 28.873660] EXT3-fs: INFO: recovery required on readonly filesystem.
[ 28.873695] EXT3-fs: write access will be enabled during recovery.
[ 31.049111] kjournald starting. Commit interval 5 seconds
[ 31.049172] EXT3-fs: sda3: orphan cleanup on readonly fs
[ 31.049206] ext3_orphan_cleanup: deleting unreferenced inode 8003593
[ 31.049280] ext3_orphan_cleanup: deleting unreferenced inode 8003592
[ 31.049307] ext3_orphan_cleanup: deleting unreferenced inode 8003591
[ 31.049333] ext3_orphan_cleanup: deleting unreferenced inode 8003590
[ 31.049358] ext3_orphan_cleanup: deleting unreferenced inode 8003589
[ 31.049379] EXT3-fs: sda3: 5 orphan inodes deleted
[ 31.049398] EXT3-fs: recovery complete.
[ 31.060050] EXT3-fs: mounted filesystem with ordered data mode.
[ 32.440633] udev[225]: starting version 163
[ 32.708284] udev[237]: renamed network interface eth0 to eth1
[ 33.941810] Adding 1076344k swap on /dev/sda2. Priority:-1 extents:1 across:1076344k
[ 34.521543] EXT3 FS on sda3, internal journal
[ 34.760878] loop: module loaded
- Syslog :
Oct 25 03:10:11 casper-sheeva /USR/SBIN/CRON[8906]: (CRON) error (grandchild #8908 failed with exit status 1)
Oct 25 03:17:01 casper-sheeva /USR/SBIN/CRON[9017]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Oct 25 03:20:01 casper-sheeva /USR/SBIN/CRON[9025]: (www-data) CMD ([ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh)
Oct 25 03:20:05 casper-sheeva /USR/SBIN/CRON[9023]: (CRON) error (grandchild #9025 failed with exit status 1)
Oct 25 03:30:01 casper-sheeva /USR/SBIN/CRON[9043]: (www-data) CMD ([ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh)
Oct 25 03:30:06 casper-sheeva /USR/SBIN/CRON[9041]: (CRON) error (grandchild #9043 failed with exit status 1)
Oct 25 03:39:01 casper-sheeva /USR/SBIN/CRON[9060]: (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)
Oct 25 03:40:01 casper-sheeva /USR/SBIN/CRON[9070]: (www-data) CMD ([ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh)
Oct 25 03:40:06 casper-sheeva /USR/SBIN/CRON[9068]: (CRON) error (grandchild #9070 failed with exit status 1)
Oct 25 03:50:01 casper-sheeva /USR/SBIN/CRON[9088]: (www-data) CMD ([ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh)
Oct 25 03:50:05 casper-sheeva /USR/SBIN/CRON[9086]: (CRON) error (grandchild #9088 failed with exit status 1)
Oct 25 04:00:01 casper-sheeva /USR/SBIN/CRON[9106]: (www-data) CMD ([ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh)
Oct 25 04:00:06 casper-sheeva /USR/SBIN/CRON[9104]: (CRON) error (grandchild #9106 failed with exit status 1)
Le problème a du se passer lors des dernières lignes, car après c’ est l’ heure du reboot. il y a un problème avec cron, mais je n’ arrive pas à voir ce que c’ est. Je n’ ai jamais touché à cron.
Ce n’ est pas fini. Après le reboot :
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_banlist' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_banlist'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_config' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_config'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_confirm' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_confirm'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_forums' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_forums'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_forums_track' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_forums_track'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_log' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_log'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_posts' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_posts'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_privmsgs_to' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_privmsgs_to'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_search_results' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_search_results'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_search_wordlist' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_search_wordlist'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_search_wordmatch' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_search_wordmatch'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_sessions' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_sessions'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_sessions_keys' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_sessions_keys'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_topics' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_topics'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_topics_posted' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_topics_posted'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_topics_track' is marked as crashed and should be repaired
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [Warning] Checking table: './plugcomputer/phpbb3_topics_track'
Oct 25 20:33:52 casper-sheeva mysqld: 101025 20:33:52 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_topics_watch' is marked as crashed and should be repaired
Oct 25 20:33:53 casper-sheeva mysqld: 101025 20:33:53 [Warning] Checking table: './plugcomputer/phpbb3_topics_watch'
Oct 25 20:33:53 casper-sheeva mysqld: 101025 20:33:53 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_user_group' is marked as crashed and should be repaired
Oct 25 20:33:53 casper-sheeva mysqld: 101025 20:33:53 [Warning] Checking table: './plugcomputer/phpbb3_user_group'
Oct 25 20:33:53 casper-sheeva mysqld: 101025 20:33:53 [ERROR] /usr/sbin/mysqld: Table './plugcomputer/phpbb3_users' is marked as crashed and should be repaired
Oct 25 20:33:53 casper-sheeva mysqld: 101025 20:33:53 [Warning] Checking table: './plugcomputer/phpbb3_users'
Oct 25 20:33:55 casper-sheeva ntpd[752]: Listen normally on 6 eth1 fe80::250:43ff:fee4:130c UDP 123
Oct 25 20:33:59 casper-sheeva kernel: [ 54.081205] eth1: no IPv6 routers present
Oct 25 20:30:42 casper-sheeva /USR/SBIN/CRON[1074]: (www-data) CMD ([ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh)
Oct 25 20:30:46 casper-sheeva postfix/master[1171]: daemon started -- version 2.7.1, configuration /etc/postfix
Oct 25 20:30:48 casper-sheeva /USR/SBIN/CRON[1073]: (CRON) error (grandchild #1074 failed with exit status 1)
Oct 25 20:39:01 casper-sheeva /USR/SBIN/CRON[1234]: (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)
Oct 25 20:40:01 casper-sheeva /USR/SBIN/CRON[1243]: (www-data) CMD ([ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh)
Oct 25 20:40:05 casper-sheeva /USR/SBIN/CRON[1242]: (CRON) error (grandchild #1243 failed with exit status 1)
Oct 25 20:50:01 casper-sheeva /USR/SBIN/CRON[1269]: (www-data) CMD ([ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh)
Oct 25 20:50:06 casper-sheeva /USR/SBIN/CRON[1267]: (CRON) error (grandchild #1269 failed with exit status 1)
Oct 25 21:00:01 casper-sheeva /USR/SBIN/CRON[1296]: (www-data) CMD ([ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh)
Oct 25 21:00:06 casper-sheeva /USR/SBIN/CRON[1294]: (CRON) error (grandchild #1296 failed with exit status 1)
Encore un problème avec cron, et avec les tables de la base de données. Pourtant, si je m’ y connecte via phpmyadmin, aucun message, sinon un message d’ avertissement comme quoi j’ utilise suoshin, mais il ne date pas d’ aujourd’ hui :
Au sujet de cron, j’ ai reçu ce mail dans mes logs :
[code] From root@forum-plugcomputer.net Tue Sep 28 06:25:14 2010
Return-Path: root@forum-plugcomputer.net
X-Original-To: root
Delivered-To: root@forum-plugcomputer.net
Received: by webmaster.forum-plugcomputer.net (Postfix, from userid 0)
id AE7CCEBC548; Tue, 28 Sep 2010 06:25:14 +0200 (CEST)
From: root@forum-plugcomputer.net (Cron Daemon)
To: root@forum-plugcomputer.net
Subject: Cron root@casper-sheeva test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) (failed)
Content-Type: text/plain; charset=UTF-8
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>
Message-Id: 20100928042514.AE7CCEBC548@webmaster.forum-plugcomputer.net
Date: Tue, 28 Sep 2010 06:25:14 +0200 (CEST)
/etc/cron.daily/passwd:
cp: cannot stat passwd': No such file or directory cp: cannot stat
group’: No such file or directory
cp: cannot stat shadow': No such file or directory cp: cannot stat
gshadow’: No such file or directory
run-parts: /etc/cron.daily/passwd exited with return code 1
[/code]
Voila, je ne sais pas si tous ce messages ont un quelquonque rapport avec mon problème, mais très certainement que cela va se reproduire.
Merci à tous pour votre aide.