install squid from source cords

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@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@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@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....
--
Lasantha Amarasinghe
Sri Lanka
file:/root

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux