LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Squid 2.6STABLE21 squid executable does not exist (http://www.linuxquestions.org/questions/linux-server-73/squid-2-6stable21-squid-executable-does-not-exist-666034/)

Proxx 08-28-2008 07:39 AM

Squid 2.6STABLE21 squid executable does not exist
 
Hello!

i have a problem with my Squid Proxy.
squid cant find the executable.

i have a Archlinux server with squid installed and it worked fine till i updated the squid from version 2.6 to 2.7 witch is not compatible with webmin! zo i removed squid and compiled 2.6 from scratch.

Code:

        % ./configure --prefix=/usr/local/squid
        % make all
        % make install

every thing seems to be ok but now the server is complaining that squid cannot be found in /usr/sbin/

Code:

The Squid executable /usr/sbin/squid does not exist. If you have Squid installed, adjust your module configuration to use the correct path.
i reinstalled it for 3thimes but it doesn't matter

maybe some of you know where i can start to solve this problem :(

Thanx in advance

Proxx

bathory 08-28-2008 08:36 AM

The squid executable is located in: /usr/local/squid/sbin/squid
I guess you need to edit the squid startup script to reflect the new path

regards

Proxx 08-28-2008 09:30 AM

ow you are good =]
thanx for your time.

know i have the visible_hostname problem that appears al lot when you search the forum :-P
but non of the topics i read have a solution

a little part of squid.conf
Code:

cache_effective_user cache_effective_user
cache_effective_group cache_effective_user
visible_hostname LiSe2

the host name of the server is LiSe2
Code:

[root@lise2 squid]# /usr/local/squid/sbin/squid
FATAL: Could not determine fully qualified hostname.  Please set 'visible_hostname'

Squid Cache (Version 2.6.STABLE21): Terminated abnormally.
CPU Usage: 0.003 seconds = 0.003 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted

sorry i found it!
i was searching for the wrong .conf :P
the right one is in /usr/local/squid/etc/squid.conf


All times are GMT -5. The time now is 01:21 AM.