the requested url couldnot be retrived after configuring squid - squid

This is a discussion on the requested url couldnot be retrived after configuring squid - squid ; hi every one i have just configured squid in my redhat linux (Squid 2.5.STABLE12) after configuring when i tryied to open web sites from xp clients i get an error message "the requested url couldnot be retrived" i install squid ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: the requested url couldnot be retrived after configuring squid

  1. the requested url couldnot be retrived after configuring squid

    hi every one

    i have just configured squid in my redhat linux (Squid 2.5.STABLE12)
    after configuring when i tryied to open web sites from xp clients i
    get an error message "the requested url couldnot be retrived"

    i install squid in a pertiaton which is mounted on proxy directory.
    here is my cache.log file

    2005/11/13 22:02:37| Starting Squid Cache version 2.5.STABLE12 for
    i686-pc-linux-gnu...
    2005/11/13 22:02:37| Process ID 3892
    2005/11/13 22:02:37| With 1024 file descriptors available
    2005/11/13 22:02:37| Performing DNS Tests...
    2005/11/13 22:02:37| Successful DNS name lookup tests...
    2005/11/13 22:02:37| DNS Socket created at 0.0.0.0, port 32775, FD 5
    2005/11/13 22:02:37| Adding nameserver 218.248.255.145 from
    /etc/resolv.conf
    2005/11/13 22:02:37| Adding nameserver 61.1.96.71 from /etc/resolv.conf
    2005/11/13 22:02:37| Unlinkd pipe opened on FD 10
    2005/11/13 22:02:37| Swap maxSize 102400 KB, estimated 7876 objects
    2005/11/13 22:02:37| Target number of buckets: 393
    2005/11/13 22:02:37| Using 8192 Store buckets
    2005/11/13 22:02:37| Max Mem size: 8192 KB
    2005/11/13 22:02:37| Max Swap size: 102400 KB
    2005/11/13 22:02:37| Rebuilding storage in /proxy/squid/var/cache
    (CLEAN)
    2005/11/13 22:02:37| Using Least Load store dir selection
    2005/11/13 22:02:37| Set Current Directory to /proxy/squid/var/cache
    2005/11/13 22:02:37| Loaded Icons.
    2005/11/13 22:02:37| Accepting HTTP connections at 0.0.0.0, port 3128,
    FD 12.
    2005/11/13 22:02:37| WCCP Disabled.
    2005/11/13 22:02:37| Ready to serve requests.
    2005/11/13 22:02:37| Done reading /proxy/squid/var/cache swaplog (0
    entries)
    2005/11/13 22:02:37| Finished rebuilding storage from disk.
    2005/11/13 22:02:37| 0 Entries scanned
    2005/11/13 22:02:37| 0 Invalid entries.
    2005/11/13 22:02:37| 0 With invalid flags.
    2005/11/13 22:02:37| 0 Objects loaded.
    2005/11/13 22:02:37| 0 Objects expired.
    2005/11/13 22:02:37| 0 Objects cancelled.
    2005/11/13 22:02:37| 0 Duplicate URLs purged.
    2005/11/13 22:02:37| 0 Swapfile clashes avoided.
    2005/11/13 22:02:37| Took 0.3 seconds ( 0.0 objects/sec).
    2005/11/13 22:02:37| Beginning Validation Procedure
    2005/11/13 22:02:37| Completed Validation Procedure
    2005/11/13 22:02:37| Validated 0 Entries
    2005/11/13 22:02:37| store_swap_size = 0k
    2005/11/13 22:02:38| storeLateRelease: released 0 objects
    2005/11/13 22:02:52| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0A/9F
    2005/11/13 22:03:08| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0B/9F
    2005/11/13 22:03:23| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0C/9F
    2005/11/13 22:03:29| clientAccessCheck: proxy request denied in
    accel_only mode
    2005/11/13 22:03:38| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0D/9F
    2005/11/13 22:03:53| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0E/9F
    2005/11/13 22:04:09| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0F/9F
    2005/11/13 22:04:24| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/00/A0
    2005/11/13 22:04:39| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/01/A0
    2005/11/13 22:04:54| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/02/A0
    2005/11/13 22:05:09| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/03/A0
    2005/11/13 22:05:25| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/04/A0
    2005/11/13 22:05:41| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/05/A0
    2005/11/13 22:05:56| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/06/A0
    2005/11/13 22:06:11| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/07/A0
    2005/11/13 22:06:27| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/08/A0
    2005/11/13 22:06:43| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/09/A0
    2005/11/13 22:06:58| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0A/A0
    2005/11/13 22:07:13| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0B/A0
    2005/11/13 22:07:29| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0C/A0
    2005/11/13 22:07:45| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0D/A0
    2005/11/13 22:08:00| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0E/A0
    2005/11/13 22:08:15| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0F/A0
    2005/11/13 22:08:31| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/00/A1
    2005/11/13 22:08:47| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/01/A1
    2005/11/13 22:09:02| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/02/A1
    2005/11/13 22:09:17| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/03/A1
    2005/11/13 22:09:33| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/04/A1
    2005/11/13 22:09:49| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/05/A1
    2005/11/13 22:10:05| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/06/A1
    2005/11/13 22:10:20| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/07/A1
    2005/11/13 22:10:36| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/08/A1
    2005/11/13 22:10:51| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/09/A1
    2005/11/13 22:11:07| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0A/A1
    2005/11/13 22:11:22| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0B/A1
    2005/11/13 22:11:37| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0C/A1
    2005/11/13 22:11:52| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0D/A1
    2005/11/13 22:12:08| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0E/A1
    2005/11/13 22:12:23| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0F/A1
    2005/11/13 22:12:39| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/00/A2
    2005/11/13 22:12:54| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/01/A2
    2005/11/13 22:13:10| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/02/A2
    2005/11/13 22:13:25| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/03/A2
    2005/11/13 22:13:40| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/04/A2
    2005/11/13 22:13:56| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/05/A2
    2005/11/13 22:14:11| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/06/A2
    2005/11/13 22:14:26| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/07/A2
    2005/11/13 22:14:42| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/08/A2
    2005/11/13 22:14:58| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/09/A2
    2005/11/13 22:15:13| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0A/A2
    2005/11/13 22:15:28| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0B/A2
    2005/11/13 22:15:44| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0C/A2
    2005/11/13 22:16:00| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0D/A2
    2005/11/13 22:16:15| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0E/A2
    2005/11/13 22:16:31| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/0F/A2
    2005/11/13 22:16:46| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/00/A3
    2005/11/13 22:17:02| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/01/A3
    2005/11/13 22:17:17| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/02/A3
    2005/11/13 22:17:33| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/03/A3
    2005/11/13 22:17:48| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/04/A3
    2005/11/13 22:18:03| storeDirClean: WARNING: Creating
    /proxy/squid/var/cache/05/A3
    2005/11/13 22:18:15| Preparing for shutdown after 1 requests
    2005/11/13 22:18:15| Waiting 30 seconds for active connections to
    finish
    2005/11/13 22:18:15| FD 12 Closing HTTP connection
    2005/11/13 22:18:16| Shutting down...
    2005/11/13 22:18:16| Closing unlinkd pipe on FD 10
    2005/11/13 22:18:16| storeDirWriteCleanLogs: Starting...
    2005/11/13 22:18:16| Finished. Wrote 0 entries.
    2005/11/13 22:18:16| Took 0.0 seconds ( 0.0 entries/sec).
    CPU Usage: 0.010 seconds = 0.010 user + 0.000 sys
    Maximum Resident Size: 0 KB
    Page faults with physical i/o: 350
    Memory usage for squid via mallinfo():
    total space in arena: 2052 KB
    Ordinary blocks: 2034 KB 6 blks
    Small blocks: 0 KB 6 blks
    Holding blocks: 200 KB 1 blks
    Free Small blocks: 0 KB
    Free Ordinary blocks: 18 KB
    Total in use: 2234 KB 109%
    Total free: 18 KB 1%
    2005/11/13 22:18:16| Squid Cache (Version 2.5.STABLE12): Exiting
    normally.

    plz halpe me

    suprio


  2. Re: the requested url couldnot be retrived after configuring squid

    first it is easy . your problem is not big. I had that and I solved it.
    in the squid.conf
    find the default configuration

    http_access allow localhost
    http_access deny all

    This means allow all request from ur server
    and deny all other computers

    now you need to configure and add the ip of ur client

    for example in my case
    I have same problem and I added this line and it solved my problem
    ########################
    acl MyLan src 192.168.0.0/24 192.168.1.0/24
    http_access allow Mylan
    #######################

    you can use

    #################
    http_access allow all
    and you will have no errors. this will allow all the clients.
    ######################


    search that below
    ###########################################33
    # We strongly recommend to uncomment the following to protect innocent
    # web applications running on the proxy server who think that the only
    # one who can access services on "localhost" is a local user
    #http_access deny to_localhost
    #
    # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

    # Exampe rule allowing access from your local networks. Adapt
    # to list your (internal) IP networks from where browsing should
    # be allowed
    #acl our_networks src 192.168.1.0/24 192.168.2.0/24
    acl MyLan src 192.168.0.0/24 192.168.1.0/24
    http_access allow Mylan
    #http_access allow our_networks


    for this you need to see your dhcp subnet configuration
    (the configuration which gives your local xp clients the ip address).
    first do that and then we will continue later


  3. Re: the requested url couldnot be retrived after configuring squid

    # define your lan and then http_allow your lan.
    acl our_networks src 192.168.1.0/24 192.168.2.0/24
    #acl MyLan src 192.168.0.0/24 192.168.1.0/24
    #http_access allow Mylan
    http_access allow our_networks
    hope this works for u


+ Reply to Thread