Advanced pfSense setup help. (Multi-package setup issues)
-
@avp:
ok, so as you can see, there are 2 squid pkgs installed. This may or may not be a problem. I'd be inclined to uninstall the 2.7 one…
Are you actually running from a shell, or are you using the Execute shell command from the gui? The reason I ask, is that if you are logged into the box via SSH, you would/should have root access, and you shouldn't see so many permissions denied msgs. This is what you want to do, SSH in, use putty for Windows, or SSH on *nix variants...
In the squid gui config page, closer to the bottom, Custom settings, Integrations, you will see this:
/usr/local/bin/squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf
you can try this from the shell to see if you can manually run SG. report any errors.
I am using putty. I used to run a BBS software on telnet so me and my friend could play some old BBS games we liked.
I will try this and report what happens.
Again Thanks so much!
-
@avp:
ok, so as you can see, there are 2 squid pkgs installed. This may or may not be a problem. I'd be inclined to uninstall the 2.7 one…
In the squid gui config page, closer to the bottom, Custom settings, Integrations, you will see this:
/usr/local/bin/squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf
you can try this from the shell to see if you can manually run SG. report any errors.
How do I uninstall just the 2.7 version?
I think the issue with the shell was I was logged in as my own user. In *nix varians I was taught to always login as a secondary user and only use root, or in this case Admin, for those rare occasions you absolutely need to.
Ok so heres what happened.
I ran that code and waited for quite a long time and the it just sat there. So I went in to the GUI and it says started! tried surfing too redtube dot com and playboy dot com and it didn't block either one. Went in and told it to download the block list from shallalist it completed successfully. check to see if the right blocks were still there. They were. saved, and applied changes. Surfed to the two sites again and still able to go there.
So it shows its up. But its not working.
Is this due to having 2 installs of Squid?
if so how do I remove just one 1?
Thanks
-
I know its tacky to reply 2 times let alone 3 on your own question, but I just tested it and notice it was blocking the sites I listed previously. So I guess what needs to be done next is just uninstall the older version of squid, and make the needed changes so if power fails or for some reason I need to power down the box to move it I can. At lease without having to manually enter that every time.
Again Thanks so much for all the help everyone!
-
Once you have the full name with pkg_info, you can delete with pkg_delete.
-
@avp:
Once you have the full name with pkg_info, you can delete with pkg_delete.
I will get right on that after work.
How do I make the change permanent?
I don't want to have to manually start SG every time.
Thanks
DrClaw
-
Once everything is installed and configured correctly SquidGuard will start when squid launches.
I'm curious, did both versions of squid show on the installed packages page? -
I would have kept squid stable and dumped the other squids…
Then I'd have backed up settings.
wiped the box and reinstall.
Then restore settings, check my squid settings... Apply them again just to be sure.
-
@avp:
Once you have the full name with pkg_info, you can delete with pkg_delete.
I tried this and got the following response.
pkg_delete squid-2.7.9_4
pkg_delete: package 'squid-2.7.9_4' is required by these other packages
and may not be deinstalled:
squidGuard-1.4_4
–-----In packages it only shows the squid3.
I would have kept squid stable and dumped the other squids…
Then I'd have backed up settings.
wiped the box and reinstall.
Then restore settings, check my squid settings... Apply them again just to be sure.
I like this concept. But I'm concerned that I will end up with the same problem. Installing again will end up with the same packages. I really wish it would not install the older squid automatically.
If I do undertake this huge task (It was a 3 day ordeal last time to get it exactly like I like it) how do I backup the settings and be sure they will retake? I ask this mainly because if I reinstall I will probably just use the older squid because of obvious reasons. Will these setting work on the older squid?
Thanks for everyones help!
DrClaw
-
Ordeals with squid shouldn't be longer than 5 minutes.
It easy to reload pfsense from nothing. Also easy to rebuild squid cache and restart it.
Delete all the packages you don't want. Install the ones you do want. Save the config even if squid seems broken.
Wipe the box, reload your pfsense. Restore your backup of configs.
You might then have to issue command to rebuild squid cache.
No biggie.
-
Ok. There are 5 pkgs for Squid and SG.
- Squid
- Squid3
- SquidGuard
- squid3-dev
- squidGuard-squid3
There are quite a few combinations a user could try. Then throw in 2.0, and 2.1.
I have these installed on 2.1:
- squid3-dev
- squidGuard-squid3
I also have HAVP installed. It has taken me days to get it working.
Maybe you can fix any squid issue in 5 minutes. Some of us can't.
All I'm saying is that depending on your version and the pkgs you choose, plus other pkgs that may have an effect, it isn't always easy to get Squid + SG working.
DrClaw, do you have things under control now?
-
Well - Since squid is required for squid-guard….
I'd probably uninstall squid guard, then squid, not the other way around.If its too painful to touch it, then you have answered your own question. Live with it.
-
I believe so. its all working. just can't uninstall squid 2. don't know if the changes are perm out not. typing from my phone. haven't had much time last few days'Monday us the next day I'll have time today with it.
I'll reboot then and see if it starts automatically.
thanks
Dr claw -
It would appear that all is well. I halted the system waited 30 seconds powered it back on an were a go. Everything came up. Guess I will live with it for now. Hope they fix the problem with it installing the additional package when its not needed.
Is there a place I should post this as a bug to let the SG or Squid package makes know?
Thanks again for all the help.
DrClaw