install squid from source cords

From: lasa (lasantha2linux_at_gmail.com)
Date: 11/27/05

  • Next message: David Tonhofer, m-plify S.A.: "gdm login default setting is where?"
    Date: Sun, 27 Nov 2005 19:22:57 +0600
    To: redhat mailing list <redhat-list@redhat.com>
    
    

    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@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: David Tonhofer, m-plify S.A.: "gdm login default setting is where?"

    Relevant Pages

    • Re: installtion after compile
      ... > i made a vb6 program, and when i run compile, i get no error from it. ... > then i use packge & dep. ... > when i install my program on other computers, ... says they're getting an out of memory error, the first thing that pops into ...
      (microsoft.public.vb.general.discussion)
    • Re: Frustrating install issue
      ... passive ftp failing ... I'm also using openbsd router, with squid cache, install via http ... seems to be less painfull (probably partially downloaded file in cache ...
      (comp.unix.bsd.freebsd.misc)
    • Re: How to load squid was Re:localhost
      ... That is one thing that you can't pre-edit, so it does have to be set first. ... standard apt-get install shouldn't cause a core dump: ... Squid Cache: Terminated abnormally. ...
      (Ubuntu)
    • (NO) SUMMARY: Urgent need SUNWlibCx Sol8 2/02
      ... Maybe this a 64 bit only packge. ... I have suppport for only 32 bits ... Probably we'll install Solaris ... Can't find it in none of the CDs. ...
      (SunManagers)
    • for redhat9 experts
      ... i want to make squid cache ... need information what to sellect from indev packs for minimal to run ... squid as cachee server ... after install no need key board and moniter support ...
      (linux.redhat)