Ubuntu Servers :: Crashed - None Of The Sites Were Responding - Sounded Like It Was Thrashing The Hard Drive
Aug 2, 2011
I have a ubuntu 11.04 LAMP server at home.
Its runnign a few small sites on a drupal CMS.
This morning I found none of the sites were responding. The server itself sounded like it was thrashing the hard drive.
It wasnt responding to the FTP client or SSH connections. Web pages just sat there like they were loading very slowly but never actually loaded.
How can I find out what went wrong. I dont have a massive amount of experience with linux, particularly the server variant.
Its worried me a little that the drupal report shows several page not found errors like someone (a bot maybe) was trying to see what php setup files they could access.
I'm dual booting Ubuntu 9.04 and 10.04 on an ASUS P5VD2-MX SE mobo with 3 hard drives, a couple of DVD writers and a multi memory card reader (USB).
The hard drives are:- 1 250Gb SATA MAXTOR STM325082 1 80Gb PATA HITACHI IC35L090AVV207-0 1 80Gb PATA MAXTOR 6Y080P0
9.04 lives on 2 ext3 partitions of the 250G SATA 10.04 on the 2 ext4 partitions of the 80G MAXTOR The HITATCHI has 1 ext4 partition mounted as a common data area for each O/S The 250G drive has GRUB Legacy in the MBR with its files in a small ext3 primary partition chainloading the 2 O/S's, GRUB Legacy for 9.04 and GRUB2 for 10.04. It also contains the common SWAP partition (primary)
When I boot into 9.04 everything works as expected with as far as I can see no unusual disk activity even when the ext4 data partition and the 2 10.04 ext4 partitions are mounted. When 10.04 is booted however, after about 5 minutes (irrespective of whether or not the other partitions are mounted) I see the hard drive activity light come on and stay permanently on. The system monitor shows nothing unusual. dstat doesn't give any clues either. I've tried running iotop but it fails with a missing CONFIG_TASK_DELAY_ACCT error.
Is this a known problem with ext4, should I rebuild 10.04 onto ext3 partitions? Are there some special ext4 mount parameters I should use? (I simply copied the fstab lines from 9.04 and just changed ext3 to ext4). I've read that the journaling process(es?) for ext4 by default commonly access the drive(s) every 2-3 secs but that should just cause a flicker surely.
I'm using the rhythmbox installation that ships with fedora for my music playback. Every time is start the darn thing up though I can hear my external disk (media library) being accessed really hard. I assume this is part of some sort of library self check and probably a check for new music(?). So this got me wondering on how rhythmbox keeps up with my media library and if there is a way to make it more! I assume that atm rhythmbox just checks every file it now in my library for 'something' and at that also checks for new files and folders in the library directory. So I guess It would be quite a boost in startup performance (disk thrashing) to just skip the existing files checks. Right? Well, I obviously don't know how rhythmbox ticks so be nice.
I am having on trying to backup my crashed laptop with ubuntu 9.10 when i double click on my hard drive, it says "unable to mount location" and it says "unable to mount location" a job is pending on /dev/sda2 when i right click on my hard drive and select mount.
I was busy making backups to my external hard drive just now, but Ubuntu crashed 10 mins into the backups. After rebooting the affected folders are now Read only, and I cannot add or remove anything. This is extremely annoying, I already threw away two USB flash disks because the same thing happened to me in the past. I don't want to throw away the external because it's far more expensive and packed with backups.
Symptoms: I can write or delete a file to the hard drive, in any folder, accept the folders that was being accessed when the computer crashed. I have tried to change permissions, but I get an error. I tried opening a terminal and sudo rm -r that folder, but I get a input/output error. I'm running Karmic. Backups were made by Back-in-time.
My macbook pro stopped booting yesterday due to some file system corruption in the hard drive. I am able to access this drive through a linux live cd which I am using now but when I go to some folders it says "Could not enter folder /media/Macintosh HD/..." My question is how do I give myself the permissions to be able to access these files and transfer them to a network drive?
Recently I built a web server for my clients to host in house. After talking with the web developer they informed me that i needed a CentOS computer with Drupal for them to design the website. This is my first Linux install and after spending hours upon hours configuring the server with FTP, SSH, and configuring our DD-WRT router with proper port forwarding we turned it over to the web designers to start work on the website.
A month goes by and the website is almost done, at this point we go to make a full backup of the hard drive. Due to a hardware problem it fried the circuit board of the hard drive. After attempting to recover the files myself we opted to send it to a HD data recovery facility to recover the information. We have received back a DVD containing the 2GB's worth of data from the CentOS hard drive. It contained 2 folders one for each of the partitions. I can view and see all the files on my windows machine and it appears that all of the data was recovered successfully. I harbored some hope that i could simply reinstall CentOS with the same account information and then just drop the recovered files on top of the new installation and have it start working.
I then reinstalled CentOS on another hard drive in the same computer and used the same credentials for installation. After i successfully booting into CentOS i turned off the machine and connected the hard drive it to my Windows bench machine. After booting into Windows i was unable to browse the hard drive. After doing more research and installing Ext2fsd i was able to see the 2 partitions CentOS had just created, but only able to access the Boot partition. After more research i discovered the default installation of CentOS creates a Raw file type for the 2nd partition and that is why i am having issues reading it inside of Windows.
I then downloaded a copy of Knoppix to see if this would allow me to write the old files over the new ones. After booting up the CD i could only browse to the /boot drive(and im not even sure if this is Knoppix's Virtual /boot or my CentOS /boot).
My question is what would be the best steps to recovery for my scenario? Can the files be placed to the drive and have everything restored? Is the only way to recovery thru reinstalling all applications and reconfiguring from scratch? How difficult is Drupal DB to recover in this type of scenario?
i can only boot to MSDOs with floppy msdos bootup on A:. I want to install ubuntu 10.10 and completely erase HDD but the ubuntu disc won't bootup even when bios is set for cd only. This is older HP pavillion that I have retired but HDD scans out good so I thought i would run Ubuntu only and maybe put MS out of business but not having any luck with install. When booting from HDD error is system 32hal dll is missing or corrupt but HDD C: is 0 anyway. I just want to install so I can play with Ubuntu.
My server got crashed due to some power glitch i am somehow able to get the access to the /var folder i have copied all my webpages to a new system from /var/www folder, and i have install LAMP server but still i am not able to access the database from phpmyadmin.
I have copied the database to /var/lib/mysql..in phpmyadmin it has initially given there is no data base when i replaced the mysql folder but now after a restart it is giving me #2002 cannot log in to the mysql server even undoing the things is giving me the same error...
Acer Travelmate laptop, 1.3GHz Pentium M, 12MB Ram.pensuse 11.4 (upgraded from 11.3)Vanilla install, not running anything special, always startup and shutdown from scratch, never sleepFor several minutes after KDE appears and I open an app (any app, e.g. Chrome) the hard disk is going nuts. WTF is it doing and how do I stop it? Also some programs take years to start, e.g. digicam took TEN minutes the other day even after waiting a while after booting, the disk thrashing the whole time. But in 11.3 it started almost instantly.
Just loaded Squeeze (KDE) onto a partition on my desktop and am a bit alarmed by the disk thrashing thats going on? Damn light on constantly. if I didn't know better I'd think I was using Vista. Is this something to do with 'nepomukservices' that seems to be taking a fair amount of cpu time? Not used to KDE 4 so maybe this is normal.
So, I am looking to implement an FTP server with Isolated Client accounts/directories where a client can only access what's in their directory. I also need to provide my internal user's (content managers) the ability to upload, delete, etc from all of the Client accounts. The simple part is creating the secure client accounts. It's a matter of changing DIR_MODE in adduser.conf to 700 or 770, creating a user, having the FTP server chroot them to their home directory, revoke/restrict shell/ssh access and maybe even slap on some ACL to prevent botched permissions.The hard part is figuring out how to give my power users the ability to access all of their folders without thrashing security.
My first thought was to put all of the client user-groups in a parent group and having my internal users inherit group permissions..but you can't have groups inside of groups.My second thought was to put all of the client users in the same group and prey that the FTP chroot is enough to keep them from poking around but then I have the problem of how do my internal users access other user directories if they are chrooted. Do I create a second server without chroot.do I create some weird nested homedir structure..I honestly have no idea how to satisfy both requirements (secure client accounts and privileged user accounts). I need my privileged users to authenticate against Active Directory via Likewise open, LDAP, etc and I don't care how the clients authenticate. Though, I would prefer to have both file and FTP-server level protection just to make sure no one can see the other client's data.
I have been using Ubuntu for quite sometime and did have some problems getting it to work on my 64bit installation. I had it working fine since I fixed some issues I had when I first installed my current system (10.04 64 bit).
I have updated through the Update Manager today, and after restarting I got into ..... and started seeing the above message in place of the ..... video, it happens in around 95% of videos. The same issue is in vimeo but I didnt find a single video that worked there.
The update installed Firefox version 3.6.6 which has the new flash crash detection. I had flash crash on me when I first installed 10.04 but I used the Lahf fix here:[URL]It doesnt seem to crash on any non video sites that use flash like Facebook.
I've recently moved from Fedora 7 to Ubuntu Server 9.10. This server has been in operation for quite a few years, and currently has two 110 GB IDE hard drives in one volume group...I think they are both mounted at /.
What I want to do is the following:
1. Have the system files on the IDE volume group of /
2. Add a 2TB SATA drive, mounting at at /var/www/ I also want this partition to be extendable, if I want to add a second 2 TB SATA drive, to be "Volumed"?? with this one
3. Add another IDE HDD, mounting at /var/log
I remember I used (I think it was GParted...a GUI when I added the second IDE drive a couple years ago), but now I'm in a Terminal-only world. After I install the hard drives, what process would I need to follow to accomplish my above listed tasks?
I need some help on this one. I added an second internal hard drive to my file server, a 500GB WD. I want to use this drive as the primary storage drive for my file server, and I want to format it with XFS. I've found some guides showing me how to add hard drives, but they didn't really fit what I want to do. When I run fdisk -l this is what I get
Code:
Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0001af4f
[code]....
Disk /dev/sdb doesn't contain a valid partition table
I have Ubuntu 10.10 running on a HP Proliant DL380. The Server has 1 SCSI disk install which runs the Ubuntu OS. I recently added a new SCSI drive to the system (hot swap) Run fdisk -ls But it does not show the device.
I've also run Code: sudo rescan-scsi-bus.sh -w -l which returned
Code: 0 new device(s) found. 0 device(s) removed. I've have 4 other scsi bays which have the same result. I need to be able to see the drive before I can even mount/format.
I'm learning with a local intranet server with Ubuntu Server 10.04. It works well:^) I have a back-up question: I want to buy a hard drive of some kind to back-up to. I imagine a USB Portable Hard Drive would work OK. I'd plug it in to the box and mount it and then run a back-up routine. Is a workable way to do it?
I switch to linux 9.10 and I got webmin installed, I was hoping to set up samba so it would share my second hard drive over the network. Is there anyway I could share the second drive?
I am running Ubuntu Server and I recently added a new hard drive to the mix. Not replacing the old one, but adding a second one.What I want to know is how to I access that hard drive? I know in the desktop version it auto adds it, but not in the server version I checked my media folder.I installed it to be my new Samba share hard drive. So how to I get at it to use it?
Have just installed Ubuntu Server 10.04 on a dell with a perc 700 raid card. Running a mirrored raid1 (2x 500G as one drive). All went well. Have installed a basic Gnome front end and Webmin. I want to partition the hard drive into system and data storage areas. What is the best way to do this with a mirrored RAID system?
I have attached a 1.5 TB external hard drive to my new Ubuntu server. I mount it in /media/external. I used sudo mount /dev/sdx# /media/external but sdx# keeps changing. I added a line to fstab to mount it permanently but after couple of our it unmounts itself and /media/external is empty. It is in vfat format but webmin shows it as ntfs.
Quote: cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5).
For some reason, the second hard drive (sdb1) is not automatically mounted:
rick@rab-1:/mnt$ sudo fdisk -l Disk /dev/sda: 500.0 GB, 499989348352 bytes 255 heads, 63 sectors/track, 60786 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000c17f6
[Code]....
Before I installed Ubuntu, I installed the RAID software to handle 4 500 GB hard drives - so there are supposed to be two mirrored drives. I'm not an expert in using RAID. I'm assuming it is correctly configured. I only "see" two drives. sda has Ubuntu etc. How can I get sdb1 mounted? I've tried using the palimpsest program but I'm afraid I screw it up. Do I need to re-format sdb1?
Im usning ubuntu server 10.04 (Command-line)My second harddrive is FAT32 but i would like to change it to HTFS so i can store large files (larger than 2GB)
I am trying to use my external hard drive to store webpages and on the webpages it is uploaded to the folder. When i navigate to the address it says it is forbidden. I also noticed that it would not let me upload files to the folder it says i do not have permission. Can someone help me get passed the barriers. The hard drive is ntfs.
I'm trying to get my work's infrastructure built at home before I go up there and show the boss. It is as follows: VMware esxi installed on the server with:
Windows server 2008 Ubuntu 10.04 server
I've got VMware installed. And I have spent the past 7 hours trying to figure out how to manage it. I found out that vsphere has not nor will ever be supported for Linux; which was my first problem.
Second Problem So I had to dig around for a spare Windows 7 dvd. To my UN-surprise it blue screened before it even got to the Windows installer.
Third Problem So I dug around for my Windows XP disc. Wouldn't find my sata hard drive and I wasn't about to dig around for a floppy drive and disk, in order to install it.
Fourth Problem I remembered that I had a dual boot of Windows 7 downstairs and proceeded to download and install vsphere. It wouldn't install because of some updates that needed to be installed. I installed them and got vsphere installed as well. However upon connecting to my vmware esxi, there was yet another error that had to do with some update. I found out that the error had been existent since 2009 and for some reason NO ONE at VMware has fixed it....
I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...
My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.
Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.
Trying to install Fedora 12 using the 6 CDs. Trying to install on an older x86 box.Problem is that when detecting my hard drive, Fedora 12 recognizes it as a sda hard drive instead of hda hard drive. I have no SCSI connected to my computer what so ever. It's an old fashion PATA Western Digital hard drive.If I proceed with the install, Fedora 12 only installs 200MB of the OS from the first CD only. No options for additional software or anything.