SQUID 2.5 on redhat 8

Hi i have just compiled the new versione of squid on redhat 8
and it doesn't start.
Can you help me ?
LVL 1
alextesiAsked:
Who is Participating?
 
Gabriel OrozcoConnect With a Mentor Solution ArchitectCommented:
you need to edit the configuration file.

also squid needs a user so it can run as that user.

once you configure your squid.conf, you need to create the cache directory with "squid -z" (without quotes) and then check the directory was created under the user you specified on the squid.conf file. if not, do a chown -R username /directory/of/squid/cache

and then you can start squid with it's command. if you configured standard from sources, it should be on /usr/local/squid/sbin/squid

test it and give some feedback if you need.

Regards
0
 
pablouruguayCommented:
yes can we help you if you specify your problem and paste the tail of  /var/log/messages  or the squid.log   and you habve squid.conf in the /etc/ ????
0
 
alextesiAuthor Commented:
My squid.conf file is under /usr/local/squid/etc/squid.conf
I'have just configured my squid.conf file but squid doesn't start.
i have inizialized my squid cache.
................. can i give you any other information ?
Bye
Alessandro
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Gabriel OrozcoSolution ArchitectCommented:
well, yes.

use squid -N and see the error log. then post it here
0
 
owensleftfootCommented:
You probably dont have a valid domainname - look at the visiblehost option in squid.conf
0
 
omphs_XXXXCommented:
is this a new installation or you have previous installation of squid?

are your done configuring  your squid.conf? try to check your configuration
squid -k parse to check if your squid.conf has no error.
0
 
Gabriel OrozcoSolution ArchitectCommented:
any feedback?

we are still waiting for output log in order to be helpful.

Regards
0
All Courses

From novice to tech pro — start learning today.