|
Title: [Ubuntu] You have new mail. Post by: Arphus on 04 July 2007 à 01:38:24 Bonjour,
quand je suis rentré sur mon serveur avec Putty.exe j'ai vu que root avait reçu un "You have new mail." Je suis allé voir et j'ai cela je ne sais pas trop quoi faire. Code: From root@garaf.csdeschenes.qc.ca Wed Jun 27 06:25:04 2007 Return-Path: <root@garaf.csdeschenes.qc.ca> X-Original-To: root Delivered-To: root@garaf.csdeschenes.qc.ca Received: by garaf.csdeschenes.qc.ca (Postfix, from userid 0) id 1F1D040371A8; Wed, 27 Jun 2007 06:25:04 -0400 (EDT) From: root@garaf.csdeschenes.qc.ca (Cron Daemon) To: root@garaf.csdeschenes.qc.ca Subject: Cron <root@garaf> test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily 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: <20070627102504.1F1D040371A8@garaf.csdeschenes.qc.ca> Date: Wed, 27 Jun 2007 06:25:04 -0400 (EDT) /etc/cron.daily/logrotate: error: ocsinventory-client:18 lines must begin with a keyword or a filename (possibly in double quotes) error: ocsinventory-client:19 unexpected text error: ocsinventory-client:20 unexpected text error: ocsinventory-client:21 unexpected text error: ocsinventory-client:22 unexpected text error: ocsinventory-client:23 unexpected text error: ocsinventory-client:24, unexpected text after { error: ocsinventory-client:24 lines must begin with a keyword or a filename (possibly in double quotes) From root@garaf.csdeschenes.qc.ca Thu Jun 28 06:25:03 2007 Return-Path: <root@garaf.csdeschenes.qc.ca> X-Original-To: root Delivered-To: root@garaf.csdeschenes.qc.ca Received: by garaf.csdeschenes.qc.ca (Postfix, from userid 0) id 6908040390F1; Thu, 28 Jun 2007 06:25:03 -0400 (EDT) From: root@garaf.csdeschenes.qc.ca (Cron Daemon) To: root@garaf.csdeschenes.qc.ca Subject: Cron <root@garaf> test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily 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: <20070628102503.6908040390F1@garaf.csdeschenes.qc.ca> Date: Thu, 28 Jun 2007 06:25:03 -0400 (EDT) /etc/cron.daily/logrotate: error: ocsinventory-client:18 lines must begin with a keyword or a filename (possibly in double quotes) error: ocsinventory-client:19 unexpected text error: ocsinventory-client:20 unexpected text error: ocsinventory-client:21 unexpected text error: ocsinventory-client:22 unexpected text error: ocsinventory-client:23 unexpected text error: ocsinventory-client:24, unexpected text after { error: ocsinventory-client:24 lines must begin with a keyword or a filename (possibly in double quotes) From root@garaf.csdeschenes.qc.ca Fri Jun 29 06:25:03 2007 Return-Path: <root@garaf.csdeschenes.qc.ca> X-Original-To: root Delivered-To: root@garaf.csdeschenes.qc.ca Received: by garaf.csdeschenes.qc.ca (Postfix, from userid 0) id 926A840390F1; Fri, 29 Jun 2007 06:25:03 -0400 (EDT) From: root@garaf.csdeschenes.qc.ca (Cron Daemon) To: root@garaf.csdeschenes.qc.ca Subject: Cron <root@garaf> test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily 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: <20070629102503.926A840390F1@garaf.csdeschenes.qc.ca> Date: Fri, 29 Jun 2007 06:25:03 -0400 (EDT) /etc/cron.daily/logrotate: error: ocsinventory-client:18 lines must begin with a keyword or a filename (possibly in double quotes) error: ocsinventory-client:19 unexpected text error: ocsinventory-client:20 unexpected text error: ocsinventory-client:21 unexpected text error: ocsinventory-client:22 unexpected text error: ocsinventory-client:23 unexpected text error: ocsinventory-client:24, unexpected text after { ![]() Title: Post by: Marmotte on 04 July 2007 à 02:24:50 C'est cron (le scheduler) qui t'envoie des mails en local sur la machine ^^
Apparement il n'aime pas sa config et il le dit lol Ou as tu copié des fichiers dans le repertoire /etc/cron.daily ? As tu modifié le contenu du fichier /etc/crontab ? Il semblerai que l'un des deux pose problème ;) Title: Post by: Arphus on 05 July 2007 à 00:52:20 lol c'est pas moi qui as faite l'install de se vserver.
je n'ai pas modifié ces dossiers. je dois faire quoi d'après ton expérience ![]() Title: Post by: Fireboot on 05 July 2007 à 01:08:12 Au pire tu le fais à la Windows si cron n'est pas utilisé sur ton systeme : désinstallation, purge des fichiers de conf, réinstallation
Title: Post by: Arphus on 05 July 2007 à 01:23:38 au fait c'est un gars de révolution linux qui a programmé les crons (un pro quoi) et il m'avait dit que les crons était utile pour la mise à jour automatique des packets... la maintenance du serveur.
Je voudrais juste réparer les crons pour de mon serveur voici leur site en passant .... http://www.revolutionlinux.com/ (http://www.revolutionlinux.com/) Title: Post by: Tom on 05 July 2007 à 19:22:16 D'après le mail, ca foire au niveau de ocsinventory. ;) Donc regardes ses fichiers de config, et compares les aux informations données par le mail.
|