Re: [CentOS] what is difference between "slow initialize" and "patrol read" on RAID?

2011-06-09 Thread Simon Matter
> On Wednesday, June 08, 2011 09:00:48 PM mcclnx mcc wrote: >> We have DELL server with MD1000 Disk array in it. O.S. is CENTOS 5.5. >> Recently every time MD1000 "patrol read" start I will get "media error" >> messages on /var/log/message file. >> >> I use MD1000 "slow initialize" to initialize "

Re: [CentOS] what is difference between "slow initialize" and "patrol read" on RAID?

2011-06-09 Thread Geoff Galitz
For your reference: http://stuff.mit.edu/afs/athena/dept/cron/documentation/dell-server-admin/en/Perc6i_6e/chapterb.htm Hopefully that answers the question. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Paypal phishing warning

2011-06-09 Thread Ljubomir Ljubojevic
MR ZenWiz wrote: > Sorry for the cross-post, and off-topic at that, but: > > This morning I received a very authentic looking email from > info.paypal.com, claiming that Paypal wanted me to update my browser. > (Really.) > > It had my name in it and all the right graphics and colors and everythin

Re: [CentOS] Paypal phishing warning

2011-06-09 Thread Rudi Ahlers
On Thu, Jun 9, 2011 at 8:39 AM, MR ZenWiz wrote: > Sorry for the cross-post, and off-topic at that, but: > > This morning I received a very authentic looking email from > info.paypal.com, claiming that Paypal wanted me to update my browser. > (Really.) > > It had my name in it and all the right gr

Re: [CentOS] Paypal phishing warning

2011-06-09 Thread Giles Coochey
On Thu, June 9, 2011 10:51, Rudi Ahlers wrote: > On Thu, Jun 9, 2011 at 8:39 AM, MR ZenWiz wrote: >> Sorry for the cross-post, and off-topic at that, but: >> >> This morning I received a very authentic looking email from >> info.paypal.com, claiming that Paypal wanted me to update my browser. >> (

Re: [CentOS] Paypal phishing warning

2011-06-09 Thread Emmanuel Noobadmin
On 6/9/11, MR ZenWiz wrote: > Sorry for the cross-post, and off-topic at that, but: > > This morning I received a very authentic looking email from > info.paypal.com, claiming that Paypal wanted me to update my browser. > (Really.) > > It had my name in it and all the right graphics and colors and

Re: [CentOS] Looking for gfs2-kmod SRPM

2011-06-09 Thread John Doe
From: "centoslistbr...@nym.hush.com" > I'm searching for the SRPM corresponding to this installed RPM. > % yum list | grep gfs2 > gfs2-kmod-debuginfo.x86_64                  1.92-1.1.el5_2.2 > It is missing from: > http://msync.centos.org/centos-5/5/os/SRPMS/ How can you expect to find a CentOS

[CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Emmanuel Noobadmin
I'm trying to resolve an I/O problem on a CentOS 5.6 server. The process basically scans through Maildirs, checking for space usage and quota. Because there are hundred odd user folders and several 10s of thousands of small files, this sends the I/O wait % way high. The server hits a very high load

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Benjamin Franz
On 06/09/2011 02:24 AM, Emmanuel Noobadmin wrote: > I'm trying to resolve an I/O problem on a CentOS 5.6 server. The > process basically scans through Maildirs, checking for space usage and > quota. Because there are hundred odd user folders and several 10s of > thousands of small files, this sends

Re: [CentOS] Paypal phishing warning

2011-06-09 Thread Robert Heller
At Thu, 9 Jun 2011 11:00:27 +0200 CentOS mailing list wrote: > > On Thu, June 9, 2011 10:51, Rudi Ahlers wrote: > > On Thu, Jun 9, 2011 at 8:39 AM, MR ZenWiz wrote: > >> Sorry for the cross-post, and off-topic at that, but: > >> > >> This morning I received a very authentic looking email from >

Re: [CentOS] Revisor

2011-06-09 Thread Markus Falb
On 6.6.2011 15:11, Brunner, Brian T. wrote: >> The stable version of EL6 you say? >> My fear is losing two weeks and this new version also does not work > You can download the DVDs of Scientific Linux 6.0, install, and try it > today. Then you will have a clue whether to wait for CentOS 6.0 or >

Re: [CentOS] Paypal phishing warning

2011-06-09 Thread m . roth
Robert Heller wrote: > At Thu, 9 Jun 2011 11:00:27 +0200 CentOS mailing list > wrote: >> On Thu, June 9, 2011 10:51, Rudi Ahlers wrote: >> > On Thu, Jun 9, 2011 at 8:39 AM, MR ZenWiz wrote: >> >> Sorry for the cross-post, and off-topic at that, but: >> >> >> >> This morning I received a very auth

Re: [CentOS] Paypal phishing warning

2011-06-09 Thread Keith Roberts
On Thu, 9 Jun 2011, m.r...@5-cent.us wrote: > As, for the last three weeks or so, I've gotten a *bunch* of bounced > emails, or notifications that something couldn't be delivered, because > some scumbag has forged my email, putting it into the Reply-To: for their > spam. Yes, me too. It seems a

Re: [CentOS] High system load but low cpu usage

2011-06-09 Thread Steven Tardy
On 06/08/11 02:26, Emmanuel Noobadmin wrote: > Cpu(s): 4.1%us, 2.5%sy, 0.0%ni, 76.4%id, 17.0%wa, 0.0%hi, 0.1%si, 0.0%st > 02:50:01 PM all 2.17 0.00 2.18 4.30 0.00 > 91.35 > 03:00:01 PM all 2.47 0.00 2.23 3.57 0.00 > 91.73 t

[CentOS] Vim scripting - cursor motion

2011-06-09 Thread Jussi Hirvi
I am working on my first vim script. The script is supposed to do some find/replace on a file, then save the file with a new name and quit vim. I will save the script in a file and then call it from a bash script like this: vim path-to-the-file -s path-to-my-script Maybe I have not fou

Re: [CentOS] Vim scripting - cursor motion

2011-06-09 Thread m . roth
Jussi Hirvi wrote: > I am working on my first vim script. The script is supposed to do some > find/replace on a file, then save the file with a new name and quit vim. > > I will save the script in a file and then call it from a bash script > like this: > > vim path-to-the-file -s path-to-my-s

Re: [CentOS] Vim scripting - cursor motion

2011-06-09 Thread Jussi Hirvi
On 9.6.2011 18.01, m.r...@5-cent.us wrote: > Why do vim scripting? That's what sed, or awk, or perl, are for. The > latter two, of course, are much easier to comprehend the logic, too. Maybe just because I know vim better than sed, awk or perl, which I haven't used at all. :-) The practical purp

Re: [CentOS] Vim scripting - cursor motion

2011-06-09 Thread m . roth
Jussi Hirvi wrote: > On 9.6.2011 18.01, m.r...@5-cent.us wrote: >> Why do vim scripting? That's what sed, or awk, or perl, are for. The >> latter two, of course, are much easier to comprehend the logic, too. > > Maybe just because I know vim better than sed, awk or perl, which I > haven't used at a

Re: [CentOS] Vim scripting - cursor motion

2011-06-09 Thread Les Mikesell
On 6/9/2011 10:07 AM, Jussi Hirvi wrote: > On 9.6.2011 18.01, m.r...@5-cent.us wrote: >> Why do vim scripting? That's what sed, or awk, or perl, are for. The >> latter two, of course, are much easier to comprehend the logic, too. > > Maybe just because I know vim better than sed, awk or perl, which

Re: [CentOS] Vim scripting - cursor motion

2011-06-09 Thread Jerry Franz
On 06/09/2011 08:37 AM, Les Mikesell wrote: > > I'd highly recommend perl for this because it can also do the SQL part > directly via DBI without all of the intermediate contortions you'll have > to do in files otherwise. It should take about half a page of your own > code to connect to the DB, re

[CentOS] CentOS-announce Digest, Vol 76, Issue 3

2011-06-09 Thread centos-announce-request
Send CentOS-announce mailing list submissions to centos-annou...@centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-requ..

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Emmanuel Noobadmin
On 6/9/11, Mathias Burén wrote: > The first thing that comes to my mind: Have you tried another IO scheduler? and the first thing that came to this noob's mind was: Wait, you mean there's actually more than one? AND I get to choose? I'll probably be experimenting with deadline and anticipatory s

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Emmanuel Noobadmin
On 6/9/11, Benjamin Franz wrote: > You should look at running your process using 'ionice -c3 program'. That > way it won't starve everything else for I/O cycles. Also, you may want > to experiment with using the 'deadline' elevator instead of the default > 'cfq' (see http://www.redhat.com/magazin

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Markus Falb
On 9.6.2011 12:38, Benjamin Franz wrote: > On 06/09/2011 02:24 AM, Emmanuel Noobadmin wrote: >> I'm trying to resolve an I/O problem on a CentOS 5.6 server. The >> process basically scans through Maildirs, checking for space usage and >> quota. Because there are hundred odd user folders and several

Re: [CentOS] High system load but low cpu usage

2011-06-09 Thread Emmanuel Noobadmin
On 6/9/11, Steven Tardy wrote: > top Cpu(s) line is averaged for all cpus/cores. to display individual > cpus/cores press: > 1 > you'll likely see one cpu/core being pegged with iowait. > to identify the offending process within top press: > fj > to display the P column(last used CPU). > w

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Rudi Ahlers
On Thu, Jun 9, 2011 at 12:38 PM, Benjamin Franz wrote: > On 06/09/2011 02:24 AM, Emmanuel Noobadmin wrote: >> I'm trying to resolve an I/O problem on a CentOS 5.6 server. The >> process basically scans through Maildirs, checking for space usage and >> quota. Because there are hundred odd user fold

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Emmanuel Noobadmin
On 6/10/11, Markus Falb wrote: > Yes, but before doing this be sure that your Software does not need atime. For a brief moment, I had that sinking "Oh No... why didn't I see this earlier" feeling especially since I've already remounted the filesystem with noatime. Fortunately, so far it seems th

Re: [CentOS] High system load but low cpu usage

2011-06-09 Thread m . roth
Emmanuel Noobadmin wrote: > On 6/9/11, Steven Tardy wrote: > The odd thing is I set the VM to 512MB but a max of 1.5G assuming that > KVM will assign the extra memory as needed but it seems to be stuck at > 512MB. *sigh* Is this a java process? If so, look at the configuration, and see what it's

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread John R Pierce
On 06/09/11 2:24 AM, Emmanuel Noobadmin wrote: > Alternatively, if I mdraid mirror the existing disk, would md be smart > enough to read using the other disk while the first's tied up with the > first process? that woudl be my first choice, and yes, queued read IO could be satisfied by either mir

Re: [CentOS] High system load but low cpu usage

2011-06-09 Thread Les Mikesell
On 6/9/2011 12:02 PM, Emmanuel Noobadmin wrote: > >> disks are often swamped by "two things happening at once"... >> backups >> migrating a VM >> database upgrades >> .rrd average updates > > Unfortunately, the VMs are public facing and the offending one has got > a relatively popul

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Les Mikesell
On 6/9/2011 12:09 PM, Emmanuel Noobadmin wrote: > On 6/10/11, Markus Falb wrote: >> Yes, but before doing this be sure that your Software does not need atime. > > For a brief moment, I had that sinking "Oh No... why didn't I see this > earlier" feeling especially since I've already remounted the >

Re: [CentOS] Vim scripting - cursor motion

2011-06-09 Thread CS DBA
On 06/09/2011 08:48 AM, Jussi Hirvi wrote: > I am working on my first vim script. The script is supposed to do some > find/replace on a file, then save the file with a new name and quit vim. > > I will save the script in a file and then call it from a bash script > like this: > > vim path-to-

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Devin Reade
--On Thursday, June 09, 2011 07:04:24 PM +0200 Rudi Ahlers wrote: > Can one mount the root filesystem with noatime? Generally speaking, one can mount any of the filesystems with noatime. Whether or not this is a good thing depends on your use. As was previously mentioned, some software (but no

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Thomas Harold
On 6/9/2011 1:09 PM, Emmanuel Noobadmin wrote: > On 6/10/11, Markus Falb wrote: >> Yes, but before doing this be sure that your Software does not need atime. > > For a brief moment, I had that sinking "Oh No... why didn't I see this > earlier" feeling especially since I've already remounted the >

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Thomas Harold
On 6/9/2011 1:26 PM, John R Pierce wrote: > On 06/09/11 2:24 AM, Emmanuel Noobadmin wrote: >> Alternatively, if I mdraid mirror the existing disk, would md be smart >> enough to read using the other disk while the first's tied up with the >> first process? > > that woudl be my first choice, and yes

Re: [CentOS] High system load but low cpu usage

2011-06-09 Thread Thomas Harold
On 6/9/2011 1:02 PM, Emmanuel Noobadmin wrote: > On 6/9/11, Steven Tardy wrote: >> top Cpu(s) line is averaged for all cpus/cores. to display individual >> cpus/cores press: >> 1 >> you'll likely see one cpu/core being pegged with iowait. >> to identify the offending process within top press:

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Steve Thompson
On Thu, 9 Jun 2011, Emmanuel Noobadmin wrote: > I'm trying to resolve an I/O problem on a CentOS 5.6 server. The > process basically scans through Maildirs, checking for space usage and > quota. Because there are hundred odd user folders and several 10s of > thousands of small files, this sends th

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Devin Reade
--On Thursday, June 09, 2011 12:28:28 PM -0600 Devin Reade wrote: > The only thing that comes to mind offhand is mail software that > uses a single-file monolithic mailbox. Another message reminded me that most such software is probably basing its checks off of the mtime anyway. Devin __

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Steven Tardy
On 06/09/11 11:48, Emmanuel Noobadmin wrote: > I'm going with noatime and ionice first did you set noatime on the host filesystem and/or the VM filesystem? i would think noatime on the VM would provide more benefit than on the host... shrug. now my brain hurts. gee thanks. (: -- Steven Tardy Sy

Re: [CentOS] Looking for gfs2-kmod SRPM

2011-06-09 Thread centoslistbrian
This is kind of figured out now. The actual RPM I'm using is from the debuginfo repo here: http://debuginfo.centos.org/5/x86_64/gfs2-kmod-debuginfo-1.92-1.1.el5_2.2.x86_64.rpm The contents of the RPM are identical to the RedHat RPM: http://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/o

[CentOS] pam_succeed_if

2011-06-09 Thread Daniel De Marco
Hi, The default system-auth file for PAM on CentOS has the following auth section: authrequired pam_env.so authsufficientpam_unix.so nullok try_first_pass authrequisite pam_succeed_if.so uid >= 500 quiet authrequired pam_deny.so What's the use of

Re: [CentOS] High system load but low cpu usage

2011-06-09 Thread John R Pierce
On 06/09/11 11:52 AM, Thomas Harold wrote: > Also consider installing "atop", which I find to be a bit more > self-explanatory then regular "top". another cool tool is IBM's NMON, works something like TOP but has a lot more types of info you can selectively display, including disk utilization.

[CentOS] ultrasecure sshd server

2011-06-09 Thread Eero Volotinen
Hi, How to configure sshd to required both ssh public key and user password also? yes, stupid, but required on my setup.. -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Vim scripting - cursor motion

2011-06-09 Thread Aleksey Tsalolikhin
On Thu, Jun 9, 2011 at 11:03 AM, CS DBA wrote: > On 06/09/2011 08:48 AM, Jussi Hirvi wrote: >> I am working on my first vim script. The script is supposed to do some >> find/replace on a file, then save the file with a new name and quit vim. >> >> I will save the script in a file and then call it

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread Rainer Duffner
Am 09.06.2011 um 23:34 schrieb Eero Volotinen: > Hi, > > How to configure sshd to required both ssh public key and user > password also? yes, stupid, but required on my setup.. > > -- > Eero > ___ > CentOS mailing list > CentOS@centos.org > http://lists

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread Eero Volotinen
2011/6/10 Rainer Duffner : > > Am 09.06.2011 um 23:34 schrieb Eero Volotinen: > >> Hi, >> >> How to configure sshd to required both ssh public key and user >> password also? yes, stupid, but required on my setup.. >> >> -- >> Eero >> ___ >> CentOS mailing

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread Rainer Duffner
Am 10.06.2011 um 00:02 schrieb Eero Volotinen: > > Well, some say that it's possible with pam hacks. > > main problem is that openssh public key does not contains expiry > information (is not possible to expire public keys). > it migth be possible with openssh certificates? As I understand it

[CentOS] NTLM auth fails after upgrade to centos 5.6

2011-06-09 Thread Tom Diehl
Hi, I upgraded a working centos5.5 with squid using ntlm auth to centos 5.6 today. After doing so squid failed to authenticate. Downgrading samba3x to samba3x-3.3.8-0.52.el5_5.2 got things working again. In the squid config I have, auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=sq

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread Robert Heller
At Fri, 10 Jun 2011 00:34:06 +0300 CentOS mailing list wrote: > > Hi, > > How to configure sshd to required both ssh public key and user > password also? yes, stupid, but required on my setup.. Just require a ssh public key AND require that public keys be created with a passphrase. > > -- >

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread Robert Spangler
On Thursday 09 June 2011 17:34, the following was written: > How to configure sshd to required both ssh public key and user > password also? yes, stupid, but required on my setup.. Have you thought about securing your ssh keys with a pasword? I do that here so if someone would happen to get a

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread Keith Keller
On Thu, Jun 09, 2011 at 08:53:30PM -0400, Robert Heller wrote: > > Just require a ssh public key AND require that public keys be created > with a passphrase. Is this enforceable if you don't have access to users' private keys? (e.g., they are on servers not under your control) --keith -- kkel.

Re: [CentOS] Possible to use multiple disk to bypass I/O wait?

2011-06-09 Thread Emmanuel Noobadmin
On 6/10/11, Steven Tardy wrote: > did you set noatime on the host filesystem and/or the VM filesystem? > i would think noatime on the VM would provide more benefit than on the > host... > shrug. now my brain hurts. gee thanks. (: I was trying it on the host first, thinking that would cut down on

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread Eero Volotinen
2011/6/10 Robert Heller : > At Fri, 10 Jun 2011 00:34:06 +0300 CentOS mailing list > wrote: > >> >> Hi, >> >> How to configure sshd to required both ssh public key and user >> password also? yes, stupid, but required on my setup.. > > Just require a ssh public key AND require that public keys be

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread Eero Volotinen
2011/6/10 Rainer Duffner : > > Am 10.06.2011 um 00:02 schrieb Eero Volotinen: > >> >> Well, some say that it's possible with pam hacks. >> >> main problem is that openssh public key does not contains expiry >> information (is not possible to expire public keys). >> it migth be possible with openssh

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread Eero Volotinen
2011/6/10 Eero Volotinen : > 2011/6/10 Rainer Duffner : >> >> Am 10.06.2011 um 00:02 schrieb Eero Volotinen: >> >>> >>> Well, some say that it's possible with pam hacks. >>> >>> main problem is that openssh public key does not contains expiry >>> information (is not possible to expire public keys).

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread Emmanuel Noobadmin
On 6/10/11, Eero Volotinen wrote: > This is not same case, I need publickey and normal password > authentication. not password protected privatekey. How about using the ForceCommand described here https://calomel.org/openssh.html to add a second layer of authentication. In his case, he used a dat

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread John R Pierce
On 06/09/11 8:59 PM, Eero Volotinen wrote: > This is not same case, I need publickey and normal password > authentication. not password protected privatekey. I've not heard of *any* SSH system that worked that way, its key or password, not and, i don't think the ssh protocol supports stacking aut

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread Eero Volotinen
2011/6/10 John R Pierce : > On 06/09/11 8:59 PM, Eero Volotinen wrote: >> This is not same case, I need publickey and normal password >> authentication. not password protected privatekey. > > I've not heard of *any* SSH system that worked that way, its key or > password, not and, i don't think the

Re: [CentOS] ultrasecure sshd server

2011-06-09 Thread John R Pierce
On 06/09/11 10:53 PM, Eero Volotinen wrote: > 2011/6/10 John R Pierce: >> On 06/09/11 8:59 PM, Eero Volotinen wrote: >>> This is not same case, I need publickey and normal password >>> authentication. not password protected privatekey. >> I've not heard of *any* SSH system that worked that way, its

Re: [CentOS] Revisor

2011-06-09 Thread Gordon Messmer
On 06/03/2011 03:20 AM, Deivison Moraes wrote: > Hello, some of you are familiar with the revisor, and can help me > with it? I wonder if the revisor is how to pick, with the CentOS > installed only in text mode alsoworks, and also I'm having some > problems with package dependencies are missing so

Re: [CentOS] High system load but low cpu usage

2011-06-09 Thread Gordon Messmer
On 06/08/2011 12:26 AM, Emmanuel Noobadmin wrote: > I'm trying to figure out what's causing an average system load of 3+ > to 5+ on an Intel quad core watch 'ps axf | awk "{ if ( \$3 !~ /S/ ) { print; } }"' The processes that aren't sleeping count toward your load. The above command will print