Re: [CentOS] How to install PHP PEAR stuff best?

2010-11-26 Thread Alexander Farber
Maybe I should just copy gChartPhp's files here: # ls GChartPhp/PEAR/ gBarChart.phpgMapChart.phpgScatterChart.php gChart.php gMeterChart.php gStackedBarChart.php gConcentricPieChart.php gOverlappedBarChart.php gVennDiagram.php gFormula.php

Re: [CentOS] How to install PHP PEAR stuff best?

2010-11-26 Thread Kai Schaetzl
Alexander Farber wrote on Fri, 26 Nov 2010 11:09:09 +0100: > Maybe I should just copy gChartPhp's files here: I don't quite understand your whole question. What has this to do with PEAR? It's not a PEAR package, it's a library that's hosted on code.google.com. Kai -- Get your web at Conactiv

Re: [CentOS] good shell script examples?

2010-11-26 Thread Michael Gliwinski
On Wednesday 17 Nov 2010 07:47:17 洪 川 wrote: > #!/bin/bash > > > H=" > 192.168.1.1 > 192.168.1.2 > 192.168.1.3 > 192.168.1.4 > " > > > for i in $H ; do > expect << -EOF- > set timeout 2 > spawn scp ${rootidfile} r...@${host}:/tmp/id_file > expect "d:" > send "${password}\n" > expect eof > s

Re: [CentOS] How to install PHP PEAR stuff best?

2010-11-26 Thread Alexander Farber
Hello, On Fri, Nov 26, 2010 at 1:31 PM, Kai Schaetzl wrote: > I don't quite understand your whole question. What has this to do with > PEAR? It's not a PEAR package, it's a library that's hosted on > code.google.com. yes, but it has the subdir called "PEAR" in it... If someone would ask: "how

Re: [CentOS] How to install PHP PEAR stuff best?

2010-11-26 Thread Alexander Dalloz
> Hello, > > On Fri, Nov 26, 2010 at 1:31 PM, Kai Schaetzl > wrote: >> I don't quite understand your whole question. What has this to do with >> PEAR? It's not a PEAR package, it's a library that's hosted on >> code.google.com. > > yes, but it has the subdir called "PEAR" in it... > > If someone w

Re: [CentOS] Add application to start at booting

2010-11-26 Thread Keith Roberts
On Thu, 25 Nov 2010, Les Mikesell wrote: > To: centos@centos.org > From: Les Mikesell > Subject: Re: [CentOS] Add application to start at booting > > On 11/25/2010 1:32 PM, Johan Scheepers wrote: > >> >> What I was looking for is this.. >> >> System -> Preferences -> More Preferences -> Sessi

[CentOS] Centos and Bridging

2010-11-26 Thread Robert Spangler
Hello, Presently I am running CentOS release 5.5 (Final). I am looking to setup bridging as I would like to setup some KVM virtual hosts on my system as a test lab. I am following the the instruction at this site > http://tldp.org/HOWTO/BRIDGE-STP-HOWTO/index.html but I cannot figure out whe

Re: [CentOS] Centos and Bridging

2010-11-26 Thread Eduardo Grosclaude
On Fri, Nov 26, 2010 at 2:15 PM, Robert Spangler wrote: > Hello, > > Presently I am running CentOS release 5.5 (Final).  I am looking to setup > bridging as I would like to setup some KVM virtual hosts on my system as a > Time to test if ping works: > >> ~ $ ping -c3 192.168.1.254 >> PING 192.168

Re: [CentOS] Centos and Bridging

2010-11-26 Thread Akemi Yagi
On Fri, Nov 26, 2010 at 9:15 AM, Robert Spangler wrote: > Hello, > > Presently I am running CentOS release 5.5 (Final).  I am looking to setup > bridging as I would like to setup some KVM virtual hosts on my system as a > test lab.  I am following the the instruction at this site > >> http://tldp.

Re: [CentOS] Centos and Bridging

2010-11-26 Thread Robert Heller
At Fri, 26 Nov 2010 12:15:51 -0500 CentOS mailing list wrote: > > Hello, > > Presently I am running CentOS release 5.5 (Final). I am looking to setup > bridging as I would like to setup some KVM virtual hosts on my system as a > test lab. I am following the the instruction at this site >

[CentOS] rsyslog as default syslog daemon?

2010-11-26 Thread Andrej Moravcik
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 --del syslog chkconfig --add rsyslog chk

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

2010-11-26 Thread Mike Fedyk
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 error for > nam

Re: [CentOS] Centos and Bridging

2010-11-26 Thread Robert Spangler
On Friday 26 November 2010 12:22, Eduardo Grosclaude wrote: > > Presently I am running CentOS release 5.5 (Final).  I am looking to > > setup bridging as I would like to setup some KVM virtual hosts on my > > system as a > > > > Time to test if ping works: > >> ~ $ ping -c3 192.168.1.254 >

Re: [CentOS] Centos and Bridging

2010-11-26 Thread Robert Spangler
On Friday 26 November 2010 12:27, Akemi Yagi wrote: > I recommend you look at the documentaion available from > docs.redhat.com. For setting up bridged networking, see: > > > http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html-single/Vi >rtualization/index.html#sect-Virtualization

Re: [CentOS] Centos and Bridging

2010-11-26 Thread Robert Spangler
On Friday 26 November 2010 12:28, Robert Heller wrote: > > works before committing it to the config: > > > brctl addbr br0 > > > ifconfig eth0 down > > > ifconfig br0 192.168.1.100 up > > > ifconfig eth0 0.0.0.0 up > > brctl addif br0 eth0 > > You need to add the physical interface(s) to th

Re: [CentOS] Centos and Bridging

2010-11-26 Thread Nico Kadel-Garcia
On Fri, Nov 26, 2010 at 12:15 PM, Robert Spangler wrote: > Hello, > > Presently I am running CentOS release 5.5 (Final).  I am looking to setup > bridging as I would like to setup some KVM virtual hosts on my system as a > test lab.  I am following the the instruction at this site Don't bother.

Re: [CentOS] Centos and Bridging

2010-11-26 Thread Alan Hodgson
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 of failover for network > issues, particularly pair bonding for the server itself. PXE for the > clients was unusable, an

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

2010-11-26 Thread Alexander Dalloz
Am 26.11.2010 19:48, schrieb Mike Fedyk: > 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

[CentOS] Checking what's running inside a httpd process

2010-11-26 Thread Pascal Robert
I'm trying to fix a CentOS (5.5 x86_64) VM that we have where it become unstable due to swapping. But I did notice something: I have 10 httpd processes, and 5 of them are using 13 MB of resident memory, the other are using between 91 and 96 MB of RAM. I find it quite strange to see such differe

[CentOS] simple website hit counter

2010-11-26 Thread Frank Cox
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 different page. In other words, I don't want to have a visible hit

Re: [CentOS] Checking what's running inside a httpd process

2010-11-26 Thread Nicolas Ross
Bonjour Robert. From experience with this kind of problems, you need to check what script (php or other) is served by that process at the moment it takes that much ram. The first thing you need to look is was the httpd process is responding to. If it's not, switch the ExtendedStatus to on, and

Re: [CentOS] Checking what's running inside a httpd process

2010-11-26 Thread Nicolas Ross
Also, a thing I've notice is that httpd process tend not to relase it's used memory very fast. So if you see that the process is not doing much (via server-status), you can safely kill it. The parent httpd process will create a new one when needed. Regards, Nicolas Le 2010-11-26 à 16:06, Pasca

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

2010-11-26 Thread Alison
Hi, total newbie on CentOS. Just firing up an install of 5.5 on a development webserver. Installed Webmin, Awstats, PHPMyAdmin and Drupal successfully. Yet to work on Sendmail and Samba. SELinux in enforcing mode, reporting "SELinux preventing ifconfig (ifconfig_t) "read write" to /var/webminse

Re: [CentOS] simple website hit counter

2010-11-26 Thread Keith Roberts
On Fri, 26 Nov 2010, Frank Cox wrote: > To: centos@centos.org > From: Frank Cox > Subject: [CentOS] simple website hit counter > > 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 incremen

Re: [CentOS] simple website hit counter

2010-11-26 Thread Brian Mathis
On Nov 26, 2010, at 17:00, 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 different >

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

2010-11-26 Thread Eero Volotinen
2010/11/27 Alison : > Hi, > > total newbie on CentOS. Just firing up an install of 5.5 on a development > webserver. Installed Webmin, Awstats, PHPMyAdmin and Drupal successfully. Yet > to work on Sendmail and Samba. SELinux in enforcing mode, reporting "SELinux > preventing ifconfig (ifconfig_t

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

2010-11-26 Thread John R. Dennison
On Sat, Nov 27, 2010 at 10:58:00AM +1100, Alison wrote: > Hi, > > total newbie on CentOS. Just firing up an install of 5.5 on a > development webserver. Installed Webmin, Awstats, PHPMyAdmin and > Drupal successfully. Yet to work on Sendmail and Samba. SELinux in > enforcing mode, reporting "SELin

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

2010-11-26 Thread John R. Dennison
On Sat, Nov 27, 2010 at 02:53:30AM +0200, Eero Volotinen wrote: > > Just turn selinux off. setenforce "0" works without rebooting server, > but /etc/sysconfig/selinux is correct place to finalize setting.. Oh please. This is perhaps the most idiotic advice I've seen on this list

Re: [CentOS] Centos and Bridging

2010-11-26 Thread Scott Robbins
On Fri, Nov 26, 2010 at 02:12:04PM -0500, Robert Spangler wrote: > On Friday 26 November 2010 12:27, Akemi Yagi wrote: > > > I recommend you look at the documentaion available from > > docs.redhat.com. For setting up bridged networking, see: > > > > > > http://docs.redhat.com/docs/en-US/Red_Hat

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

2010-11-26 Thread Patrick Lists
On 11/27/2010 01:53 AM, Eero Volotinen wrote: > 2010/11/27 Alison: >> Hi, >> >> total newbie on CentOS. Just firing up an install of 5.5 on a development >> webserver. Installed Webmin, Awstats, PHPMyAdmin and Drupal successfully. >> Yet to work on Sendmail and Samba. SELinux in enforcing mode, r

Re: [CentOS] simple website hit counter

2010-11-26 Thread Patrick Lists
On 11/26/2010 11:00 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 different > page.

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

2010-11-26 Thread Eero Volotinen
>> Just turn selinux off. setenforce "0" works without rebooting server, >> but /etc/sysconfig/selinux is correct place to finalize setting.. > > 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. Rea

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

2010-11-26 Thread John R. Dennison
On Sat, Nov 27, 2010 at 03:29:49AM +0200, Eero Volotinen wrote: > > Usually it causes more problems. If you have unlimited resources to tune it > up, > then it possibly helps on the way. Only if you don't bother to take the time to read any of the resources I previously provided

Re: [CentOS] Centos and Bridging

2010-11-26 Thread Akemi Yagi
On Fri, Nov 26, 2010 at 5:16 PM, Scott Robbins wrote: > On Fri, Nov 26, 2010 at 02:12:04PM -0500, Robert Spangler wrote: >> On Friday 26 November 2010 12:27, Akemi Yagi wrote: >> >> >  I recommend you look at the documentaion available from >> >  docs.redhat.com. For setting up bridged networking,

Re: [CentOS] Centos and Bridging

2010-11-26 Thread Scott Robbins
On Fri, Nov 26, 2010 at 06:09:26PM -0800, Akemi Yagi wrote: > On Fri, Nov 26, 2010 at 5:16 PM, Scott Robbins wrote: > > > > http://wiki.centos.org/HowTos/KVM > > Mmm? I may not be the biggest fan of the Red Hat docs but I have to > give a good score to that one about bridged networking. I follo

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

2010-11-26 Thread Les Mikesell
On 11/26/10 8:01 PM, John R. Dennison wrote: > > > If the best avenue was to disable it do you honestly think that > upstream would enable it by default? They are, after all, selling service. What distro enables it that doesn't have a service for pay model (besides Centos, w

Re: [CentOS] simple website hit counter

2010-11-26 Thread Frank Cox
On Sat, 27 Nov 2010 00:04:35 + (GMT) Keith Roberts wrote: > Is this for one particular page, or every page on your site? A small business owner that has a webpage on a Centos webserver that I look after asked me for a simple counter to count the number of hits that she gets on her webpage (in

Re: [CentOS] simple website hit counter

2010-11-26 Thread Frank Cox
On Sat, 27 Nov 2010 02:20:01 +0100 Patrick Lists wrote: > Have you looked at Piwiki? See http://piwik.org/ As with awstats, that looks like it does far more than just count hits on index.html. I've found a stack of comprehensive reporting tools, and I've also found a ton of counters that put the

Re: [CentOS] simple website hit counter

2010-11-26 Thread John Hinton
On 11/26/2010 11:24 PM, Frank Cox wrote: > On Sat, 27 Nov 2010 02:20:01 +0100 > Patrick Lists wrote: > >> Have you looked at Piwiki? See http://piwik.org/ > As with awstats, that looks like it does far more than just count hits on > index.html. > > I've found a stack of comprehensive reporting tool

Re: [CentOS] simple website hit counter

2010-11-26 Thread Frank Cox
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. Which is a much bigger hammer than what I'm looki

Re: [CentOS] simple website hit counter

2010-11-26 Thread Tommy E Craddock Jr
On Nov 26, 2010, at 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 t

Re: [CentOS] simple website hit counter

2010-11-26 Thread Frank Cox
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/110497.htm > > Perl script which shows the count. You dont have to display it on the main > page even, can set it up to display on a page only the cu

Re: [CentOS] Centos and Bridging

2010-11-26 Thread Nico Kadel-Garcia
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 of failover for network >> issues, particularly pair bonding fo

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

2010-11-26 Thread Alison
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. I can get 1.5Mb/s upload using Annex M, but have previously purchased hos

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

2010-11-26 Thread Ned Slider
On 27/11/10 06:33, Alison wrote: > > 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. > There is also a guide to SELi