Squid 3.2 Installation On Centos Issue - Plz Help
Hey guys, i have been trying numerous times to compile squid 3.2 version on centos 6 but miserably failing at last. Well the squid version 3.1 comes default with centos has no issue installing and it instantly process and install with the command 'yum install squid' but when i try doing own version by following this;
Code:
cd /usr/local/src also while trying with rpms some other errors coming. Do i have to install any prerequisite for squid before compilation or trying with rpms on centos? Though i have installed gcc-c++ before doing compilation so dont think like any compiling mistakes. But not so sure, since m a linux newbie and any help would be appreciated. Regards :) |
Hi,
I don't see any errors, meaning that the compilation ended successfully. The error codes like the ./pt/ERR_FTP_FORBIDDEN in the 1st line of the pasted output, are the errors in different languages produced during the normal operation of squid in response to various situations (e.g. above is the message in portugese when ftp is forbidden) So continue with "make install" (as root) to install squid. Regards |
Hi thanks for replying. Btw i proceeded with it but atlast thr is no '/etc/squid/' directory or service squid status reverting 'squid: unrecognized service'
Well i have been trying quite a lot since day before yesterday but nothing seems to be working out. Also i have tried rpms but displaying sort of perl-authen not present but my centos is latest updated to 6.5 with all dependencies and m afraid why its so. Or if thr is no stable release of squid available other than the 3.1 version which is working fine but an itching issue of 'x-requested with header' itsnt passing. So i learnt after reading that upgrading to 3.2` only will solve the issue. After all dont knw what is faulty, if my centos has any flaw or so :D |
Quote:
So if you want to change configuration, you need to edit /usr/local/squid/etc/squid.conf For the same reason there is no squid service, but you have to run /usr/local/squid/abin squid. Have a look here for details. Don't forget to use the -z option the 1st time you run the daemon in order to create the cache directories. Regards |
Hi i have installed squid and its running but m unable to connect. i been getting a proxy server refusing connection. My config is below
Quote:
when i checked the access log m getting the following output Quote:
|
Hi,
If you're getting a connection refused check if squid is up and running and if there is a firewall in between blocking port 3128. To check your configuration for errors you can use: Code:
/usr/local/squid/sbin/squid -f /usr/local/squid/etc/squid.conf -k parse Regards |
Hi have reinstalled the squid to version 3.3.11 with a hope to get it fixed but its too showing the same error.
When i ran /usr/local/squid/sbin/squid -f I got these functions /usr/local/squid/sbin/squid: option requires an argument -- 'f' Usage: squid [-cdhvzCFNRVYX] [-s | -l facility] [-f config-file] [-[au] port] [-k signal] -a port Specify HTTP port number (default: 3128). -d level Write debugging to stderr also. -f file Use given config-file instead of /usr/local/squid/etc/squid.conf -h Print help message. -k reconfigure|rotate|shutdown|interrupt|kill|debug|check|parse Parse configuration file, then send signal to running copy (except -k parse) and exit. -s | -l facility Enable logging to syslog. -u port Specify ICP port number (default: 3130), disable with 0. -v Print version. -z Create missing swap directories and then exit. -C Do not catch fatal signals. -D OBSOLETE. Scheduled for removal. -F Don't serve any requests until store is rebuilt. -N No daemon mode. -R Do not set REUSEADDR on port. -S Double-check swap during rebuild. -X Force full debugging. -Y Only return UDP_HIT or UDP_MISS_NOFETCH during fast reload. When i ran /usr/local/squid/etc/squid.conf -k parse I'm getting -bash: /usr/local/squid/etc/squid.conf: Permission denied well i guess there is nothing blocking port 3128 coz with the default squid repository in centos - squid ver 3.1 was working fine for me. But when i only compile and install versions over 3.2 m getting these issues. plz advise |
Quote:
|
sry for that. i mistook it as two. here is the output
Quote:
|
The configuration file has no errors. Check if squid is running
Code:
ps -ef|grep squid Code:
setenforce 0 |
Hi
Quote:
Quote:
|
Quote:
If you can connect from 5.xx.xx.x but not from 49.xxx.xx.xxx, then it could be a routing or other network problem. What gives: Code:
netstat -tanpl|grep squid |
Hi i can access some sites from 5.xx but some sites like google, yahoo etc keeps on loading blank. Well from 49.xx its Proxy server refusing connection not access denied
Quote:
|
Quote:
Anyway you should check the logs for more details. Quote:
So check the connectivity between the 2 hosts. |
Hi i checked the logs but i cant see anything unusual. Btw, i setup this thing focusing on one particular site only and that one is opening with blazing speed so doesnt matter if others behave in any means :) well majority ones are ok. only the search engines and some other ones are failing. I want to thank you especially for your kind support and ofc you the Big Guru :) i tried msgn u but no pm option thr. would like to buy u a beer if its ok. but dnt knw how to ask ur Paypal id.
|
All times are GMT -5. The time now is 12:23 PM. |