Navigation

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

    Dansguardian startup problems - 2.12.0.3 pkg v.0.1.8 - pfSense 2.1

    pfSense Packages
    1
    1
    989
    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.
    • F
      Funar last edited by

      Having an odd issue anytime I reboot pfSense and DansGuardian.  That is, DG will not start, nor will it restart via the Services page.  The system.log reports the following:

      php: /pkg_edit.php: The command '/usr/local/etc/rc.d/dansguardian.sh start' returned exit code '127', the output was '/usr/local/etc/rc.d/dansguardian.sh: not found'

      Looking at dansguardian.sh, I discovered the file is CRLF terminated and not LF terminated which is causing the system to try to execute "/bin/sh[CR]" to process the script.  Stripping the CR's allows the service to run properly.

      This script is replaced on every boot, requiring me to strip the CR's out again.  Any suggestions?

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