Author Login
Post Reply
I pasted the command below on one line where it goes "....pid ] !!
/sbin/ser....." in the middle.
I get a cron email that says
Cron <root@(protected) ] !!
/sbin/service named restart
/bin/sh: line 0: [: missing `]'
Is there something more or different needed for an older AS4.0 system that I
am practicing on? My named.pid is in the listed path and I don't see why it
is whining.
Thanks,
Bill Watson
bill@(protected)
-----Original Message-----
From: rhelv5-list-bounces@(protected)]
On Behalf Of John Summerfield
An entry like so in root's crontab is a handy workaround:
<snip>
*/5 * * * * [ -f /var/named/chroot/var/run/named/named.pid ] !!
/sbin/service named restart
Note: one line
Note, Each five minutes might not be your choice, but chances are that
by the time anyone notices it's fixed.
--
Cheers
John
-- spambait
1aaaaaaa@(protected)
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list