We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Problème cron


nowwhat
01/02/2017, 10h08
Citation Envoyé par Lox
......
/etc/cron.daily/denypublic:
run-parts: failed to exec /etc/cron.daily/denypublic: Exec format error
run-parts: /etc/cron.daily/denypublic exited with return code 1
Bizarre.
Ça pas l'air très catholique ce "denypublic". Cet entrée de cron ne fait pas partie d'un install Debian de base.
T'as moyen de lister ce fichier ici (ce fichier /etc/cron.daily/denypublic ) ?


Citation Envoyé par Lox
......
/etc/cron.daily/logrotate:
error: skipping "/var/log/lshell/*.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
run-parts: /etc/cron.daily/logrotate exited with return code 1
.
Ah, c'est bien plus simple ça - là, au moins, Google va t'enterrer avec des détails et solutions.
Possible que tu nous liste
ls -al /var/log/lshell/
histoire de voir les droits, proprio, etc ?

Google [ error: skipping because parent directory has insecure permissions (It's world writable or writable by group which is not "root") ]

Check le premier : http://stackoverflow.com/questions/2...-configuration

fred2541
01/02/2017, 08h44
(It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
Je pense qu'il faut cherche par la en premier.

Lox
01/02/2017, 08h39
Bonjour,

J'ai loué un petit kimsufi avec Debian 8 installé pour m'exercer et apprendre.

Je reçois ce mail tous les jours:

/etc/cron.daily/denypublic:
run-parts: failed to exec /etc/cron.daily/denypublic: Exec format error
run-parts: /etc/cron.daily/denypublic exited with return code 1
/etc/cron.daily/logrotate:
error: skipping "/var/log/lshell/*.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
run-parts: /etc/cron.daily/logrotate exited with return code 1


Si quelqu'un peut m'aiguiller, merci par avance.