Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Squid Error [solved - user error]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Sat Jul 23, 2005 3:56 pm    Post subject: Squid Error [solved - user error] Reply with quote

I keep having this error in my cache.log when I try to startup squid:

Code:
2005/07/24 00:27:16| commBind: Cannot bind socket FD 12 to 192.168.3.149:3128: (99) Cannot assign requested address
FATAL: Cannot open HTTP Port


Here's the entirety of the last entry:

Code:
2005/07/24 00:27:16| Starting Squid Cache version 2.5.STABLE10-RC3 for i686-pc-linux-gnu...
2005/07/24 00:27:16| Process ID 9595
2005/07/24 00:27:16| With 1024 file descriptors available
2005/07/24 00:27:16| DNS Socket created at 0.0.0.0, port 32769, FD 5
2005/07/24 00:27:16| Adding nameserver 68.87.64.196 from /etc/resolv.conf
2005/07/24 00:27:16| Adding nameserver 68.87.66.196 from /etc/resolv.conf
2005/07/24 00:27:16| User-Agent logging is disabled.
2005/07/24 00:27:16| Referer logging is disabled.
2005/07/24 00:27:16| Unlinkd pipe opened on FD 10
2005/07/24 00:27:16| Swap maxSize 262144 KB, estimated 20164 objects
2005/07/24 00:27:16| Target number of buckets: 1008
2005/07/24 00:27:16| Using 8192 Store buckets
2005/07/24 00:27:16| Max Mem  size: 20480 KB
2005/07/24 00:27:16| Max Swap size: 262144 KB
2005/07/24 00:27:16| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2005/07/24 00:27:16| Rebuilding storage in /usr/tmp/squid (DIRTY)
2005/07/24 00:27:16| Using Least Load store dir selection
2005/07/24 00:27:16| Current Directory is /etc/squid
2005/07/24 00:27:16| Loaded Icons.
2005/07/24 00:27:16| commBind: Cannot bind socket FD 12 to 192.168.3.149:3128: (99) Cannot assign requested address
FATAL: Cannot open HTTP Port
Squid Cache (Version 2.5.STABLE10-RC3): Terminated abnormally.
CPU Usage: 0.024 seconds = 0.019 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    2112 KB
        Ordinary blocks:         1998 KB      2 blks
        Small blocks:               0 KB      1 blks
        Holding blocks:           204 KB      1 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:     113 KB
        Total in use:            2202 KB 104%
        Total free:               113 KB 5%


Here is my squid.conf:

Code:
http_port 192.168.3.149:3128
icp_port 0
cache_mem 20 MB

cache_dir ufs /usr/tmp/squid 256 16 256

visible_hostname 192.168.3.145

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl allowed_hosts src 192.168.3.0/255.255.255.0

#http_access allow purge localhost
#http_access deny purge

#http_access deny !Safe_ports
#http_access deny CONNECT !SSL_ports

acl our_networks src 192.168.3.0/24
http_access allow our_networks

icp_access allow allowed_hosts
icp_access deny all

miss_access allow allowed_hosts
miss_access deny all


What am I doing wrong here?

*EDIT*

I feel like such an idiot... my address is 192.168.3.145... not 149
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim


Last edited by Bigun on Sat Jul 23, 2005 4:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Sat Jul 23, 2005 4:22 pm    Post subject: Reply with quote

Have you checked this is the current IP address?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum