.H.
Dabbler
- Joined
- Feb 10, 2013
- Messages
- 43
Hello,
J'ai un probleme avec la tache CRON du test smart.
Lorsque je lance la tache CRON
j'ai ce retour dans le mail : /etc/sh: not found
et ceci dans le sujet du mail : Cron <root@Hserver> PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin" /usr/local/sbin/scrub -t 8 Pool1
dois je placer le script quelque part manuellement ?
car j'ai bien refait la procedure :
je fais le test mail cela fonctionne.
je dois ensuite le copier ? :
10) If it worked then lets copy it to /etc so you can run it now without having to reboot. Type:
puis
11) Type 'mount -r /'
mais j'ai toujours l'erreur ...
merci de votre aide
J'ai un probleme avec la tache CRON du test smart.
Lorsque je lance la tache CRON
j'ai ce retour dans le mail : /etc/sh: not found
et ceci dans le sujet du mail : Cron <root@Hserver> PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin" /usr/local/sbin/scrub -t 8 Pool1
dois je placer le script quelque part manuellement ?
car j'ai bien refait la procedure :
- 1) SSH or use the console and log in as root/SU.
- 2) Type 'mount -wu /'
- 3) Type 'cd /conf/base/etc'
- 4) Type 'ee esmart.sh'
- 5) Cut and paste the script below into the editor.
je fais le test mail cela fonctionne.
6) Edit youremail@address.net to reflect the email address you desire the report to be sent.
7) You can edit more of the script if you like but you can stop here and lets save this script, Press Escape and save it.
8) Test Run the script by typing 'sh esmart.sh /dev/ada0' NOTE: /dev/ada0 needs to be changed to your drive path. Depending on the drive adapter it could be different.
9) Wait a few seconds and check your email.
je dois ensuite le copier ? :
10) If it worked then lets copy it to /etc so you can run it now without having to reboot. Type:
cd /etc
cp /conf/base/etc/esmart.sh .
puis
11) Type 'mount -r /'
mais j'ai toujours l'erreur ...
merci de votre aide