[CentOS] Unable to grep 5 mins logs

2011-06-13 Thread ankush grover
Hi Friends! I need to prepare a script which will grep logs from the current time to previous 5 mins that is if the current time is Mon Jun 13 12:40:40 IST 2011 then all the logs between the interval Mon Jun 12:35 - 12:40 2011 should be grepped by the script and append it to another file. However,

Re: [CentOS] Unable to grep 5 mins logs

2011-06-13 Thread John R Pierce
On 06/13/11 12:36 AM, ankush grover wrote: > Hi Friends! > > I need to prepare a script which will grep logs from the current time > to previous 5 mins that is if the current time is Mon Jun 13 12:40:40 > IST 2011 then all the logs between the interval Mon Jun 12:35 - 12:40 > 2011 should be grepped

Re: [CentOS] Unable to grep 5 mins logs

2011-06-13 Thread Ljubomir Ljubojevic
John R Pierce wrote: > On 06/13/11 12:36 AM, ankush grover wrote: >> Hi Friends! >> >> I need to prepare a script which will grep logs from the current time >> to previous 5 mins that is if the current time is Mon Jun 13 12:40:40 >> IST 2011 then all the logs between the interval Mon Jun 12:35 - 12

[CentOS] Bash rotating tab completion with list

2011-06-13 Thread Dotan Cohen
I just got off a Windows 7 terminal which has rotating tab completion, this means that in the case of completion ambiguity the shell completes one of the possibilities, and subsequent tabs complete to different possibilities. This in contrast to bash's behaviour of simply printing a list of possibi

Re: [CentOS] Unable to grep 5 mins logs

2011-06-13 Thread ankush grover
Combine 2-3 greps: > > for (( i = 5; i>=0; i-- )) ; do grep `date "+%a"` | grep `date "+%b"` | > grep `date "+%d"` | grep `date "+%Y"` | $(date "+%R" -d "-$i > min") /var/ossec/logs/active-responses.log>>  /tmp/newlog.log;done > > Change order of greps to gain speed at first cutting part of lines w

[CentOS] CentOS-6 Status updates

2011-06-13 Thread James B. Byrne
I just want to say that I really, really, appreciate the information given on this site: http://qaweb.dev.centos.org/qa/calendar -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-

Re: [CentOS] Bash rotating tab completion with list

2011-06-13 Thread yonatan pingle
Hi Dotan, have you already installed this: http://download.fedora.redhat.com/pub/epel/5/x86_64/repoview/bash-completion.html On Mon, Jun 13, 2011 at 3:21 PM, Dotan Cohen wrote: > I just got off a Windows 7 terminal which has rotating tab completion, > this means that in the case of completion

Re: [CentOS] CentOS-6 Status updates

2011-06-13 Thread Devin Reade
--On Monday, June 13, 2011 10:23:54 AM -0400 "James B. Byrne" wrote: > I just want to say that I really, really, appreciate the information > given on this site: > > http://qaweb.dev.centos.org/qa/calendar Indeed. Even though it's not official, having a gut feel for approximate status sure hel

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

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

Re: [CentOS] CentOS-6 Status updates

2011-06-13 Thread Scott Silva
on 6/13/2011 7:23 AM James B. Byrne spake the following: > > I just want to say that I really, really, appreciate the information > given on this site: > > http://qaweb.dev.centos.org/qa/calendar > What I appreciate is the lack of fighting and "Is it done yet?" posts that were flowing out before

Re: [CentOS] CentOS-6 Status updates

2011-06-13 Thread Craig White
On Jun 13, 2011, at 9:10 AM, Scott Silva wrote: > on 6/13/2011 7:23 AM James B. Byrne spake the following: >> >> I just want to say that I really, really, appreciate the information >> given on this site: >> >> http://qaweb.dev.centos.org/qa/calendar >> > What I appreciate is the lack of fight

Re: [CentOS] Bash rotating tab completion with list

2011-06-13 Thread Dotan Cohen
On Mon, Jun 13, 2011 at 17:24, yonatan pingle wrote: > Hi Dotan, > > have you already installed this: > > http://download.fedora.redhat.com/pub/epel/5/x86_64/repoview/bash-completion.html > Nice, thanks. I was certain that I'm not the first to want this. Is there any way to configure this withou

Re: [CentOS] CentOS-6 Status updates

2011-06-13 Thread Paul Heinlein
On Mon, 13 Jun 2011, Devin Reade wrote: > (I'm another one of those who has been delaying deployment of some > new systems pending CentOS 6 due to wanting to maximize those > systems' useful lifetimes.) I was wondering if hardware vendors would see an uptick in sales around the time CentOS 6 b

Re: [CentOS] CentOS-6 Status updates

2011-06-13 Thread NOYK
No. Given the economy people are trying to make systems last as long as possible and this is just 6.0 not 6.1. Smart folks will test 6.0 to see how apps perform/behave and then wait till 6.1. Never go to a major revision.0 unless you are forced. -Original Message- From: centos-boun...@cen

[CentOS] Compiling PHP and MySQL

2011-06-13 Thread Dvorkin, Asya
Hi everyone, I need to install an older version of PHP - 5.2.16, which is not currently available through an official CentOS repo (as far as I can tell). In order to fulfill our developer's requirements, I've decided to just compile PHP and MySql from the source. Is there a way to find out wh

Re: [CentOS] Compiling PHP and MySQL

2011-06-13 Thread Athmane Madjoudj
On 06/13/2011 05:59 PM, Dvorkin, Asya wrote: > Hi everyone, > > I need to install an older version of PHP - 5.2.16, which is not currently > available through an official CentOS repo (as far as I can tell). > > In order to fulfill our developer's requirements, I've decided to just > compile PHP

Re: [CentOS] CentOS-6 Status updates

2011-06-13 Thread Scott Silva
on 6/13/2011 9:48 AM Paul Heinlein spake the following: > On Mon, 13 Jun 2011, Devin Reade wrote: > >> (I'm another one of those who has been delaying deployment of some >> new systems pending CentOS 6 due to wanting to maximize those >> systems' useful lifetimes.) > > I was wondering if hardwa

Re: [CentOS] Compiling PHP and MySQL

2011-06-13 Thread Eero Volotinen
2011/6/13 Dvorkin, Asya : > Hi everyone, > > I need to install an older version of PHP - 5.2.16, which is not currently > available through an official CentOS repo (as far as I can tell). > > In order to fulfill our developer's requirements, I've decided to just > compile  PHP and MySql from the

Re: [CentOS] Compiling PHP and MySQL

2011-06-13 Thread Athmane Madjoudj
On 06/13/2011 06:04 PM, Athmane Madjoudj wrote: > On 06/13/2011 05:59 PM, Dvorkin, Asya wrote: >> Hi everyone, >> >> I need to install an older version of PHP - 5.2.16, which is not >> currently available through an official CentOS repo (as far as I can >> tell). >> >> In order to fulfill our devel

Re: [CentOS] Compiling PHP and MySQL

2011-06-13 Thread Dvorkin, Asya
On Jun 13, 2011, at 1:09 PM, Eero Volotinen wrote: 2011/6/13 Dvorkin, Asya mailto:dvork...@umdnj.edu>>: Hi everyone, I need to install an older version of PHP - 5.2.16, which is not currently available through an official CentOS repo (as far as I can tell). In order to fulfill our developer's

Re: [CentOS] CentOS-6 Status updates

2011-06-13 Thread Paul Heinlein
On Mon, 13 Jun 2011, NOYK wrote: > Smart folks will test 6.0 to see how apps perform/behave and then > wait till 6.1. I beg to differ. Smart folks will test 6.0 and deploy it if performance is acceptable. > Never go to a major revision.0 unless you are forced. Never wait until revision.1 unle

Re: [CentOS] Compiling PHP and MySQL

2011-06-13 Thread Alexander Dalloz
Am 13.06.2011 19:12, schrieb Dvorkin, Asya: > http://iuscommunity.org/ > > Thank you. I've been to this website, but it has > php52-5.2.17-1.ius.el5.x86_64 > > I need 5.2.16 > > Thank you, > Asya

Re: [CentOS] Compiling PHP and MySQL

2011-06-13 Thread Eero Volotinen
2011/6/13 Dvorkin, Asya : > > On Jun 13, 2011, at 1:09 PM, Eero Volotinen wrote: > > 2011/6/13 Dvorkin, Asya : > > Hi everyone, > > I need to install an older version of PHP - 5.2.16, which is not currently > available through an official CentOS repo (as far as I can tell). > > In order to fulfill

Re: [CentOS] Compiling PHP and MySQL

2011-06-13 Thread Dvorkin, Asya
On Jun 13, 2011, at 1:26 PM, Eero Volotinen wrote: 2011/6/13 Dvorkin, Asya mailto:dvork...@umdnj.edu>>: On Jun 13, 2011, at 1:09 PM, Eero Volotinen wrote: 2011/6/13 Dvorkin, Asya mailto:dvork...@umdnj.edu>>: Hi everyone, I need to install an older version of PHP - 5.2.16, which is not currentl

[CentOS] A bridge problem

2011-06-13 Thread m . roth
We just went to replace the bridge/firewall services one one server with the same on another. It's pretty simple, and I literally cloned (w/ rsync) a third server that does this onto the one that will be the new one. Then copied the /etc/sysconfig/iptables from the one being replaced, and brought i

Re: [CentOS] Issue with Perl and rpmforge - advice? - SOLVED

2011-06-13 Thread Harshvardhan koshti
I have Net::SSLeay installed however still get the same error Error: Missing Dependency: perl(Net::SSLeay) >= 1.33 is needed by package perl-AnyEvent-5.240-1.el5.rf.noarch (rpmforge) Net::SSLeay is up to date (1.36) Any suggestions? ___ CentOS mail

Re: [CentOS] Issue with Perl and rpmforge - advice? - SOLVED

2011-06-13 Thread Les Mikesell
On 6/13/2011 1:07 PM, Harshvardhan koshti wrote: > I have Net::SSLeay installed however still get the same error > > Error: Missing Dependency: perl(Net::SSLeay)>= 1.33 is needed by package > perl-AnyEvent-5.240-1.el5.rf.noarch (rpmforge) > Net::SSLeay is up to date (1.36) > > Any suggestions? Don

Re: [CentOS] Compiling PHP and MySQL

2011-06-13 Thread John R. Dennison
On Mon, Jun 13, 2011 at 01:47:31PM -0400, Dvorkin, Asya wrote: > > I am not sure if I want to use it in a production environment Please trim unnecessary material from your responses. Thank you. IUS is the community repo for RackSpace; this is the same repo and repo components that they use

Re: [CentOS] EXTERNAL: A bridge problem

2011-06-13 Thread Massey, Ricky
I thought all we were going to is remove the IA_REMOTE Banner for the BYG-1 Display applications. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of m.r...@5-cent.us Sent: Monday, June 13, 2011 2:02 PM To: CentOS mailing list Subject: EXTER

Re: [CentOS] Compiling PHP and MySQL

2011-06-13 Thread Dvorkin, Asya
On Jun 13, 2011, at 2:32 PM, John R. Dennison wrote: On Mon, Jun 13, 2011 at 01:47:31PM -0400, Dvorkin, Asya wrote: I am not sure if I want to use it in a production environment Please trim unnecessary material from your responses. Thank you. IUS is the community repo for RackSpace; this

[CentOS] Recall: EXTERNAL: A bridge problem

2011-06-13 Thread Massey, Ricky
Massey, Ricky would like to recall the message, "EXTERNAL: [CentOS] A bridge problem". ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] A bridge problem

2011-06-13 Thread Robert Spangler
On Monday 13 June 2011 14:02, the following was written: > We just went to replace the bridge/firewall services one one server with > the same on another. It's pretty simple, and I literally cloned (w/ rsync) > a third server that does this onto the one that will be the new one. Then > copied

Re: [CentOS] Recall: EXTERNAL: A bridge problem

2011-06-13 Thread m . roth
Massey, Ricky wrote: > Massey, Ricky would like to recall the message, "EXTERNAL: [CentOS] A > bridge problem". This is a mailing list on the Internet. It is not Outlook on an internal LAN. There is no "recall" mark "what was it I was saying?" ___

[CentOS] Odd issue with custom udev rule at boot

2011-06-13 Thread James A. Peltier
Hi All, I've written a custom udev rule to change the permissions of /dev/ttyS* but it doesn't seem to be working at boot up. If I run /sbin/udevcontrol reload_rules; udevtrigger The rules are parsed, applied and the permissions are then correct but why is it not doing so at boot? The file

Re: [CentOS] A bridge problem

2011-06-13 Thread m . roth
Robert Spangler wrote: > On Monday 13 June 2011 14:02, the following was written: > >> We just went to replace the bridge/firewall services one one server >> with the same on another. It's pretty simple, and I literally cloned (w/ >> rsync) a third server that does this onto the one that will be t

Re: [CentOS] A bridge problem

2011-06-13 Thread Les Mikesell
On 6/13/2011 1:02 PM, m.r...@5-cent.us wrote: > We just went to replace the bridge/firewall services one one server with > the same on another. It's pretty simple, and I literally cloned (w/ rsync) > a third server that does this onto the one that will be the new one. Then > copied the /etc/sysconf

Re: [CentOS] Recall: EXTERNAL: A bridge problem

2011-06-13 Thread Scott Silva
on 6/13/2011 12:07 PM Massey, Ricky spake the following: > Massey, Ricky would like to recall the message, "EXTERNAL: [CentOS] A bridge > problem". Although recall would be nice, internet mailing lists are forever! What is said cannot be unsaid... ___ C

Re: [CentOS] A bridge problem

2011-06-13 Thread m . roth
Les Mikesell wrote: > On 6/13/2011 1:02 PM, m.r...@5-cent.us wrote: >> We just went to replace the bridge/firewall services one one server with >> the same on another. It's pretty simple, and I literally cloned (w/ >> rsync) a third server that does this onto the one that will be the new >> one.The

[CentOS] Slightly OT: First Time KVM and LVM on Centos

2011-06-13 Thread Jeff Boyce
Greetings - I am a novice system administrator and will soon be purchasing a new server to replacing an aging file server for my company. I am considering setting up the new server as a KVM host with two guests; one guest as the Samba file server and a second guest as a testing area. My old s

Re: [CentOS] Slightly OT: First Time KVM and LVM on Centos

2011-06-13 Thread Miguel Medalha
> (...) I am hoping that someone here can give me some pointers, or point me to > some clear > how-to's somewhere. Any help is appreciated. Thanks Some good guides on virtualization and LVM reside here: https://access.redhat.com/knowledge/docs/Red_Hat_Enterprise_Linux/ vmware also has some v

Re: [CentOS] Issue with Perl and rpmforge - advice? - SOLVED

2011-06-13 Thread Craig White
On Jun 13, 2011, at 11:07 AM, Harshvardhan koshti wrote: > I have Net::SSLeay installed however still get the same error > > Error: Missing Dependency: perl(Net::SSLeay) >= 1.33 is needed by package > perl-AnyEvent-5.240-1.el5.rf.noarch (rpmforge) > Net::SSLeay is up to date (1.36) sounds

Re: [CentOS] Issue with Perl and rpmforge - advice? - SOLVED

2011-06-13 Thread Les Mikesell
On 6/13/2011 4:32 PM, Craig White wrote: > > On Jun 13, 2011, at 11:07 AM, Harshvardhan koshti wrote: > >> I have Net::SSLeay installed however still get the same error >> >> Error: Missing Dependency: perl(Net::SSLeay)>= 1.33 is needed by package >> perl-AnyEvent-5.240-1.el5.rf.noarch (rpmforge) >

Re: [CentOS] Odd issue with custom udev rule at boot

2011-06-13 Thread James Pearson
James A. Peltier wrote: > Hi All, > > I've written a custom udev rule to change the permissions of /dev/ttyS* but > it doesn't seem to be working at boot up. If I run > > /sbin/udevcontrol reload_rules; udevtrigger > > The rules are parsed, applied and the permissions are then correct but wh

Re: [CentOS] A bridge problem

2011-06-13 Thread Ljubomir Ljubojevic
m.r...@5-cent.us wrote: > Les Mikesell wrote: >> On 6/13/2011 1:02 PM, m.r...@5-cent.us wrote: >>> We just went to replace the bridge/firewall services one one server with >>> the same on another. It's pretty simple, and I literally cloned (w/ >>> rsync) a third server that does this onto the one t

Re: [CentOS] A bridge problem

2011-06-13 Thread Marcelo Roccasalva
On Mon, Jun 13, 2011 at 19:30, Ljubomir Ljubojevic wrote: > > m.r...@5-cent.us wrote: > > Les Mikesell wrote: > >> On 6/13/2011 1:02 PM, m.r...@5-cent.us wrote: > >>> We just went to replace the bridge/firewall services one one server with > >>> the same on another. It's pretty simple, and I liter

Re: [CentOS] Unable to grep 5 mins logs

2011-06-13 Thread Ljubomir Ljubojevic
ankush grover wrote: > Combine 2-3 greps: >> for (( i = 5; i>=0; i-- )) ; do grep `date "+%a"` | grep `date "+%b"` | >> grep `date "+%d"` | grep `date "+%Y"` | $(date "+%R" -d "-$i >> min") /var/ossec/logs/active-responses.log>> /tmp/newlog.log;done >> >> Change order of greps to gain speed at fir

Re: [CentOS] A bridge problem

2011-06-13 Thread Les Mikesell
On 6/13/2011 3:01 PM, m.r...@5-cent.us wrote: > Les Mikesell wrote: >> On 6/13/2011 1:02 PM, m.r...@5-cent.us wrote: >>> We just went to replace the bridge/firewall services one one server with >>> the same on another. It's pretty simple, and I literally cloned (w/ >>> rsync) a third server that do

Re: [CentOS] CentOS 5.6 - Samba server + Windows error 233

2011-06-13 Thread Guy Boisvert
Le 2011-04-29 14:03, Guy Boisvert a écrit : > Le 2011-04-27 13:44, Ryan Wagoner a écrit : >> On Wed, Apr 27, 2011 at 10:53 AM, Guy Boisvert >>wrote: >>> Hi! >>> >>> I have upgraded my servers yesterday to CentOS 5.6 via yum update. >>> Everything went smoothly except that i have client wo

Re: [CentOS] CentOS-6 Status updates

2011-06-13 Thread Christopher Chan
On Tuesday, June 14, 2011 12:22 AM, Craig White wrote: > > On Jun 13, 2011, at 9:10 AM, Scott Silva wrote: > >> on 6/13/2011 7:23 AM James B. Byrne spake the following: >>> >>> I just want to say that I really, really, appreciate the information >>> given on this site: >>> >>> http://qaweb.dev.cent

Re: [CentOS] CentOS-6 Status updates

2011-06-13 Thread aurfalien
On Jun 13, 2011, at 5:10 PM, Christopher Chan wrote: > On Tuesday, June 14, 2011 12:22 AM, Craig White wrote: >> >> On Jun 13, 2011, at 9:10 AM, Scott Silva wrote: >> >>> on 6/13/2011 7:23 AM James B. Byrne spake the following: I just want to say that I really, really, appreciate the

Re: [CentOS] CentOS-6 Status updates

2011-06-13 Thread NOYK
Guess you have never worked in an organization of any size where you worry about reliability, patches, bug fixes, etc. .0 releases can tough on your back side even if performance is acceptable and you believe there is a good reason (but your boss may not agree) :) -Original Message- From

Re: [CentOS] CentOS-6 Status updates

2011-06-13 Thread Christopher Chan
On Tuesday, June 14, 2011 08:46 AM, aurfal...@gmail.com wrote: > > On Jun 13, 2011, at 5:10 PM, Christopher Chan wrote: > >> On Tuesday, June 14, 2011 12:22 AM, Craig White wrote: >>> >>> On Jun 13, 2011, at 9:10 AM, Scott Silva wrote: >>> on 6/13/2011 7:23 AM James B. Byrne spake the followin

Re: [CentOS] Vim scripting - cursor motion

2011-06-13 Thread Kahlil Hodgson
On 11/06/11 19:03, Jussi Hirvi wrote: > Ok, that helped me along. For some reason the motions (like 1G0 for > beginning of file, or G$ for last char in file) work, when the script is > called from command-line with -s flag (vim -s myscript myfile). But they > don't work when the script is called

Re: [CentOS] What is someone trying to do?

2011-06-13 Thread Mike Williams
On Sun, Jun 12, 2011 at 4:59 PM, R P Herrold wrote: > This was covered by me in a blog post some time ago, as to my > approach: >         > http://orcorc.blogspot.com/2010/06/reading-logs-part-3-run-your-updates.html > > The rationale for having a redirect (offsite, back to the > proper's localh

Re: [CentOS] CentOS-6 Status updates

2011-06-13 Thread Mark Bradbury
On 13 June 2011 23:53, James B. Byrne wrote: > > I just want to say that I really, really, appreciate the information > given on this site: > > http://qaweb.dev.centos.org/qa/calendar > > It seems every time I look at that site the dates have changed, last time I looked the external mirrors wher