Re: [CentOS] RAID 5 setup?

2010-03-26 Thread Chan Chung Hang Christopher
Benjamin Franz wrote: > Robert Heller wrote: >> I suspect that this is a simular case to what I did: I have a server >> with 4 drives. I have several (small) RAID1 partitions (/boot, /, >> /usr, /var, etc.) with 4 mirrors and one large RAID5 with three >> partitions and a hot spare (a LVM volumn g

Re: [CentOS] non-root access to log files

2010-03-26 Thread Steve Hamblett
You could use ACL's, I use this ti give my normal user access to these logs, saving me logging in as root. On 26 March 2010 15:55, Carlos Santana wrote: > Hi, > > I would like to give read-only access to mysql and apache-http server > log files to a non-root user. I can modify group or other per

Re: [CentOS] RAID 5 setup?

2010-03-26 Thread Robert Spangler
On Thursday 25 March 2010 18:10, Robert Heller wrote: > The prefered way to go would be RAID10 (RAID1 (mirror) + RAID0 (stripe)). > Form pairs as RAID1, then strip the pairs. With 8 disks, this would 4 > pairs, 1.5TB/pair = 1.5*4 = 6TB total. I am just starting to look into this RAID and I wa

Re: [CentOS] ==> gcc 4.4.3 on centos 64 bit

2010-03-26 Thread Dieter Best
Yes, I found out in the meanwhile that was just the c compiler, I did what you suggested, thanks. On Fri, Mar 26, 2010 at 6:21 PM, Peter Kjellstrom wrote: > On Friday 26 March 2010, Dieter Best wrote: >> I did a "yum install gcc44" > ... >> I have the following now. Suggestions? > ... >> [r...@ce

Re: [CentOS] ==> gcc 4.4.3 on centos 64 bit

2010-03-26 Thread Peter Kjellstrom
On Friday 26 March 2010, Dieter Best wrote: > I did a "yum install gcc44" ... > I have the following now. Suggestions? ... > [r...@centos2 Misc]# gcc44 mytest.cc > gcc44: error trying to exec 'cc1plus': execvp: No such file or directory gcc44 contains the c-compiler, you'll want the gcc44-c++ pack

Re: [CentOS] RAID 5 setup?

2010-03-26 Thread Ross Walker
On Mar 26, 2010, at 10:25 AM, Benjamin Franz wrote: > Ross Walker wrote: >> >> No, not yet, but I always recommend setting up your data arrays >> manually so your intimately familiar with how they are constructed >> and >> the mdadm command usage is fresh in your head. >> >> Did you know with N

Re: [CentOS] awk global replacement only after keyword

2010-03-26 Thread chris procter
> >>or do you mean >>>blah, blah >>>blah, >> blah >>>yadda, yadda, >> keyword, >>>to-be-replaced >>>also-to-be-replaced? >> >> >> Yup, the keyword marks the position where I then start looking >> for >> matches. Once I get to work, I will give these a try. >> >> Thanks >> guys! > >Sure. And w

Re: [CentOS] awk global replacement only after keyword

2010-03-26 Thread MHR
On Fri, Mar 26, 2010 at 7:28 AM, wrote: >>>or do you mean >>>blah, blah >>>blah, blah >>>yadda, yadda, keyword, >>>to-be-replaced >>>also-to-be-replaced? >> >> Yup, the keyword marks the position where I then start looking >> for matches. Once I get to work, I will give these a try. >> >> Thanks

[CentOS] apcupsd, APC UPSs, and batteries, resolved

2010-03-26 Thread m . roth
Well, here's the tale: we got a "replacement kit" for some APC SmartUPS 3000 - rackmount UPSs. The "kit", costing about half of what APC is asking, is just the batteries, and you pull the tray out, open it up, and swap out the batteries. Except, I did this on one... and the replace battery light ne

Re: [CentOS] gphoto2 and Nikon Coolpix 990/995

2010-03-26 Thread Akemi Yagi
On Fri, Mar 26, 2010 at 12:41 PM, Boris Epstein wrote: > On Fri, Mar 26, 2010 at 3:37 PM, Akemi Yagi wrote: > [antw...@bepstein][~/scratch] gphoto2 --capture-image > > *** Error *** > An error occurred in the io-library ('Could not claim the USB > device'): Could not claim interface 0 (Operation

Re: [CentOS] gphoto2 and Nikon Coolpix 990/995

2010-03-26 Thread Boris Epstein
On Fri, Mar 26, 2010 at 3:37 PM, Akemi Yagi wrote: > On Fri, Mar 26, 2010 at 12:34 PM, Boris Epstein wrote: >> On Fri, Mar 26, 2010 at 3:33 PM, Akemi Yagi wrote: > >>> Looking good. Now what do you get with the command: >>> >>> gphoto2 --auto-detect >>> >>> Akemi > >> [antw...@bepstein][~/scratc

Re: [CentOS] gphoto2 and Nikon Coolpix 990/995

2010-03-26 Thread Akemi Yagi
On Fri, Mar 26, 2010 at 12:34 PM, Boris Epstein wrote: > On Fri, Mar 26, 2010 at 3:33 PM, Akemi Yagi wrote: >> Looking good. Now what do you get with the command: >> >> gphoto2 --auto-detect >> >> Akemi > [antw...@bepstein][~/scratch] gphoto2 --auto-detect > Model                          Port

Re: [CentOS] gphoto2 and Nikon Coolpix 990/995

2010-03-26 Thread Boris Epstein
On Fri, Mar 26, 2010 at 3:33 PM, Akemi Yagi wrote: > On Fri, Mar 26, 2010 at 12:25 PM, Boris Epstein wrote: >> On Fri, Mar 26, 2010 at 3:10 PM, Akemi Yagi wrote: > >>> Is the camera set to the PTP mode?  Try running 'tail -f >>> /var/log/messages' while connecting the camera and see how it is be

Re: [CentOS] gphoto2 and Nikon Coolpix 990/995

2010-03-26 Thread Akemi Yagi
On Fri, Mar 26, 2010 at 12:25 PM, Boris Epstein wrote: > On Fri, Mar 26, 2010 at 3:10 PM, Akemi Yagi wrote: >> Is the camera set to the PTP mode?  Try running 'tail -f >> /var/log/messages' while connecting the camera and see how it is being >> recognized. > Just disconnected and reconnected th

Re: [CentOS] gphoto2 and Nikon Coolpix 990/995

2010-03-26 Thread Boris Epstein
On Fri, Mar 26, 2010 at 3:10 PM, Akemi Yagi wrote: > On Fri, Mar 26, 2010 at 11:53 AM, Boris Epstein wrote: >> Hi all, >> >> I've got a CentOS 5.4 box and am trying to use it to control  either >> of the two old cameras we've got, one being Nikon Coolpix 990 and the >> other Nikon Coolpix 995. Ac

Re: [CentOS] gphoto2 and Nikon Coolpix 990/995

2010-03-26 Thread Akemi Yagi
On Fri, Mar 26, 2010 at 11:53 AM, Boris Epstein wrote: > Hi all, > > I've got a CentOS 5.4 box and am trying to use it to control  either > of the two old cameras we've got, one being Nikon Coolpix 990 and the > other Nikon Coolpix 995. Accessing either I get the following message: > > ---

[CentOS] gphoto2 and Nikon Coolpix 990/995

2010-03-26 Thread Boris Epstein
Hi all, I've got a CentOS 5.4 box and am trying to use it to control either of the two old cameras we've got, one being Nikon Coolpix 990 and the other Nikon Coolpix 995. Accessing either I get the following message: *** Error *** An error occ

Re: [CentOS] ==> gcc 4.4.3 on centos 64 bit

2010-03-26 Thread Tony Schreiner
On Mar 26, 2010, at 2:26 PM, Dieter Best wrote: > I did a "yum install gcc44" > > Is it confirmed that this doesn't lead to inconsistencies with the > existing gcc? > > I have the following now. Suggestions? > > > [r...@centos2 Misc]# gcc mytest.cc > /tmp/ccilP3UL.o:(.eh_frame+0x12): undefined re

Re: [CentOS] RAID 5 setup?

2010-03-26 Thread Les Mikesell
On 3/26/2010 12:45 PM, Robert Heller wrote: > At Fri, 26 Mar 2010 17:16:04 + CentOS mailing list > wrote: > >> >> >> >>> I have one system with an 8-way RAID1 for the OS. >>> >>> >> For real or is that a typo? Is that incase you go on holiday for a week and >> a drive-dies-a-day? >> > >

Re: [CentOS] ==> gcc 4.4.3 on centos 64 bit

2010-03-26 Thread Dieter Best
I did a "yum install gcc44" Is it confirmed that this doesn't lead to inconsistencies with the existing gcc? I have the following now. Suggestions? [r...@centos2 Misc]# gcc mytest.cc /tmp/ccilP3UL.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit sta

Re: [CentOS] RAID 5 setup?

2010-03-26 Thread Benjamin Franz
Robert Heller wrote: > > I suspect that this is a simular case to what I did: I have a server > with 4 drives. I have several (small) RAID1 partitions (/boot, /, > /usr, /var, etc.) with 4 mirrors and one large RAID5 with three > partitions and a hot spare (a LVM volumn group, containing /home and

Re: [CentOS] RAID 5 setup?

2010-03-26 Thread Robert Heller
At Fri, 26 Mar 2010 17:16:04 + CentOS mailing list wrote: > > > > > > > > I have one system with an 8-way RAID1 for the OS. > > > > > For real or is that a typo? Is that incase you go on holiday for a week and > a drive-dies-a-day? > I suspect that this is a simular case to what I did:

Re: [CentOS] non-root access to log files

2010-03-26 Thread David
You should create a new group that allowed to access logs, and add new group in visudo with permission to access log files. Warm regards, David http://blog.pnyet.web.id Carlos Santana wrote: > Hi, > > I would like to give read-only access to mysql and apache-http server > log files to a non-ro

Re: [CentOS] RAID 5 setup?

2010-03-26 Thread James Bensley
> > > I have one system with an 8-way RAID1 for the OS. > > For real or is that a typo? Is that incase you go on holiday for a week and a drive-dies-a-day? -- Regards, James. http://www.jamesbensley.co.cc/ ___ CentOS mailing list CentOS@centos.org http

Re: [CentOS] Kickstart 8TB partition limit?

2010-03-26 Thread lhecking
Jeff Hefner writes: > hopefully this helps I have quite a few systems in the same boat. > really large volume formated as xfs for storing backup data. Here is a > simplified snippet from my kickstart files. > > > part pv.2 --noformat --ondisk=sdb --size=1 --grow > volgroup lg_largevol --pesize=32

Re: [CentOS] non-root access to log files

2010-03-26 Thread Steven Tardy
Carlos Santana wrote: > I would like to give read-only access to mysql and apache-http server > log files to a non-root user. I can modify group or other permissions. > But is there any other way you can suggest? Can I update it in user's > home dir? man logrotate specifically look at: create

[CentOS] You'll marvel at THIS! (wasRe: RAID 5 setup?)

2010-03-26 Thread Robert
I'm not the only one to sit up and take notice here. The last reply came only 2 minutes after the 8-way mention. Benjamin Franz wrote: > Ross Walker wrote: >> No, not yet, but I always recommend setting up your data arrays >> manually so your intimately familiar with how they are constructed a

[CentOS] CentOS-announce Digest, Vol 61, Issue 8

2010-03-26 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..

[CentOS] non-root access to log files

2010-03-26 Thread Carlos Santana
Hi, I would like to give read-only access to mysql and apache-http server log files to a non-root user. I can modify group or other permissions. But is there any other way you can suggest? Can I update it in user's home dir? -- CS. ___ CentOS mailing li

Re: [CentOS] awk global replacement only after keyword

2010-03-26 Thread m . roth
>>or do you mean >>blah, blah >>blah, blah >>yadda, yadda, keyword, >>to-be-replaced >>also-to-be-replaced? > > Yup, the keyword marks the position where I then start looking > for matches. Once I get to work, I will give these a try. > > Thanks guys! Sure. And what you want is just { if ($0 ~ /ke

Re: [CentOS] RAID 5 setup?

2010-03-26 Thread Chan Chung Hang Christopher
Benjamin Franz wrote: > Ross Walker wrote: >> No, not yet, but I always recommend setting up your data arrays >> manually so your intimately familiar with how they are constructed and >> the mdadm command usage is fresh in your head. >> >> Did you know with Neil's raid10 implementation you can

Re: [CentOS] RAID 5 setup?

2010-03-26 Thread Benjamin Franz
Ross Walker wrote: > > No, not yet, but I always recommend setting up your data arrays > manually so your intimately familiar with how they are constructed and > the mdadm command usage is fresh in your head. > > Did you know with Neil's raid10 implementation you can store 3 copies > of the d

Re: [CentOS] centralized user authentication

2010-03-26 Thread Steve Thompson
On Thu, 25 Mar 2010, Scott Silva wrote: > I was just planning a deployment when my management decided they want to go to > Active Directory and move to an exchange server... You poor bugger; I'm really sorry to hear that. -s ___ CentOS mailing list Cen

Re: [CentOS] awk global replacement only after keyword

2010-03-26 Thread Joseph L. Casale
>or do you mean >blah, blah >blah, blah >yadda, yadda, keyword, >to-be-replaced >also-to-be-replaced? Yup, the keyword marks the position where I then start looking for matches. Once I get to work, I will give these a try. Thanks guys! jlc ___ CentOS ma

Re: [CentOS] centralised user authentication

2010-03-26 Thread Stephen Harris
On Fri, Mar 26, 2010 at 09:51:53AM -0400, Kwan Lowe wrote: > That's the heart of it... NIS was fine in a younger and more innocent > day :) NIS+ was ostensibly more secure but was a pain to get quite > perfect. In many of the shops I visited that were using NIS+ there > were lots of misconfigurat

Re: [CentOS] centralised user authentication

2010-03-26 Thread Kwan Lowe
On Fri, Mar 26, 2010 at 9:41 AM, wrote: >> I'm new to centralized user authentication, and I want to learn how to >> do it. I've heard that NIS is a deprecated technology, and that one >> should favour LDAP over it. I'd be curious if someone could explain the >> facts behind this (or even if it'

Re: [CentOS] RAID 5 setup?

2010-03-26 Thread Ross Walker
On Mar 25, 2010, at 9:36 PM, Christopher Chan wrote: > On Friday, March 26, 2010 09:12 AM, John R Pierce wrote: >> Christopher Chan wrote: but with RAID 10, data is safe after many types of failures. >>> >>> Except for the case when a mirror dies after which the whole thing >>> is >>>

Re: [CentOS] centralised user authentication

2010-03-26 Thread m . roth
> Jobst Schmalenbach a écrit : >> http://en.wikipedia.org/wiki/Network_Information_Service >> >> it used to be called "yp" or "yellow pages". >> it works with samba too. >> > I'm new to centralized user authentication, and I want to learn how to > do it. I've heard that NIS is a deprecated technolo

Re: [CentOS] awk global replacement only after keyword

2010-03-26 Thread m . roth
>>Depends on how you define "one-liner." Something like this might work: >> >>{ if index($0, PATTERN) != 0 {FOUND = 1;}; if (FOUND != 0) >>{subst(REPLACE_THIS, WITH_THIS, $0); } >> >>You'd want to reverse the order of the two statements if the >>replacement is only to occur after the pattern is fo

Re: [CentOS] awk global replacement only after keyword

2010-03-26 Thread m . roth
> Trying to avoid a perl script which wouldn't be hard, but I am looking > for an awk one liner that does a replacement, but only after it sees a > key word on some line. > > Anyone know of that's easy to do? {if ( $0 ~ //) (sub(str, repl);} print $0;} mark

Re: [CentOS] ==> gcc 4.4.3 on centos 64 bit

2010-03-26 Thread Rex Dieter
Dieter Best wrote: > I need a newer version of gcc (gcc 4.4.3), with yum install I got > 4.1.2. Has anyone figured out how to configure for the gcc 4.4.3 build > to go through? yum install gcc44 -- Rex ___ CentOS mailing list CentOS@centos.org http://

Re: [CentOS] mounting gfs partition hangs

2010-03-26 Thread sandra-llistes
Hi, I'm not a GFS expert either :-) In fact, I erased all the configuration of the cluster and try to do it again from scratch with luci/ricci configuration tools (perhaps I did something wrong last time) mount -vv gives the following information: [r...@node1 gfs]# mount -t gfs -vv /dev/home2/hom

Re: [CentOS] centralised user authentication

2010-03-26 Thread Geoff Galitz
> > > > > > it used to be called "yp" or "yellow pages". > > > it works with samba too. > > > > > I'm new to centralized user authentication, and I want to learn how to > > do it. I've heard that NIS is a deprecated technology, and that one > > should favour LDAP over it. I'd be curious if someon

Re: [CentOS] Centos4 dead download link on homepage

2010-03-26 Thread Rainer Traut
Am 26.03.2010 09:48, schrieb Kei Sakamoto: > Rainer Traut wrote: >> needed to dl. the centos 4 isos... >> went to www.centos.org, scrolled to CentOS 4 Releases, clicked CentOS >> 4.8 x86_64. >> >> Then this site opened: >> http://lists.centos.org/pipermail/centos-announce/2009-August/016106.html >>

Re: [CentOS] Centos4 dead download link on homepage

2010-03-26 Thread Kei Sakamoto
Rainer Traut wrote: > needed to dl. the centos 4 isos... > went to www.centos.org, scrolled to CentOS 4 Releases, clicked CentOS > 4.8 x86_64. > > Then this site opened: > http://lists.centos.org/pipermail/centos-announce/2009-August/016106.html > > But the link from centos-announce is dead: > h

[CentOS] Centos4 dead download link on homepage

2010-03-26 Thread Rainer Traut
Hi, needed to dl. the centos 4 isos... went to www.centos.org, scrolled to CentOS 4 Releases, clicked CentOS 4.8 x86_64. Then this site opened: http://lists.centos.org/pipermail/centos-announce/2009-August/016106.html But the link from centos-announce is dead: http://isoredirect.centos.org/cent

Re: [CentOS] centralised user authentication

2010-03-26 Thread Craig White
On Fri, 2010-03-26 at 08:03 +0100, Niki Kovacs wrote: > Jobst Schmalenbach a écrit : > > http://en.wikipedia.org/wiki/Network_Information_Service > > > > it used to be called "yp" or "yellow pages". > > it works with samba too. > > > I'm new to centralized user authentication, and I want to learn

Re: [CentOS] centralised user authentication

2010-03-26 Thread Niki Kovacs
Jobst Schmalenbach a écrit : > http://en.wikipedia.org/wiki/Network_Information_Service > > it used to be called "yp" or "yellow pages". > it works with samba too. > I'm new to centralized user authentication, and I want to learn how to do it. I've heard that NIS is a deprecated technology, and