[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tache cron plante



# cd /var/cache/
# ls
apt  debconf  ldconfig  localepurge  man  samba
# mkdir locate
# cd /etc/cron.daily/
# ./locate
# echo $?
0


Le 23/07/2014 16:02, Clément Breuil a écrit :
# sh -x /etc/cron.daily/locate
+ set -e
+ [ -e /usr/bin/updatedb.findutils ]
+ id -u
+ [ 0 != 0 ]
+ FINDOPTIONS=-ignore_readdir_race
+ PRUNEFS=NFS nfs nfs4 afs binfmt_misc proc smbfs autofs iso9660 ncpfs
coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf
ocfs2
+ PRUNEPATHS=/tmp /usr/tmp /var/tmp /afs /amd /alex /var/spool /sfs
/media /var/lib/schroot/mount
+ NETPATHS=
+ LOCALUSER=nobody
+ NICE=10
+ IONICE_CLASS=3
+ IONICE_PRIORITY=7
+ [ -r /etc/updatedb.findutils.cron.local ]
+ export FINDOPTIONS PRUNEFS PRUNEPATHS NETPATHS LOCALUSER
+ [ -x /usr/bin/ionice ]
+ [  =  ]
+ uname -r
+ KVER=3.2.0-4-686-pae
+ priority=
+ ionice -c 3 -p 31423
+ getent passwd nobody
+ cd /
+ nice -n 10 updatedb.findutils
--Cette ligne plante--
--on la lance a la mano--

# nice -n 10 updatedb.findutils

/usr/bin/updatedb.findutils: 278: /usr/bin/updatedb.findutils: cannot
create /var/cache/locate/locatedb.n: Directory nonexistent
Failed to generate /var/cache/locate/locatedb.n


j'ai vais garder ces commandes dans un coin, sa aide pas mal.

Merci pour tout, le  souci venais d'un dossier qui n'existe plus.


Le 23/07/2014 15:57, Sébastien NOBILI a écrit :
  sh -x /etc/cron.daily/locate



Reply to: