Re: [CentOS] simple website hit counter

2010-11-27 Thread Dave Stevens
On Friday, November 26, 2010 02:00:04 pm Frank Cox wrote: > Googling for this finds me a ton of stuff that doesn't actually do what I'm > looking for. > > I want a simple hit counter cgi script of some kind that will increment a > counter on every page load but I want to access the counter from a

[CentOS] experience with Sympa to Mailman?

2010-11-27 Thread Dave Stevens
I have a Centos 5.5 box with Mailman installed. A new user will host lists using Mailman, moving from a Sympa based host. Sympa isn't in the repos, does anyone know why? or have any experience moving the archive from Sympa to Mailman? Dave ___ CentOS

[CentOS] sed with several lines, how?

2010-11-27 Thread Arthur Bela
hyphen's [ - ] are just for marking the start/end of a pattern, but there are _not in_ the pattern! "OUTPUT" is what i want after "seding" the PATTERN#X's so i for e.g.: need the first, and second "magic" sed "FIRSTMAGIC" PATTERN#1 sed "SECONDMAGIC" PATTERN#2 PATTERN#1: -

Re: [CentOS] Centos and Bridging

2010-11-27 Thread Natxo Asenjo
On Sat, Nov 27, 2010 at 6:23 AM, Nico Kadel-Garcia wrote: > On Fri, Nov 26, 2010 at 3:00 PM, Alan Hodgson wrote: >> On November 26, 2010 11:25:06 am Nico Kadel-Garcia wrote: >>> KVM, itself, was unusable in my testing due to the "bridged network" >>> mishandling and its complete lack of a concept

Re: [CentOS] rsyslog as default syslog daemon?

2010-11-27 Thread James Pearson
Andrej Moravcik wrote: > Hi all! > > Is anybody here using rsyslog? I am looking for the right solution how > to use rsyslog in CentOS 5 as the default logging daemon. We use it > because of filtering using regular expressions. > > I switched from sysklogd to rsyslog simply using > > chkconfig

Re: [CentOS] sed with several lines, how?

2010-11-27 Thread Arthur Bela
thank you, and sorry, if i had formulated wrong, but the "SOMETEXT#X" is a random STRING, like: $ cat testfile.txt alsjflsajfkljasdf asfklasjlkyxcvo kldfjlkasjdfasdf kasfjxcvklajdflas yxcvkjasafjads asdfjkldjlasj uiyxzckjhasfsd $ $ awk 'BEGIN {sawpattern=0} "^SOMETEXT, ^SOMETEXT" {if (($0 ~/S

Re: [CentOS] experience with Sympa to Mailman?

2010-11-27 Thread Kai Schaetzl
Dave Stevens wrote on Fri, 26 Nov 2010 16:52:18 -0800: > Sympa isn't in the repos, does > anyone know why? What kind of question is that? There are thousands of software packages not "in the repos". Are you going to ask about each of them? Why don't you use the download link on the Sympa websi

Re: [CentOS] sed with several lines, how?

2010-11-27 Thread Christopher Chan
Hahahaha, I see that you posted this in quite a few places. Let me repeat it here then. BTW, do a bit of homework if you do need fine tuning before posting back on this list. awk 'BEGIN {sawpattern=0} "^[[:alpha:]], ^[[:alpha:]]" {if (($0 ~/[[:alpha:]]/ )&& (sawpattern == 0)) {sawpattern=1}

Re: [CentOS] Centos and Bridging

2010-11-27 Thread Robert Spangler
On Friday 26 November 2010 21:47, Scott Robbins wrote: > > > http://wiki.centos.org/HowTos/KVM > > > > It has couple of points the OP may need to know. One is that > > NetworkManager needs to be disabled. The other is how to handle > > iptables (OP disable it while troubleshooting). > > Ah,

Re: [CentOS] simple website hit counter

2010-11-27 Thread Keith Roberts
On Fri, 26 Nov 2010, Frank Cox wrote: > To: CentOS mailing list > From: Frank Cox > Subject: Re: [CentOS] simple website hit counter > > On Sat, 27 Nov 2010 00:03:25 -0500 > Tommy E Craddock Jr wrote: > >> How about something like this: >> >> http://www.abiglime.com/webmaster/articles/cgi/11049

Re: [CentOS] simple website hit counter

2010-11-27 Thread Frank Cox
On Fri, 26 Nov 2010 15:45:47 -0800 Dave Stevens wrote: > wouldn't webalyzer do that for you? Webalyzer would create a report containing a lot of data that I don't need. All I want is a single number. The perl script that Tommy Craddock found looks like it's just the thing. I'll set it up over t

Re: [CentOS] simple website hit counter

2010-11-27 Thread John Hinton
On 11/26/2010 11:37 PM, Frank Cox wrote: > On Fri, 26 Nov 2010 23:32:07 -0500 > John Hinton wrote: > >> Webalizer comes with CentOS. I find it easy to enable and provides all >> the basic stats one would need. > As far as I'm aware, webalizer is a comprehensive reporting tool similar to > awstats.

Re: [CentOS] simple website hit counter

2010-11-27 Thread Les Mikesell
On 11/27/10 9:45 AM, Frank Cox wrote: > On Fri, 26 Nov 2010 15:45:47 -0800 > Dave Stevens wrote: > >> wouldn't webalyzer do that for you? > > Webalyzer would create a report containing a lot of data that I don't need. > All I want is a single number. I've always liked analog as web log analyzer.

[CentOS] CentOS-announce Digest, Vol 69, Issue 9

2010-11-27 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] SELinux - way of the future or good idea but !!!

2010-11-27 Thread Nicolas Ross
> Thanks for all the input. Particularly John and Patricks URL's for reading > material. Starting with the stuff here > http://www.nsa.gov/ia/guidance/security_configuration_guides/operating_systems.shtml > Which is really good. Verry interesting collection. The document for rhel5 is verry wel

Re: [CentOS] Postfix - message queue filling with Host or name not found - try again

2010-11-27 Thread Rob Kampen
Mike Fedyk wrote: On Tue, Nov 16, 2010 at 11:49 AM, Rob Kampen wrote: Hi list, I have noted over the last week or so my DNS servers are dumping lots of messages for bogus domain lookups. Examining the postfix queue with postqueue -p: I see many (Host or domain name not found. Name service e

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

2010-11-27 Thread Benjamin Franz
On 11/26/2010 05:17 PM, Patrick Lists wrote: > > What's with people recommending to turn off SELinux?! That's just bad > advice and like recommending people keep their doors unlocked at all > times. Really, stop doing that. SELinux is there for a reason. SELinux is like a automatic collision avoid

[CentOS] centos-5.5 VS Firefox 3.6.12

2010-11-27 Thread fred smith
My firefox auto-installed an update from 3.6.11 to 3.6.12 this morning, after which it gives this upon a restart attempt: Program received signal SIGBUS, Bus error. 0x00123c47 in memset () from /lib/ld-linux.so.2 while I dig deeper, wondering if anyone else has seen it and/or can suggest a fix.

Re: [CentOS] centos-5.5 VS Firefox 3.6.12

2010-11-27 Thread Keith Roberts
On Sat, 27 Nov 2010, fred smith wrote: > To: centos@centos.org > From: fred smith > Subject: [CentOS] centos-5.5 VS Firefox 3.6.12 > > My firefox auto-installed an update from 3.6.11 to 3.6.12 this morning, > after which it gives this upon a restart attempt: > > Program received signal SIGBUS, B

Re: [CentOS] centos-5.5 VS Firefox 3.6.12

2010-11-27 Thread fred smith
On Sat, Nov 27, 2010 at 07:41:03PM +, Keith Roberts wrote: > On Sat, 27 Nov 2010, fred smith wrote: > > > To: centos@centos.org > > From: fred smith > > Subject: [CentOS] centos-5.5 VS Firefox 3.6.12 > > > > My firefox auto-installed an update from 3.6.11 to 3.6.12 this morning, > > after wh

[CentOS] yum is dumb in update of gmime & gmime-sharp

2010-11-27 Thread ken
# yum update ... --> Running transaction check --> Processing Dependency: gmime = 2.2.10-5.el5.centos for package: gmime-sharp ---> Package gmime20.i386 0:2.2.26-1.el5.rf set to be updated --> Finished Dependency Resolution gmime-sharp-2.2.10-5.el5.centos.i386 from installed has depsolving problems

Re: [CentOS] yum is dumb in update of gmime & gmime-sharp

2010-11-27 Thread John R Pierce
On 11/27/10 12:44 PM, ken wrote: > This would seem like a bug... or why is yum trying to install package > versions which are already installed? this most frequently happens when you mix dependencies of different yum repositories.I noted .rf in your output, RPM Forge, this has in my experien

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

2010-11-27 Thread Ned Slider
On 27/11/10 18:57, Benjamin Franz wrote: > On 11/26/2010 05:17 PM, Patrick Lists wrote: >> >> What's with people recommending to turn off SELinux?! That's just bad >> advice and like recommending people keep their doors unlocked at all >> times. Really, stop doing that. SELinux is there for a reaso

Re: [CentOS] simple website hit counter

2010-11-27 Thread Les Bell
John Hinton wrote: >> You set it to run once per day against the logs for that website... normally around midnight. The loads aren't that bad. The reporting I think defaults to 12 months of stored data which is stored normally in a directory in the web root for that website. That directory of co

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

2010-11-27 Thread Nico Kadel-Garcia
On Sat, Nov 27, 2010 at 5:52 PM, Marko Vojinovic wrote: > On Saturday 27 November 2010 18:57:50 Benjamin Franz wrote: >> On 11/26/2010 05:17 PM, Patrick Lists wrote: >> > What's with people recommending to turn off SELinux?! That's just bad >> > advice and like recommending people keep their doors

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

2010-11-27 Thread John R. Dennison
On Sat, Nov 27, 2010 at 08:23:34PM -0500, Nico Kadel-Garcia wrote: > > The "working system" in that analogy is software, not necessarily nor > even likely to be the kernel itself. But yes, it can trash a > production critical web or software application that didn't follow the > sensible, but often

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

2010-11-27 Thread Nico Kadel-Garcia
On Sat, Nov 27, 2010 at 9:21 PM, John R. Dennison wrote: > On Sat, Nov 27, 2010 at 08:23:34PM -0500, Nico Kadel-Garcia wrote: >> >> The "working system" in that analogy is software, not necessarily nor >> even likely to be the kernel itself. But yes, it can trash a >> production critical web or so