Ubuntu Servers :: Squid Causing /var To Stay Busy During Shutdown?

Apr 3, 2011

i just wanted to check if its something silly ive overseen and if anyone else is having this problem...im running Ubuntu 10.04.2 LTS with latest version of squid 2.7.STABLE7-1ubuntu12.2. now when i shutdown or reboot the system, it says something along this lines of umount: /var is busy (check using lsof...). this is followed by text in red: [fail].when the system starts up again, i can see /var journal is recovering, so the /var partition was not cleanly unmounted during shutdown. obviously, there is a risk of filesystem corruption here. FYI, i have /var and other important mountpoints as separate partitions (LVM; ext4).

to confirm my suspicions of squid still running during shutdown, i checked /var/log/squid/cache.log and there is no indication that it received the signal to terminate. if i manually run "stop squid", then cache.log would show that squid has stopped successfully (or words to that effect).to confirm that /var is locked by squid during shutdown, ive added a script to run "lsof | grep var" before filesystems are unmounted. and voila! it indicates that various files used by squid in /var such as swap.state are still open. hence, the next system startup would result in /var recovering journal again.finally, i tried running "stop squid" before issuing the shutdown command and it successfully unmounts /var and i do not get /var recovering journal on the next system startup.

View 3 Replies


ADVERTISEMENT

Ubuntu :: 10.04 Crashing On Shutdown / What Causing This?

Oct 19, 2010

I had this problem in 10.04 and hoped it would go away in 10.10, but it did not. My computer crashes on shutdown. When the system is shutting down, the screen goes black (sometimes with a bunch of grey lines), and just hangs. I have waited for a long time but nothing happens. I have to shut it down manually, with file losses as a result. How should I go about fixing this? I have looked a bit in /var/log but do not know where to look for. Where can I find what is causing this?

View 3 Replies View Related

Ubuntu :: System Doesn't Stay Shutdown?

Nov 27, 2010

When I shut down the computer, it does not remain shut down. This is different from "restarting" the computer because when I "shutdown" the computer powers down, the fan and disks stop spinning for a second, and then everything starts again. When I "restart" the fan and disks remain spinning throughout the restart process.Further, the computer is dual booting with Windows XP Pro. If I shut down from Windows, the system remains shut down.

System Information:
Ubuntu 10.04 Lucid Lynx
kernel: 2.6.32-26-generic

[code]...

View 6 Replies View Related

Ubuntu :: Opening Certain Software Apps Causing 10.04 To Shutdown

Dec 28, 2010

I just installed Ubuntu 10.10 64bit. I installed VirtualBox ( AMD64 bit version) from here [URL] however whenever I went to run it, it would cause the system to log out (not shut down, just drop out) and return to the login screen. I thought this could be an issue with that version of VirtualBox so I uninstalled and and then installed the version through the Software Centre, however unfortunately it was causing the same problem. I thought this may be a VirtualBox specific issue, however the same thing is now happening since I installed skype (again only when I run Skype).

I understand the description I am giving is very vague, and as such my first question would be : how am I able to produce an error report (of such) that would better suffice in describing the problem? Obviously, if anyone has come across this problem, do they know how to fix it? Sorry, one last thing, and I'm not sure if this matters at all, but I'm running three monitors over two video cards using the Nvidia driver with Xinerema. I only bring this up, because a while back I was running 10.04 with two monitors in Twinview and had no problems.

View 1 Replies View Related

Slackware :: Console App Causing System To Hang On Shutdown?

Jul 14, 2011

I have been looking for a lightweight bandwidth monitoring app and came across bmon. It does what I need. However it has an interesting way of exiting.

when it is running and you close it down it ask you 'Really quit (y/n)' and does not shut down. I am used to just right clicking on my desktop and selecting 'leave' when it comes to shutdown time.

A few times now the laptop hangs on shutdown if bmon is open. I guess it is due to the app asking if it should shutdown. Is there a way to disable the app asking or alternatively nuke it for sure with some script on shutdown.

I could search the relevant konsole running the app and go thru the steps to shut it down but sometimes I am in a hurry and it doesn't feel like the way to go anyhow?

View 3 Replies View Related

Ubuntu Networking :: Shutdown Squid Via Web Page?

Feb 28, 2011

I would like to be able to shutdown squid (/etc/init.d/squid stop) via a web URL. Does anybody know if something exists like this, or do I need to write a CGI script or equivalent?FWIW: Yes, I have an 8 year old son that needs some persuasion to GET OFF THE COMPUTER .

View 1 Replies View Related

Ubuntu Servers :: RAID5 Failed - MDADM (Device Or Resource Busy)

Feb 2, 2010

Something weird happened last night and my raid5 failed. I am trying to re activate it and see if my data is dead or what. When I run mdadm -Asv /dev/md0 I get

Code:
mdadm: looking for devices for /dev/md0
mdadm: cannot open device /dev/dm-1: Device or resource busy
mdadm: /dev/dm-1 has wrong uuid.
mdadm: cannot open device /dev/dm-0: Device or resource busy
mdadm: /dev/dm-0 has wrong uuid.
mdadm: cannot open device /dev/sde2: Device or resource busy
mdadm: /dev/sde2 has wrong uuid.
mdadm: cannot open device /dev/sde1: Device or resource busy
mdadm: /dev/sde1 has wrong uuid.
mdadm: cannot open device /dev/sde: Device or resource busy
mdadm: /dev/sde has wrong uuid.
mdadm: cannot open device /dev/sdd: Device or resource busy
mdadm: /dev/sdd has wrong uuid.
mdadm: cannot open device /dev/sdc: Device or resource busy
mdadm: /dev/sdc has wrong uuid.
mdadm: cannot open device /dev/sdb: Device or resource busy
mdadm: /dev/sdb has wrong uuid.
mdadm: cannot open device /dev/sda: Device or resource busy
mdadm: /dev/sda has wrong uuid.

View 4 Replies View Related

Ubuntu Servers :: Oci8 Causing Segmentation Fault In PHP?

Apr 1, 2010

I'm having a problem with the oci8 module in PHP. I have been running this server for over a year with this configuration and never had an issue... I had been away since last Thursday, and suddenly this started happening this morning. I'm the only one who has server access, which has me baffled.

I've narrowed it down to the oci8 module because:

* I created a PHP script that does nothing except call oci_login(), which seg faults.
* Any web page that uses the oci functions fails... it asks you to download the PHP file, which is empty (likely because the oci_login call done before anything in PHP is printed).

View 1 Replies View Related

Ubuntu Servers :: Settings.json Won't Stay Changed?

May 23, 2011

I'm working on getting transmission-deamon working with remote access.

everything says edit

sudo nano /etc/transmission-daemon/settings.json

specifically "rpc-whitelist

however, as soon as I do. "sudo service transmission-daemon restart" the settings reset.

View 4 Replies View Related

Ubuntu Servers :: Iptables Causing Slow Ssh And Name Lookup Errors

Jan 24, 2010

Why would this iptables cause this mail delivery error? I think it's to do with dns lookups not being routed properly... if remove the last rule, mail works fine.

ssh is also very slow to connect when the last rule is enabled.

postfix mail error:

Code:
Jan 24 11:32:18 xxxx postfix/smtp[15065]: 9F2162C519: to=<xxxxx@hotmail.com>, relay=none, delay=1005, delays=965/0.01/40/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=hotmail.com type=MX: Host not found, try again) iptables

[Code]....

View 1 Replies View Related

Ubuntu Servers :: LVM Volume Group Not Activating, Causing Boot To Stall?

Aug 30, 2010

I have a relatively new server (Ubuntu Server 10.04.1) with a "/backup" partition on top of LVM on top of an MD raid 1.Everything generally works, except that it freezes during the fsck phase of bootup, with no errors. I've given it 20 minutes or so. If I press 's' to skip an unavailable mount (documented here), it reports that /backup could not be mounted.here are no LVM related messages in /var/log/messages, syslog, or dmesg.

When I try to mount /backup manually, it reports that the device (/dev/vg0/store) does not exist. Apparently the volume group was never activated, though all documentation seems to claim it should happen automatically at boot. When I run "vgchange vg0 -a y", it activates the volume group with no issue, and then I can mount /backup./etc/lvm/lvm.conf is unchanged from the defaults. I've seen posts mentioning the existence of a /etc/udev/rules.d/85-lvm2.rules , but no such file exists on my server, and I'm not sure how I would go about creating it manually, or forcing udev to create one.There are some open bugs describing similar problems, but surely it doesn't happen to everyone or there'd be many more[URL]

View 5 Replies View Related

Ubuntu Servers :: How To Run Squid On 10.10?

Feb 23, 2011

I have tried many times for squid proxy cache server on10.10.But invain.

View 3 Replies View Related

Ubuntu Servers :: Squid 3 Installed But Did Not Run

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

Ubuntu Servers :: How To Compile Squid

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

Ubuntu Servers :: 9.10 Squid Unrecognized Https_port

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

Ubuntu Servers :: Squid Exclude URL From Caching

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

Ubuntu Servers :: Redirect All Network To Squid?

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

Ubuntu Servers :: Setup A SQUID Server On Red Hat

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

Ubuntu Servers :: How To Block Torrents By Using Squid Or Firewall

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

Ubuntu Servers :: SQUID Authentication Via Website Or Other Program?

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

Ubuntu Servers :: Configure Squid To Forward .flv Files On The Fly?

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

Ubuntu Servers :: (8.04) Apt-Get Install Squid Command Fails

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

Ubuntu Servers :: Add Images On Squid Error Pages?

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

Ubuntu Servers :: Server 32bit With Squid Being Unstable

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

Ubuntu Servers :: Apt - Get File Size Mismatch Due To SQUID?

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

Ubuntu Servers :: E - Unable To Locate Package Squid

Nov 13, 2010

Find error:

E: Unable to locate package squid

View 3 Replies View Related

Ubuntu Servers :: Start Squid Automatically With -D Argument

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

Ubuntu Servers :: Dansguardian + Squid + Webmin = Not Working

Mar 22, 2011

I have a proxy server (squid-3) that I would like to setup Dansguardian to do additional web filtering.

The system:

Ubuntu 10.10 - all updates as of today
Dansguardian - 2.10.1.1-2ubuntu0.1 (latest update)
Squid3 - latest update (not squid 2.7)
Webmin - 1.530 (all updates)
Webmin dansguardian module - 0.7.1

Ok - I have all of the above installed. When I go to the DG module page in Webmin, I get the following:

Warning - the version of DansGuardian you have is not supported by this Webmin module version
Webmin Module Version 0.7.1 supports DG version 2.10 (& 2.9)
Currently installed DG version

This obviously makes no sense, since I am running DG version 2.10.1...

PS. I have squid installed, but not configured (still tinkering) - could this be the problem? That squid needs to be running for DG to work?

View 2 Replies View Related

Ubuntu Servers :: Squid Setup For Secure Browsing

May 17, 2011

I would like to use my Ubuntu server machine as a proxy so I can browse a little more securely/privately while I am traveling. I connect to a lot of open Wi-FI networks.I have Squid setup on an old laptop running Ubuntu Server 10.10 at home, and the main machine I will be using to connect to the proxy is a computer running Windows Vista.I am able to connect and use the Ubuntu Server machine as a proxy while traveling with the squid config file modified with http access set to 'allow all'.

Obviously this isn't the ideal setting.After lots of reading and Googling I can't figure out how to allow only my Vista laptop to use the proxy.I'm a little lost with the ACL settings required.

View 7 Replies View Related

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 View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved