install squid from source cords

Emilio Casbas ecasbas at unav.es
Mon Nov 28 08:42:24 UTC 2005


lasa wrote:

>I try to use squid-2.5.STABLE12.tar.gz, by untar it and compiling and
>install it according to the instructions on INSTALL and QUICKSTART
>files comes with the packge.
>
>After I ran it want work. (I am having good experience in using squid
>rpm packge )ps -A command shows the service running but cacheing and
>proxing is not happening in it.If I ran it as a teminal window it
>shows the following error
>
>
>[root at angle root]# /usr/local/squid/sbin/squid -N -d1
>WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
>/usr/local/squid/var/logs/cache.log: Permission denied
>         messages will be sent to 'stderr'.
>2005/11/27 18:47:39| WARNING: Closing open FD    2
>2005/11/27 18:47:39| Starting Squid Cache version 2.5.STABLE12 for
>i686-pc-linux-gnu...
>2005/11/27 18:47:39| Process ID 4254
>2005/11/27 18:47:39| With 1024 file descriptors available
>2005/11/27 18:47:39| Performing DNS Tests...
>2005/11/27 18:47:39| Successful DNS name lookup tests...
>2005/11/27 18:47:39| DNS Socket created at 0.0.0.0, port 32769, FD 3
>2005/11/27 18:47:39| Adding nameserver 203.115.0.1 from /etc/resolv.conf
>2005/11/27 18:47:39| Adding nameserver 2[root at angle root]#
>/usr/local/squid/sbin/squid -N -d1
>WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
>/usr/local/squid/var/logs/cache.log: Permission denied
>         messages will be sent to 'stderr'.
>2005/11/27 18:47:39| WARNING: Closing open FD    2
>2005/11/27 18:47:39| Starting Squid Cache version 2.5.STABLE12 for
>i686-pc-linux-gnu...
>2005/11/27 18:47:39| Process ID 4254
>2005/11/27 18:47:39| With 1024 file descriptors available
>2005/11/27 18:47:39| Performing DNS Tests...
>2005/11/27 18:47:39| Successful DNS name lookup tests...
>2005/11/27 18:47:39| DNS Socket created at 0.0.0.0, port 32769, FD 3
>2005/11/27 18:47:39| Adding nameserver 203.115.0.1 from /etc/resolv.conf
>2005/11/27 18:47:39| Adding nameserver 203.115.0.18 from /etc/resolv.conf
>FATAL: Cannot open '/usr/local/squid/var/logs/access.log' for writing.
>        The parent directory must be writeable by the
>        user 'lasantha', which is the cache_effective_user
>        set in squid.conf.
>Squid Cache (Version 2.5.STABLE12): Terminated abnormally.
>CPU Usage: 0.030 seconds = 0.010 user + 0.020 sys
>Maximum Resident Size: 0 KB
>Page faults with physical i/o: 302
>Aborted
>[root at angle root]#
>03.115.0.18 from /etc/resolv.conf
>FATAL: Cannot open '/usr/local/squid/var/logs/access.log' for writing.
>        The parent directory must be writeable by the
>        user 'lasantha', which is the cache_effective_user
>        set in squid.conf.
>Squid Cache (Version 2.5.STABLE12): Terminated abnormally.
>CPU Usage: 0.030 seconds = 0.010 user + 0.020 sys
>Maximum Resident Size: 0 KB
>Page faults with physical i/o: 302
>Aborted
>[root at angle root]#
>
>
>I am new to linux in this area of install software using source codes.
>Pls help me to do this work correctly. Is there any online document to
>follow to get knoledge in install software using source codes Pls let
>me know....
>  
>
http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.28
but this subject is more apropiate for the squid list.


Thanks
Emilio C.




More information about the redhat-list mailing list