Navigation

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

    [SOLVED] 2.1.5 pruner jobs being killed

    Captive Portal
    2
    3
    451
    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.
    • Derelict
      Derelict LAYER 8 Netgate last edited by

      I periodically and apparently at random have to restart a captive portal pruner job or two. Does this patch fix that?

      diff –git a/etc/inc/services.inc b/etc/inc/services.inc
      index c0ce84c..ef78513 100644
      --- a/etc/inc/services.inc
      +++ b/etc/inc/services.inc
      @@ -2162,7 +2162,7 @@ function configure_cron() {
      unset($crontab_contents);

      /* do a HUP kill to force sync changes */

      • exec('/bin/pkill -HUP cron');
      • sigkillbypid("{$g['varrun_path']}/cron.pid", "HUP");

      conf_mount_ro();
      }

      Chattanooga, Tennessee, USA
      The pfSense Book is free of charge!
      DO NOT set a source port in a port forward or firewall rule unless you KNOW you need it!
      Do Not Chat For Help! NO_WAN_EGRESS(TM)

      1 Reply Last reply Reply Quote 0
      • Derelict
        Derelict LAYER 8 Netgate last edited by

        Nevermind.  It's https://redmine.pfsense.org/issues/3757. Looks like this is the ticket.

        Chattanooga, Tennessee, USA
        The pfSense Book is free of charge!
        DO NOT set a source port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • Gertjan
          Gertjan last edited by

          Ah ….
          I remember that one  ;)
          But was was a year (two ?) ago.

          No "help me" PM's please. Use the forum.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post