[SOLVED] Cannot get Squid + SquidGuard to start
-
I've been searching for a few hours and cannot figure out why squid and squidguard wont start. I've rebooted multiple times and also tried reinstalling but nothing seems to work.
Anyone have any ideas?
Thanks,
Error Log:
May 23 23:28:04 php: : SQUID is installed but not started. Not installing "filter" rules. May 23 23:28:08 check_reload_status: Reloading filter May 23 23:28:09 php: : Starting Squid May 23 23:28:09 php: : The command '/usr/local/sbin/squid -D' returned exit code '127', the output was '/usr/local/sbin/squid: not found' May 23 23:28:14 php: : SQUID is installed but not started. Not installing "nat" rules. May 23 23:28:14 php: : SQUID is installed but not started. Not installing "pfearly" rules. May 23 23:28:14 php: : SQUID is installed but not started. Not installing "filter" rules. May 23 23:28:19 check_reload_status: Reloading filter May 23 23:28:19 php: : Not calling package sync code for dependency squid of squid because some include files are missing. May 23 23:28:19 php: : Starting Squid May 23 23:28:19 php: : The command '/usr/local/sbin/squid -D' returned exit code '127', the output was '/usr/local/sbin/squid: not found' May 23 23:28:24 php: : SQUID is installed but not started. Not installing "nat" rules. May 23 23:28:24 php: : SQUID is installed but not started. Not installing "pfearly" rules. May 23 23:28:25 php: : SQUID is installed but not started. Not installing "filter" rules. May 23 23:28:29 check_reload_status: Reloading filter May 23 23:28:29 php: : Starting Squid May 23 23:28:29 php: : The command '/usr/local/sbin/squid -D' returned exit code '127', the output was '/usr/local/sbin/squid: not found' May 23 23:28:35 php: : SQUID is installed but not started. Not installing "nat" rules. May 23 23:28:35 php: : SQUID is installed but not started. Not installing "pfearly" rules. May 23 23:28:35 php: : SQUID is installed but not started. Not installing "filter" rules. May 23 23:28:39 check_reload_status: Reloading filter May 23 23:28:40 php: : Starting Squid May 23 23:28:40 php: : The command '/usr/local/sbin/squid -D' returned exit code '127', the output was '/usr/local/sbin/squid: not found' May 23 23:28:45 php: : SQUID is installed but not started. Not installing "nat" rules. May 23 23:28:45 php: : SQUID is installed but not started. Not installing "pfearly" rules. May 23 23:28:45 php: : SQUID is installed but not started. Not installing "filter" rules. May 23 23:28:50 check_reload_status: Reloading filter May 23 23:28:50 php: : Starting Squid May 23 23:28:50 php: : The command '/usr/local/sbin/squid -D' returned exit code '127', the output was '/usr/local/sbin/squid: not found' May 23 23:28:55 php: : SQUID is installed but not started. Not installing "nat" rules. May 23 23:28:56 php: : SQUID is installed but not started. Not installing "pfearly" rules. May 23 23:28:56 php: : SQUID is installed but not started. Not installing "filter" rules. May 23 23:29:00 check_reload_status: Reloading filter
-
What is you version of the pfsense system?
-
Honestly.. I wasted days on this..
but I came up with this…
Uninstall them all..
run pkg-info to make sure they are gone..
go to /usr/local/pkg/ and delete all references to squid
then install squidguard first - it will fail to complete...
then install squid3
then reinstall squidguard pkg and xmlit should work.. i can repeat this everytime now
-
What is you version of the pfsense system?
2.0.1-RELEASE (i386)
built on Mon Dec 12 18:24:17 EST 2011
FreeBSD 8.1-RELEASE-p6You are on the latest version.
-
Not sure what pkg-info is, I didnt find anything built into pfsense already or its not a valid command.
I need a hint on where to run this
Thanks!
-
Not sure what pkg-info is, I didnt find anything built into pfsense already or its not a valid command.
it's pkg**_**info ;)
-
Honestly.. I wasted days on this..
but I came up with this…
Uninstall them all..
run pkg-info to make sure they are gone..
go to /usr/local/pkg/ and delete all references to squid
then install squidguard first - it will fail to complete...
then install squid3
then reinstall squidguard pkg and xmlit should work.. i can repeat this everytime now
That worked perfect!
Thanks!
-
glad I could help someone around here… hate always asking and not being able to give back
-
So I updated to the latest version of Squid and well, Squid and SquidGuard do not want to start.
So I tried the following which working in the past for me:
Uninstall all Squid related packages
run pkg_info to make sure they are gone..
go to /usr/local/pkg/ and delete all references to squid
then install squidguard first - it will fail to complete…
then install squid3
then reinstall squidguard pkg and xmlHowever when I run pkg_info it continues to show 'squid-3.1.19'
Anyways how do I remove that so I can try the reinstall process to get everything working again
-
However when I run pkg_info it continues to show 'squid-3.1.19'
Squid3 current version is 3.1.20, did you updated this package recently?
uninstall squid3, go on console and check if there is a squid package there.
pkg_delete squid-3.1.19 should remove previous version if not done by package uninstall
do not reinstall squidguard after squid3 install to avoid package overwrite.
-
So the package was'nt listed in the console so I deleted with that command. Now no squid packages are listed in the console or the pkg_info.
So I installed Squid3 - 3.1.20 and I cannot get it to start. I havent installed SquidGuard yet.
Any ideas?
-
Try to start squid on console or check the system logs to see what is not working/starting.
-
Dumb questions but how do i start squid in console mode and what log file should I be looking at ???
/var/squid/logs access.log and cache.log dont seem to have anything relevant to it starting.
-
Dumb questions but how do i start squid in console mode and what log file should I be looking at ???
/var/squid/logs access.log and cache.log dont seem to have anything relevant to it starting.
status -> system logs
on console:
/usr/local/etc/rc.d/squid.sh start
-
Cleared out system log, tried starting squid three times. nothing shows in the system log.
I tried starting on console, got this error
/libexec/ld-elf.so.1: Shared object "libmd5.so.1" not found, required by "squid"
-
take a look on this thread
http://forum.pfsense.org/index.php/topic,50647.msg270137.html#msg270137
-
Thanks Marcelloc