Re: [CentOS] Find reason for heavy load

2009-12-31 Thread Noob Centos Admin
Hi, > > since initially it seems like the high load may be due to I/O wait > Maybe this will help you to identify the IO loading process: > > http://dag.wieers.com/blog/red-hat-backported-io-accounting-to-rhel5 Thanks for the suggestion, I did install dstat earlier while trying to figure things

Re: [CentOS] Find reason for heavy load

2009-12-31 Thread Noob Centos Admin
Hi, > You should also try out "atop" instead of just using top. The major > advantage is that it gives you more information about the disk and > network utilization. Thanks for the tip, I tried it and if the red lines are any indication, it seems that atop thinks my disks (md raid 1) are the pr

Re: [CentOS] Find reason for heavy load

2009-12-31 Thread Noob Centos Admin
Hi, > Dstat could at least tell you if your problem is CPU or I/O. This was the result of running the following command which I obtained from reading up about two weeks ago when I started trying to investigate the abnormal server behaviour. dstat -c --top-cpu -d --top-bio --top-latency usr sys

Re: [CentOS] Find reason for heavy load

2009-12-31 Thread Chan Chung Hang Christopher
>> Look at the first two columns. What column have higher numbers? If r, >> you're CPU-bound. If b, you're I/O bound. > > procs ---memory-- ---swap-- -io --system-- > -cpu-- > r b swpd free buff cache si sobibo in cs us sy id wa > st >

Re: [CentOS] Find reason for heavy load

2009-12-31 Thread Christoph Maser
Am Donnerstag, den 31.12.2009, 12:34 +0100 schrieb Chan Chung Hang Christopher: > >> Look at the first two columns. What column have higher numbers? If r, > >> you're CPU-bound. If b, you're I/O bound. > > > > procs ---memory-- ---swap-- -io --system-- > > -cpu--

Re: [CentOS] Find reason for heavy load

2009-12-31 Thread Chan Chung Hang Christopher
Christoph Maser wrote: > Am Donnerstag, den 31.12.2009, 12:34 +0100 schrieb Chan Chung Hang > Christopher: Look at the first two columns. What column have higher numbers? If r, you're CPU-bound. If b, you're I/O bound. >>> procs ---memory-- ---swap-- -io --syste

Re: [CentOS] Find reason for heavy load

2009-12-31 Thread Noob Centos Admin
Hi, > Yes, these figures indicate that you are fairly close to being cpu bound. > > What kind of filtering are you doing? If you have any connection > tracking/state related rules set, you will need to be using a fair > amount of cpu. Initially, when the load start going up, I had thought the APF

Re: [CentOS] stock openjdk vs. epel

2009-12-31 Thread Mathieu Baudier
> Still no java browser plugin for Centos?  I've been reading the web > all night on this, getting angry.  I can't find any explanation about > why EPEL did have a working browser plugin, but then Centos introduced > versions of those same packages that had the plugin removed.  Not to > mention the

Re: [CentOS] stock openjdk vs. epel

2009-12-31 Thread m . roth
>> Still no java browser plugin for Centos?  I've been reading the web >> all night on this, getting angry.  I can't find any explanation about >> why EPEL did have a working browser plugin, but then Centos introduced >> versions of those same packages that had the plugin removed.  Not to >> mentio

Re: [CentOS] stock openjdk vs. epel

2009-12-31 Thread Mathieu Baudier
> I agree with the original poster. Not having the java plugin is fine on > servers, but for users here who *do* use it as a desktop, my choices are > to either not update openjdk or install Sun's Java, Indeed, installing Sun JDK is an alternative. I already tried it with the following procedure:

Re: [CentOS] Find reason for heavy load

2009-12-31 Thread Chan Chung Hang Christopher
Noob Centos Admin wrote: > Hi, > >> Yes, these figures indicate that you are fairly close to being cpu bound. >> >> What kind of filtering are you doing? If you have any connection >> tracking/state related rules set, you will need to be using a fair >> amount of cpu. > > Initially, when the load

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Luciano Rocha
On Thu, Dec 31, 2009 at 11:39:25AM -0400, robert mena wrote: > Hi, > > I lost my mdadm.conf (and /proc/mdadm shows nothing useful) and I'd like to > mount the filesystem again. So I've booted using rescue but I was wondering > if I can do a command like this safely (i.e without losing the data >

[CentOS] Lost mdadm.conf

2009-12-31 Thread robert mena
Hi, I lost my mdadm.conf (and /proc/mdadm shows nothing useful) and I'd like to mount the filesystem again. So I've booted using rescue but I was wondering if I can do a command like this safely (i.e without losing the data previously stored). mdadm -C /dev/md0 --level=raid0 --raid-devices=2 /de

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Joseph L. Casale
>I've collected an howto somewhere from the 'net: > >$ cat docs/sysadm/mdadm_recovery.txt > >## define possible devices with arrays >echo 'DEVICE /dev/hd[a-l]* /dev/sd[a-l]*' > mdadm.conf > >## scan >mdadm --examine --scan --config=mdadm.conf >> mdadm.conf > >## review configuration, copy to /etc >

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread robert mena
Hi, it worked (kind of). Thanks. I was able to recreate (the all appear in /proc/mdstat) and in the rescue I've mounted the /boot which maps to /dev/md0. But I can't mount any other partition. they all complain with the same error mount: Mounting /dev/mdX on /tmp/mountpoint failed: no such file

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread James Bensley
2009/12/31 Luciano Rocha : > On Thu, Dec 31, 2009 at 11:39:25AM -0400, robert mena wrote: >> Hi, >> >> I lost my mdadm.conf (and /proc/mdadm shows nothing useful) and I'd like to >> mount the filesystem again.  So I've booted using rescue but I was wondering >> if I can do a command like this safel

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread James Bensley
Now you've got your array working give us a fuller picture, how many hard drives have you got, in what configuration, how many arrays, how many partitions, what file systems, output of "mount" command, fstab details etc etc -- Regards, James ;) Jonathan Swift - "May you live every day of your l

Re: [CentOS] upgrade adivce

2009-12-31 Thread JohnS
On Wed, 2009-12-30 at 17:23 -0800, Corey Chandler wrote: > William Warren wrote: > > I have a new client that is running a fedora 4 system. Can i upgrade > > that box to centos 5 with a reasonable expectation of success or should > > i just back it up and do it from scratch? Also will the samb

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Luciano Rocha
On Thu, Dec 31, 2009 at 12:24:23PM -0400, robert mena wrote: > Hi, > > it worked (kind of). Thanks. > > I was able to recreate (the all appear in /proc/mdstat) and in the rescue > I've mounted the /boot which maps to /dev/md0. But I can't mount any other > partition. > > they all complain with t

Re: [CentOS] VirtualBox and CentOS

2009-12-31 Thread JohnS
On Wed, 2009-12-30 at 20:32 -0500, fred smith wrote: > On Wed, Dec 09, 2009 at 04:13:04PM +, Lars Hecking wrote: > > > > > I tried everything in that post as well, and nothing worked for me. > > > Finally I found the process I laid out and it worked. > > > > > > The link to it is here which

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Luciano Rocha
On Thu, Dec 31, 2009 at 04:23:52PM +, Joseph L. Casale wrote: > > That's a fairly limited script and out of date, I've never used mknod... Not all rescue environments have MAKEDEV or have it in $PATH, so this should always work. ;) -- lfr 0/0 pgpVfPn6gbK7v.pgp Description: PGP signature _

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread robert mena
Hi, Yes. I have from /devmd0 to /dev/md6 (for some reason it skipped md3). I do not have the fstab at hand but / /boot and /tmp each map to a different mdX. I've been able to mount the /boot but no other. One thing, besides the /boot all the other are ext4. Could it be a problem with the re

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Luciano Rocha
On Thu, Dec 31, 2009 at 12:38:51PM -0400, robert mena wrote: > Hi, > > Yes. > > I have from /devmd0 to /dev/md6 (for some reason it skipped md3). > > I do not have the fstab at hand but > / > /boot > and /tmp > > each map to a different mdX. I've been able to mount the /boot but no > other. >

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Joseph L. Casale
>Not all rescue environments have MAKEDEV or have it in $PATH, so this should >always work. ;) Really, on my hp's as well? I don't have any /dev/hdx or /dev/sdx on the ones with software raid... Nothing is easier than simply: # mdadm --detail --scan --verbose > /etc/mdadm.conf And that actuall

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread robert mena
Dmesg shows (for example when I tried to mount /dev/md2) ext4-fs: md2 : not marked OK to use with test code On Thu, Dec 31, 2009 at 12:40 PM, Luciano Rocha wrote: > On Thu, Dec 31, 2009 at 12:38:51PM -0400, robert mena wrote: > > Hi, > > > > Yes. > > > > I have from /devmd0 to /dev/md6 (for som

Re: [CentOS] [OT] CAT5 IP-capable rackmount KVM units?

2009-12-31 Thread Brian Mathis
On Wed, Dec 30, 2009 at 10:28 PM, Thomas Harold wrote: > Rather off-topic, but I'm looking for IP-based KVMs (~16 ports) that can > handle both PS/2 and USB hookups on the server side.  All of the answers > over at Slashdot are a few years out of date and it looks like prices on > KVM head units h

[CentOS] Lost mdadm.conf

2009-12-31 Thread James Bensley
-- Forwarded message -- From: robert mena Date: 2009/12/31 Subject: Re: [CentOS] Lost mdadm.conf To: CentOS mailing list each map to a different mdX.   I've been able to mount the /boot but no other. --- So have you got one RAID0 which is partitioned into /boot, /tmp

Re: [CentOS] [OT] CAT5 IP-capable rackmount KVM units?

2009-12-31 Thread Daniel Bird
Thomas Harold wrote: > Rather off-topic, but I'm looking for IP-based KVMs (~16 ports) that can > handle both PS/2 and USB hookups on the server side. I've been using the AdderView CatX series of IP KVM's for quite a while. They are very good. http://www.adder.com/uk/catx-kvm-switches.aspx Remot

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Les Mikesell
James Bensley wrote: > 2009/12/31 Luciano Rocha : >> On Thu, Dec 31, 2009 at 11:39:25AM -0400, robert mena wrote: >>> Hi, >>> >>> I lost my mdadm.conf (and /proc/mdadm shows nothing useful) and I'd like to >>> mount the filesystem again. So I've booted using rescue but I was wondering >>> if I can

Re: [CentOS] [OT] CAT5 IP-capable rackmount KVM units?

2009-12-31 Thread Miguel Medalha
> Overall using CAT5 is a lot easier, just don't make the mistake of > thinking that it's ethernet. CAT5 just provides the wires, the > signaling is proprietary and would probably fry an ethernet port if > you plugged one in. I suggest using different color cables > specifically for the KVM conn

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread robert mena
i've tried with no luck the problem is that a back rsync probably caused this. On Thu, Dec 31, 2009 at 1:04 PM, James Bensley wrote: > -- Forwarded message -- > From: robert mena > Date: 2009/12/31 > Subject: Re: [CentOS] Lost mdadm.conf > To: CentOS mailing list > > each map

Re: [CentOS] [OT] CAT5 IP-capable rackmount KVM units?

2009-12-31 Thread Drew
> That may be true for the solution you know but certainly it is not true > for many solutions out there. Look for "KVM over IP". > > As a quick example, see this page: > > http://www.lindy-usa.com/kvm/extenders-listed-by-features/kvm-over-ip/ Miguel, What you're referring to is accessing the KVM

Re: [CentOS] Find reason for heavy load

2009-12-31 Thread Noob Centos Admin
Hi, > I do not know about now but I had to unload the modules in question. > Just clearing the rules was not enough to ensure that the netfilter > connection tracking modules were not using any cpu at all. Thanks for pointing this out. Being a noob admin as my pseudonym states, I'd assumed stoppi

Re: [CentOS] [OT] CAT5 IP-capable rackmount KVM units?

2009-12-31 Thread Miguel Medalha
> What you're referring to is accessing the KVM box itself via IP, which > the Aten does allow. What Aten *also* does is use CAT5 cable to link > the KVM switch to various adapters which plug into the server(s). It's > the signalling on those lines that Brian was referring to, not > remotely acces

[CentOS] Aide questions

2009-12-31 Thread Steve Campbell
I've got aide aide-0.13.1-4.el5 running on a server, and aide aide-0.13.1-2.0.4.el5 running on a similar server. There appears to have been a change in the way base directories are being monitored in the two versions. Both servers are running logical volumes, but it seems to not matter as I'm r

Re: [CentOS] Find reason for heavy load

2009-12-31 Thread Noob Centos Admin
I initiated services shutdown as previously planned and once the external services like exim, dovecot, httpd, crond (because it kept restarting these services), the problem child stood out like a sore thumb. There was two exim instances that didn't go away despite service exim stop. Once I killed

Re: [CentOS] stock openjdk vs. epel

2009-12-31 Thread Paul Johnson
On Thu, Dec 31, 2009 at 8:14 AM, wrote: >>> Still no java browser plugin for Centos?  I've been reading the web >>> all night on this, getting angry.  I can't find any explanation about >>> why EPEL did have a working browser plugin, but then Centos introduced >>> versions of those same packages

Re: [CentOS] [OT] CAT5 IP-capable rackmount KVM units?

2009-12-31 Thread John R Pierce
Thomas Harold wrote: > Rather off-topic, but I'm looking for IP-based KVMs (~16 ports) that can > handle both PS/2 and USB hookups on the server side. All of the answers > over at Slashdot are a few years out of date and it looks like prices on > KVM head units have dropped a bit over the years

Re: [CentOS] Find reason for heavy load

2009-12-31 Thread Noob Centos Admin
Just an concluding update to anybody who might be interested :) My apologies for blaming spamassassin in the earlier email. It was taking so long because of the real problem. Apparently the odd exim processes that was related to the mail loop problem I nipped was still the culprit. I had overlook

Re: [CentOS] [OT] CAT5 IP-capable rackmount KVM units?

2009-12-31 Thread Brian Mathis
On Thu, Dec 31, 2009 at 3:11 PM, John R Pierce wrote: > Thomas Harold wrote: >> Rather off-topic, but I'm looking for IP-based KVMs (~16 ports) that can >> handle both PS/2 and USB hookups on the server side.  All of the answers >> over at Slashdot are a few years out of date and it looks like pri

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread robert mena
the problem was with the rescue image. i've booted from a new disk with a regular Os install and managed to mount the raid partitions. On Thu, Dec 31, 2009 at 12:43 PM, robert mena wrote: > Dmesg shows (for example when I tried to mount /dev/md2) > > ext4-fs: md2 : not marked OK to use with tes

[CentOS] stock openjdk vs. epel

2009-12-31 Thread R P Herrold
On Thu, 31 Dec 2009, Mathieu Baudier wrote: > I do believe that with Java now GPL, Linux+Java can be a great platform. > But there are years of parallel development paths and, if I can put it > that way, mutual distrust, that need to be overcome. > So it is still a bit painful (but much much bette

Re: [CentOS] [OT] CAT5 IP-capable rackmount KVM units?

2009-12-31 Thread Benjamin Donnachie
2009/12/31 Brian Mathis : > I'm using an Avocent DSR1020 and it works just fine. I'm quite happy with Avocent kit, but haven't tried it from non-IE browsers yet. Ben ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/cent

Re: [CentOS] Find reason for heavy load

2009-12-31 Thread Ugo Bellavance
On 2009-12-31 15:13, Noob Centos Admin wrote: > Just an concluding update to anybody who might be interested :) > > My apologies for blaming spamassassin in the earlier email. It was > taking so long because of the real problem. > > Apparently the odd exim processes that was related to the mail loo

Re: [CentOS] stock openjdk vs. epel

2009-12-31 Thread Les Mikesell
Mathieu Baudier wrote: > > I do believe that with Java now GPL, Linux+Java can be a great platform. > But there are years of parallel development paths and, if I can put it > that way, mutual distrust, that need to be overcome. > So it is still a bit painful (but much much better than a few years a

Re: [CentOS] stock openjdk vs. epel

2009-12-31 Thread John R Pierce
Les Mikesell wrote: > Given that it could have been trivial to include Sun Java ages ago, or at > least > not intentionally break the jpackage installation methods, I think Red Hat > has > done more damage to java than any other company and don't see that turning > around even if they try at t

[CentOS] DRBD error : Invalid module format

2009-12-31 Thread robert mena
Hi, I am trying to use drbd in my centos 5.4 but I keep getting errors. When I try modprobe -v drbd I receive insmod /lib/modules/2.6.18-164.el5PAE/extra/drbd/drbd.ko FATAL: Error inserting drbd (/lib/modules/2.6.18-164.el5PAE/extra/drbd/drbd.ko): Invalid module format. The current (running) ke

Re: [CentOS] DRBD error : Invalid module format

2009-12-31 Thread Akemi Yagi
On Thu, Dec 31, 2009 at 1:45 PM, robert mena wrote: > Hi, > I am trying to use drbd in my centos 5.4 but I keep getting errors. > When I try modprobe -v drbd I receive > insmod /lib/modules/2.6.18-164.el5PAE/extra/drbd/drbd.ko > FATAL: Error inserting drbd > (/lib/modules/2.6.18-164.el5PAE/extra/d

[CentOS] trying to get lm_sensorts to work

2009-12-31 Thread Jerry Geis
hi all, I am trying to get lm_sensors to work. did the yum install lm_sensors service lm_sensors start sensor -s and it says no sensors found. did lsmod | grep it87 and it87 57061 0 hwmon_vid 35905 1 it87 hwmon 36553 1 it87 i2c_isa

Re: [CentOS] trying to get lm_sensorts to work

2009-12-31 Thread Akemi Yagi
On Thu, Dec 31, 2009 at 2:04 PM, Jerry Geis wrote: > hi all, > > I am trying to get lm_sensors to work. > > did the yum install lm_sensors > service lm_sensors start > > sensor -s > and it says no sensors found. > > did lsmod | grep it87 and > it87                   57061  0 You may want to read

[CentOS] restoring using rysnc

2009-12-31 Thread robert mena
Hi, My backup server (B) has a /backup/home and I'd like to restore /backup/home/userX to /home/userX in my server A I am trying to do with in the server where I want to restore. rsync -e ssh -avzp -R --exclude "*.journal" backup_server:/backup/home/userX/ /home/userX But it is creating a /home

Re: [CentOS] restoring using rysnc

2009-12-31 Thread Joseph L. Casale
>Hi, > >My backup server (B) has a /backup/home and I'd like to restore >/backup/home/userX to /home/userX in my server A > >I am trying to do with in the server where I want to restore. > >rsync -e ssh -avzp -R --exclude "*.journal" backup_server:/backup/home/userX/ >/home/userX > >But it is cre

[CentOS] questions on debuginfo.centos.org

2009-12-31 Thread Ryan J M
Recently I add a debuginfo repo into my /etc/yum.repos.d/ [debuggery] name=CentOS-$releasever - DebugInfo baseurl=http://debuginfo.centos.org/$releasever/$basearch/ priority=1 then yum update and list shows kdiff3.i3860.9.92-14.el5 epel kding.i386

Re: [CentOS] yum centos repo dependency hell for matlab loaddap

2009-12-31 Thread Ryan J M
maybe you can try the old version of loaddap, it depends on libdap 3.6.2, according to their descriptions. Or compile the new libdap 3.9.3 by your own. Matlab Structs Tool 3.5.2 (28 April 2006) Binaries Win32 Win32 package Mac OS/X OS/X 10.4(Tiger) package Intel Mac Linux ix

Re: [CentOS] Lost mdadm.conf

2009-12-31 Thread Luciano Rocha
On Thu, Dec 31, 2009 at 04:40:56PM +, Joseph L. Casale wrote: > >Not all rescue environments have MAKEDEV or have it in $PATH, so this should > >always work. ;) > > Really, on my hp's as well? I don't have any /dev/hdx or /dev/sdx on the ones > with software raid... > > Nothing is easier th

Re: [CentOS] trying to get lm_sensorts to work

2009-12-31 Thread Ned Slider
On 12/31/2009 10:41 PM, Akemi Yagi wrote: > On Thu, Dec 31, 2009 at 2:04 PM, Jerry Geis wrote: >> hi all, >> >> I am trying to get lm_sensors to work. >> >> did the yum install lm_sensors >> service lm_sensors start >> >> sensor -s >> and it says no sensors found. >> >> did lsmod | grep it87 and >

[CentOS] missing module dir?

2009-12-31 Thread Michael Klinosky
I'm teaching myself about ethernet cards, and found a TLDP page. I have CentOS 5.3. In this section:http://tldp.org/HOWTO/Ethernet-HOWTO-2.html#ss2.4 in the 'Driver as module' subsection, regarding PCI cards, it states that there should be a directory "/lib/modules/`uname -r`/net" [myko..

Re: [CentOS] missing module dir?

2009-12-31 Thread Akemi Yagi
On Thu, Dec 31, 2009 at 6:58 PM, Michael Klinosky wrote: > I'm teaching myself about ethernet cards, and found a TLDP page. I have > CentOS 5.3. > > In this section:    http://tldp.org/HOWTO/Ethernet-HOWTO-2.html#ss2.4 > in the 'Driver as module' subsection, regarding PCI cards, it states > that t