I've had this server for a while and I've periodically received similar errors, but it's been worse lately. I'm trying to diagnose and similar posts have left me with 2, maybe 3, ideas about what could be wrong. Here is the setup: Ubuntu Server 10.10 maverick kernel 2.6.35-30-server Sans Digital TR8 8 bay raid - 2 port multipliers to esata outputs 8 1TB WD Caviar Black Syba PCI-e card with Sil3124 chipset - 2 external esata inputs I do not use the RocketRaid 622 card that came w/the enclosure because I had problems with drivers and configuration so I went with the SI chipset. The raid is configured with mdadm, level 10, running ext3 file system:
What's odd is that the raid dropped out and completely locked up the computer multiple times, then marked one of the drives as failed. I did a readd on the drive and it rebuilt witout issue. Ran e2fsck -f to clean up the problems it had when it crashed, but as soon as I do heavy read/writes the errors start showing up again. This is primarily a media server for music and movies, but also for backups and printing. Heavy read/writes are generally transcoding movies and music which is what I was doing when it failed.
Could any RAID gurus kindly assist me on the following RAID-5 issue?I have an mdadm-created RAID5 array consisting of 4 discs. One of the discs was dropping out, so I decided to replace it. Somehow, this went terribly wrong and I succeeded in marking two of the drives as faulty, and the re-adding them as spare.
Now the array is (logically) no longer able to start:
mdadm: Not enough devices to start the array.Degraded and can't create RAID ,auto stop RAID [md1]
Code: mdadm --create --assume-clean --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2 As I don't want to ruin the maybe small chance I have left to rescue my data, I would like to hear the input of this wise community.
i have cretaed RAID on one of my server RAID health is ok but its shows warning. so what could be the problem. WARNING: 0:0:RAID-1:2 drives:153GB:Optimal Drives:2 (11528 Errors)
I received some errors while running a benchmarking script to determine my ideal raid chunk size. There are several errors in the kernel log regarding the sata link and eventually the two drives i have connected to a pci express x1 sata card were no longer present in /dev/
the script i was using is available here [URL]..system specs 1 500gb western digital drive (system drive)3 2tb samsung f4 drives (2 connected to pci x1 card (sata II) and 1 onto onboard sata port (sata I)) single core amd 64 on SiS chipset debian 64bit testing
[Code]...
I rebooted the machine and everything appears to be happy. What do these errors mean? What steps should i take to prevent them in the future so it doesn't end up corrupting the array?
My mysql server won't start on my machine. It simply fails with no errors. Code: sudo /etc/init.d/mysql restart * Stopping MySQL database server mysqld [ OK ] * Starting MySQL database server mysqld [fail]
When I run cat /var/log/mysql.err the file is empty, thinking this might be a permissions issue I tried chowning to a mysql user. Here's the current permissions. Code: ls -alh /var/log/mysql* -rw-r----- 1 mysql adm 0 2009-09-30 11:08 /var/log/mysql.err -rw-r----- 1 mysql adm 0 2010-01-15 09:07 /var/log/mysql.log -rw-r----- 1 mysql adm 20 2009-11-25 07:35 /var/log/mysql.log.1.gz -rw-r----- 1 mysql adm 20 2009-11-24 07:59 /var/log/mysql.log.2.gz -rw-r----- 1 mysql adm 20 2009-11-23 07:56 /var/log/mysql.log.3.gz -rw-r----- 1 mysql adm 20 2009-11-22 07:54 /var/log/mysql.log.4.gz -rw-r----- 1 mysql adm 20 2009-11-21 07:47 /var/log/mysql.log.5.gz -rw-r----- 1 mysql adm 20 2009-11-20 07:43 /var/log/mysql.log.6.gz -rw-r----- 1 mysql adm 20 2009-11-19 07:35 /var/log/mysql.log.7.gz
/var/log/mysql: total 8.0K drwxrwsrwx 2 mysql adm 4.0K 2009-09-30 11:08 . drwxr-xr-x 16 root root 4.0K 2010-01-15 10:24 .. Still having the same issue, mysql server is still failing and /var/log/mysql.err is still empty.
i have strange problem on my wordpress-powered blog.while i'm connecting to server by ssh or physical console, everything works fine.however, when i tries to logout almost immediately 403 forbidden error pops up on every pages of my website.if there are two or more connections (like physical console and ssh terminal), terminate one of them does not cause 403 forbidden. but it shows 403 forbidden error page right after i terminated all connections.i can find two types of error in apache error.log while it shows 403 forbidden page.
Code:
(13)Permission denied: access to / denied
Code:
(13)Permission denied: /home/user/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable(one strange part is my DocumentRoot is /home/user/www not /home/user)i gave 755 permission to all files and directories in DocumentRoot(which is /home/user/www), but still apache show me the forbidden error page right after logout.i use ubuntu 10.04 lts and i use apt-get command to install all package that i'm using now (apache,mysql,php,mrtg,snmpd,vsftpd,ssh,etc).these are my virtual host config file and apache2.conf. (httpd.conf is empty)
Just installed ubuntu server 11.04 to have a play with. Ran through the installer and selected to setup as a virtual machine host. When booting I get 3 errors
Code: [ 7.847619] [drm] nouveau 0000:00:0d.0: ======= misaligned reg 0x0060081D === [ 7.847624] [drm] nouveau 0000:00:0d.0: ======= misaligned reg 0x0060081D === [ 8.651603] [drm] nouveau 0000:00:0d.0: unknown connector type: 0xff!! === Any insignt into what may be causing this would be well appreciated.
It may be also worth noting that I dont see the grub screen. My monitor reports "out of range" I also did have ubuntu server 10.10 on here previously which installed without issue. (It wasnt actually being used for anything) I'm currently trying a reinstall hoping the errors will go away but any info would be much appreciated.
I have setup the Ubuntu server on Dell Powerdge 2900 (the latest server version 9.XX)I would like to install the 'minimal' X11 package so I have done the following Step1:Quote:
I get an error message that says phpMyAdmin - Error, Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
So I did some googling and found a post here {URL]... which speaks about resetting the ownership of the session directory. However I am wondering how I can find out what the owner if the directory is (if its root or admin or ...)
It's strange because it all worked fine just about two hours ago and I am not sure since I have the server automatically download security updates if there is something it automatically downloaded that caused this. Also how to make the server stop automatically downloading security updated?
Just had a new VPS installed running Ubuntu Server 8.04 Getting some errors when I connect to the server and try to use apt.. only trying to install nano and after messing around I've managed to get the error to change.. but still can't get any further.
error
Code:
# sudo apt-get install nano Reading package lists... Done Building dependency tree Reading state information... Done
When I restarted one of my servers today and actually worked directly on the system (not through SSH as usual), some weird error messages kept appearing in the console. So I checked the syslog and found several instances of the following lines:
I set up the web/backup server for our department and I'm having some major issues. Firstly, the server seems to be dropping the network connection periodically. I checked all of the logs and it appeared to be an IP6 issue as the only message that seemed to correlate with it was "eth0: no IPv6 routers present" in syslog. I added "ipv6.disable=1" to my boot options in menu.lst and this seemed to take care of the problem. However, I woke up this morning and the server was back down.
This didn't seem to take care of the problem. It seems to occur when my automatic backup scripts go through. I have several BASH backup scripts that use rysnc over SSH to backup several computers to the server and the server to my desktop at home. I was able to trigger the problem a couple of times running the backup script this morning. Now, I'm getting the following error when running the script, instead of losing the network connection:
I tried booting with a previous kernel to see if that was the problem and I'm still getting this error. I've searched through all of the logs that I could think of to try to track down any software based problems and I just don't see anything. In the past, whenever I've run into such serious with a Linux box that popped up out of nowhere, it's always been a hardware failure. I've currently disabled all of the backup scripts and I'm going to see if it lasts through the weekend.
I have a server that, due to the amount of data it's moving, tends to trash up the hard drive when I have a power outage or crash. It doesn't have a keyboard or monitor attached to it normally so it's a real pain when I have to boot it back up. I have to hook one up just to hit F to have it fix all the errors. Is there a way to have it do this automatically on boot rather then having to confirm it?
I have three WD 1.5 GB harddrives. 2 of them already in a linear RAID also called Concatenated i think. (the same as JBOD). Can i add the third drive to the RAID without losing data? Update "Using mdadm software raid."
I am attempting to run Ubuntu 10.04 Server on RAID 1 and am consistently hitting the same issue when trying to boot the system for the first time (after what seems to be a successful install of the OS). I am creating the RAID 1 using the directions found in the Ubuntu Server Guide. The error I receive when trying to boot the system for the first time is...
Code:
mount: mounting /dev/disk/by-uuid/f35415ee-4c14-4eb1-995f-f19fbcd760c7 on /root failed: Invalid argument mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory
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
The onlything I could find after scrubbing the internet is once ina while there's a missing bracket. But I have checked and triple checked my config files and the syntax and can't find anything wrong. I have another installation of bind9 running on Fedora and the same exact syntax works just fine.
I have Ubuntu server 11.04 (LAMP, SAMBA) installed with the ubuntu-desktop interface (I am not yet experienced enough to run without it).My problem is I am trying to share the www directory through samba so I can edit the site, but no matter what I do I get errors when I try and access the directory form the other machine.I did add it to the smb.conf file, and it does show up fine on teh network, however, when I try and open or change the contents of the directory it says I am unauthorized.I tried:
Code: sudo chown <sambausername> /var/www even tried
I have a problem installing Ubuntu on an HP Proliant ML115. This server has a 1TB mirrored RAID setup (and 1 250GB drive), problem is, Ubuntu apparently doesnt like it, it detects the RAID but fails to partition the hard drives and the installation cant continue. I tried the guided partitioning using the whole disk (detected RAID array). Here is what syslog gives me:
May 17 22:32:30 main-menu[504]: INFO: Menu item 'disk-detect' selected May 17 22:32:30 net/hw-detect.hotplug: Detected hotpluggable network interface eth0 May 17 22:32:30 net/hw-detect.hotplug: Detected hotpluggable network interface lo May 17 22:32:31 hw-detect: Loading PCMCIA bridge driver module: i82365 May 17 22:32:31 hw-detect: FATAL: Module i82365 not found.
[Code]...
PS: Im very noob regarding this kind of stuff so detailed instructions please, also feel free to give configuration tips
I'm having a problem with the installation of Ubuntu Server 10.04 64bit on my IBM xSeries 346 Type 8840. During the installation the system won't recognize any disk, so it's asking which driver it should use for the RAID controller. There's a list of options, but nothing seems to work. I've been searching the IBM website for an appropriate driver, but there is no Ubuntu version (there is Red Hat, SUSE, etc). I was thinking about downloading the correct driver onto a floppy disk to finalize the installation, but apparently no 'general' Linux driver to solve the problem here.
I've recently completed a fresh install of 10.04 on a home file server and upgraded the hard drives in my storage array. My PREVIOUS hardware was:
Old version of Ubuntu (I forget which one exactly, but I know I had missed a few upgrade cycles)
3X 500 GB Seagate Baracuda's (for the array) Areca 1220 Hardware RAID controller Intel Core 2 Duo 6600 320 GB Seagate for the boot drive
I was running that hardware for about five years or so and it was rock solid. After the upgrade the hardware specs are:
Ubuntu 10.04 Areca 1220 hardware RAID controller 4x 1000GB Samsung Intel Core 2 Duo 6600 320 GB Seagate for the boot drive.
The fresh install of Ubuntu 10.04 went remarkably well. The drivers for that raid controller are in the kernel, which is great. I was able to access the old array after upgrading Ubuntu. Now I am trying to create a new array with the four 1000 GB drives in a RAID 5. Obviously that gives a maximum storage capacity of 3 TB, greater than the 2 TB threshold that seems to be so important. I've been doing some digging and here is where my questions start:
it appears as though gparted doesn't support file partitions greater than 2 TB, correct?
it also doesn't seem as though parted supports ext3 or ext4, is that correct?
If this is the case, how do I create a partition with ext4 that is greater than 2 TB?
I can see the array volume in gparted (which is a relief) but it lists the size as 2.73 TiB, which I find curious because that is over 2 TB, but not the full capacity of the volume. I can also get to the volume in parted. But I see in the parted documentation that using the makepartfs command is discouraged and instead, one should use the command mkpart to create an empty partition, and then use external tools like mke2fs ( to create the filesystem.
how to proceed from here. What does the community think is the best course of action to create a partition of 3TB in ext4? Then I need to change fdisk to automatically mount the array at every log in, right?
I'm setting up a web server but I have no experience with RAID. I would like to try this configuration if possible:
2 x HDD 500GB RAID1 1 x HDD 20GB (logs and tmp)
The old 20GB drive I would like to use it to store logs and temporally files (mounted in /var/log and /tmp respectively). With this I'm trying to reduce some disk usage in the RAID drives. In my idea, it would be better to write the access/error logs of the web server in a separated drive to the one serving the files which may increase speed... sounds crazy?
One problem is that during the installation, If I set the RAID automatically it will try to use my 20GB HDD as well in the RAID... Does it will work if I set the RAID first (removing the 20GB HDD) and then set the mount points in it after the installation?
I'm in the process of setting up my very first ubuntu server. Using 10.04 and has 2gb ram I am using Ubuntu's software raid (mdadm) It will be a file server, with 4 hard drives (3 in RAID5 and 1 as a spare) All 4 drives have 2 partitions: Partition 1 - 100mb Partition 2 - The remaining drive space
I setup the first 3 drives' partition 1's to be RAID1 with the 4th drive's partition 1 as a spare. This is where I'm mounting "/boot" (it's my understanding that /boot cannot be on a RAID5). I setup the first 3 drives' partition 2's to be RAID5 with the 4th drive's partition 2 as a spare. This its where I'm mounting. I believe so far I'm setup correctly to be able to deal with a drive failure and the system should operate just fine. What I don't know what to do is with the /swap. I want to retain the ability to be able to operate with a drive going down. But I have also read warnings about putting /swap on a raid. How would you setup /swap?
I am trying to build a storage server using software RAID. After getting writing RAID information to what I thought was the drives, I realized the configuration was not going to work. Since that time I have modified the RAID configuration more than once plus this is a project that was started a few months back. Between the time delays and currently written configuration, things are a confusing mess.
What I would like to do is wipe out all software RAID and start all over again. The problem is that I am unable to figure out how to get rid of it. I used DBAN to wipe out all four of my 1 TB drives which took a while. But still, the RAID configuration pulls up when I try to do a new install. Where is the RAID configuration data stored at if not on the HD? How can I scrub that information off so I can start all over again?
I'm using a Intel mac pro running Ubuntu Server 10.4 64bit, and I have it working. Currently, I'm just using Ubuntu using bootcamp, and not using EFI. The OS drive is 250gb which I know is more than enough, but it was what I had free at the time. I added 3 1tb drives to the computer, but not sure how to create a raid with them. I've done some searching, but still haven't been able to get it done successfully.