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

    IPsec "trap not found, unable to acquire reqid"

    Scheduled Pinned Locked Moved IPsec
    2 Posts 1 Posters 373 Views 1 Watching
    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 Offline
      Ofloo
      last edited by

      log is full of "trap not found, unable to acquire reqid"

      1 Reply Last reply Reply Quote 0
      • O Offline
        Ofloo
        last edited by Ofloo

        Added IPsec to watchdog

        #!/usr/bin/env bash
        
        if [ $(tail /var/log/ipsec.log | /usr/bin/grep "trap not found, unable to acquire reqid" | /usr/bin/wc -l) -gt "0" ]; then  
          kill -9 $(cat /var/run/charon.pid) 
          echo "Executed Charon kill script, IPsec seems locked up"
        fi
        
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.