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

    Denyhosts Service disable

    Scheduled Pinned Locked Moved pfSense Packages
    9 Posts 7 Posters 7.8k 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.
    • T Offline
      ToxIcon
      last edited by

      After install Denyhosts service is disable and wont start after entering

      $ /usr/local/etc/rc.d/denyhosts.sh start I get the error below

      $ /usr/local/etc/rc.d/denyhosts.sh start
      Missing configuration parameter: DENY_THRESHOLD_INVALID

      Note: The configuration parameter DENY_THRESHOLD has been renamed
            DENY_THRESHOLD_INVALID.  Please update your DenyHosts configuration
            file to reflect this change.
      Missing configuration parameter: DENY_THRESHOLD_VALID
      Missing configuration parameter: DENY_THRESHOLD_ROOT
      Missing configuration parameter: DENY_THRESHOLD_RESTRICTED

      Note: DENY_THRESHOLD_RESTRICTED has not been defined. Setting this
      value to DENY_THRESHOLD_ROOT

      how can i fix thanks

      1 Reply Last reply Reply Quote 0
      • E Offline
        Elight
        last edited by

        I've got the same problem on pfSense 1.2.3-RC1 with DenyHosts 0.5.


        $ cp /usr/local/share/denyhosts/denyhosts.cfg-dist /usr/local/etc/denyhosts.conf

        Then edit /usr/local/etc/denyhosts.conf to set the parameters:

        SECURE_LOG = /var/log/system.log
         BLOCK_SERVICE  = sshd

        DenyHosts should  work after that.


        Also there is an alternative method:

        $ rm /usr/local/etc/denyhosts*

        And reinstall the package.

        1 Reply Last reply Reply Quote 0
        • C Offline
          cybrsrfr
          last edited by

          I just added the command you suggested:
          rm /usr/local/etc/denyhosts*

          To the package uninstall.

          1 Reply Last reply Reply Quote 0
          • H Offline
            heleniovix
            last edited by

            i have another problem:

            /usr/local/etc/rc.d/denyhosts.sh start
            /libexec/ld-elf.so.1: Shared object "libm.so.4" not found, required by "python2.5"

            but, i have file "libm.so.4" in /lib

            ls -lh /lib/libm*

            -r-xr-xr-x  1 root  wheel    90K Jan  8  2009 /lib/libm.so.5
            -r-xr-xr-x  1 root  wheel    59K Jan  8  2009 /lib/libmd.so.4

            any sugestions ????

            1 Reply Last reply Reply Quote 0
            • B Offline
              BrianBonnell
              last edited by

              I get:

              /usr/local/etc/rc.d/denyhosts.sh start

              /usr/local/etc/rc.d/denyhosts.sh: /usr/local/bin/python2.5: not found

              1 Reply Last reply Reply Quote 0
              • C Offline
                cybrsrfr
                last edited by

                heleniovix:

                This is hackish but would probably work.
                cp /lib/libm.so.5 /lib/libm.so.4

                Then try again.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  serialdie
                  last edited by

                  @mcrane:

                  heleniovix:

                  This is hackish but would probably work.
                  cp /lib/libm.so.5 /lib/libm.so.4

                  Then try again.

                  Or you can symlink it instead.

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    heleniovix
                    last edited by

                    thank´s guys,

                    it´s work !!!!

                    i have a 1.2.3-RC3 and i download python pack´s from this site:
                    http://ftp.cse.yzu.edu.tw/pub/BSD/FreeBSD/ports/i386/packages-7.2-release/All/python25-2.5.4_1.tbz
                    pkg_add python25-2.5.4_1.tbz
                    cd /usr/local/lib/python2.5/site-packages/
                    cp -rp ../../python2.4/site-packages/DenyHosts* .
                    post Elight

                    Finnish !!!

                    45 days after, problem solved !

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      lol
                      last edited by

                      Hello,
                      Thanks for this usefull topic.

                      It's work also for me  !  :)

                      A free pastbin without advertising…
                      French Debian Community's Wiki

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