Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Gordon Messmer
On 12/01/2010 11:11 PM, John Hodrien wrote:
>
> I've had Broadcom NICs just go off into their own little world requiring the
> machine to be physically powered down and back up again before they'd start
> working again.  Replaced with an Intel quad port board (igb driver) and all
> was decidedly well.

I've seen that happen, too.  I wouldn't recommend Broadcom gear, either.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread John Hodrien
On Wed, 1 Dec 2010, Timo Schoeler wrote:

> Well, Realcrap is known to be crap everywhere. Ask the OpenBSD guys. ;)
>
> Intel. Broadcom. That's what we use here w/o any issues; however, there
> are some Intel NICs that are *not* able to handle Jumbo Frames due to an
> internal design glitch.

I've had Broadcom NICs just go off into their own little world requiring the
machine to be physically powered down and back up again before they'd start
working again.  Replaced with an Intel quad port board (igb driver) and all
was decidedly well.

jh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread William Warren
On 12/1/2010 2:33 PM, Boris Epstein wrote:
> On Wed, Dec 1, 2010 at 2:29 PM, Gilbert Sebenste
>   wrote:
>> On Wed, 1 Dec 2010, Steve Thompson wrote:
>>
>>> On Wed, 1 Dec 2010, Timo Schoeler wrote:
>>>
 Intel. Broadcom. That's what we use here w/o any issues; however, there
 are some Intel NICs that are *not* able to handle Jumbo Frames due to an
 internal design glitch.
>>> Seconded. I have a load of Intel 82576 and 82571EB's, and there have been
>>> no issues at all, including with Jumbo frames.
>> Thirded. :-) Same thing here, even with generic Intel 1 GB Ethernet cards.
>>
>> ***
>> Gilbert Sebenste 
>> (My opinions only!)  **
>> ***
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> Thanks. Looks good.
>
> I just looked around - looks like manufacturers tend not to list the
> chipset in their NIC specifications (like here, for instance:
> http://www.trendnet.com/products/proddetail.asp?prod=140_TEG-PCITXR&cat=14
> )
>
> Is there a list somewhere out there listing what card features what chipset?
>
> It definitely looks like it is best to just stick to the better
> chipsets - might be a little more expensive but definitely worth the
> money.
>
> Thanks.
>
> Boris.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
if you look at the pic on that page see the crab?  that's realtek.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread William Warren
On 12/1/2010 2:33 PM, Boris Epstein wrote:
> On Wed, Dec 1, 2010 at 2:29 PM, Gilbert Sebenste
>   wrote:
>> On Wed, 1 Dec 2010, Steve Thompson wrote:
>>
>>> On Wed, 1 Dec 2010, Timo Schoeler wrote:
>>>
 Intel. Broadcom. That's what we use here w/o any issues; however, there
 are some Intel NICs that are *not* able to handle Jumbo Frames due to an
 internal design glitch.
>>> Seconded. I have a load of Intel 82576 and 82571EB's, and there have been
>>> no issues at all, including with Jumbo frames.
>> Thirded. :-) Same thing here, even with generic Intel 1 GB Ethernet cards.
>>
>> ***
>> Gilbert Sebenste 
>> (My opinions only!)  **
>> ***
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> Thanks. Looks good.
>
> I just looked around - looks like manufacturers tend not to list the
> chipset in their NIC specifications (like here, for instance:
> http://www.trendnet.com/products/proddetail.asp?prod=140_TEG-PCITXR&cat=14
> )
>
> Is there a list somewhere out there listing what card features what chipset?
>
> It definitely looks like it is best to just stick to the better
> chipsets - might be a little more expensive but definitely worth the
> money.
>
> Thanks.
>
> Boris.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
trendnet is realtek.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread William Warren
On 12/1/2010 2:12 PM, Boris Epstein wrote:
> Hello listmates,
>
> As some of you may know we have been having a really bad problem with
> Realtek Semiconductor Co., Ltd. RTL-8169 cards. See here for details:
>
> http://forum.nginx.org/read.php?24,140124,140224
>
> So now my question is, what PCI 1 Gbit/s Ethernet adapters should I
> use under CentOS? If you have had a consistent positive experience
> with any particular chipset/brand please speak up.
>
> Thanks.
>
> Boris.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
Intel.  No need to mess with any Winnic(which is what most are).  
Broadcom is another good one.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] awk help

2010-12-01 Thread Stephen Harris
On Thu, Dec 02, 2010 at 08:19:51AM +0800, Christopher Chan wrote:
> It does not. I don't know why the OP is even trying to do it this way. 

My guess: school work.

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Gordon Messmer
On 12/01/2010 06:07 PM, Boris Epstein wrote:
> On Wed, Dec 1, 2010 at 8:26 PM, Gordon Messmer  wrote:
>> On 12/01/2010 11:17 AM, Timo Schoeler wrote:
>>>
>>> Intel. Broadcom. That's what we use here w/o any issues; however, there
>>> are some Intel NICs that are *not* able to handle Jumbo Frames due to an
>>> internal design glitch.
>>
>> Specifically the 82573 chipsets, which are still fairly common on
>> motherboards.
>
> That's good, but I am looking for expansion card NICs.

I may not have been clear.  The Intel 82573 chipsets are faulty, and 
should be avoided.  I've mostly seen them on motherboards, but I have no 
reason to believe you won't find them on expansion cards.  Avoid them.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Boris Epstein
On Wed, Dec 1, 2010 at 8:26 PM, Gordon Messmer  wrote:
> On 12/01/2010 11:17 AM, Timo Schoeler wrote:
>>
>> Intel. Broadcom. That's what we use here w/o any issues; however, there
>> are some Intel NICs that are *not* able to handle Jumbo Frames due to an
>> internal design glitch.
>
> Specifically the 82573 chipsets, which are still fairly common on
> motherboards.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

That's good, but I am looking for expansion card NICs.

Boris.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Gordon Messmer
On 12/01/2010 11:17 AM, Timo Schoeler wrote:
>
> Intel. Broadcom. That's what we use here w/o any issues; however, there
> are some Intel NICs that are *not* able to handle Jumbo Frames due to an
> internal design glitch.

Specifically the 82573 chipsets, which are still fairly common on 
motherboards.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] awk help

2010-12-01 Thread Christopher Chan
On Thursday, December 02, 2010 07:57 AM, Les Mikesell wrote:
> On 12/1/2010 5:44 PM, Ross Walker wrote:
>> On Dec 1, 2010, at 5:07 PM, Christopher 
>> Chan   wrote:
>>
>>> On Thursday, December 02, 2010 05:09 AM, ann kok wrote:
 Hi all

 Anyone can help to let me know how to

 ls -1 | lsattr
>>>
>>> lsattr `ls -1`
>>>


 ls -al /folder | awk '{ print $2}' | lsattr

>>>
>>>
>>> for i in `ls -al /folder | awk '{ print $8}'`; do lsattr /folder/$i; done
>>
>> You can probably do that last one as a pipe to xargs instead of a shell loop.
>
> I'm missing something here.  Why does lsattr need help from ls?
>

It does not. I don't know why the OP is even trying to do it this way. 
Just thought I'd demonstrate some bash stuff. :-p
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Nico Kadel-Garcia
On Wed, Dec 1, 2010 at 2:33 PM, Boris Epstein  wrote:

> Thanks. Looks good.
>
> I just looked around - looks like manufacturers tend not to list the
> chipset in their NIC specifications (like here, for instance:
> http://www.trendnet.com/products/proddetail.asp?prod=140_TEG-PCITXR&cat=14
> )

In fact, they lie. All sorts of add-on cards from various vendors,
with the same card "type" and model number, have different chipsets.

This has caused me endless grief in environments where my employer
refused to do normal kernel updates, and the new chipsets were only
compatible with the newer kernel.

> Is there a list somewhere out there listing what card features what chipset?
>
> It definitely looks like it is best to just stick to the better
> chipsets - might be a little more expensive but definitely worth the
> money.

See above, and yes.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Christopher Chan
On Thursday, December 02, 2010 07:50 AM, Ross Walker wrote:
> On Dec 1, 2010, at 5:10 PM, Christopher 
> Chan  wrote:
>
>> On Thursday, December 02, 2010 03:28 AM, Steve Thompson wrote:
>>> On Wed, 1 Dec 2010, Timo Schoeler wrote:
>>>
 Intel. Broadcom. That's what we use here w/o any issues; however, there
 are some Intel NICs that are *not* able to handle Jumbo Frames due to an
 internal design glitch.
>>>
>>> Seconded. I have a load of Intel 82576 and 82571EB's, and there have been
>>> no issues at all, including with Jumbo frames.
>>>
>>
>> Please take note that some Intel 1G nics do not have jumbo frame support
>> at all. So you won't have issues with jumbo frames either way. The
>> question is whether there is jumbo frame support.
>
>> From my memory those that don't do jumbo were "desktop" versions of the 
>> chipset.
>
> I believe all current manufactured models support jumbo frames.
>

The Desktop GT series certainly does not have jumbo frames. Not sure 
about others.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ipsec vpn client; openswan?

2010-12-01 Thread aurfalien
Hi all,

Any one have success with Openswan and IPSEC VPN?

Having some issues.

Wondering if any would mind posting there configs; ipsec.conf.

Also open to any IPSEC client.

- aurf
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] x86_64 and Thunderbird Trash folder.

2010-12-01 Thread Jerry Geis
>
> Um, do you ever log out, or close firefox? For that matter, do you have it
> set to empty trash when done? Or do you ever manually compress
> folders/empty trash?
>
>   mark "or just leave it running for a year at a time?"
>
>   
NO - your correct I dont log out it's got messages in there from way back.
I'd like to keep them for history. I thought on a 64bit machine there 
were no 4G limits.


Jerry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] awk help

2010-12-01 Thread Les Mikesell
On 12/1/2010 5:44 PM, Ross Walker wrote:
> On Dec 1, 2010, at 5:07 PM, Christopher 
> Chan  wrote:
>
>> On Thursday, December 02, 2010 05:09 AM, ann kok wrote:
>>> Hi all
>>>
>>> Anyone can help to let me know how to
>>>
>>> ls -1 | lsattr
>>
>> lsattr `ls -1`
>>
>>>
>>>
>>> ls -al /folder | awk '{ print $2}' | lsattr
>>>
>>
>>
>> for i in `ls -al /folder | awk '{ print $8}'`; do lsattr /folder/$i; done
>
> You can probably do that last one as a pipe to xargs instead of a shell loop.

I'm missing something here.  Why does lsattr need help from ls?

-- 
   Les Mikesell
lesmikes...@gmail.com


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Ross Walker
On Dec 1, 2010, at 5:10 PM, Christopher Chan  
wrote:

> On Thursday, December 02, 2010 03:28 AM, Steve Thompson wrote:
>> On Wed, 1 Dec 2010, Timo Schoeler wrote:
>> 
>>> Intel. Broadcom. That's what we use here w/o any issues; however, there
>>> are some Intel NICs that are *not* able to handle Jumbo Frames due to an
>>> internal design glitch.
>> 
>> Seconded. I have a load of Intel 82576 and 82571EB's, and there have been
>> no issues at all, including with Jumbo frames.
>> 
> 
> Please take note that some Intel 1G nics do not have jumbo frame support 
> at all. So you won't have issues with jumbo frames either way. The 
> question is whether there is jumbo frame support.

>From my memory those that don't do jumbo were "desktop" versions of the 
>chipset.

I believe all current manufactured models support jumbo frames.

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] awk help

2010-12-01 Thread Ross Walker
On Dec 1, 2010, at 5:07 PM, Christopher Chan  
wrote:

> On Thursday, December 02, 2010 05:09 AM, ann kok wrote:
>> Hi all
>> 
>> Anyone can help to let me know how to
>> 
>> ls -1 | lsattr
> 
> lsattr `ls -1`
> 
>> 
>> 
>> ls -al /folder | awk '{ print $2}' | lsattr
>> 
> 
> 
> for i in `ls -al /folder | awk '{ print $8}'`; do lsattr /folder/$i; done

You can probably do that last one as a pipe to xargs instead of a shell loop.

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread Ross Walker
On Dec 1, 2010, at 4:25 PM, Johan Scheepers  wrote:

> Scot P. Floess wrote:
>> Well - really isn't it all in what tool makes the most sense for the job 
>> at hand?  If one doesn't need the latest and greatest - CentOS as a 
>> desktop is super stable...
>> 
>> Don't get me wrong, I like Fedora...but still :)
>> 
>> On Wed, 1 Dec 2010, Alan Hodgson wrote:
>> 
>> 
>>> On December 1, 2010, "Scot P. Floess"  wrote:
>>> 
 I think when CentOS 6 is released, that may not be even close to true :)
 I'm running RHEL 6 @ work as my desktop  - it has a fairly decent version
 of KDE (4.3  specifically) - and this is on a laptop -> its great ;)
 
 
>>> Until a year from now. When it is again well behind faster moving desktop
>>> distros.
>>> 
>>> 
>>> 
> ok
> I have tried..
> suse 11.3  very nice
> ubuntu 10.10  ok
> fedora 14 very nice
> debian squeeze  very very nice
> centos 5.5  i386  love it
> Want to try x86_64.. laptop is capable will see

Run x86_64 as my workstation at work and everything works as advertised, though 
I use 32-bit firefox for max plugin compatibility. Don't need 64-bit address 
space for web browsing, if a page doesn't fit in under 3GB of memory (ahem... 
Cisco, 1000 page web page? Really? Ever heard of a TOC?), then it ain't worth 
browsing to.

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Steve Thompson
On Thu, 2 Dec 2010, Christopher Chan wrote:

> On Thursday, December 02, 2010 03:28 AM, Steve Thompson wrote:
>> On Wed, 1 Dec 2010, Timo Schoeler wrote:
>>
>>> Intel. Broadcom. That's what we use here w/o any issues; however, there
>>> are some Intel NICs that are *not* able to handle Jumbo Frames due to an
>>> internal design glitch.
>>
>> Seconded. I have a load of Intel 82576 and 82571EB's, and there have been
>> no issues at all, including with Jumbo frames.
>
> Please take note that some Intel 1G nics do not have jumbo frame support
> at all. So you won't have issues with jumbo frames either way. The
> question is whether there is jumbo frame support.

The Intel NICs that I mentioned, 82576 and 82571EB, are both in use in 
DRBD replication links with an MTU of 9000. We usually configure each such 
link as a point-to-point bonding pair (balance-rr), and get 1.95 Gb/s 
throughput with iperf, and about 165 MB/sec with drbd (but of course the 
latter is disk dependent). CentOS 5.5, x86_64, Dell PE2900 servers. Solid.

Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] x86_64 and Thunderbird Trash folder.

2010-12-01 Thread m . roth
Jerry Geis wrote:
> I just ran into something odd,
> I have x86_64 5.5 running with Thunderbird.
>
> I am getting a message about can delete the email as Trash is FULL.
>
> The file size is 4G. Whats up with that

Um, do you ever log out, or close firefox? For that matter, do you have it
set to empty trash when done? Or do you ever manually compress
folders/empty trash?

  mark "or just leave it running for a year at a time?"

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Christopher Chan
On Thursday, December 02, 2010 03:28 AM, Steve Thompson wrote:
> On Wed, 1 Dec 2010, Timo Schoeler wrote:
>
>> Intel. Broadcom. That's what we use here w/o any issues; however, there
>> are some Intel NICs that are *not* able to handle Jumbo Frames due to an
>> internal design glitch.
>
> Seconded. I have a load of Intel 82576 and 82571EB's, and there have been
> no issues at all, including with Jumbo frames.
>

Please take note that some Intel 1G nics do not have jumbo frame support 
at all. So you won't have issues with jumbo frames either way. The 
question is whether there is jumbo frame support.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] awk help

2010-12-01 Thread Christopher Chan
On Thursday, December 02, 2010 05:09 AM, ann kok wrote:
> Hi all
>
> Anyone can help to let me know how to
>
> ls -1 | lsattr

lsattr `ls -1`

>
>
> ls -al /folder | awk '{ print $2}' | lsattr
>


for i in `ls -al /folder | awk '{ print $8}'`; do lsattr /folder/$i; done
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread Johan Scheepers
Scot P. Floess wrote:
> Well - really isn't it all in what tool makes the most sense for the job 
> at hand?  If one doesn't need the latest and greatest - CentOS as a 
> desktop is super stable...
>
> Don't get me wrong, I like Fedora...but still :)
>
> On Wed, 1 Dec 2010, Alan Hodgson wrote:
>
>   
>> On December 1, 2010, "Scot P. Floess"  wrote:
>> 
>>> I think when CentOS 6 is released, that may not be even close to true :)
>>> I'm running RHEL 6 @ work as my desktop  - it has a fairly decent version
>>> of KDE (4.3  specifically) - and this is on a laptop -> its great ;)
>>>
>>>   
>> Until a year from now. When it is again well behind faster moving desktop
>> distros.
>>
>>
>> 
ok
I have tried..
suse 11.3  very nice
ubuntu 10.10  ok
fedora 14 very nice
debian squeeze  very very nice
centos 5.5  i386  love it
Want to try x86_64.. laptop is capable will see
Enjoy
Johan

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] x86_64 and Thunderbird Trash folder.

2010-12-01 Thread Jerry Geis
I just ran into something odd,
I have x86_64 5.5 running with Thunderbird.

I am getting a message about can delete the email as Trash is FULL.

The file size is 4G. Whats up with that

I have the 64 bit executable running.
file /usr/lib64/thunderbird-2.0.0.24/thunderbird-bin
/usr/lib64/thunderbird-2.0.0.24/thunderbird-bin: ELF 64-bit LSB 
executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, 
dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped


jerry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread Scot P. Floess

Well - really isn't it all in what tool makes the most sense for the job 
at hand?  If one doesn't need the latest and greatest - CentOS as a 
desktop is super stable...

Don't get me wrong, I like Fedora...but still :)

On Wed, 1 Dec 2010, Alan Hodgson wrote:

> On December 1, 2010, "Scot P. Floess"  wrote:
>> I think when CentOS 6 is released, that may not be even close to true :)
>> I'm running RHEL 6 @ work as my desktop  - it has a fairly decent version
>> of KDE (4.3  specifically) - and this is on a laptop -> its great ;)
>>
>
> Until a year from now. When it is again well behind faster moving desktop
> distros.
>
>

-- 
Scot P. Floess


RHCT  (Certificate Number 605010084735240)

Chief Architect FlossWare  http://sourceforge.net/projects/flossware
http://flossware.sourceforge.net
https://github.com/organizations/FlossWare

Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIMhttp://sourceforge.net/projects/javapim
Chief Architect Keros  http://sourceforge.net/projects/keros
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] awk help

2010-12-01 Thread ann kok
Hi all

Anyone can help to let me know how to 

ls -1 | lsattr


ls -al /folder | awk '{ print $2}' | lsattr

Thank you


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread Alan Hodgson
On December 1, 2010, "Scot P. Floess"  wrote:
> I think when CentOS 6 is released, that may not be even close to true :)
> I'm running RHEL 6 @ work as my desktop  - it has a fairly decent version
> of KDE (4.3  specifically) - and this is on a laptop -> its great ;)
> 

Until a year from now. When it is again well behind faster moving desktop 
distros.

-- 
A hybrid Escalade is missing the point much in the same way that having a 
diet soda with your extra large pepperoni pizza is missing the point.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Nicolas Ross
>> Is there a list somewhere out there listing what card features what 
>> chipset?
>>
>> It definitely looks like it is best to just stick to the better
>> chipsets - might be a little more expensive but definitely worth the
>> money.
>
> You get what you pay for -- this is a valid rule of thumb throughout the
> whole life.

Amen !

As for the nics, Intel, Intel, nothing but intel. Since a couple of year, I 
put nothing but intel nics in our servers. Most of them are on-board 8257*, 
like 82575EB in our mos recent batch of server. Other add-on card are 
pro1000 with chipset 82541PI.

Regards, 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread Johan Scheepers
Johan Scheepers wrote:
> Good day,
>
> Been googling about this matter.
> Afraid I am now confused.
> Too many options..: for/against/whatever.
> Some is years ago.
>
> Kindly please a step x step manner in which to accomplish to enable mp3 
> please.
> Thanks
> Johan
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   
To all the people out there that responded..Thank you.
I know you want to help.
All those links .. Error 404 and some not found etc.
It is true as someone said  "its a jungle out there."
Me..if it is not an rpm .. then I am out in the bush.
Thanks again
Regards
Johan



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread Scott Robbins
On Wed, Dec 01, 2010 at 01:32:40PM -0500, Scot P. Floess wrote:
> 
> For my VMs I definitely use CentOS for anything graphical - like a 
> desktop...  Of course, my bare metal box @ home is running F14...

Which just shows how flexible, in many ways, it is. I'm the exact
opposite, though my workstation at work has Fedora. 

> 
> I think when CentOS 6 is released, that may not be even close to true :) 
> I'm running RHEL 6 @ work as my desktop  - it has a fairly decent version 

Yeahy, we're all waiting for that.  Although, practically speaking,
there's only about two programs I haven't been able to get working to my
satisfaction on my home desktop-cum-server.



-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fsck - and there was much rejoicing

2010-12-01 Thread m . roth
Lamar Owen wrote:
> On Wednesday, December 01, 2010 02:01:35 pm m.r...@5-cent.us wrote:
>> Looks like the fsck bug has been stomped! I did a 960G drive this
>> morning,
>> and I'm 90% of the way through a 1.4T drive, both of which have *lots*
>> of
>> files and hard links, and it has *not* hung at 70.1%, and is running at
>> reasonable speed.
>
> Hey, let us know how long that 1.4T fsck takes if you don't mind.

Sure - I think it was an hour, or an hour and a quarter, but I may be
misremembering - it could have been before lunch, which would make it
about 2.25 hrs.

  mark


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Timo Schoeler
On 12/01/2010 08:33 PM, Boris Epstein wrote:
> On Wed, Dec 1, 2010 at 2:29 PM, Gilbert Sebenste
>   wrote:
>> On Wed, 1 Dec 2010, Steve Thompson wrote:
>>
>>> On Wed, 1 Dec 2010, Timo Schoeler wrote:
>>>
 Intel. Broadcom. That's what we use here w/o any issues; however, there
 are some Intel NICs that are *not* able to handle Jumbo Frames due to an
 internal design glitch.
>>>
>>> Seconded. I have a load of Intel 82576 and 82571EB's, and there have been
>>> no issues at all, including with Jumbo frames.
>>
>> Thirded. :-) Same thing here, even with generic Intel 1 GB Ethernet cards.
>>
>> ***
>> Gilbert Sebenste 
>> (My opinions only!)  **
>> ***
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
> Thanks. Looks good.
>
> I just looked around - looks like manufacturers tend not to list the
> chipset in their NIC specifications (like here, for instance:
> http://www.trendnet.com/products/proddetail.asp?prod=140_TEG-PCITXR&cat=14
> )
>
> Is there a list somewhere out there listing what card features what chipset?
>
> It definitely looks like it is best to just stick to the better
> chipsets - might be a little more expensive but definitely worth the
> money.

You get what you pay for -- this is a valid rule of thumb throughout the 
whole life.

> Thanks.
>
> Boris.

Timo
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread m . roth
Boris Epstein wrote:
> Hello listmates,
>
> As some of you may know we have been having a really bad problem with
> Realtek Semiconductor Co., Ltd. RTL-8169 cards. See here for details:
>
> http://forum.nginx.org/read.php?24,140124,140224
>
> So now my question is, what PCI 1 Gbit/s Ethernet adapters should I
> use under CentOS? If you have had a consistent positive experience
> with any particular chipset/brand please speak up.
>
I *think* most of our servers have Broadcoms.

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Boris Epstein
On Wed, Dec 1, 2010 at 2:29 PM, Gilbert Sebenste
 wrote:
> On Wed, 1 Dec 2010, Steve Thompson wrote:
>
>> On Wed, 1 Dec 2010, Timo Schoeler wrote:
>>
>>> Intel. Broadcom. That's what we use here w/o any issues; however, there
>>> are some Intel NICs that are *not* able to handle Jumbo Frames due to an
>>> internal design glitch.
>>
>> Seconded. I have a load of Intel 82576 and 82571EB's, and there have been
>> no issues at all, including with Jumbo frames.
>
> Thirded. :-) Same thing here, even with generic Intel 1 GB Ethernet cards.
>
> ***
> Gilbert Sebenste                                                     
> (My opinions only!)                                                  **
> ***
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Thanks. Looks good.

I just looked around - looks like manufacturers tend not to list the
chipset in their NIC specifications (like here, for instance:
http://www.trendnet.com/products/proddetail.asp?prod=140_TEG-PCITXR&cat=14
)

Is there a list somewhere out there listing what card features what chipset?

It definitely looks like it is best to just stick to the better
chipsets - might be a little more expensive but definitely worth the
money.

Thanks.

Boris.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Gilbert Sebenste
On Wed, 1 Dec 2010, Steve Thompson wrote:

> On Wed, 1 Dec 2010, Timo Schoeler wrote:
>
>> Intel. Broadcom. That's what we use here w/o any issues; however, there
>> are some Intel NICs that are *not* able to handle Jumbo Frames due to an
>> internal design glitch.
>
> Seconded. I have a load of Intel 82576 and 82571EB's, and there have been
> no issues at all, including with Jumbo frames.

Thirded. :-) Same thing here, even with generic Intel 1 GB Ethernet cards.

***
Gilbert Sebenste 
(My opinions only!)  **
***
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Steve Thompson
On Wed, 1 Dec 2010, Timo Schoeler wrote:

> Intel. Broadcom. That's what we use here w/o any issues; however, there
> are some Intel NICs that are *not* able to handle Jumbo Frames due to an
> internal design glitch.

Seconded. I have a load of Intel 82576 and 82571EB's, and there have been 
no issues at all, including with Jumbo frames.

Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fsck - and there was much rejoicing

2010-12-01 Thread Lamar Owen
On Wednesday, December 01, 2010 02:01:35 pm m.r...@5-cent.us wrote:
> Looks like the fsck bug has been stomped! I did a 960G drive this morning,
> and I'm 90% of the way through a 1.4T drive, both of which have *lots* of
> files and hard links, and it has *not* hung at 70.1%, and is running at
> reasonable speed.

Hey, let us know how long that 1.4T fsck takes if you don't mind.  Longwinded 
e2fsck's are a bane on reboot times on critical VM's, and I have a number of 
VM's with 2TB ext3 filesystems, some of which haven't had an fsck in. well, 
too long. 

And I'll echo the kudos to the intrepid bug-fixers.  Long and interminable 
e2fsck's have been with us a long time.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Timo Schoeler
On 12/01/2010 08:12 PM, Boris Epstein wrote:
> Hello listmates,
>
> As some of you may know we have been having a really bad problem with
> Realtek Semiconductor Co., Ltd. RTL-8169 cards. See here for details:
>
> http://forum.nginx.org/read.php?24,140124,140224
>
> So now my question is, what PCI 1 Gbit/s Ethernet adapters should I
> use under CentOS? If you have had a consistent positive experience
> with any particular chipset/brand please speak up.

Well, Realcrap is known to be crap everywhere. Ask the OpenBSD guys. ;)

Intel. Broadcom. That's what we use here w/o any issues; however, there 
are some Intel NICs that are *not* able to handle Jumbo Frames due to an 
internal design glitch.

HTH,

Timo

> Thanks.
>
> Boris.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread Lamar Owen
On Wednesday, December 01, 2010 10:04:58 am Johan Scheepers wrote:
> Kindly please a step x step manner in which to accomplish to enable mp3 
> please.

The Fluendo MP3 decode plugin for gstreamer is no-cost, and is fully licensed 
for MP3 playback.  It should work for any gstreamer-enabled player.  It's 
license is non-free, so if that's a problem.

Since most of my CentOS boxes are servers, and those CentOS workstations I do 
have don't have or use sound, I haven't tested the Fluendo MP3 plugin on 
CentOS, but the RPM installs fine on a box here.

I purchased and use the Fluendo codec pack here, since even though I'm the one 
responsible for the licensing and patent compliance audits, fudging the rules 
just seems wrong for me, and comes across as hypocritical when I catch someone 
else fudging on licensing of software.  Same with DVD playback; the Fluendo 
player, while spartan, is fully legal to use watching encrypted DVD content on 
Linux.  

While the MP3 playback plugin is no cost, the full codec pack and the DVD 
player do have a price, much like the same things on Windows, although I sure 
wish I could convert all those PowerDVD licenses I got with DVD drives from 
Windows to Linux for no cost, but, oh well.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] 1 Gbit/s Ethernet NIC under CentOS

2010-12-01 Thread Boris Epstein
Hello listmates,

As some of you may know we have been having a really bad problem with
Realtek Semiconductor Co., Ltd. RTL-8169 cards. See here for details:

http://forum.nginx.org/read.php?24,140124,140224

So now my question is, what PCI 1 Gbit/s Ethernet adapters should I
use under CentOS? If you have had a consistent positive experience
with any particular chipset/brand please speak up.

Thanks.

Boris.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] fsck - and there was much rejoicing

2010-12-01 Thread m . roth
Looks like the fsck bug has been stomped! I did a 960G drive this morning,
and I'm 90% of the way through a 1.4T drive, both of which have *lots* of
files and hard links, and it has *not* hung at 70.1%, and is running at
reasonable speed.

Thanks to the folks who got this one. I *really* needed to do this, esp.
to our backup drives.

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread samuel machua
If you use the rpmforge repo you can also get VLC too and between
Mplayer and VLC I have not found an audio format they wont play.


On Wed, 1 Dec 2010 10:15:30 -0500
"Brunner, Brian T."  wrote:

> 
> http://www.mplayerhq.hu/design7/news.html
> 
> Step-by-step mp3 play
> 
> http://ftp.freshrpms.net/pub/dag/packages/xmms/
> 
> Also works
> 
> You may try 
> rpm -Uhv
> http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.
> rf.i386.rpm 
> Then
> yum install xmms xmms-skins xmms-mp3
> yum install gstreamer-plugins-bad
> yum install gstreamer-plugins-ugly
> 
> Another path to the answer
> ftp://ftp.pbone.net/mirror/rpm.livna.org/fedora/6/i386/audacious-plugins
> -nonfree-mp3-1.3.2-1.lvn6.i386.rpm
> ftp://ftp.pbone.net/mirror/www-ccrma.stanford.edu/planetccrma/mirror/fed
> ora/linux/extras/6/i386/audacious-plugins-1.3.3-1.fc6.i386.rpm
> ftp://ftp.pbone.net/mirror/www-ccrma.stanford.edu/planetccrma/mirror/fed
> ora/linux/extras/6/i386/audacious-1.3.2-1.fc6.i386.rpm
> ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/linux/e
> xtras/6/i386/audacious-libs-1.3.2-1.fc6.i386.rpm
> 
> I'm sorry you asked a question to which there are MANY correct
> answers. Here at work I'm stuck with a windows box and a sounless
> centos box; at home my centos box just plays what I tell it to so I
> have no recollection of exactly what I did (besides install and
> upgrade all) to get as happy as I am.
> 
> > -Original Message-
> > From: centos-boun...@centos.org 
> > [mailto:centos-boun...@centos.org] On Behalf Of Johan Scheepers
> > Sent: Wednesday, December 01, 2010 10:05 AM
> > To: centos
> > Subject: [CentOS] centos 5.5 - using mp3
> > 
> > Good day,
> > 
> > Been googling about this matter.
> > Afraid I am now confused.
> > Too many options..: for/against/whatever.
> > Some is years ago.
> > 
> > Kindly please a step x step manner in which to accomplish to 
> > enable mp3 please.
> > Thanks
> > Johan
> > 
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> > 
> ***
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom
> they are addressed. If you have received this email in error please
> notify the system manager. This footnote also confirms that this
> email message has been swept for the presence of computer viruses.
> www.Hubbell.com - Hubbell Incorporated**
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread m . roth
cybernet wrote:
> centOS 5.5 is for servers not for desktops, please get use to that
> use another distribution like ... a very popular one for desktops
>
Why? We use it a lot, here where I work, and I use it at home - a) I like
real stability, and b) I don't want to have to think about the differences
between the machine I use all day at work, and what I need to do on my
system at home. And mplayer works just fine at both.

 mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread Scot P. Floess

For my VMs I definitely use CentOS for anything graphical - like a 
desktop...  Of course, my bare metal box @ home is running F14...

I think when CentOS 6 is released, that may not be even close to true :) 
I'm running RHEL 6 @ work as my desktop  - it has a fairly decent version 
of KDE (4.3  specifically) - and this is on a laptop -> its great ;)


On Wed, 1 Dec 2010, Brunner, Brian T. wrote:

>>> centOS 5.5 is for servers not for desktops,
>
> Says who?  Says where?
>
> I think the majority of the posters here use Centos as their desktop for
> reading and posting in this list.
>

-- 
Scot P. Floess


RHCT  (Certificate Number 605010084735240)

Chief Architect FlossWare  http://sourceforge.net/projects/flossware
http://flossware.sourceforge.net
https://github.com/organizations/FlossWare

Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIMhttp://sourceforge.net/projects/javapim
Chief Architect Keros  http://sourceforge.net/projects/keros
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread Brunner, Brian T.

>> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of cybernet
>> Sent: Wednesday, December 01, 2010 1:20 PM
>> To: CentOS mailing list
>> Subject: Re: [CentOS] centos 5.5 - using mp3

>> centOS 5.5 is for servers not for desktops, 

Says who?  Says where?

I think the majority of the posters here use Centos as their desktop for
reading and posting in this list.

***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread Timo Schoeler
On 12/01/2010 07:19 PM, cybernet wrote:
> centOS 5.5 is for servers not for desktops, please get use to that
> use another distribution like ... a very popular one for desktops

Sorry, but this is nonsense. I myself run CentOS on my workstation at 
the office (heaviest duty network admin, I wouldn't want any other Linux 
distro running there) as well as at home. Ah, yes, and I even watch 
videos there. And use Flash(tm)! ;)

Cheers...

> 
> *From:* Johan Scheepers 
> *To:* centos 
> *Sent:* Wed, December 1, 2010 5:04:58 PM
> *Subject:* [CentOS] centos 5.5 - using mp3
>
> Good day,
>
> Been googling about this matter.
> Afraid I am now confused.
> Too many options..: for/against/whatever.
> Some is years ago.
>
> Kindly please a step x step manner in which to accomplish to enable mp3
> please.
> Thanks
> Johan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread cybernet
centOS 5.5 is for servers not for desktops, please get use to that
use another distribution like ... a very popular one for desktops




From: Johan Scheepers 
To: centos 
Sent: Wed, December 1, 2010 5:04:58 PM
Subject: [CentOS] centos 5.5 - using mp3

Good day,

Been googling about this matter.
Afraid I am now confused.
Too many options..: for/against/whatever.
Some is years ago.

Kindly please a step x step manner in which to accomplish to enable mp3 
please.
Thanks
Johan

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



  ___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2010-12-01 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/01/2010 10:19 AM, m.r...@5-cent.us wrote:
> On this thread, I'm speaking with my manager, and the other admin comes
> in, ranting about selinux, and that he's going to file a bug against it
> with RH Seems he installed RHEL6, and had the misfortune of having an
> older Sun keyboard, and may have hit the  key when entering the
> root password... and he couldn't log in. So he rebooted to single user
> mode, and ran passwd... which sat there for a while, then quit, with no
> messages. Then he turned off selinux, and passwd worked... so the whole
> selinux thing was a pointless and irritating exercise.
> 
> Of course, if selinux had stopped him from turning enforcing off, he'd
> have had to reboot from the rescue disk, at the least, and reinstall at
> the worst.
> 
> The bigger question is why selinux when the system is in single user mode,
> and offline. If someone has console access, and shouldn't have, you have
> management problems, not o/s security problems.
> 
> mark
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

This was a bug that has been fixed or will be fixed in the next release.
 Preview available in

http://people.redhat.com/dwalsh/SELinux/RHEL6/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkz2kDgACgkQrlYvE4MpobM4UwCg4tP5dDTysKAMSa5q+eXyWTbq
W3UAoOlBoR0Bhlvbz2ZowrXEKlqSK3vX
=TyCv
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to separate individual logs?

2010-12-01 Thread Les Mikesell
On 12/1/2010 11:14 AM, John Doe wrote:
> From: hadi motamedi
>
>> On 12/1/10, John Doe  wrote:
>>> Ok,  last try...
>>> Did you copy/pasted my code?
>>> Did you type  it?
>>> Saying just that there's a syntax error without showing the code you  used
>>> does
>>> not help...
>> Please find  below the code that I tried :
>> cat Edit3 | tr -d "\r" | while read LINE;  do
>> echo "$LINE" | grep -q  '>\.\.'
>> if [ $? -eq 0 ];  then
>> LOGFILE=`echo $LINE | cut -d' ' -f1`.log
>> else
>> echo "$LINE">>  $LOGFILE
>> fi
>> done
>> Please do me favor and correct me on my  mistakes.
>
> I copy/pasted the code above and it works fine...
> If I indent it like mine, they are identical.
> Check that ftp does not add control chars.
> You run it with bash, right?
> Ask your sysadmin/colegue to help you.

If the first line of the input file used doesn't match the pattern you'd 
probably get an error in the redirect since $LOGFILE would not be set.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any news on an updated php 5.2 version in extras/testing?

2010-12-01 Thread robert mena
Thanks.  I'll do it later tonight.

On Wed, Dec 1, 2010 at 8:17 AM, Karanbir Singh  wrote:

> On 12/01/2010 11:54 AM, robert mena wrote:
> > Hi,
> >
> > I've being using the 5.2.10 that is in testing in a production
> > environment for more than six months without any problem.  I am
> > wondering if/when we are going to see a 5.2.14 version there and if the
> > recently disclosure of a 5.1.6 security update affects the 5.2.10 that
> > is in testing.
>
> If you file an issue request at bugs.centos.org; i'll investigate
>
> - KB
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to separate individual logs?

2010-12-01 Thread John Doe
From: hadi motamedi 

> On 12/1/10, John Doe  wrote:
> > Ok,  last try...
> > Did you copy/pasted my code?
> > Did you type  it?
> > Saying just that there's a syntax error without showing the code you  used
> > does
> > not help...
> Please find  below the code that I tried :
> cat Edit3 | tr -d "\r" | while read LINE;  do
> echo "$LINE" | grep -q  '>\.\.'
> if [ $? -eq 0 ];  then
> LOGFILE=`echo $LINE | cut -d' ' -f1`.log
> else
> echo "$LINE"  >> $LOGFILE
> fi
> done
> Please do me favor and correct me on my  mistakes.

I copy/pasted the code above and it works fine...
If I indent it like mine, they are identical.
Check that ftp does not add control chars.
You run it with bash, right?
Ask your sysadmin/colegue to help you.

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 70, Issue 1

2010-12-01 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.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CESA-2010:0919 Moderate CentOS 5 x86_64 php Update
  (Karanbir Singh)
   2. CESA-2010:0919 Moderate CentOS 5 i386 php Update (Karanbir Singh)
   3. CEBA-2010:0916  CentOS 5 i386 sox Update (Karanbir Singh)
   4. CEBA-2010:0916  CentOS 5 x86_64 sox Update (Karanbir Singh)
   5. CEBA-2010:0914  CentOS 5 i386 openldap Update (Karanbir Singh)
   6. CEBA-2010:0914  CentOS 5 x86_64 openldap Update (Karanbir Singh)
   7. CESA-2010:0926 Moderate CentOS 5 i386 krb5 Update (Karanbir Singh)
   8. CESA-2010:0926 Moderate CentOS 5 x86_64 krb5  Update
  (Karanbir Singh)


--

Message: 1
Date: Tue, 30 Nov 2010 12:21:15 +
From: Karanbir Singh 
Subject: [CentOS-announce] CESA-2010:0919 Moderate CentOS 5 x86_64 php
Update
To: centos-annou...@centos.org
Message-ID: <20101130122115.ga32...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2010:0919 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0919.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
bd94919f4e7d719ea6d6ffc09ad08363  php-5.1.6-27.el5_5.3.x86_64.rpm
815e3b4b1bb1b9c91b18fbd3b3976031  php-bcmath-5.1.6-27.el5_5.3.x86_64.rpm
801854cece78bacac8c2e357a492b959  php-cli-5.1.6-27.el5_5.3.x86_64.rpm
80ef6bf2662be7aa3640b5ec9a11d93f  php-common-5.1.6-27.el5_5.3.x86_64.rpm
58ae385a4c27d6f3fdb94b4c264efbb7  php-dba-5.1.6-27.el5_5.3.x86_64.rpm
a4046211569cb81b667c7faec16f0020  php-devel-5.1.6-27.el5_5.3.x86_64.rpm
8f2eaaa46cbcddcfbddb5cc9cb0245c2  php-gd-5.1.6-27.el5_5.3.x86_64.rpm
abd65b47bb6433701ce2d7c26c988b2c  php-imap-5.1.6-27.el5_5.3.x86_64.rpm
f6247642ed89fa1d84048e383f321733  php-ldap-5.1.6-27.el5_5.3.x86_64.rpm
955b93968969cd39a4c337e29993b94e  php-mbstring-5.1.6-27.el5_5.3.x86_64.rpm
7f5a39ea586631b9ae7236a11a688d3a  php-mysql-5.1.6-27.el5_5.3.x86_64.rpm
bfb0f5a77bfd40c698fe994c084df24e  php-ncurses-5.1.6-27.el5_5.3.x86_64.rpm
bdb718d4f8f09e1b8a53bf042608b608  php-odbc-5.1.6-27.el5_5.3.x86_64.rpm
198301d2bdef3bf8644a5349062f46ec  php-pdo-5.1.6-27.el5_5.3.x86_64.rpm
fc9f16c941ca256bf6a116419c3cadc7  php-pgsql-5.1.6-27.el5_5.3.x86_64.rpm
2e1c23d9679bb0bf5333673af74af0aa  php-snmp-5.1.6-27.el5_5.3.x86_64.rpm
8b2be33b42905f194dbbd6137c60d64b  php-soap-5.1.6-27.el5_5.3.x86_64.rpm
3f56d9ab23a6e03f6b6fd8e893ffe421  php-xml-5.1.6-27.el5_5.3.x86_64.rpm
8ed1549778bf55f623f1670ab4682b0d  php-xmlrpc-5.1.6-27.el5_5.3.x86_64.rpm

Source:
3c2b12751a0c7058e50f24a100016f3b  php-5.1.6-27.el5_5.3.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net



--

Message: 2
Date: Tue, 30 Nov 2010 12:21:14 +
From: Karanbir Singh 
Subject: [CentOS-announce] CESA-2010:0919 Moderate CentOS 5 i386 php
Update
To: centos-annou...@centos.org
Message-ID: <20101130122114.ga32...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2010:0919 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2010-0919.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
e90a553ce2b477655ade6857cb92ff8b  php-5.1.6-27.el5_5.3.i386.rpm
998fe7e8cadf6962db48d542ef85bec6  php-bcmath-5.1.6-27.el5_5.3.i386.rpm
f78405ab3e7c893fd45f82550943a580  php-cli-5.1.6-27.el5_5.3.i386.rpm
d523c55175f320b7c9c98dd40b848ea3  php-common-5.1.6-27.el5_5.3.i386.rpm
1b558ba03bbc1ba228dbedd03bb79c51  php-dba-5.1.6-27.el5_5.3.i386.rpm
cc702d8a16eb6387272bdfe24ea5e1b3  php-devel-5.1.6-27.el5_5.3.i386.rpm
dcc71667e0e1b4d51f3a51efba8f6233  php-gd-5.1.6-27.el5_5.3.i386.rpm
eae1d7cb874a6d5ecc3933eeb2eed23a  php-imap-5.1.6-27.el5_5.3.i386.rpm
ec9738bb31fc11f68b4ab405664c3ac8  php-ldap-5.1.6-27.el5_5.3.i386.rpm
b5af750e59edb907fa7474d3b741bef9  php-mbstring-5.1.6-27.el5_5.3.i386.rpm
f88f5f2b4d80a6c5be4490133536b695  php-mysql-5.1.6-27.el5_5.3.i386.rpm
e8ee618a6cccd9be0c26fd9bf1acbf5f  php-ncurses-5.1.6-27.el5_5.3.i386.rpm
f4578e41664391dd89c2317656fb7416  php-odbc-5.1.6-27.el5_5.3.i386.rpm
02694764673bd9a0da4fc48e50f071f8  php-pdo-5.1.6-27.el5_5.3.i386.rpm
b6b1cbc6eea7bb8284b896053464d98e  php-pgsql-5.1.6-27.el5_5.3.i386.rpm
81732ae086514f3eb9235a7135b05de4  php-snmp-5.1.6-27.el5_5.3.i386.rpm
003765ac355726cca0685760ef2a0127  php-soap-5.1.6-27.el5_5.3.i386.rpm

Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread m . roth
Johan Scheepers wrote:
> Good day,
>
> Been googling about this matter.
> Afraid I am now confused.
> Too many options..: for/against/whatever.
> Some is years ago.
>
> Kindly please a step x step manner in which to accomplish to enable mp3
> please.

Install mplayer. There are a number of front-ends to it, as well.

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2010-12-01 Thread m . roth
On this thread, I'm speaking with my manager, and the other admin comes
in, ranting about selinux, and that he's going to file a bug against it
with RH Seems he installed RHEL6, and had the misfortune of having an
older Sun keyboard, and may have hit the  key when entering the
root password... and he couldn't log in. So he rebooted to single user
mode, and ran passwd... which sat there for a while, then quit, with no
messages. Then he turned off selinux, and passwd worked... so the whole
selinux thing was a pointless and irritating exercise.

Of course, if selinux had stopped him from turning enforcing off, he'd
have had to reboot from the rescue disk, at the least, and reinstall at
the worst.

The bigger question is why selinux when the system is in single user mode,
and offline. If someone has console access, and shouldn't have, you have
management problems, not o/s security problems.

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.5 - using mp3

2010-12-01 Thread Brunner, Brian T.

http://www.mplayerhq.hu/design7/news.html

Step-by-step mp3 play

http://ftp.freshrpms.net/pub/dag/packages/xmms/

Also works

You may try 
rpm -Uhv
http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.
rf.i386.rpm 
Then
yum install xmms xmms-skins xmms-mp3
yum install gstreamer-plugins-bad
yum install gstreamer-plugins-ugly

Another path to the answer
ftp://ftp.pbone.net/mirror/rpm.livna.org/fedora/6/i386/audacious-plugins
-nonfree-mp3-1.3.2-1.lvn6.i386.rpm
ftp://ftp.pbone.net/mirror/www-ccrma.stanford.edu/planetccrma/mirror/fed
ora/linux/extras/6/i386/audacious-plugins-1.3.3-1.fc6.i386.rpm
ftp://ftp.pbone.net/mirror/www-ccrma.stanford.edu/planetccrma/mirror/fed
ora/linux/extras/6/i386/audacious-1.3.2-1.fc6.i386.rpm
ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/linux/e
xtras/6/i386/audacious-libs-1.3.2-1.fc6.i386.rpm

I'm sorry you asked a question to which there are MANY correct answers. 
Here at work I'm stuck with a windows box and a sounless centos box; at
home my centos box just plays what I tell it to so I have no
recollection of exactly what I did (besides install and upgrade all) to
get as happy as I am.

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Johan Scheepers
> Sent: Wednesday, December 01, 2010 10:05 AM
> To: centos
> Subject: [CentOS] centos 5.5 - using mp3
> 
> Good day,
> 
> Been googling about this matter.
> Afraid I am now confused.
> Too many options..: for/against/whatever.
> Some is years ago.
> 
> Kindly please a step x step manner in which to accomplish to 
> enable mp3 please.
> Thanks
> Johan
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centos 5.5 - using mp3

2010-12-01 Thread Johan Scheepers
Good day,

Been googling about this matter.
Afraid I am now confused.
Too many options..: for/against/whatever.
Some is years ago.

Kindly please a step x step manner in which to accomplish to enable mp3 
please.
Thanks
Johan

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rsyslog as default syslog daemon?

2010-12-01 Thread Andrej Moravcik
James Pearson wrote:
> 
> I think your problem is that you did 'chkconfig --del syslog' - as the 
> man page states:
> 
> --del name
> The  service  is removed from chkconfig management, and any sym-
> bolic links in /etc/rc[0-6].d which pertain to it are removed.
> 
> Note that future package installs for this service may run  chk-
> config  --add,  which  will re-add such links. To disable a ser-
> vice, run chkconfig name off.
> 
> I believe you should have done 'chkconfig syslog off' instead.
> 
> We use rsyslog instead of sysklogd and don't get this problem.

Thank you James, you are right, 'chkconfig syslog off; chkconfig rsyslog
on' solved this problem.

Andrej

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any news on an updated php 5.2 version in extras/testing?

2010-12-01 Thread Leonard den Ottolander
On Wed, 2010-12-01 at 13:50 +0100, Leonard den Ottolander wrote:
> All these vulnerabilities except for the last one
> (https://www.redhat.com/security/data/cve/CVE-2010-3870.html /
> http://bugs.php.net/bug.php?id=49687) are fixed in PHP-5.2.14. For this
> one issue you might need to use the patch from the latest upstream SRPM.

http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/xml/xml.c?r1=293146&r2=305055
is the fix for the 5.2 branch which is not yet in the released 5.2.14.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] tmpfs says "No space left on device"

2010-12-01 Thread Brunner, Brian T.
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Adam Tauno Williams
> Sent: Wednesday, December 01, 2010 9:14 AM
> To: centos@centos.org
> Subject: [CentOS] tmpfs says "No space left on device"
> 
> I have a server where we use tmpfs as a cache for temporary 
> files used by a web application.  But occasionally this tmpfs 
> thinks it is full when it isn't.
> 
> [r...@flask-yellow tmpfs]# touch file
> touch: cannot touch `file': No space left on device 
> [r...@flask-yellow tmpfs]# df -k
> Filesystem   1K-blocks  Used Available Use% Mounted on
> none393216 19296373920   5% /srv/tmpfs

What does lsof show regarding file open on this device?  I'm thinking
files opened, then unlinked, but file descriptors not yet closed.
***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] tmpfs says "No space left on device"

2010-12-01 Thread James Hogarth
On 1 December 2010 14:13, Adam Tauno Williams  wrote:
> I have a server where we use tmpfs as a cache for temporary files used
> by a web application.  But occasionally this tmpfs thinks it is full
> when it isn't.
>
> [r...@flask-yellow tmpfs]# touch file
> touch: cannot touch `file': No space left on device
> [r...@flask-yellow tmpfs]# df -k
> Filesystem           1K-blocks      Used Available Use% Mounted on
> none                    393216     19296    373920   5% /srv/tmpfs
>
> Simply unmounting and remounting /srv/tmpfs resolves the issue.
>
> 2.6.18-164.11.1.el5
>
> Any suggestions as to the cause of this or workarounds are appreciated.
>

Webserver process holding the file handles open so that the space
doesn't get released maybe?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] tmpfs says "No space left on device"

2010-12-01 Thread Adam Tauno Williams
I have a server where we use tmpfs as a cache for temporary files used
by a web application.  But occasionally this tmpfs thinks it is full
when it isn't.

[r...@flask-yellow tmpfs]# touch file
touch: cannot touch `file': No space left on device
[r...@flask-yellow tmpfs]# df -k
Filesystem   1K-blocks  Used Available Use% Mounted on
none393216 19296373920   5% /srv/tmpfs

Simply unmounting and remounting /srv/tmpfs resolves the issue.

2.6.18-164.11.1.el5

Any suggestions as to the cause of this or workarounds are appreciated.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Guide to SELinux

2010-12-01 Thread Rob Del Vecchio
This is wonderful!  Thank you very much!

Rob

On Wed, Dec 1, 2010 at 12:58 AM, Eero Volotinen wrote:

> 2010/12/1 Rob Del Vecchio :
> > Since the "SELinux - way of the future or good idea but !!!" thread is
> deep
> > in heated discussion, I decided not to derail to ask a simple question.
> > I found this guide for
> > SELinux: http://www.linux-books.us/centos_0005.php  and it looks like
> it's
> > straight out of RedHat.
> > However, it's dated 2005.  Will this be sufficient to help understand a
> > CentOS 5 - or 6 - installation of SELinux?
> > Is there a more recent guide (freely) available out there?
>
> See docs.redhat.com @
>
> http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Security-Enhanced_Linux/index.html
>
> --
> Eero
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2010-12-01 Thread Eero Volotinen
2010/12/1 Nico Kadel-Garcia :

>> Anyone willing to contribute funds (or time) to such a study?  It would be
>> educational experience and good PR, at the least.
>
> Oh, I know the holes and which would be straightforward to get to.
> There's generally enough lower hanging fruit with NFS stored
> passwords, email with passwords, and poorly managed elevation via SSH
> keys as policies before I even got there that this protection is like
> putting a bike lock on a jello mold.

How about production like server:

- firewall installed
- selinux disabled
- all services except ssh and httpd disabled
-> sshd login enabled only with ssh keys and httpd protected via mod_security ?
- cis hardened fixes applied to os
- latest kernel patched applied

--
Eero
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any news on an updated php 5.2 version in extras/testing?

2010-12-01 Thread David Hrbáč
Dne 1.12.2010 13:17, Karanbir Singh napsal(a):
> If you file an issue request at bugs.centos.org; i'll investigate
> 
> - KB

I'd say the bigger issue is 5.1.6 C4Plus php, which is not maintained
together with C4Plus pecl/pear modules. C4Plus php is installed on many
boxes over the world.
DH
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any news on an updated php 5.2 version in extras/testing?

2010-12-01 Thread Leonard den Ottolander
Hi,

On Wed, 2010-12-01 at 07:54 -0400, robert mena wrote:
> I am wondering if/when we are going to see a 5.2.14 version there and
> if the recently disclosure of a 5.1.6 security update affects the
> 5.2.10 that is in testing.

Red Hat just put out this security alert concerning multiple PHP
vulnerabilities, which is probably what you are speaking off:
https://rhn.redhat.com/errata/RHSA-2010-0919.html

All these vulnerabilities except for the last one
(https://www.redhat.com/security/data/cve/CVE-2010-3870.html /
http://bugs.php.net/bug.php?id=49687) are fixed in PHP-5.2.14. For this
one issue you might need to use the patch from the latest upstream SRPM.

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2010-12-01 Thread Nico Kadel-Garcia
On Wed, Dec 1, 2010 at 12:52 AM, Geoff Galitz  wrote:
 I would guess no one knows.  But all of my CentOS installs are OOB as
 concerning SELinux, except the two scalix installs, which have some
 custom
 'stuff' thanks to the scalix instance naming.
>>>
>>> All I know is at the last two companies I worked at - AT&T, a small team
>>> building software for the NOC, a smaller root CA, and here at the federal
>>> agency I'm at, we either turned it off, or have it set to permissive.
>>
>> I disabled it on the last 1000 hosts *I* installed
>
>
> Hmmm... it would be interesting take some Centos systems with production
> like deployments (say 3 with SELinux and 3 without) and ask a professional
> pen-tester to try to get into them.
>
> Anyone willing to contribute funds (or time) to such a study?  It would be
> educational experience and good PR, at the least.

Oh, I know the holes and which would be straightforward to get to.
There's generally enough lower hanging fruit with NFS stored
passwords, email with passwords, and poorly managed elevation via SSH
keys as policies before I even got there that this protection is like
putting a bike lock on a jello mold.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any news on an updated php 5.2 version in extras/testing?

2010-12-01 Thread Karanbir Singh
On 12/01/2010 11:54 AM, robert mena wrote:
> Hi,
>
> I've being using the 5.2.10 that is in testing in a production
> environment for more than six months without any problem.  I am
> wondering if/when we are going to see a 5.2.14 version there and if the
> recently disclosure of a 5.1.6 security update affects the 5.2.10 that
> is in testing.

If you file an issue request at bugs.centos.org; i'll investigate

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Any news on an updated php 5.2 version in extras/testing?

2010-12-01 Thread robert mena
Hi,

I've being using the 5.2.10 that is in testing in a production environment
for more than six months without any problem.  I am wondering if/when we are
going to see a 5.2.14 version there and if the recently disclosure of a
5.1.6 security update affects the 5.2.10 that is in testing.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to separate individual logs?

2010-12-01 Thread hadi motamedi
On 12/1/10, John Doe  wrote:
>
> Ok, last try...
> Did you copy/pasted my code?
> Did you type it?
> Saying just that there's a syntax error without showing the code you used
> does
> not help...
>
> JD
>
>
Sorry to forget to mention that I have copied your code from your
message into a text file and then ftp it to my centos 5.2 server and
make it executable by 'chmod +x'
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to separate individual logs?

2010-12-01 Thread hadi motamedi
On 12/1/10, John Doe  wrote:
>
> Ok, last try...
> Did you copy/pasted my code?
> Did you type it?
> Saying just that there's a syntax error without showing the code you used
> does
> not help...
>
> JD
>
Please find below the code that I tried :
cat Edit3 | tr -d "\r" | while read LINE; do
echo "$LINE" | grep -q  '>\.\.'
if [ $? -eq 0 ]; then
LOGFILE=`echo $LINE | cut -d' ' -f1`.log
else
echo "$LINE" >> $LOGFILE
fi
done
Please do me favor and correct me on my mistakes.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to separate individual logs?

2010-12-01 Thread John Doe
From: hadi motamedi 

>I even tried to make it as an script file and made it executable 
> but  still getting the following error:
> 'syntax error near unexpected token  'done'

Ok, last try...
Did you copy/pasted my code?
Did you type it?
Saying just that there's a syntax error without showing the code you used does 
not help...

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Converting to Raid1

2010-12-01 Thread Tom H
On Tue, Nov 30, 2010 at 12:17 PM, John Kennedy  wrote:
> On Tue, Nov 30, 2010 at 11:59, Matt  wrote:


>> Have a CentOS 4.x 32 bit server running on a single 500M SATA drive.
>> What is easiest way to convert too RAID 1 on it?  Anyone have a link?
>> Would be open to hardware or software just do not want to reinstall
>> the entire mess.


> Why would you mirror a single disk? You need to get another 500Gb hard drive
> to mirror with.

+1


> Once you get the second drive, you need to make sure LVM is installed.

Not really. You can choose not to use LVM.


> I think you then need to add your partitions as physical drives and partition
> the new drive to match your existing one.

I don't understand the above. Basically both disks have to be
partitioned in the same way and, assuming that sda is the current disk
and sdb is the new disk, you can do so with "sfdisk -d /dev/sda |
sfdisk /dev/sdb".
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Minimising disk I/O

2010-12-01 Thread Philix T.A
Hi Keith,

Looks like the Swapping will happen once the PC memory is exhausted
1) So your point of placing SWAP place in another spare disk is a good
decision
but we still have the Paging happening  which cant be avoided :)
2) Again moving the /var/log is another good part
but there are some locations under /var/  for eg /var/run which creates PID
,
 so why not moving /var/ to your spare instead of just moving /var/log

Just thoughts

Thanks
Philix


On Tue, Nov 30, 2010 at 12:08 AM, Keith Roberts  wrote:

> I've added a second IDE card to my system on the PCI bus,
> and added a small HDD on the Primary Master port for that
> IDE card.
>
> This drive shows up using the Gparted live CD as /dev/hde
> Which sounds about right.
>
> The other drives show up as /dev/hda (Primary Master) and
> /dev/hdc (Secondary Master). /dev/hdb is an empty removable
> drive caddy (Primary Slave) and /dev/hdd (Seconday Slave) is
> the DVD-RW drive.
>
> So I now have a maximum of 8 IDE ports - 4 on the IDE
> controller built into the motherboard (which BTW are all
> A-OK), and 4 on the IDE-PCI addon card.
>
> Vivard on the Ultimate Boot CD recognises the /dev/hde
> drive, as being on the PCI controller.
>
> I was also able to format the 2GB Samsung drive on /dev/hde
> as linux-swap using Gparted.
>
> The largest spare drive I have is ~7 GB, which might be
> enough for a linux-swap partition, and a /var/log partition.
>
> The idea is to have any logging and other intensive disk I/O
> on a spare disk drive, so as not wake up the main hard drive
> with the Linux root partition on it.
>
> I just want to write any 'disposable data' to a spare
> hard disk drive, and keep this seperated from stuff on my
> main root partition/linux installation.
>
> Kind Regards,
>
> Keith Roberts
>
> --
> In theory, theory and practice are the same;
> in practice they are not.
>
> This email was sent from my laptop with Centos 5.5
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos