Discussion Locked

Squid

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I'm trying to set up a proxy server, but can't get squid to run. The error is pretty generic. Any suggestions?

10 replies

by mickey6

First, what is the "generic" error reported????
Without the error i can only guess the problem.

my quess
========
Squid is a funny duck. If you give squid a DNS name but there is no DNS it will usually stop.

If this is the case add a record in the /etc/hosts file. Also the /etc/HOSTNAME file is likely different or non existant.

by mickey6

First, what is the "generic" error reported????
Without the error i can only guess the problem.

my quess
========
Squid is a funny duck. If you give squid a DNS name but there is no DNS it will usually stop.

If this is the case add a record in the /etc/hosts file. Also the /etc/HOSTNAME file is likely different or non existant.

by mickey6

First, what is the "generic" error reported????
Without the error i can only guess the problem.

my quess
========
Squid is a funny duck. If you give squid a DNS name but there is no DNS it will usually stop.

If this is the case add a record in the /etc/hosts file. Also the /etc/HOSTNAME file is likely different or non existant.

by marktheb

The error that occurs on trying to start Squid is: Squid failed. The error was: Starting Squid:.........[Failed].
FYI I'm at RunLevel 5.

by marktheb

OK, the real errors are: localhost (squid): Could not find any nameservers. Please check your /etc/resolv.conf file or use the 'dns_nameservers' option in Squid.conf.
Child process 4342 exited due to signal 6.
Also: (squid): ipcache_init: DNS name lookup tests failed.

by marktheb

Judging by the errors you are right on both counts. Currently I am not an a network, but trying to get things in working order to use squid and a few other programs for an internet proxy server. So there is no DNS. How best do I resolve this. There is no HOSTNAME file and I'm not sure what you mean by adding a record. Forgive the ignorance, I am a complete newbie here.

by debian

check this link for configuration

[url]www.debianhelp.co.uk/squid.htm[/url]

thanks

by thanetadmin

Hi ,
1. Are you setting up Squid as Transparenet proxy ??
2. Do you use iptables with that for port forwarding??
3. what distro of Linux ??
4. what error you get on tail /var/log/squid/access.log ??

Please reply , i can help you ..

Kias

This discussion is closed to new replies.