Ubuntu Servers :: Squid (2.7) Flooded With Time Waits
Aug 8, 2011
We have implemented a Ubuntu with Squid (2.7) & Dansguardian, Webmin and the webmin modules for these services. Server was running fine for about 6 months then suddenly there are hundreds of TIME_WAIT's when using:
Code:
netstat -antup
This causes the clients to get this error on their browser:
Code:
commBind: Cannot bind socket FD 10 to *:0 (98) Address already in use
Even 1 single client working will fill 3 pages of TIME_WAIT
Clients are Mac's bound to OD & AD (magic triangle). We reverted the vm image to a snapshot back when was working fine but problem remains. We created a server from scratch and same issue. We use ldap_auth to the active directory for authentication:
Server is 2008 R2
View 4 Replies
ADVERTISEMENT
Apr 22, 2011
everytime if more that 10-15 people using internet at same time squid proxy slow to responde everyweb just keep loading and here my squid proxy settings
1 nic
squid proxy 2.7 stable 9
ubuntu 64bit
intel duo core
[Code]...
View 1 Replies
View Related
Mar 6, 2010
I have a directory that contains a bunch of sound directories containing WAV files.I want to make a script that plays one, waits 500ms, plays one, waits, etc.i tried cat `find . -name *.wav && sleep 1` > /dev/dsp.It plays them but with no delay between.
View 13 Replies
View Related
Mar 23, 2010
what the recommended way to set up real-time (or near real-time) folder synchronization among 2+ servers. I looked a rsync but that doesn't sound real-time and it looks like its something that you might put in a cron once an hour.
View 1 Replies
View Related
Apr 5, 2011
I viewed a squid log file and I am confused on what the following 13 digits indicate..../var/log/dansguardian/access.log:"1301956620.901".
View 2 Replies
View Related
Apr 13, 2010
I view my /var/log/maillog and see tons of lines like this code...
I think those are some kind of SMTP attacks from this host by I tried to block hit with Iptables but it seemes to peace them off and they keep coming...!
please some kind of postfix-configuration solution?
View 14 Replies
View Related
Feb 7, 2010
Is there any web-tool that provides real time squid users utilization and websites access.
View 2 Replies
View Related
Apr 11, 2010
I installed webmin on Debian apt-get install webmin. After installation following message came.
Code:
Setting up webmin (1.510-2) ...
Webmin install complete. You can now login to https://IP:10000/
as root with your root password, or as any user who can use sudo to run commands as root. So I infer that the installation was successful.
But when I do
Code:
http://IP:10000
I get following error
Code:
Error 111 (net::ERR_TUNNEL_CONNECTION_FAILED): Unknown error.
View 1 Replies
View Related
Mar 29, 2010
I have several file servers in our offices and I am relatively new to Ubuntu / Linux. I get notices that there are updates for the server software from time to time. Is it typical to update everything when available or should I follow "If it ain't broke, don't fix it..." mentality?I would hate for everything to be working fine and then have an update throw me a curve.
View 9 Replies
View Related
Apr 11, 2011
I am running my Ubuntu 32 bit server on top of Windows 7 64 bit with VirualBox. It's a 2 core Atom. It's been working good for about half a year. But the last about 6 weeks the system time only in Ubuntu is going slow. About -8 per 24 hours! I can only guess because I have more things running in my Windows 7 and Ubuntu.
I can set it right by coping the hareware time to system time with this command:
Code:
hwclock --hctosys
I want to run a crontab to have that command run every minute. But it don't seem to run.
[Code]...
View 9 Replies
View Related
Dec 1, 2010
What should I do to clear WINE state in my system if it's already flooded with installed Win apps and lots of registry configs? Like WINE has just been installed and nothing more. No Windows apps, no configurations were made, clear registry, etc... Is it enough just to delete "~/.wine"?
View 7 Replies
View Related
Feb 23, 2011
I have tried many times for squid proxy cache server on10.10.But invain.
View 3 Replies
View Related
Jun 3, 2010
I am an avid ubuntu desktop user, however I started working at a company that runs their firewall, mail and proxy server on centos 5.2, all was working well so never needed to tamper with it, however we (myself and the administrator) randomly decided to install squid3 for its features, the install went well, however squid3 didnt run as we wanted it to, after looking into it reading some material on the net, we realised how stupid we were to not to test it -sigh- so weve purged and removed it and reverted back to 2.6, now however we even have issues with that too, we install squid 2.6 and start the service and we get errors that stop, and starting fail, however the status of squid shows its running. How to get it back to working order?
View 3 Replies
View Related
Mar 12, 2011
I have installed ubuntu in my system .Squid is by default in it. I want to compile delay_pools feature in squid.Normally we download source code file in tar.gz format ,uncompressed itand then install it. If we want to compile any thing we can also do it.Here in my case there is already squid installed during installation process.
View 1 Replies
View Related
Jan 6, 2010
Last week I installed minimal Ubuntu Karmic with XBMC live on my HTPC. I'm connecting to my fileserver thru a wireless interface and although that works like a charm most of the time, every once in a while the interface doesn't come up during boot and the PC 'hangs'.
I then press ctrl+alt+del and the pc reboots and the Grub2 boot menu appears, I suppose because the previous boot didn't go well. However, the boot menu doesn't have a timeout, I have to press <enter> to continue booting. My wireless USB-keyboard isn't working at that stage yet, so I'm unable to continue.
This is my /etc/default/grub
Code:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash xbmc=autostart,nodiskmount,setvolume loglevel=0"
GRUB_CMDLINE_LINUX=""
How can I get it such that Grub always times out, even after a failed boot?
View 7 Replies
View Related
Nov 27, 2010
I decided to install Ubuntu on my desktop after the setup went well on my laptop and I liked the OS. I already had Windows 7 and Backtrack 9 installed on my HDD, so when I was in setup I took the 200gb partition for BT9 and formatted SDA5 to ext3 with "/" as the root. Then checked "format" and selected SDA5 from dropdown list and continued to install.Everything went smooth in the installation and I was prompted to reboot which I did assuming I would soon see a GRUB screen. Instead I got an error saying
"Grub loading stage1.5.
Grub loading, please wait...
error 15"
and then the computer just freezes. I've tried to boot from CD but I just get "CD-ROM Boot Priority ...Boot Ready" and then after about 30 seconds it tries to boot from the HDD and I get the same error.I've read that I need to configure GRUB somehow but I have no idea how to do that and I can't boot anything from a CD because it just waits and then jumps to the HDD. I guess what i'm asking is if there is a way to configure GRUB from the BIOS menu or make it possible to be able to boot from a CD.
View 9 Replies
View Related
Jan 18, 2010
I'm migrating an old squid installation that use "httpd_accel_host" directive to archive the acceleration configuration. What I have is lot internals web servers published through an squid to the rest of the world, some of then http and others https. I try using https_port but when restart squid I get the following message: parseConfigFile: squid.conf:1202 unrecognized: 'https_port'
[Code]....
View 1 Replies
View Related
Feb 17, 2010
How do i exclude some URL from the proxy caching at squid.conf as i dont wont to cache ....., mediacafe etc, I know i can block site by create a file like bad-sites.acl, then adding it to squid.conf but that blocks it.
View 2 Replies
View Related
Apr 28, 2010
I've been having a hard time googling and trying to get ALL network connection to be redirected to squid proxy. I couldn't find a proper configuration for ufw or iptables. The ideas are:
1. redirection rule should NOT depend on a specific network inteface, but should work with any connection type, ex.: ppp0 or eth0... 2. firewall rules can be for firehol, iptables, or ufw (the same as iptables, just tell me where to place them). Preferably ufw or gufw. 3. should not interfere on cups web interface and lighttpd server.
BTW: it's not a ubuntu server install
View 6 Replies
View Related
Aug 2, 2011
I am trying to set up a SQUID server on my Red Hat Linux 7.3. to act as a cache server.
The machine has 2 network interface:
eth0 172.30.254.4/23
eth1 172.3.254.65/23
Default gateway is 172.30.254.19/23
The hostname is "amelie".
[Code].....
View 2 Replies
View Related
Jan 8, 2011
I'm on Fedora 14, and OpenOffice 3.3.0 takes a long time to open (about 30 seconds, sometimes less). It isn't a CPU or disk performance issue, it's just simply a very long delay before the program opens. It appears to be a frivolous network connection timing out. According to Wireshark, it tries to look up:
dulcimer.(none)
which fails, after which it tries to look up:
dulcimer.(none).mylitestream.com
(dulcimer is my hostname, and LiteStream is my ISP)
Is there a way to work around this bug in OpenOffice?
View 2 Replies
View Related
Jan 5, 2010
I've been all around the net and can't find a "simple" answer how to block our LAN users from downloading torrents. Is it really that difficult?
Here's our setup:
1. The Server's Configs:
2. sudo gedit /etc/squid/squid.conf
3. sudo gedit /etc/rc.local (to start Firewall rules on bootup)
4. Server NOT a DHCP Server
5. No other iptables rules are configured, just the above ones.
Before in a 1 NIC setup, I blocked Workstations MAC addresses in the Router + Squid Proxy Server (Not Transparent), it worked, but some Online Java Apps didn't work and users can't send/receive email so I abandoned the method.
Now, I installed transparent Squid Proxy with 2 NIC cards, it works, but workstations can still download torrents! I know Squid doesn't block ports, right? So the answer must lie in Iptables Firewall? I basically use Squid just to deny access to Facebook, Friendster, or other "unproductive sites".
Quote:
How to block torrent downloading by using a Firewall? Or is there another "simple" way?
I've heard that it's better just to allow regular ports (80, 22, 465, etc...) then block all the rest, this way, you can prevent unnecessary ports.
I'm not an Iptables/Firewall expert so can you pls. explain it a bit more detailed if that's the case.
I'm also aware of just telling our users NOT to download torrents, but I just want to prohibit it entirely.
I know I will be the most "uncool" employee in our office.
View 9 Replies
View Related
Jan 29, 2010
I would like to configure Squid and DansGuardian that way, that it's a Proxy with Authentication via Website. That means: A new Notebook gets about DHCP the Network-Information like IP-Adress etc.. When he now tries to open a Internet connection it should check if he's authenticated and if not he should get (if this try is from a browser) a login screen in http. It should also not be possible to have internetconnection without being logged in. The clients are Windoze, Mac and Linux. My question now. What programms/deamons are there for doing this authentication. Would you decide for another Programm instead of Squid?
View 2 Replies
View Related
Mar 5, 2010
I am using Squid Proxy Server alongwith Dansguardian, dhcp3 and ClamAV on my local network. Everything is working fine except for .flv files like [URL]. The problem is that Squid wants to download the whole .flv file first to its cache and then serve it to the client.
It has an advantage that the whole video loads at once on the client's browser but that is not what our users want.
What they want is that these files load on the fly as they do on a normal internet connection. How do I configure squid to serve .flv files on the fly to the client PCs?
View 9 Replies
View Related
Mar 8, 2010
Ubuntu Server 8.04. I have 2 servers in the same rack, on the same subnet, using the same DNS servers and build with the same media. On one of them the following command fails
Code:
apt-get install squid
On the other on the package was installed with out any problems. I have checked the /etc/apt/sources.list files and they are identical. Actually, it could not find mutt either.
View 5 Replies
View Related
Apr 26, 2010
I want that squid error pages have the company logo. I edited the page called ERR_ACCESS_DENIED but the image doesn't show (image its in the same directory as ERR_ACCESS_DENIED).
I tried png and gif formats to no avail.
Also I found this but I don't get what the writer is saying so I cant do it.
http://www.creative.net.au/evil/squi...ge_pages.shtml
View 4 Replies
View Related
May 4, 2010
I try for new LTS 10.4 32 bit at home..i install it with squid 2.7stable8 on it..after few hours my squid are freeze...so i have to reboot again and again..it never happen before with hardy. when i look on squid log...i cant find something wrong..but when i check wheter squid running or not.. squid wont auto running on start up..
View 2 Replies
View Related
Sep 9, 2010
I am trying to get apt-get to work on a server thats behind a squid proxy server.I have added exections in squid.conf to allow all on [URL]..apt-get can find updates but when it try's to download/install I get
Code:
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/g/gdebi/gdebi_0.6.0ubuntu2_all.deb Size mismatch
if I
Code:
wget http://gb.archive.ubuntu.com/ubuntu/pool/main/g/gdebi/gdebi_0.6.0ubuntu2_all.deb
it works..
View 1 Replies
View Related
Nov 13, 2010
Find error:
E: Unable to locate package squid
View 3 Replies
View Related
Jan 10, 2011
I am on Ubuntu 10.04, running Squid 2.7.STABLE7 Squid refuses to start on my machine unless I give it the -D argument (disable initial DNS tests). I think this is because my machine is offline while I'm testing it, so no DNS server. how to set Upstart to start Squid with the -D argument?
View 2 Replies
View Related