Results 1 to 7 of 7

Thread: bfd question

  1. #1
    Join Date
    Mar 2006
    Posts
    302

    Question bfd question

    I have installed bfd. But recently I think it not running so edit cron which running by bfd for every 5 minutes to sent email to me. Here is the example

    MAILTO=myemail_address
    SHELL=/bin/sh
    */5 * * * * root /usr/local/sbin/bfd -q

    But it I don't get any email. Is it still running?

  2. #2
    Join Date
    May 2002
    Location
    Kingston, Ontario
    Posts
    1,573
    /etc/init.d/crond restart

    tail -f /var/log/cron

    Restart and follow the cron daemon and see if its processing jobs.
    Upload Guardian 2 - Malicious Upload Scanner - Windows and Linux!
    Instantly scan uploaded files
    Get notified when released

  3. #3
    Join Date
    Mar 2006
    Posts
    302
    Ok. I have done it. No output. I'm on RH4 with cPanel

  4. #4
    Join Date
    Sep 2005
    Location
    Airdrie, Alberta, Canada
    Posts
    195
    are you seeing any attempts made on port 22 in your log files? If there are no failed attempts you won't get an email.
    Dan Bulmer
    CRUSE Hosting Services
    http://www.crusehosting.com
    Full H-SPhere Clustered Servers

  5. #5
    Join Date
    Mar 2006
    Posts
    302
    Thanks... the cron is running. It just don't write to the log file.

  6. #6
    Join Date
    Sep 2005
    Location
    Airdrie, Alberta, Canada
    Posts
    195
    BFD doesn't write to the log file. The cron job reads the log file. If there are rejected attempts, the IP is added to the deny_hosts.rules You are using APF was well?
    Dan Bulmer
    CRUSE Hosting Services
    http://www.crusehosting.com
    Full H-SPhere Clustered Servers

  7. #7
    Join Date
    Nov 2004
    Location
    Australia
    Posts
    1,683
    Quote Originally Posted by Ramprage
    /etc/init.d/crond restart

    tail -f /var/log/cron

    Restart and follow the cron daemon and see if its processing jobs.
    If you don't get any output from this -- and it sounds like you are not, then cron is not working properly, or you've put the cron lines in the wrong file or something. (they should be installed via the "crontab -e" command).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •