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

    Svscan problem

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 4 Posters 1.5k 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.
    • M
      mafren
      last edited by

      Hi all!

      I have pfSense version 2.2.2 for i386. Since version 2.2.1 I;ve had problems with svscan. I'm trying to setuo DNS server with tinyDNS but the service svscan fails to start, hence tinyDNS also fails. Lookig deep into the startup files I noticed that the startup script for svscan (located at /usr/local/etc/rc.d/svscan.sh) is wrong. More specifically, the path to command is bad.

      Currently it reads like this:
      name="svscan"
      rcvar="${name}_enable"
      command="/usr/local/bin/svscan"
      svscan_enable=${svscan_enable-"YES"}
      svscan_servicedir=${svscan_servicedir-"/var/run/service"}
      logdir="/var/log/svscan"

      You need to change this:
      command="/usr/local/bin/svscan"

      To this:
      command="/usr/pbi/djbdns-i386/local/bin/svscan"

      Once the change is done, svscan works good!.

      I'm relatively new to pfSense and I do not know if there is a bugtracker for us free (non-licensed) users. If anybody knows where this is, please let me know so I can create a ticket and have this checked.

      Thought I'd let you all know how I solved my problem. Hopefully it will help many others.

      Cheers!

      –
      mafren

      1 Reply Last reply Reply Quote 0
      • S
        sweanders
        last edited by

        AWESOME!

        Thank you very much, finally I can get DNS setup again, have been dealing with workarounds for the last two weeks. :)

        1 Reply Last reply Reply Quote 0
        • S
          sweanders
          last edited by

          Tough luck, can't start the dns server..

          I guess BIND is the next step..

          1 Reply Last reply Reply Quote 0
          • K
            knottolf
            last edited by

            Thanks, helped me a lot.

            For 64 bit system the command line should be

            command="/usr/pbi/djbdns-amd64/local/bin/svscan"

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              https://github.com/pfsense/pfsense-packages/blob/master/config/tinydns/tinydns.inc#L77

              Tired of this PBI crap.

              Do you have /usr/local/bin/svc or it's wrong as well?

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