General Package 'problems'
-
Using 1.2-RELEASE built on Sun Feb 24 17:04:58 EST 2008 FreeBSD 6.2-RELEASE-p11 i386
Sometime ago I backed up pfSense , reinstalled it and restored the backup. This restored the packages but it didn't restore them all, sort of.
Snort for example is shown in the 'Services' list, but when you click on it I get the error:
Warning: fopen(/usr/local/pkg/snort.xml): failed to open stream: No such file or directory in /etc/inc/xmlparse.inc on line 158 Error: could not open XML input
It shows up in the general services list with only the start button there.
It's not shown in the Installed Packages list or the Available Packages list so I can't uninstall it. In essence, part of it is there and part of it isn't. I want to uninstall it and reinstall it. Any suggestions?
Imspector package won't install:
Downloading package configuration file… done.
Saving updated package information... done.
Downloading imspector and its dependencies... done.
Checking for successful package installation... failed!Installation aborted.
Help?
Finally, I have spamd listed twice under Status->Services. Suggestions?
-
Using 1.2-RELEASE built on Sun Feb 24 17:04:58 EST 2008 FreeBSD 6.2-RELEASE-p11 i386
[…]
Finally, I have spamd listed twice under Status->Services. Suggestions?Update to at least 1.2.3 and try again. We don't actively try to make sure packages work on anything less than 1.2.3 these days.
-
Using 1.2-RELEASE built on Sun Feb 24 17:04:58 EST 2008 FreeBSD 6.2-RELEASE-p11 i386
[…]
Finally, I have spamd listed twice under Status->Services. Suggestions?Update to at least 1.2.3 and try again. We don't actively try to make sure packages work on anything less than 1.2.3 these days.
Had no idea I was running an old version. This was converted from a physical to a VM sometime ago. Just shows you how long I've been using it!
Anyway, upgrading to the newer version fixed it.
I downloaded the mod_security reverse proxy package and it got me thinking. This package doesn't work. It's in the forums that it doesn't work. However the package is still there.
Two questions - does this package work (ie. is anybody successfully using it) and if not why are these packages kept on the list?
-
You'd have more luck posting a specific thread with that in the topic asking, the maintainer of that package may see it and offer some help.
Usually we err on the side of caution when removing packages. Removing them from the list makes it a lot harder for the maintainer to debug problems.
-
I spoke too soon - spamd still appears twice in the Status->Services list. Any way to fix that?
Thanks for letting me know about the packages. There wasn't very much in here on the reverse proxy (a couple of threads from 2009 that didn't appear to get much response) so I think I'll just leave it.
-
The double entry is just cosmetic. If you want to get rid of it, you can download a config backup, edit out the second <service>entry for spamd, and then restore the backup</service>
-
Just my 2cents…
I've rebuilt my pfsense a couple times in the last year, and on every rebuild I wind up with double services, and the packages never get installed properly on the restore. I also wind up with double entries..
My solution is to delete the package (which wipes out both service entries), and then reinstall.
Since all the settings are usually saved, it fixes the issues with not much hassle.I've still got a double squidguard entry in the menu but not the service(as it was renamed in an install so the old entry did not get deleted). I've tried doing the editing of the config file, but I've wiped out my pfsense the one time I did an edit.
-
Upgrading has caused spamd to stop working but I will post about that in a separate thread.
You'd have more luck posting a specific thread with that in the topic asking, the maintainer of that package may see it and offer some help.
Usually we err on the side of caution when removing packages. Removing them from the list makes it a lot harder for the maintainer to debug problems.
Spamd doesn't have a current maintainer according to the package listing. I also get 'current version unknown' so I'm not sure if I have the latest. Reinstalling installs the current one again so I'm 50/50 whether I have the current or not.
I hope this next comment is taken as it's entitled and not taken the wrong way.
I love pfSense, however the packages, for me, are it's biggest weakness. pfSense isn't really designed for embedded so it's designed for packages to extend it. However, a lot of the packages are simply not maintained, don't work properly, cause problems and that is just from my own personal experience. Documentation is scarce for a lot of the packages too or the documentation that is there is just not adequate.
I wouldn't even mind paying a small fee for some packages (such as spamd as when it worked it was fantastic) if they were maintained or worked correctly.
I'm not one of these people who take and moan about it when it doesn't work. I wish I could contribute and I would really love to take over spamd but I know enough about it or BSD to be more of a hinderance than a help.