Oltana.net 11 Février 2012 à 15:25:54 *
Bienvenue, Invité. Veuillez vous connecter ou vous inscrire.


Connexion avec identifiant et mot de passe
Nouvelles:
Bascule sur SMF faite!
 
 
Accueil Aide Rechercher
Pages: [1]   Bas de page
Imprimer
Auteur Fil de discussion: [Ubuntu] You have new mail.  (Lu 951 fois)
Arphus
Posteur assidu
****
Hors ligne Hors ligne

Messages: 235



Voir le profil
« le: 04 Juillet 2007 à 00: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 {

:)):
Journalisée




Marmotte
Modérateur Global
*****
Hors ligne Hors ligne

Sexe: Homme
Messages: 554



Voir le profil WWW
« Répondre #1 le: 04 Juillet 2007 à 01: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 Clin d'oeil
Journalisée

Arphus
Posteur assidu
****
Hors ligne Hors ligne

Messages: 235



Voir le profil
« Répondre #2 le: 04 Juillet 2007 à 23: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  :p:
Journalisée




Fireboot
Modérateur Global
*****
Hors ligne Hors ligne

Messages: 1831



Voir le profil
« Répondre #3 le: 05 Juillet 2007 à 00: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
Journalisée




Arphus
Posteur assidu
****
Hors ligne Hors ligne

Messages: 235



Voir le profil
« Répondre #4 le: 05 Juillet 2007 à 00: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/
Journalisée




Tom
Posteur fou
*****
Hors ligne Hors ligne

Messages: 771



Voir le profil
« Répondre #5 le: 05 Juillet 2007 à 18:22:16 »

D'après le mail, ca foire au niveau de ocsinventory. Clin d'oeil Donc regardes ses fichiers de config, et compares les aux informations données par le mail.
Journalisée

Pages: [1]   Haut de page
Imprimer
Oltana.net  |  Informatique Pratique  |  Linux  |  Fil de discussion: [Ubuntu] You have new mail.
 
Aller à:  

Powered by SMF 1.1.15 | SMF © 2006-2009, Simple Machines