Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Pfsense 2.0.3 cron sorunu

    Scheduled Pinned Locked Moved Turkish
    3 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      olriss
      last edited by

      Merhaba

      Pfsense 2.0.3 kullanıyorum.Sargdan günlük rapor almak için webguideki sarg ayarlarına görev tanımladım olmadı ,
      sshda admin kullanıcısı ile crontab -e ile tanımladım olmadı.
      etc altında crontab dosyasına yazdım olmadı:(

      kısacası cron çalıştıramıyorum.(ilgili satırı yazdıktan sonra bir satır boşluk da bırakıyorum)

      [2.0.3-RELEASE][admin@pfsense.localdomain]/root(3): crontab -l
      50 23 * * * /usr/local/bin/sarg -d date +%d/%m/%Y-date +%d/%m/%Y

      /etc/crontab içeriği

      If possible do not add items to this file manually.

      If you do so, this file must be terminated with a blank line (e.g. new line)

      50      23      *      *      *      root    /usr/local/bin/sarg -d date +%d/%m/%Y-date +%d/%m/%Y

      sunucuda cron ile ilgili servisler çalışıyor görünüyor.çıktısı şöyle

      [2.0.3-RELEASE][admin@pfsense.localdomain]/root(7): ps aux | grep cron
      root    163  0.0  0.1  3256  1032  ??  I    6May13  0:00.00 minicron: helper /etc/rc.update_alias_url_data  (minicron)
      root    7342  0.0  0.1  3348  1304  ??  Ss    6May13  0:01.04 /usr/sbin/cron -s
      root  26631  0.0  0.1  3256  988  ??  Is  Wed03AM  0:00.00 /usr/local/bin/minicron 60 /var/run/cp_prunedb.pid /etc/rc.prunecaptiveportal
      root  26761  0.0  0.1  3256  1032  ??  I    Wed03AM  0:00.50 minicron: helper /etc/rc.prunecaptiveportal  (minicron)
      root  62517  0.0  0.1  3256  984  ??  Is    6May13  0:00.00 /usr/local/bin/minicron 240 /var/run/ping_hosts.pid /usr/local/bin/ping_hosts.sh
      root  62860  0.0  0.1  3256  1032  ??  I    6May13  0:00.51 minicron: helper /usr/local/bin/ping_hosts.sh  (minicron)
      root  63127  0.0  0.1  3256  984  ??  Is    6May13  0:00.00 /usr/local/bin/minicron 3600 /var/run/expire_accounts.pid /etc/rc.expireaccounts
      root  63582  0.0  0.1  3256  1032  ??  I    6May13  0:00.04 minicron: helper /etc/rc.expireaccounts  (minicron)
      root  63644  0.0  0.1  3256  984  ??  Is    6May13  0:00.00 /usr/local/bin/minicron 86400 /var/run/update_alias_url_data.pid /etc/rc.update_alias_url_d

      http://www.linux-destek.com/

      1 Reply Last reply Reply Quote 0
      • L
        linux42
        last edited by

        aynı sorunu bende yaşıyorum ama çözüm öneren yok net birşey var oda gerçekten böyle bir hata var. ben giderek pfsenseden soğumaya başladım TUTARSIZ !!! VE STABILITE YOK ya bu yeni sürümler böyle yada hep böyleydi.

        1 Reply Last reply Reply Quote 0
        • O
          olriss
          last edited by

          Bence de.

          Yanlız şöyle bi komik durum oldu sonradan.pfsense'de cron paketi varmış.onu kurdum.aynı satırı oraya da ekledim.
          Daha sonra service tabındaki cron sayfasına geldim.Nasıl olduğunu bilmiyorum ama önceden kurduğum lightsquidin cronu da oradaydı.Çok üzerinde durmadım ve sildim.
          Ayrıca status tabındaki sarg reports kısmında schedule bölümünde extra parametreleri de sildim.
          Bunları yaptıktan sonra araya birşeyler girdi ve ben bu işi unuttum.Taaaaki bir gün müşterim beni bir gün arayana kadar:)

          Sarg bu haldeyken hergün rapor çıkarmış.Ama günlük değil.17nisan-21nisan,17nisan23nisan…... şeklinde.Disk dolmuş,sistem iptal.Sas diskli makinada bile 1-2 saat aldı silinme işlemi.

          uzun bir geyik oldu benimki ama not olarak düşeyim dedim:)

          http://www.linux-destek.com/

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.