April 19, 2024, 06:20:50 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: squid service not started  (Read 3620 times)

Offline dilip

  • New Member
  • Posts: 1
squid service not started
« on: May 03, 2005, 09:16:17 AM »
error:
$SQUID -z -F 2>/dev/null  line 162

hostname and squid package are configure properly.

help me..

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
squid service not started
« Reply #1 on: May 03, 2005, 01:56:14 PM »
Ok, This is not a big issue


 check ur /etc/hosts file

Make these entries:

127.0.0.1     localhost.localdomain    localhost
192.168.2.180                                    mycomputer
 { where 192.168.2.180 is ur  ipaddress  & mycomputer is ur hostname}
if u don't know ur hostname then try this command
#hostname
After that start squid service again by command:

#service squid restart
After that ur SQUID will definitly work

Enjoy
Gaurav