Denyhosts on pfsense 1.2.2
-
I installed the denyhosts package earlier today and noticed it was not starting up. I went to the command line and noted the following:
/usr/local/etc/rc.d/denyhosts.sh start
/usr/local/etc/rc.d/denyhosts.sh: /usr/local/bin/python2.5: not found
I checked via "find / -name "python*" and noted that it was not installed at all.
I then tried:
pkg_add -r python
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/python.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/python.tbz' by URLAny advice on this would be greatly appreciated.
-
60 views and no responses. Do I assume no one else is having this problem or is there just no solution at the moment. Perhaps I'll file a bug report.
-
ok..i voice out. I do not have any issues on both of my pfsense box(s) 1.2.3-RC2 & 1.2.3-RC1
Everyday, it get update fine. It started work since I first installed.
Sorry to hear your problems. How about de-install again. Good luck
-
ok..i voice out. I do not have any issues on both of my pfsense box(s) 1.2.3-RC2 & 1.2.3-RC1
Everyday, it get update fine. It started work since I first installed.
Sorry to hear your problems. How about de-install again. Good luck
I uninstalled and reinstalled with no luck. Thanks for responding. I opened up a bug report on this.
-
Dear Emike,
Just wonder..if unable to fetch and get the "ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/python.tbz"
It looks like either DNS unable to resolved ftp.freebsd.org (check port 53 open), also your ftp rules.
-
The denyhosts freebsd package uses python and so that is essential.
Try this:
cd /tmp/
fetch http://files.pfsense.com/packages/lang/python25-2.5_1.tbz
pkg_add python25-2.5_1.tbz -
If you are having problems with the install for denyhosts then please uninstall the package and then reinstall it.
I changed the location of the denyhosts package install to pull it from file.pfsense.com and it should then pull the python package from there as well. I believe this will fix the package.
Best Regards,
mcrane
P.S. sorry it took me a while to notice the forum message.
-
-
Is another version of python installed. From the console or diagnostics -> command run:
ps -waux | grep python
-
try this from the console:
pkg_add -r http://files.pfsense.com/packages/security/denyhosts-2.5.tbz
-
There is no python installed.
-
Try this.
pkg_add -r http://files.pfsense.com/packages/lang/python25-2.5_1.tbzor
cd /tmp/
fetch http://files.pfsense.com/packages/lang/python25-2.5_1.tbz
pkg_add -r python25-2.5_1.tbzor
pkg_add -r http://files.pfsense.com/packages/security/denyhosts-2.5.tbz
All of these methods should install python on your system.
-
I found this topic after having the same issue on a fresh 1.2.2 install. I updated to 1.2.3 RC3 with the same result. There is no python2.5 installed, but there is python 2.4.
Whether I make a symlink of python2.4 called 2.5 or I fetch and install it, there are still a ton of unmet dependencies. I kept symlinking libraries and eventually it just wouldn't work at all.
The dependencies are all newer than what's installed. Should I be using a snapshot of pfsense instead of the 1.2.x branch?
-
I am not getting any love from this denyhost package on this firewall. I have it working on other pfsense firewalls. My bigger concern is why this package would work on one PF firewall and not on the other PF firewall, they are the same 1.2.3 release?
Did this:
pkg_add -r http://files.pfsense.com/packages/lang/python25-2.5_1.tbz/usr/local/etc/rc.d/denyhosts.sh start
/libexec/ld-elf.so.1: Shared object "libutil.so.5" not found, required by "python2.5"
Current:
pkg_info
bsdinstaller-2.0.2009.0422 BSD Installer mega-package
denyhosts-2.5 Script to thwart ssh attacks
grub-0.97_1 GRand Unified Bootloader
libosip-3.1.0 A low layer of SIP implementation
python24-2.4.3_3 An interpreted object-oriented programming language
python25-2.5_1 An interpreted object-oriented programming language
python26-2.6.4 An interpreted object-oriented programming languageThe firewall in my lab works with the following packages installed:
$ pkg_info
darkstat-3.0.708 Network statistics gatherer and reporter
denyhosts-2.5 Script to thwart ssh attacks
gettext-0.17_1 GNU gettext package
python24-2.4.3_3 An interpreted object-oriented programming language
smtpd-2.0_4 Obtuse smtpd/smtpfwdd, part of the Juniper firewall toolkit
spamd-4.1.2 Traps spammers with a very slow smtp-login and return 4xx eBoth firewalls have the same release:
uname -r
7.2-RELEASE-p5
-
I've upgraded to 1.2.3-Release, SAME issues still.
I've run:
Try this.
pkg_add -r http://files.pfsense.com/packages/lang/python25-2.5_1.tbzor
cd /tmp/
fetch http://files.pfsense.com/packages/lang/python25-2.5_1.tbz
pkg_add -r python25-2.5_1.tbzor
pkg_add -r http://files.pfsense.com/packages/security/denyhosts-2.5.tbz
All i get is "No such host or file" then it aborts. I am able to ping files.pfsense.com, so it is out there….at this point I have given up and removed it. I'll try a few things on my "lab" pf box..this way I won't foo-bar my production environment like I have already fuddleing with this package.
I'll still take suggestions on a solution...I'll just run it on the lab box instead....:)
-
I reported this same problem here: http://forum.pfsense.org/index.php/topic,21420.msg109904.html#msg109904
What's interesting is the program crashed on its own. It's been running since February (almost a year) without a single problem and now it's dead. I've uninstalled it, reinstalled it various ways and it will not start. I have no idea what caused it to shut down. The only package I toyed with was updating to the last snort-dev earlier this week. Don't know if it's related or not.
-
Any ideas as to why I can no longer get denyhosts to start?