Re: [CentOS] clamav

2014-06-03 Thread Les Mikesell
On Mon, Jun 2, 2014 at 8:36 PM, Emmett Culley wrote: > On 05/30/2014 02:59 PM, Les Mikesell wrote: > >> I don't think just installing the package makes it filter mail. If >> you want to really start from scratch you might try mimedefang to >> drive all your scanning/filtering, especially if you

[CentOS] parsing out adjacent text

2014-06-03 Thread Tim Dunphy
hey all, I'm trying to figure out how to use apache's mod_status module to figure out which of the web servers in a farm of six are processing more requests than others. I'm writing a script to grep out requests per second from the status module like this: [root@uszmpwslp014lc ~]# GET http://

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Patrick Bervoets
op 03-06-14 15:18, schreef Tim Dunphy: [root@uszmpwslp014lc ~]# GET http://$(hostname -i)/server-status | grep -i requests/sec 4.08 requests/sec - 80.9 kB/second - 19.8 kB/request That works ok. And next I'm grepping it back down and awking it to just the part I'm interested in: [root@usz

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Tim Dunphy
Guys, Thank you all for your input. I can't believe how helpful this list is and I'm very grateful. Ok so here is what I have so far of my script to get the number of apache requests to a given host: #!/bin/bash # this script parses mod_status to see which hosts are getting the most requests

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Marios Zindilis
On Tue, Jun 3, 2014 at 4:56 PM, Tim Dunphy wrote: > Guys, > > Thank you all for your input. I can't believe how helpful this list is and > I'm very grateful. Ok so here is what I have so far of my script to get the > number of apache requests to a given host: > > #!/bin/bash > > # this script pa

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Tim Dunphy
> > Try accessing the stats with the additional "?auto" suffix, it is meant to > be machine-readable, and is much shorter, e.g: > > http://$(hostname -i)/server-status/?auto Awesome tip! This is some of the output I get when I run this command: [root@uszmpwslp014lc script]# GET $(hostname -f)/s

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Tim Dunphy
Ok! So this is where my script is at this point: #!/bin/bash # this script parses mod_status to see which hosts are getting the most requests while true do echo "Time and date:" >> /tmp/apache_request_log /bin/date +"%D %H:%M:%S" >> /tmp/apache_request_log echo -e "\n" echo “hostname:” >> /tmp/

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Keith Keller
On 2014-06-03, Tim Dunphy wrote: > Ok! So this is where my script is at this point: I strongly suggest that if you are writing a program to use a better language. bash is really painful for this sort of task. Here's a Perl script that queries /server-status: http://www.perlmonks.org/?node_id=4

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Patrick Bervoets
op 03-06-14 16:32, schreef Tim Dunphy: What I need to figure out at this point is how to get the time and date info on the same line as it's category. ie get Time and date: 06/03/14 10:24:09 instead of Time and date: 06/03/14 10:24:09 printf "Time and date: $(/bin/date +"%D %H:%M:%S")\n" sol

[CentOS] [OT] OSX-10.9.3 cd ~'/ problem with spaces'

2014-06-03 Thread James B. Byrne
Apologies for this OT post. I need some help debugging a bash script. It just happens to be provided by Apple Inc. In a terminal session under OSX-10.9.3 I want do do this: cd ~/'Library/Application Support' Which is a simple enough request. However, OSX returns: cd /users/byrnejb/Library/App

[CentOS] Custom respin ISO prompting for discs

2014-06-03 Thread Karl MacMillan
I'm creating a custom install / respin ISO with updated packages and a kickstart - starting from CentOS 6.5 minimal install DVD. I'm generally following the directions from http://smorgasbork.com/component/content/article/35-linux/128-building-a-custom-centos-6-kickstart-disc-part-1 . I can create

Re: [CentOS] Realtek device 5249 kernel module for C6 - a request to epel

2014-06-03 Thread Ned Slider
On 03/06/14 08:35, Patrick Bervoets wrote: > Hi, > > I try to make my SD-reader work on a HP ZBook. > > lspci > 5d:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device > 5249 (rev 01) > > uname -a > Linux Antisana.psc-elsene.be 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 > 23:32:49

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Tim Dunphy
Ok this is what I came up with: #!/bin/bash # this script parses mod_status to see which hosts are getting the most requests while true do echo "Time and date: $(/bin/date +"%D %H:%M:%S")" >> /tmp/apache_request_log >> /tmp/apache_request_log echo “hostname: $(/bin/hostname -f)\n” >> /tmp/apach

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Stephen Harris
On Tue, Jun 03, 2014 at 11:55:55AM -0400, Tim Dunphy wrote: > while true > do > echo "Time and date: $(/bin/date +"%D %H:%M:%S")" >> > /tmp/apache_request_log >> /tmp/apache_request_log > echo ???hostname: $(/bin/hostname -f)\n??? >> /tmp/apache_request_log > echo ???host ip: $(/bin/hostname -i)?

Re: [CentOS] parsing out adjacent text

2014-06-03 Thread Bowie Bailey
On 6/3/2014 11:55 AM, Tim Dunphy wrote: > Ok this is what I came up with: > > #!/bin/bash > # this script parses mod_status to see which hosts are getting the most > requests > > while true > do > echo "Time and date: $(/bin/date +"%D %H:%M:%S")" >> > /tmp/apache_request_log >> /tmp/apache_request_

Re: [CentOS] [OT] OSX-10.9.3 cd ~'/ problem with spaces'

2014-06-03 Thread SilverTip257
On Tue, Jun 3, 2014 at 10:53 AM, James B. Byrne wrote: > Apologies for this OT post. I need some help debugging a bash script. It > just happens to be provided by Apple Inc. > > In a terminal session under OSX-10.9.3 I want do do this: > > cd ~/'Library/Application Support' > > Which is a simpl

Re: [CentOS] [OT] OSX-10.9.3 cd ~'/ problem with spaces'

2014-06-03 Thread Bill Campbell
On Tue, Jun 03, 2014, James B. Byrne wrote: >Apologies for this OT post. I need some help debugging a bash script. It >just happens to be provided by Apple Inc. > >In a terminal session under OSX-10.9.3 I want do do this: > >cd ~/'Library/Application Support' Works for me on my OS X 10.8.5 Macbo

Re: [CentOS] [OT] OSX-10.9.3 cd ~'/ problem with spaces'

2014-06-03 Thread Stephen Harris
On Tue, Jun 03, 2014 at 09:34:29AM -0700, Bill Campbell wrote: > On Tue, Jun 03, 2014, James B. Byrne wrote: > >Apologies for this OT post. I need some help debugging a bash script. It > >just happens to be provided by Apple Inc. > > > >In a terminal session under OSX-10.9.3 I want do do this: >

Re: [CentOS] [OT] OSX-10.9.3 cd ~'/ problem with spaces'

2014-06-03 Thread Paul Heinlein
On Tue, 3 Jun 2014, James B. Byrne wrote: Apologies for this OT post. I need some help debugging a bash script. It just happens to be provided by Apple Inc. In a terminal session under OSX-10.9.3 I want do do this: cd ~/'Library/Application Support' Try cd "${HOME}/Library/Application Sup

[CentOS] external esata RAID box, how to spin down drives when idle?

2014-06-03 Thread Fred Smith
I've posted before about my Venus DS3R Pro2, specifically in relation to using USB3. But this a different topic about the same device. It doesn't seem to do any power-saving on its own, i.e, the drives stay spinning continuosuly, 24X7. Setting the appropriate power-save options in the screen sav

Re: [CentOS] Newer version of ffmpeg for EL6?

2014-06-03 Thread Lists
On 05/24/2014 05:13 AM, Nux! wrote: > Otherwise, you can try some of the static builds people offer, e.g.: > http://ffmpeg.gusari.org/static/ (download and run, handy in some > scenarios) It's late, I was having an issue getting email for a while. This is exactly the solution we've been moving fo

Re: [CentOS] Mother board recommendation

2014-06-03 Thread Lists
On 05/16/2014 11:23 AM, m.r...@5-cent.us wrote: > hardware doesn't support ECC. > > Oh, right, *all* the servers here use ECC DIMMs. And you really, REALLY > don't want to go there: a) price, b) n/s is not buffered is not > registered, none of the above compatible in the same bank, and oh, yes, >

Re: [CentOS] Mother board recommendation

2014-06-03 Thread Keith Keller
On 2014-05-16, m.r...@5-cent.us wrote: >> > Not sure what you mean by lightweight, but I've been happy with Asus and > Gigabyte motherboards. STAY AWAY from Supermicro: we have a bunch of > servers with 64 cores - so we're talking high end - which we bought from > Penguin, and we've had a *bunch*

Re: [CentOS] Mother board recommendation

2014-06-03 Thread John R Pierce
On 6/3/2014 11:26 AM, Lists wrote: > ECC is such a horrible pain in the rear. seriously? where did you EVER get this from? any server thats storing data which is even remotely important, not having ECC means that soft bit errors go undetected, leading to VERY hard to detect data corruption.

Re: [CentOS] Mother board recommendation

2014-06-03 Thread Rainer Duffner
Am 03.06.2014 um 20:26 schrieb Lists : > On 05/16/2014 11:23 AM, m.r...@5-cent.us wrote: >> hardware doesn't support ECC. >> >> Oh, right, *all* the servers here use ECC DIMMs. And you really, REALLY >> don't want to go there: a) price, b) n/s is not buffered is not >> registered, none of the ab

Re: [CentOS] Mother board recommendation

2014-06-03 Thread Warren Young
On 6/3/2014 12:26, Lists wrote: > > Registered/Unregistered, CAS timing, > single/double/quad ranked, never mind voltages, and making sure your CPU > supports it! All of those specs are listed in the motherboard manual. If you're buying your RAM from a reseller that doesn't give you the correspo

Re: [CentOS] Mother board recommendation

2014-06-03 Thread Andrew Holway
On 16 May 2014 13:21, Joseph Hesse wrote: > Hello, > > I want to build a lightweight server and install centos. Does anyone > have a recommendation for a suitable motherboard? > At home I have two of these atom C2750 boards each with 32GB of ECC ram . They are extremely good, powerful and very

Re: [CentOS] Centos box and Cisco 3750 VLAN's

2014-06-03 Thread Boris Epstein
Les and everyone, Thanks! I have just redone the whole setup and discovered the following: the problem appears to have been on the Cisco side all along. The default (natiive) VLAN on the trunk port was set to VLAN 3. Apparently, it had to be set to VLAN 1. Once I did it the port started to work e

Re: [CentOS] Mother board recommendation

2014-06-03 Thread Lists
On 06/03/2014 11:52 AM, Rainer Duffner wrote: > It’s also a bit of a sorry showing for the admin putting together the system. Perhaps, perhaps not. Remember the old saw about simplicity and reliability? ECC ignores that saw completely, resulting in a complex, error prone hardware landscape fraugh

Re: [CentOS] Mother board recommendation

2014-06-03 Thread m . roth
Warren Young wrote: > On 6/3/2014 12:26, Lists wrote: >> >> Registered/Unregistered, CAS timing, >> single/double/quad ranked, never mind voltages, and making sure your CPU >> supports it! > > All of those specs are listed in the motherboard manual. If you're > buying your RAM from a reseller that

Re: [CentOS] Mother board recommendation

2014-06-03 Thread Rainer Duffner
Am 03.06.2014 um 22:39 schrieb m.r...@5-cent.us: > Warren Young wrote: >> On 6/3/2014 12:26, Lists wrote: >>> >>> Registered/Unregistered, CAS timing, >>> single/double/quad ranked, never mind voltages, and making sure your CPU >>> supports it! >> >> All of those specs are listed in the motherb

Re: [CentOS] Mother board recommendation

2014-06-03 Thread Lists
On 06/03/2014 01:53 PM, Rainer Duffner wrote: > That’s why you replace both. > Or, if you build your own servers in significant quantities, you’ve got to do > you’re own stock-keeping. > Need 24 hard drives? Buy 30! > Need 12 PSUs for 6 servers? Buy 16. This may be industry standard, and I underst

[CentOS] help regarding centOS 6.5- 32 bits

2014-06-03 Thread Uche Kingsley
hello, I am using Centos 6.4 (64 bits) but I want to install CentOS 6.5 32 bits which is compatible with the project am working on. Please how can I successfully install the 6.5 32 bits. Help needed please. thanks ___ CentOS mailing list CentOS@centos.o

Re: [CentOS] Mother board recommendation

2014-06-03 Thread John R Pierce
On 6/3/2014 2:58 PM, Lists wrote: > This may be industry standard, and I understand that. I just think that > it's a poor showing that this is what you have to do to take advantage > of technology meant to be more reliable than "consumer grade" stuff, > which somehow manages to be quite reliable ev

Re: [CentOS] Odd kernel panic, repeatable

2014-06-03 Thread Les Mikesell
On Tue, Jun 3, 2014 at 7:09 AM, mark wrote: > I had an old server die; we had another, same model, sitting around lightly > used, so I did what I've done before: swap the RAID card into that, swap the > drives, even putting them in the same bays as the dead one, and boot. > > Nope. 100% of the tim

Re: [CentOS] help regarding centOS 6.5- 32 bits

2014-06-03 Thread Digimer
On 03/06/14 06:35 PM, Uche Kingsley wrote: > hello, > > > I am using Centos 6.4 (64 bits) but I want to install CentOS 6.5 32 bits > which is compatible with the project am working on. Please how can I > successfully install the 6.5 32 bits. Help needed please. thanks It should install the same as

[CentOS] Realtek device 5249 kernel module for C6 - a request to epel

2014-06-03 Thread Patrick Bervoets
Hi, I try to make my SD-reader work on a HP ZBook. lspci 5d:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5249 (rev 01) uname -a Linux Antisana.psc-elsene.be 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Googling gave me

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

2014-06-03 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] Odd kernel panic, repeatable

2014-06-03 Thread mark
I had an old server die; we had another, same model, sitting around lightly used, so I did what I've done before: swap the RAID card into that, swap the drives, even putting them in the same bays as the dead one, and boot. Nope. 100% of the time, when it hits switching roots, it kernel panics.