Re: [CentOS] OT how to prevent oversubscription of a disk

2011-01-05 Thread Gordon Messmer
On 01/03/2011 11:39 AM, Dave wrote: > > So, is it fair to rephrase that as "ignore quotas, pay attention to > actual usage"? "ignore quotas" is maybe too broad. Quota is a useful mechanism to keep individual users from using all of a system's resources and disrupting access for other users. Mo

Re: [CentOS] Graphing System Load MRTG

2011-01-05 Thread Jobst Schmalenbach
Make yourself a script, include this: #!/bin/sh # first the load 5 and 15 min avg # multiply * 100 to avoid floats # it helps if mrtg "period" is a multiple of 5 mins uptime | sed -e 's/^.*average.*: \(.*\)$/\1/' -e 's/ //g' | awk -F, '{ printf("%.0f\n",$2*100); printf("%.0f\n",

Re: [CentOS] Helper variables like %{rhel} on CentOS

2011-01-05 Thread Nico Kadel-Garcia
On Wed, Jan 5, 2011 at 2:05 PM, Akemi Yagi wrote: > On Wed, Jan 5, 2011 at 10:07 AM, Akemi Yagi wrote: >> On Tue, Jan 4, 2011 at 4:38 PM, Nico Kadel-Garcia wrote: >> >>> Hmmm.. You might befit from the portability of this approach >>> >>> %rhel           0%(/bin/rpm -q --f /etc/redhat-release -q

Re: [CentOS] SELinux - way of the future or good idea but !!!

2011-01-05 Thread Paul Johnson
On Wed, Jan 5, 2011 at 12:57 PM, Daniel J Walsh wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 01/05/2011 11:50 AM, Paul Johnson wrote: >> >> >> > Turn on the httpd_can_sendmail boolean.  We do not want all apache > servers to be able to send mail by default. > > # setsebool -P ht

Re: [CentOS] centos 5.5 install + intel raid

2011-01-05 Thread aurfalien
On Jan 5, 2011, at 6:09 PM, Nico Kadel-Garcia wrote: > On Wed, Jan 5, 2011 at 8:36 PM, wrote: >> Hi all, >> >> Installing 5.5 on a fresh system having an Intel RAID. >> >> My 2 drives are configured as a mirror within the Intel BIOS. > > "Intel RAID" covers a lot of sins. Yes, I like this, and

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread John R. Dennison
On Wed, Jan 05, 2011 at 08:48:40AM -0800, S Mathias wrote: > "duplicate filenames" Please stop top-posting in the CentOS mailing lists and please trim your replies down to only that needed. Mailing list guidelines are at: http://www.centos.org/modules/tinycontent/

Re: [CentOS] check, that a script is in a folder

2011-01-05 Thread cpolish
Les Mikesell wrote: > John R. Dennison wrote: > > S Mathias wrote: > >> $ echo ${PWD##*/} > >> somefolder > >> $ if "${PWD##*/}" -eq "asdf"> /dev/null; then echo "this is the asdf > >> folder"; else exit 1; fi > >> bash: notthatfolder: command not found... > >> this is the asdf folder > >> $ > >>

Re: [CentOS] centos 5.5 install + intel raid

2011-01-05 Thread Nico Kadel-Garcia
On Wed, Jan 5, 2011 at 8:36 PM, wrote: > Hi all, > > Installing 5.5 on a fresh system having an Intel RAID. > > My 2 drives are configured as a mirror within the Intel BIOS. "Intel RAID" covers a lot of sins. Some RAID cards rely on OS software to do much of the RAID: they're jokes, really. If i

[CentOS] centos 5.5 install + intel raid

2011-01-05 Thread aurfalien
Hi all, Installing 5.5 on a fresh system having an Intel RAID. My 2 drives are configured as a mirror within the Intel BIOS. When starting my install, Anaconda throws an exception. After a brief goog, I see one possible fix is - at the install prompt, type; linux text nodmraid This is fine

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread Mark
On Wed, Jan 5, 2011 at 9:46 AM, wrote: > S Mathias wrote: >> "duplicate filenames" >> >> -> duplicate filenames >> > Please don't top post. > > Now, a) you can't have identical filenames in the same directory, so shall > I assume that you're looking for all files under one heirarchical > director

Re: [CentOS] fstab multiple line entries?

2011-01-05 Thread Jerry McAllister
On Wed, Jan 05, 2011 at 09:39:06PM +0100, Leonard den Ottolander wrote: > On Wed, 2011-01-05 at 19:16 +, Keith Roberts wrote: > > I'm trying to add a long list of mount options in my fstab, > > and break the entry over 2 lines, as it goes off screen. > > $ man fstab > /line > > Each filesys

Re: [CentOS] fstab multiple line entries?

2011-01-05 Thread Keith Roberts
On Wed, 5 Jan 2011, Leonard den Ottolander wrote: *snip* > $ man fstab > /line > > Each filesystem is described on a separate line; Yes. Thankyou Leonard. Maybe mount needs coding to recognise some sort of escape character, similar to the way bash does? Keith -

Re: [CentOS] fstab multiple line entries?

2011-01-05 Thread Brunner, Brian T.
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Les Mikesell > Sent: Wednesday, January 05, 2011 4:20 PM > To: centos@centos.org > Subject: Re: [CentOS] fstab multiple line entries? > > On 1/5/2011 2:58 PM, Brunner, Brian T. wrot

Re: [CentOS] fstab multiple line entries?

2011-01-05 Thread Keith Roberts
On Wed, 5 Jan 2011, Brunner, Brian T. wrote: > To: CentOS mailing list > From: "Brunner, Brian T." > Subject: Re: [CentOS] fstab multiple line entries? > > > >> -Original Message- >> From: centos-boun...@centos.org >> [mailto:centos-boun...@centos.org] On Behalf Of Leonard den Ottolande

Re: [CentOS] fstab multiple line entries?

2011-01-05 Thread Les Mikesell
On 1/5/2011 2:58 PM, Brunner, Brian T. wrote: > >> On Wed, 2011-01-05 at 19:16 +, Keith Roberts wrote: >>> I'm trying to add a long list of mount options in my fstab, >> and break >>> the entry over 2 lines, as it goes off screen. >> >> $ man fstab >> /line >> >> Each filesystem is described on

Re: [CentOS] SELinux - way of the future or good idea but !!!

2011-01-05 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/05/2011 02:10 PM, Les Mikesell wrote: > On 1/5/2011 12:57 PM, Daniel J Walsh wrote: >> >> man apache_selinux >> ... > > $ man apache_selinux > No manual entry for apache_selinux > > - and I assume you wrote it... > Sorry about that, httpd

Re: [CentOS] fstab multiple line entries?

2011-01-05 Thread Brunner, Brian T.
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Leonard den Ottolander > Sent: Wednesday, January 05, 2011 3:39 PM > To: CentOS mailing list > Subject: Re: [CentOS] fstab multiple line entries? > > On Wed, 2011-01-05 at 19:16 +00

Re: [CentOS] cron jobs fail to run

2011-01-05 Thread Les Mikesell
On 1/5/2011 6:35 AM, bluethundr wrote: > sorry forgot to mention that cron IS running > >> 45 2 * * * /usr/sbin/amcheck /var/log/amanda/crontab/amcheck.log >> * 3 * * * /usr/sbin/amdump /var/log/amanda/crontab/amdump.log >> >> And here's a tail of the cron logs >> >> [r...@amanda init.d]# tail

Re: [CentOS] fstab multiple line entries?

2011-01-05 Thread Leonard den Ottolander
On Wed, 2011-01-05 at 19:16 +, Keith Roberts wrote: > I'm trying to add a long list of mount options in my fstab, > and break the entry over 2 lines, as it goes off screen. $ man fstab /line Each filesystem is described on a separate line; Regards, Leonard. -- mount -t life -o ro /dev/dna

Re: [CentOS] cron jobs fail to run

2011-01-05 Thread Leonard den Ottolander
Hi, On Wed, 2011-01-05 at 07:29 -0500, bluethundr wrote: > [amandabac...@amanda ~]$ ls -l /usr/sbin/amcheck > -rwsr-x--- 1 root disk 68624 Dec 29 14:08 /usr/sbin/amcheck Unless the backup user is in the disk group it has no permissions on this file. > Although I'm not sure what the 's' indicates

Re: [CentOS] way to replace DELL PERC 6/E card???

2011-01-05 Thread Brian Mathis
OK, good point and I apologize for seeming rough, though the phrase "flying blind" is not an really an insult. Your post sounded a bit like someone who hasn't dealt with servers much. The typical answers for something like this are "read the manuals", and "call support to get a replacement if you

Re: [CentOS] Netinstall & NFS using local server.

2011-01-05 Thread Lisandro Grullon
ok, playing around with netstat I figure all the ports that need to be open in iptables for this thing to work, I figure having the firewall down was too big of a risk so why not figuring out the ports and opening them in iptables and sharing the knowledge with you guys. The following ports are

Re: [CentOS] using kvm

2011-01-05 Thread m . roth
Mitch Patenaude wrote: > On Tue, 4 Jan 2011, Jerry Geis wrote: >> >> All -  I am running a virtual windows 7 (pro 64) on centos 5.5 >> x86_64. >> >> I was hoping to run virtual XP inside windows7 in this configuration. >> >> >> >> I get an error about cannot start virtual XP when I try this. >> >>

Re: [CentOS] fstab multiple line entries?

2011-01-05 Thread Paul Heinlein
On Wed, 5 Jan 2011, Keith Roberts wrote: > I'm trying to add a long list of mount options in my fstab, > and break the entry over 2 lines, as it goes off screen. The fstab(5) man page mentions comments but no line-break mechanism. I suspect your best friend in this case is a widescreen terminal

Re: [CentOS] using kvm

2011-01-05 Thread Mitch Patenaude
On Tue, 4 Jan 2011, Jerry Geis wrote: > >> All -  I am running a virtual windows 7 (pro 64) on centos 5.5 x86_64. > >> I was hoping to run virtual XP inside windows7 in this configuration. > >> > >> I get an error about cannot start virtual XP when I try this. > >> Do I not have something setup cor

Re: [CentOS] fstab multiple line entries?

2011-01-05 Thread Keith Roberts
On Wed, 5 Jan 2011, m.r...@5-cent.us wrote: *snip* >> # This doesn't work >> # >> #/dev/hda9 >> # new options >> LABEL=downloads /downloads \ >> ext3 defaults 1 2 >> >> Using the '\' character at the end of the line in the above >> example gives the following error message at b

Re: [CentOS] fstab multiple line entries?

2011-01-05 Thread m . roth
Keith Roberts wrote: > I'm trying to add a long list of mount options in my fstab, > and break the entry over 2 lines, as it goes off screen. > > Taking this as an example: > > # This works > # > #/dev/hda9 > # original settings > # LABEL=downloads /downloads ext3 defaults 1 2 > > # This

[CentOS] fstab multiple line entries?

2011-01-05 Thread Keith Roberts
I'm trying to add a long list of mount options in my fstab, and break the entry over 2 lines, as it goes off screen. Taking this as an example: # This works # #/dev/hda9 # original settings # LABEL=downloads /downloads ext3 defaults 1 2 # This doesn't work # #/dev/hda9 # new options L

Re: [CentOS] SELinux - way of the future or good idea but !!!

2011-01-05 Thread Athmane Madjoudj
On 01/05/2011 08:10 PM, Les Mikesell wrote: > On 1/5/2011 12:57 PM, Daniel J Walsh wrote: >> >> man apache_selinux >> ... > > $ man apache_selinux > No manual entry for apache_selinux > > - and I assume you wrote it... > man httpd_selinux -- Athmane Madjoudj ___

Re: [CentOS] SELinux - way of the future or good idea but !!!

2011-01-05 Thread Les Mikesell
On 1/5/2011 12:57 PM, Daniel J Walsh wrote: > > man apache_selinux > ... $ man apache_selinux No manual entry for apache_selinux - and I assume you wrote it... -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Helper variables like %{rhel} on CentOS

2011-01-05 Thread Akemi Yagi
On Wed, Jan 5, 2011 at 10:07 AM, Akemi Yagi wrote: > On Tue, Jan 4, 2011 at 4:38 PM, Nico Kadel-Garcia wrote: > >> Hmmm.. You might befit from the portability of this approach >> >> %rhel           0%(/bin/rpm -q --f /etc/redhat-release -qf '%{VERSION}\n' ) >> >> Notice that this now works with R

Re: [CentOS] SELinux - way of the future or good idea but !!!

2011-01-05 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/05/2011 11:50 AM, Paul Johnson wrote: > I quit using Fedora a couple of years ago, largely because I felt as > though I was being used as an SELinux guinea pig. I spent days and > says trying to work around selinux problems, until I eventually ju

Re: [CentOS] Multiple LUN support

2011-01-05 Thread Stephen Harris
On Wed, Jan 05, 2011 at 10:37:23AM -0800, Alan Hodgson wrote: > On January 5, 2011 08:53:16 am Abilio Carvalho wrote: > > I have Centos 5.2 and am trying to set up my first tape loader, a > Multiple LUN support has worked fine in Linux since, well, since there has > been > Linux on SCSI afaik. I

Re: [CentOS] Multiple LUN support

2011-01-05 Thread Alan Hodgson
On January 5, 2011 08:53:16 am Abilio Carvalho wrote: > I have Centos 5.2 and am trying to set up my first tape loader, a > Quantum SuperLoader 3. My "cat /proc/scsi/scsi" outputs the following: > > Attached devices: > Host: scsi0 Channel: 00 Id: 00 Lun: 00 >Vendor: transtec Model: PV610F16R1C

Re: [CentOS] Helper variables like %{rhel} on CentOS

2011-01-05 Thread Akemi Yagi
On Tue, Jan 4, 2011 at 4:38 PM, Nico Kadel-Garcia wrote: > Hmmm.. You might befit from the portability of this approach > > %rhel           0%(/bin/rpm -q --f /etc/redhat-release -qf '%{VERSION}\n' ) > > Notice that this now works with RHEL and CentOS, and the "\n" keeps > certain programs histor

Re: [CentOS] how to access external USB drive in single user mode

2011-01-05 Thread Kwan Lowe
On Wed, Jan 5, 2011 at 10:17 AM, Boris Epstein wrote: > On Wed, Jan 5, 2011 at 10:05 AM, Agnello George > wrote: >> >> how to access external USB drive in single user mode > > I'd guessit should work the same way as under any other circumstances > - the drive should be accessible as a pseudo-SCS

Re: [CentOS] if you install cgi programs from rpm, how to configure for actual use in /var/www/html ?

2011-01-05 Thread Les Mikesell
On 1/5/2011 10:42 AM, Paul Johnson wrote: > In Centos 5.5, I've had this same experience over and over. I have no > trouble installing CGI programs the old fashioned way (untar into > /var/www/html and configure), but don't like un-rpm managed files > floating about. So I can install, for example

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread m . roth
S Mathias wrote: > "duplicate filenames" > > -> duplicate filenames > Please don't top post. Now, a) you can't have identical filenames in the same directory, so shall I assume that you're looking for all files under one heirarchical directory structure that have the same name? If so, find $1 -na

Re: [CentOS] if you install cgi programs from rpm, how to configure for actual use in /var/www/html ?

2011-01-05 Thread m . roth
Paul Johnson wrote: > In Centos 5.5, I've had this same experience over and over. I have no > trouble installing CGI programs the old fashioned way (untar into > /var/www/html and configure), but don't like un-rpm managed files > floating about. So I can install, for example, phpMyAdmin, from EPE

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread Kwan Lowe
On Wed, Jan 5, 2011 at 6:15 AM, S Mathias wrote: > find duplicate filenames in a folder > find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++' > > find duplicate filenames in a folder recursively > ? how? Try this one: perl -e 'BEGIN{$|=1;$f=$ARGV[0];$s=(stat$f)[7];$t=time}

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread Brian Miller
On Wed, 2011-01-05 at 08:48 -0800, S Mathias wrote: > "duplicate filenames" While I realized that English is not the default language in Hungary, common courtesy would seem to dictate that if you're going to repeatedly forward your homework questions to scores of mailing lists you should at least

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread Les Mikesell
On 1/5/2011 10:48 AM, S Mathias wrote: > "duplicate filenames" > > -> duplicate filenames > > --- On Wed, 1/5/11, Dominik Zyla wrote: > >> From: Dominik Zyla >> Subject: Re: [CentOS] recursively find duplicate filenames >> To: centos@centos.org >> Date: Wednesday, January 5, 2011, 1:11 PM >> On W

Re: [CentOS] Netinstall & NFS using local server.

2011-01-05 Thread Lisandro Grullon
ok, I got things working flawlessly. Call me stupid for not checking the sha1sum of the DVD ISO of the first mirror. When I checked the ISO sha1sum it didn't check the posted figure under the centos.org, so I thought something may be wrong witht hat DVD ISO. I re downloaded the ISO and its all w

Re: [CentOS] using kvm

2011-01-05 Thread Flaherty, Patrick
>From what I remember "-cpu" is to tell the vm what cpu extensions are available. I always just use "-cpu host" which has kvm pass in all the cpu extensions that the host processor has. Using WindowsXP mode on a windows 7 VM sounds dirty. XP mode used to require virtualization hardware, now it d

Re: [CentOS] Converting to maildir

2011-01-05 Thread Les Mikesell
On 1/5/2011 9:51 AM, Lamar Owen wrote: > On Tuesday, January 04, 2011 10:59:21 am Alan Hodgson wrote: >> On January 4, 2011 07:36:27 am Lamar Owen wrote: >>> But, honestly, I personally would love to use a >>> PostgreSQL backend so that real concurrent access is possible; > >> dbmail with PostgreSQ

Re: [CentOS] Multiple LUN support

2011-01-05 Thread Robert Heller
At Wed, 05 Jan 2011 17:53:16 +0100 CentOS mailing list wrote: > > I have Centos 5.2 and am trying to set up my first tape loader, a > Quantum SuperLoader 3. My "cat /proc/scsi/scsi" outputs the following: > > Attached devices: > Host: scsi0 Channel: 00 Id: 00 Lun: 00 >Vendor: transtec Mod

Re: [CentOS] Netinstall & NFS using local server.

2011-01-05 Thread Rajagopal Swaminathan
Greetings, On 1/5/11, Lisandro Grullon wrote: > I am learning Centos from the ground up, > I need to learn how to install this via NFS. > I am aware that FTp and HTTP and options available, but what is the point of > having NFS during the install if it doesn't work. Now, Let us distinguish betwe

Re: [CentOS] if you install cgi programs from rpm, how to configure for actual use in /var/www/html ?

2011-01-05 Thread Brian Mathis
On Wed, Jan 5, 2011 at 11:42 AM, Paul Johnson wrote: > In Centos 5.5, I've had this same experience over and over.  I have no > trouble installing CGI programs the old fashioned way (untar into > /var/www/html and configure), but don't like un-rpm managed files > floating about.  So I can install,

[CentOS] Multiple LUN support

2011-01-05 Thread Abilio Carvalho
I have Centos 5.2 and am trying to set up my first tape loader, a Quantum SuperLoader 3. My "cat /proc/scsi/scsi" outputs the following: Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: transtec Model: PV610F16R1C Rev: 373I Type: Direct-AccessANSI

Re: [CentOS] SELinux - way of the future or good idea but !!!

2011-01-05 Thread Paul Johnson
I quit using Fedora a couple of years ago, largely because I felt as though I was being used as an SELinux guinea pig. I spent days and says trying to work around selinux problems, until I eventually just turned it off. I'm not a professional sysadmin, but I know many of them who think SELinux is

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread S Mathias
"duplicate filenames" -> duplicate filenames --- On Wed, 1/5/11, Dominik Zyla wrote: > From: Dominik Zyla > Subject: Re: [CentOS] recursively find duplicate filenames > To: centos@centos.org > Date: Wednesday, January 5, 2011, 1:11 PM > On Wed, Jan 05, 2011 at 03:15:03AM > -0800, S Mathias wro

Re: [CentOS] way to replace DELL PERC 6/E card???

2011-01-05 Thread mcclnx mcc
Thank you for your answer. Before you say something please be careful. I am NOT "blind". We have more than 100 DELL servers on different classes and use different tools to monitor system (include OPMN). We have been doing lots of research on this issue and also discuss With DELL support at l

[CentOS] if you install cgi programs from rpm, how to configure for actual use in /var/www/html ?

2011-01-05 Thread Paul Johnson
In Centos 5.5, I've had this same experience over and over. I have no trouble installing CGI programs the old fashioned way (untar into /var/www/html and configure), but don't like un-rpm managed files floating about. So I can install, for example, phpMyAdmin, from EPEL. That phpMyAdmin RPM drop

Re: [CentOS] Converting to maildir

2011-01-05 Thread Lamar Owen
On Tuesday, January 04, 2011 10:59:21 am Alan Hodgson wrote: > On January 4, 2011 07:36:27 am Lamar Owen wrote: > > But, honestly, I personally would love to use a > > PostgreSQL backend so that real concurrent access is possible; > dbmail with PostgreSQL works really well. Thanks for the pointe

Re: [CentOS] cron jobs fail to run

2011-01-05 Thread Dominik Zyla
On Wed, Jan 05, 2011 at 10:29:52AM -0500, Mike Burger wrote: > > > hey centos > > > > long time no hear! :) I'm having a small issue where the backup jobs > > that I set to run in the crontab of the backup user do not appear to > > be running. Here's how I set it up (with crontab -e as the backup

Re: [CentOS] cron jobs fail to run

2011-01-05 Thread Mike Burger
> hey centos > > long time no hear! :) I'm having a small issue where the backup jobs > that I set to run in the crontab of the backup user do not appear to > be running. Here's how I set it up (with crontab -e as the backup > user): > > run amanda every night (check at 2:45 and backup at 3) > >

Re: [CentOS] way to replace DELL PERC 6/E card???

2011-01-05 Thread Dominik Zyla
On Wed, Jan 05, 2011 at 10:47:09PM +0800, mcclnx mcc wrote: > we have several R900 servers with PERC 6/E card in it. Recently it we > getting some message on /var/log/message say change to "write back" and > change back to "write through". > > We figure out it is PERC 6/E card battery weak.

Re: [CentOS] how to access external USB drive in single user mode

2011-01-05 Thread Boris Epstein
On Wed, Jan 5, 2011 at 10:05 AM, Agnello George wrote: > > how to access external USB drive in single user mode > > Thanks > > -- > Regards > Agnello D'souza > > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo

Re: [CentOS] way to replace DELL PERC 6/E card???

2011-01-05 Thread m . roth
Brian Mathis wrote: > On Wed, Jan 5, 2011 at 9:47 AM, mcclnx mcc wrote: >> we have several R900 servers with PERC 6/E card in it.  Recently it we >> getting some message on /var/log/message say change to "write back" and >> change back to "write through". >> >> We figure out it is PERC 6/E card ba

[CentOS] how to access external USB drive in single user mode

2011-01-05 Thread Agnello George
how to access external USB drive in single user mode Thanks -- Regards Agnello D'souza ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] way to replace DELL PERC 6/E card???

2011-01-05 Thread Brian Mathis
On Wed, Jan 5, 2011 at 9:47 AM, mcclnx mcc wrote: > we have several R900 servers with PERC 6/E card in it.  Recently it we > getting some message on /var/log/message say change to "write back" and > change back to "write through". > > We figure out it is PERC 6/E card battery weak.  My questions

[CentOS] way to replace DELL PERC 6/E card???

2011-01-05 Thread mcclnx mcc
we have several R900 servers with PERC 6/E card in it. Recently it we getting some message on /var/log/message say change to "write back" and change back to "write through". We figure out it is PERC 6/E card battery weak. My questions are: 1. some battery only use one year (some even short

Re: [CentOS] Compiling thunderbird

2011-01-05 Thread lhecking
> /usr/bin/ld: gfxUserFontSet.o: relocation R_X86_64_PC32 > against `ots::Process(ots::OTSStream*, unsigned char > const*, unsigned long, bool)' can not be used when > making a shared object; recompile with -fPIC > /usr/bin/ld: final link failed: Bad value collect2: ld > returned 1 exit status >

Re: [CentOS] check, that a script is in a folder

2011-01-05 Thread Les Mikesell
On 1/5/11 4:42 AM, John R. Dennison wrote: > On Wed, Jan 05, 2011 at 02:26:12AM -0800, S Mathias wrote: >> $ echo ${PWD##*/} >> somefolder >> $ if "${PWD##*/}" -eq "asdf"> /dev/null; then echo "this is the asdf >> folder"; else exit 1; fi >> bash: notthatfolder: command not found... >> this is th

Re: [CentOS] using kvm

2011-01-05 Thread Kwan Lowe
On Tue, Jan 4, 2011 at 2:01 PM, Jerry Geis wrote: > All -  I am running a virtual windows 7 (pro 64) on centos 5.5 x86_64. > I was hoping to run virtual XP inside windows7 in this configuration. > > I get an error about cannot start virtual XP when I try this. > Do I not have something setup corre

Re: [CentOS] Netinstall & NFS using local server.

2011-01-05 Thread Lisandro Grullon
Thank you for the responses, still I don't find an answer. I am learning Centos from the ground up, I need to learn how to install this via NFS. I am aware that FTp and HTTP and options available, but what is the point of having NFS during the install if it doesn't work. I need to find a way to

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread Dominik Zyla
On Wed, Jan 05, 2011 at 03:15:03AM -0800, S Mathias wrote: > find duplicate filenames in a folder > find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++' > > find duplicate filenames in a folder recursively > ? how? What do you mean - duplicate? Duplicate by what? Name? Content? -- D

Re: [CentOS] using kvm

2011-01-05 Thread Jerry Geis
> > I have not tried a VM within a VM (nested) although I have heard that > it is possible. > > I guess the correct processor type could be passed with the "-cpu " parameter. > > -- Arun Khan > I have tried "-cpu phenum" which does not run at all. and I tried "-cpu core2duo" which runs the guest

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread Keith Roberts
On Wed, 5 Jan 2011, S Mathias wrote: > To: centos@centos.org > From: S Mathias > Subject: [CentOS] recursively find duplicate filenames > > find duplicate filenames in a folder > find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++' > > find duplicate filenames in a folder recursively

Re: [CentOS] Compiling thunderbird

2011-01-05 Thread Keith Roberts
On Wed, 5 Jan 2011, lheck...@users.sourceforge.net wrote: To: centos@centos.org From: lheck...@users.sourceforge.net Subject: [CentOS] Compiling thunderbird I'm following this thread here http://www.centos.org/modules/newbb/viewtopic.php?topic_id=23749&forum=38 to build an rpm for thunde

Re: [CentOS] cron jobs fail to run

2011-01-05 Thread bluethundr
sorry forgot to mention that cron IS running r...@amanda init.d]# ps -ef | grep cron root 13686 1 0 07:18 ?00:00:00 crond root 13771 6676 0 07:34 pts/200:00:00 grep cron On Wed, Jan 5, 2011 at 7:29 AM, bluethundr wrote: > hey centos > >  long time no hear! :) I'm havi

[CentOS] cron jobs fail to run

2011-01-05 Thread bluethundr
hey centos long time no hear! :) I'm having a small issue where the backup jobs that I set to run in the crontab of the backup user do not appear to be running. Here's how I set it up (with crontab -e as the backup user): run amanda every night (check at 2:45 and backup at 3) 45 2 * * * /usr/sb

Re: [CentOS] using kvm

2011-01-05 Thread Arun Khan
On Wed, Jan 5, 2011 at 6:13 AM, Jim Wildman wrote: > On Tue, 4 Jan 2011, Jerry Geis wrote: > >> All -  I am running a virtual windows 7 (pro 64) on centos 5.5 x86_64. >> I was hoping to run virtual XP inside windows7 in this configuration. >> >> I get an error about cannot start virtual XP when I

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread Kwan Lowe
On Wed, Jan 5, 2011 at 6:15 AM, S Mathias wrote: > find duplicate filenames in a folder > find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++' > > find duplicate filenames in a folder recursively > ? how? I asked a similar question on a mailing list when I was doing my finals at Arkham

Re: [CentOS] noob question about mock

2011-01-05 Thread Michael Gliwinski
On Wednesday 05 Jan 2011 00:18:36 Nico Kadel-Garcia wrote: > On Tue, Jan 4, 2011 at 4:00 PM, wrote: > > Michael Gliwinski writes: > >> Actually, mock can build an SRPM from spec file and dir with sources: > >> > >> $ mock --buildsrpm --spec=/path/to/spec --source=/path/to/src/dir > >> > >> I'

Re: [CentOS] [OT] RHEVM List

2011-01-05 Thread Eero Volotinen
> But the issue is how can I suggest purchase of product/support without > knowing if a product works in the first place? it is mainly kvm management interface and you can use kvm for free in centos .. > Souds like old days of shrink wrap philosophy of last couple of decades. > That too from a F

Re: [CentOS] Centos 5.5 - Kernel Panic while booting.

2011-01-05 Thread David Latham
Hi, When I make DVDs of Centos and any others for that matter, I take the following steps: 1. Find an official torrent if possible. (Centos has torrents for the DVD. Unfortunately no Jigdo so far as I know.) 1.1 Torrents come with checksums and the torrent app I use will check the downloaded f

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread Pintér Tibor
On 01/05/2011 12:15 PM, S Mathias wrote: > find duplicate filenames in a folder > find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++' > > find duplicate filenames in a folder recursively > ? how? eg: /foo/bar.txt /foo2/bar.txt /foo3/bar.txt t ___

Re: [CentOS] [OT] RHEVM List

2011-01-05 Thread Rajagopal Swaminathan
Greetings, On Wed, Jan 5, 2011 at 4:26 PM, Eero Volotinen wrote: > 2011/1/5 Rajagopal Swaminathan : > > Greetings, > > > > Apologies for Off thread (and possibly stupid) question: Where on the net > > one can find the RHEV-M general list like this one for centos > > You cannot. contact your rhel

[CentOS] recursively find duplicate filenames

2011-01-05 Thread S Mathias
find duplicate filenames in a folder find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++' find duplicate filenames in a folder recursively ? how? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/cent

Re: [CentOS] [OT] RHEVM List

2011-01-05 Thread Eero Volotinen
2011/1/5 Rajagopal Swaminathan : > Greetings, > > Apologies for Off thread (and possibly stupid) question: Where on the net > one can find the RHEV-M general list like this one for centos You cannot. contact your rhel support for your issue. -- Eero ___

[CentOS] [OT] RHEVM List

2011-01-05 Thread Rajagopal Swaminathan
Greetings, Apologies for Off thread (and possibly stupid) question: Where on the net one can find the RHEV-M general list like this one for centos I have been tearing my hair for past week to make RHEV work with two boxens. One RHEV H and one running XP with two VMs uner VMware WS. One VM is ope

Re: [CentOS] check, that a script is in a folder

2011-01-05 Thread John R. Dennison
On Wed, Jan 05, 2011 at 02:26:12AM -0800, S Mathias wrote: > $ echo ${PWD##*/} > somefolder > $ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo "this is the asdf > folder"; else exit 1; fi > bash: notthatfolder: command not found... > this is the asdf folder > $ > > > So i just want to check

[CentOS] check, that a script is in a folder

2011-01-05 Thread S Mathias
$ echo ${PWD##*/} somefolder $ if "${PWD##*/}" -eq "asdf" > /dev/null; then echo "this is the asdf folder"; else exit 1; fi bash: notthatfolder: command not found... this is the asdf folder $ So i just want to check that i'm in an exact folder. e.g.: "asdf" What's wrong with my one-liner? I j

[CentOS] Compiling thunderbird

2011-01-05 Thread lhecking
I'm following this thread here http://www.centos.org/modules/newbb/viewtopic.php?topic_id=23749&forum=38 to build an rpm for thunderbird 3.1.6/3.1.7 from source. While it works well on i386, compilation fails for x86_64. Any advice how to fix the spec file? ... rm -f libthebes.so c++ -fn

Re: [CentOS] Anyone using PHP52 packages from iuscommunity.org?

2011-01-05 Thread John Doe
From: robert mena >I got bit today.I left the enable=1 of ius and it upgraded automatically >from the 5.2.15 to 5.2.16. After that I stated getting memory allocation >errors. >Anyone is getting that? Since I could not find 5.2.15 again I had to switch >back to 5.2.10 from Testing. They

Re: [CentOS] automated remote cloning

2011-01-05 Thread Natxo Asenjo
On Mon, Jan 3, 2011 at 1:55 PM, Kwan Lowe wrote: > On Sat, Jan 1, 2011 at 6:50 AM, Geoff Galitz wrote: [knip] >> Any pointers to good automated solutions? > > Do you use cfengine or puppet in your environment?  If you install the > base packages via post installation scripts, you can use cfengi