[CentOS-docs] Antwort: Re : Wiki: Howtos/Virtualization/HyperV

2011-03-17 Thread Andreas Reschke
centos-docs-boun...@centos.org schrieb am 17.03.2011 00:35:32:

 Ozy the barbarian guitarist the_barbarian_guitar...@yahoo.fr 
 Gesendet von: centos-docs-boun...@centos.org
 
 17.03.2011 00:35
 
 Bitte antworten an
 Mail list for wiki articles centos-docs@centos.org
 
 An
 
 Mail list for wiki articles centos-docs@centos.org
 
 Kopie
 
 Thema
 
 [CentOS-docs] Re :  Wiki: Howtos/Virtualization/HyperV
 
 On Wed Mar 16 19:16:19 EDT 2011 Akemi Yagi amyagi at gmail.com  wrote:
 On Wed, Mar 16, 2011 at 4:05 PM, Manuel Wolfshant
 
  I do not use Hyper-V myself ( I tried to avoid any Microsoft
  product as much as I can, and I see no reason to use their hypervisor
  since other free solutions exist) and therefore I cannot test, but 
I've
  read the article and it seems sane enough. And quite similar to what 
one
  must do to get better performance when using other popular solutions
  such as VMWare.
 
  I almost forgot about the fact wolfy is fluent in French. I thought
  about asking Fabian because it has to do with 'French' and
  'guitarist'. :-)
 
  The article looks like a useful addition to the wiki. I also look
  forward to seeing more contributions from Ozy.
 
  Akemi
 
 Most of my CentOS articles are about some kind of hybrid troll 
 setups involving 
 Microsoft as these are my usual setups.
 I have some stuff about CentOS as NT Domain controller, CentOS auths 
against 
 Active Directory, CentOS / Windows 7 samba compatibility guide.
 Let's see if Microsoft compatibilty has its place in the CentOS world :)
 
 
 
 ___
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs

Hy Ozy,
I'm very interested in the stuff about CentOS auths against Active 
Directory, because this is my next project. It is available in english? 

Thanks 
 
Gruß 
Andreas Reschke


Unix/Linux-Administration
andreas.resc...@behrgroup.com___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] Re : Antwort: Re : Wiki: Howtos/Virtualization/HyperV

2011-03-17 Thread Ozy the barbarian guitarist
 De : Andreas Reschke andreas.resc...@behrgroup.com
 À : Mail list for wiki articles centos-docs@centos.org
 Envoyé le : Jeu 17 mars 2011, 9h 20min 12s

 Hy Ozy, 
 I'm very interested in the stuff about CentOS auths against Active Directory, 
because this is my next project. It is available in english?  


 Thanks  

 Gruß 
 Andreas Reschke

Hi Andreas,

My article is only french right now, but if you're in hurry i can make a 
translation this weekend. Keep me informed please.
(Vielleicht kann ein kleines Weissbier die Übersetzung schneller machen lol).

Mfg,
Ozy de Jong.



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


[CentOS-docs] Antwort: Re : Antwort: Re : Wiki: Howtos/Virtualization/HyperV

2011-03-17 Thread Andreas Reschke
centos-docs-boun...@centos.org schrieb am 17.03.2011 12:42:41:

 Ozy the barbarian guitarist the_barbarian_guitar...@yahoo.fr 
 Gesendet von: centos-docs-boun...@centos.org
 
 17.03.2011 12:42
 
 Bitte antworten an
 Mail list for wiki articles centos-docs@centos.org
 
 An
 
 Mail list for wiki articles centos-docs@centos.org
 
 Kopie
 
 Thema
 
 [CentOS-docs] Re : Antwort: Re : Wiki: Howtos/Virtualization/HyperV
 
  De : Andreas Reschke andreas.resc...@behrgroup.com
  À : Mail list for wiki articles centos-docs@centos.org
  Envoyé le : Jeu 17 mars 2011, 9h 20min 12s
 
  Hy Ozy, 
  I'm very interested in the stuff about CentOS auths against Active
 Directory, 
 because this is my next project. It is available in english? 
 
 
  Thanks 
 
  Gruß 
  Andreas Reschke
 
 Hi Andreas,
 
 My article is only french right now, but if you're in hurry i can make a 

 translation this weekend. Keep me informed please.
 (Vielleicht kann ein kleines Weissbier die Übersetzung schneller machen 
lol).
 
 Mfg,
 Ozy de Jong.
 
 
 
 
 ___
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs

Hi Ozy,
no, I'm not in hurry. 

(Ich würde auch ein großes Weissbier beamen, aber die Maschine ist leider 
defekt )
 
Gruß 
Andreas Reschke


Unix/Linux-Administration
andreas.resc...@behrgroup.com___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Wiki: Howtos/Virtualization/HyperV

2011-03-17 Thread Ralph Angenendt
Am 16.03.11 23:46, schrieb Ozy the barbarian guitarist:
 Hello,
 
 I've written a couple of articles about CentOS on my personal blog that
 i'd like to share.

http://wiki.centos.org/OzydeJong (and all pages you create below that)
is yours now.

Cheers,

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


[CentOS-docs] Re : Wiki: Howtos/Virtualization/HyperV

2011-03-17 Thread Ozy the barbarian guitarist
De : Ralph Angenendt ralph.angene...@gmail.com

Envoyé le : Jeu 17 mars 2011, 21h 15min 52s

 http://wiki.centos.org/OzydeJong (and all pages you create below that)
 is yours now.
 Cheers,
 Ralph

I will post my translated article this weekend under it (i hope).
I'll also hope it to be transferred to Howtos/Virtualization/HyperV if it fits 
your standards.
Thanks.



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


[CentOS-virt] Time lagging on DomU

2011-03-17 Thread Dennis Jacobfeuerborn
Hi,
on one of our systems I see that while the time on the Centos 5.4 Host is 
correct it lags behind on two of the 5.5 guests by almost 5 minutes but is 
correct for the third domU. From what I understand the clock of the system 
is controlled by the host and and guest cannot write to it (and because of 
that not change it). Does anyone now what the cause could be and how I can 
fix the time for the guests?

Running kernel versions:
Host (correct time):  2.6.18-164.15.1.el5xen
guest 1 (correct time): 2.6.18-194.3.1.el5xen
guest 2 (wrong time): 2.6.18-194.32.1.el5xen
guest 3 (wrong time): 2.6.18-194.el5xen

Regards,
   Dennis
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Time lagging on DomU

2011-03-17 Thread Eric Shubert
On 03/17/2011 03:57 AM, Dennis Jacobfeuerborn wrote:
 Hi,
 on one of our systems I see that while the time on the Centos 5.4 Host is
 correct it lags behind on two of the 5.5 guests by almost 5 minutes but is
 correct for the third domU. From what I understand the clock of the system
 is controlled by the host and and guest cannot write to it (and because of
 that not change it). Does anyone now what the cause could be and how I can
 fix the time for the guests?

 Running kernel versions:
 Host (correct time):  2.6.18-164.15.1.el5xen
 guest 1 (correct time): 2.6.18-194.3.1.el5xen
 guest 2 (wrong time): 2.6.18-194.32.1.el5xen
 guest 3 (wrong time): 2.6.18-194.el5xen

 Regards,
 Dennis

The best way I've found to deal with this is to run ntp server on the 
host, and use ntp on the guests, configured with the host as the ntp 
server. This is what VMware presently recommends as well.

See 
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKCdocType=kcexternalId=1006427sliceId=1docTypeID=DT_KB_1_1dialogID=23956052stateId=1%200%2023952415
 
for more, including kernel and ntp settings.

-- 
-Eric 'shubes'

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


[CentOS-es] (sin asunto)

2011-03-17 Thread Freddy Zavaleta
http://qboiluminacion.com/r323.html


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


Re: [CentOS-es] Repositorio PowerStack para CentOS

2011-03-17 Thread Edg@r Rodolfo
El 15/03/11, Santi Saez santis...@woop.es escribió:
 Hola!

 Quería presentar aquí también el proyecto PowerStack [1] en el que he
 estado trabajando el los últimos meses como mejora para la distribución
 CentOS.

 La primera versión es un repositorio que contiene las últimas versiones
 de LAMP (PHP 5.3.5 + MySQL 5.5.9 y Apache 2.2.17), aunque el proyecto
 pretende ser algo mas que un repositorio para Yum, lo cuento en un post:

  http://woop.es/2011/02/presentacion-powerstack/

 Para actualizar a las últimas versiones de PHP + MySQL + Apache en tu
 CentOS es tan sencillo como:

  rpm -Uvh http://now.powerstack.org/
  yum update

 El wiki tiene el listado completo de paquetes, características, roadmap,
 etc.. si alguien se anima a probarlo *las sugerencias serán muy
 bienvenidas*! :)


Hola, no habrá conflictos luego con phpmyadmin?, esta última la uso
con repo epel, y me instala paquetes antiguos de php, no se si esté
equivocado, aunque también podría usar phpmyadmin manualmente, pero si
deseo usar desde yum?, algún conflicto?

 Saludos,

 [1] http://powerstack.org

 --Santi

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



-- 
Edguit@r
http://cybernautape.blogspot.com
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] Cannot %include in CentOS 5.5 kickstart

2011-03-17 Thread whitivery
whitivery co55-s...@dea.spamcon.org wrote:

Patrick Lists
centos-l...@puzzled.xs4all.nl wrote:

On 03/10/2011 08:14 AM, whitivery wrote:
 # This does not work
 %include /tmp/drvdisk

 # This works
 #driverdisk
 --source=nfs:10.0.4.157:/srv/cobbler/RHEL5.5_x86_402_409_410_DD.img


 %packages
 @base
 @core

 %pre --erroronfail

 echo driverdisk
 --source=nfs:10.0.4.157:/srv/cobbler/RHEL5.5_x86_402_409_410_DD.img
 /tmp/drvdisk

Although lacking a good caffeine fix the only difference I notice with 
some examples is that they do this:

%include /tmp/drvdisk.sh
.
.
.
%pre
echo driverdisk --source=nfs:10.1.2.3:/foo/image.img  /tmp/drvdisk.sh

Notice the usage of .sh in the drvdisk.sh filename?

Thanks for the idea - but it didn't make any difference.  I even did chmod
+x on the created file.  I'm suspecting it's something specific to the
driverdisk command, I'll play around if I get a chance and see if
including other things works as expected - in my previous 4.4 work I never
used a driver disk.

Today I tried including something other than driverdisk (I put the
partitioning commands in an include file), and it works fine.  So it's
something specific to the driverdisk command.

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


Re: [CentOS] CentOS 5.5 does not recognise SAS drives with LSI 1068E Controller

2011-03-17 Thread Timo Schoeler
thus Peter Peltonen spake:
 I have now partially solved my problem:
 
 On Wed, Mar 9, 2011 at 5:55 PM, Peter Peltonen peter.pelto...@gmail.com 
 wrote:
 I need to do a new CentOS net install on a new server having the
 Supermicro X7DVL-3 motherboard:
 
 [...]
 
 So I assume the controller is not supported and I need a binary driver
 for it. For 1068e it should be:
 
 I received the driver image megasr-13.17.0421.2010-1-rhel50-u5-all.img
 from the hardware vendor and was able to use it as the driver disk for
 installation.
 
 Upgrading the kernel issue is still unresolved though:
 
 And what happens if I get the driver installed and then the server's
 kernel is updated? Do I need reinstall the driver somehow?
 
 After updates the system is unable to boot with the new kernel as it
 cannot find the megasr driver.
 
 What shoudl I do? Does the megasr module for the old kernel also work
 with the new kernel = do I need to copy it somewhere and create an
 initrd  image including that module? Or do I need to find an updated
 megasr module from somewhere?

I had this hardware, too, from a customer of ours.

http://blog.uguu.ru/tag/piece-of-shit/

It's not my blog but it's exactly what reality ist like.

Cheers,

Timo

 Best regards,
 Peter


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


Re: [CentOS] perl one-liner issue

2011-03-17 Thread John Doe
From: Joseph L. Casale jcas...@activenetwerx.com

 To: centos@centos.org centos@centos.org
 Sent: Wed, March 16, 2011 8:56:41 PM
 Subject: [CentOS] perl one-liner issue
 
 I am trying to deduce the one liner for an rpm I am packaging to edit a  php
 configuration file from within my spec. The line I am editing looks  like:
 $conf['nagios_base'] = /nagios/cgi-bin;

A sed alternative:

  sed -i '/nagios_base/ s/\/nagios\/cgi-bin/xxx/' $FILE
or more selective:
  sed -i '/$conf\[.nagios_base.\] = / s/\/nagios\/cgi-bin/xxx/' $FILE

JD


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


Re: [CentOS] Apache/Active Directory authentication

2011-03-17 Thread John Hodrien
On Wed, 16 Mar 2011, Michael B Allen wrote:

 On Mon, Mar 14, 2011 at 5:58 AM, John Hodrien j.h.hodr...@leeds.ac.uk wrote:
 On Mon, 14 Mar 2011, Michael B Allen wrote:

 Hi Asya,

 You must set the servicePrincipalName attribute on the service account
 (MYSERVER$ in this case) to include all of the hostnames that will be
 used to access the web server which in this case would be at least
 HTTP/myserver.server.com. One way to do this would be to use
 setspn.exe on a Windows client but if you really have no access to the
 Windows side as you say, you could use the Samba keytab to acquire
 credentials for doing the necessary LDAP add operation using some tool
 (maybe there is a Samba utility for this, I don't know) or program.

 That's not true, and I'm not even sure it's possible from samba (at least, 
 I'm
 not sure it *should* be possible).

 What's not true? That you can use the Samba keytab to acquire a ticket
 and perform an LDAP operation on it's own Computer account? It
 certainly is true. In fact Samba uses the keytab to authenticate with
 and at least query AD services on a regular basis to perform normal
 day-to-day operations.

Sorry I overquoted, I'll be more explicit.  You said:

You must set the servicePrincipalName attribute on the service account
(MYSERVER$ in this case) to include all of the hostnames that will be
used to access the web server

That just isn't true.  You don't need all those principals in, and I can't
think of a sane way that'd even be possible.  There's no sane way this host
credential could be used to generate HTTP/another.fqdn@REALM credentials.
Surely?

 But from looking at you other response I wonder if net ads keytab ADD
 HTTP adds servicePrincipalName attribute values (I don't use Samba
 like that so I don't know). If is supposed to, and the AD account does
 not have them, then I agree, something is wrong and he should start
 over. It could be a replication issue.

Yes.  That command creates servicePrincpalName entries for HTTP with the FQDN
and the short name.

 I don't know what the official view is on going through a CNAME but I
 think that is probably a dubious practice. The proper way to handle
 this scenario would be to add another servicePrincipalName value for
 HTTP/www.friendly and a corresponding keytab entry for
 HTTP/www.friendly@KRB-REALM.

Dubious why?  If I go with your method at the very least I now need more
records in AD for machines that don't exist, and I'm guessing I'll be creating
them by being a domain administrator, which is inconvenient in large
organisations.

I'm assuming I'll also be needing to add A records for these domains.
Kerberos surely won't be a fan of there not being a PTR record, so I assume
you'd need multiple PTR records.  Is this really the path you're suggesting
going down?  I'm genuinely interested here, I'm not having a dig.

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


[CentOS] ssh remote execute awk problem

2011-03-17 Thread sync
Hi , all :


There is a problem on executing awk command to remote servers;

The shell test script is like this :



   1. #!/bin/sh
   2.
   3. _CMD=ssh root@localhost
   4.
   5. cpu_num=$($_CMD awk '/processor/{count[proc]++}; END{print
   count[proc]}' /proc/cpuinfo)“
   6.
   7. echo $cpu_num


My root account can entry the server without the passwd.

But  I found no result on the screen .

Is there some error on that script ? By the way , I googled and found use
the following method can run the right result .


   1. #!/bin/sh
   2.
   3. _CMD=ssh root@localhost
   4.
   5. cpu_num=$($_CMD   'HERE'
   6. awk '/processor/{count[proc]++}; END{print count[proc]}'
   /proc/cpuinfo
   7. HERE
   8.
   9. )“
   10.
   11. echo $cpu_num
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh remote execute awk problem

2011-03-17 Thread John Doe
From: sync jian...@gmail.com
There is a problem on executing awk command to remote servers;
1. #!/bin/sh
2. 
3. _CMD=ssh root@localhost
4. 
5. cpu_num=$($_CMD awk '/processor/{count[proc]++}; END{print 
count[proc]}' /proc/cpuinfo)“
6. 
7. echo $cpu_num

Quote the whole command and backslash the command quotes...
ssh root@localhost awk '/processor/{count[\proc\]++}; END{print 
count[\proc\] } ' /proc/cpuinfo

JD


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


Re: [CentOS] Virtual Machine Manager Doesn't see vmx flag

2011-03-17 Thread David McGuffey

On Wed, 2011-03-16 at 03:36 -0500, Johnny Hughes wrote:
 On 03/15/2011 08:17 PM, David McGuffey wrote:
  
...
 
 Did you verify that this was working before applying those settings in
 the NSA guide?
 
No...the prototype worked A-OK on another machine with the same CentOS
5.5 DVD, so I focused on the security hardening process...my bad...won't
do that again.

 What does/is VMM claiming ... are you seeing only fully virtualized
 and not paravirtualized as a selection or what is the problem that you
 are encountering?  I am not an expert on KVM, but when I install a KVM
 VM in Virtual Machine Manager, I have to select Fully Virtualized
 initally, then if I want to install the virtio (paravirtualized)
 drivers, I need to do it like this:
 

The selection for full/para virtualization is locked in para and all
grayed out.

 I am fairly sure that only if you are running Xen will you actually see
 a Paravirtualized selection in Virtual Machine Manager ... however I
 would suggest that you use KVM and not Xen as KVM is where RHEL
 Virtualization is moving towards and Xen is being moved away from.
 

Not running the xen kernel.

 The BIOS of many machines can disable virtual machine extensions (also
 called other things ... usually with Virtual, Virtual Technologies, or
 VT in the name).  According to KVM (link below), sometimes certain
 settings do need to be turned off while others need to be on, so there
 may be a specific set of on and off that make it work on this type of
 machine.
 

That must be the problem.  Searching dmesg shows the following two lines
next to each other:
   kvm: disabled by bios
   ksm: loaded

mobprobe kvm-intel also reports:
.../weak-updates/kmod-kvm...

A search of that gives some guidance, but I'm sure the first challenge I
have is to find the right bios settings, possibly updating the bios
along the way.

 So, it is possible for vmx to show up in the cpu flags but for it to be
 disabled.  Specifically, some Dell machines need Trusted Computer or
 Trusted Execution enabled as well.
 
 http://www.linux-kvm.org/page/FAQ#.22KVM:_disabled_by_BIOS.22_error
 
 Verifying the latest version of the BIOS is installed can be very
 important for memory sizes greater than 4 GB of RAM and proper APIC
 operation on Linux as well.  If you need to flash the BIOS on a Dell
 machine that has Linux installed, I use a Free DOS iso to boot from
 and put the Dell BIOS on my USB key, which is normally detected as C: or
 D: on my machines when booting the Free Dos ISO.  I use fdfullcd.iso
 from here (use the LiveCD and do NOT install Free DOS on your main drive
 :D):

Thanks...that is probably what I'm going to have to do.

Dave M


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


Re: [CentOS] ssh remote execute awk problem

2011-03-17 Thread Nico Kadel-Garcia
On Thu, Mar 17, 2011 at 6:58 AM, John Doe jd...@yahoo.com wrote:
 From: sync jian...@gmail.com
There is a problem on executing awk command to remote servers;
    1. #!/bin/sh
    2.
    3. _CMD=ssh root@localhost
    4.
    5. cpu_num=$($_CMD awk '/processor/{count[proc]++}; END{print
count[proc]}' /proc/cpuinfo)“
    6.
    7. echo $cpu_num

 Quote the whole command and backslash the command quotes...
 ssh root@localhost awk '/processor/{count[\proc\]++}; END{print
 count[\proc\] } ' /proc/cpuinfo

 JD

Or do the processing locally and stay away from proc nuttiness,
without mucking with ssh and awk.

 grep ^processor /proc/cpuinfo | wc -l

Or:

 ssh -l $TARGETUSER $TARGETHOST [ -e /proc/cpuinfo ] -a grep
^processor | wc -l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh remote execute awk problem

2011-03-17 Thread Nico Kadel-Garcia
On Thu, Mar 17, 2011 at 9:31 AM, Nico Kadel-Garcia nka...@gmail.com wrote:
 On Thu, Mar 17, 2011 at 6:58 AM, John Doe jd...@yahoo.com wrote:
 From: sync jian...@gmail.com
There is a problem on executing awk command to remote servers;
    1. #!/bin/sh
    2.
    3. _CMD=ssh root@localhost
    4.
    5. cpu_num=$($_CMD awk '/processor/{count[proc]++}; END{print
count[proc]}' /proc/cpuinfo)“
    6.
    7. echo $cpu_num

 Quote the whole command and backslash the command quotes...
 ssh root@localhost awk '/processor/{count[\proc\]++}; END{print
 count[\proc\] } ' /proc/cpuinfo

 JD

 Or do the processing locally and stay away from proc nuttiness,
 without mucking with ssh and awk.

     grep ^processor /proc/cpuinfo | wc -l

 Or:

     ssh -l $TARGETUSER $TARGETHOST [ -e /proc/cpuinfo ] -a grep
 ^processor | wc -l

Ooops! I meant


ssh -l $TARGETUSER $TARGETHOST [ -e /proc/cpuinfo ] -a grep
^processor /proc/cpuinfo | wc -l

The check fo rprocinfo is in case /proc isn't mounted.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh remote execute awk problem

2011-03-17 Thread Les Mikesell
On 3/17/2011 8:31 AM, Nico Kadel-Garcia wrote:

 Quote the whole command and backslash the command quotes...
 ssh root@localhost awk '/processor/{count[\proc\]++}; END{print
 count[\proc\] } ' /proc/cpuinfo

 JD

 Or do the processing locally and stay away from proc nuttiness,
 without mucking with ssh and awk.

   grep ^processor /proc/cpuinfo | wc -l

 Or:

   ssh -l $TARGETUSER $TARGETHOST [ -e /proc/cpuinfo ] -a grep
 ^processor | wc -l

Or, more extremely - if you are doing much of this kind of remote 
inventory checking, you might consider running ocsinventory-ng with 
agents on the nodes.

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


Re: [CentOS] ssh remote execute awk problem

2011-03-17 Thread m . roth
Les Mikesell wrote:
 On 3/17/2011 8:31 AM, Nico Kadel-Garcia wrote:

 Quote the whole command and backslash the command quotes...
 ssh root@localhost awk '/processor/{count[\proc\]++}; END{print
 count[\proc\] } ' /proc/cpuinfo

 Or do the processing locally and stay away from proc nuttiness,
 without mucking with ssh and awk.

   grep ^processor /proc/cpuinfo | wc -l

 Or:

   ssh -l $TARGETUSER $TARGETHOST [ -e /proc/cpuinfo ] -a grep
 ^processor | wc -l

 Or, more extremely - if you are doing much of this kind of remote
 inventory checking, you might consider running ocsinventory-ng with
 agents on the nodes.

Yes. We use ocsinventory here. Warning: there are a few systems that
ocsinventory, or at least the version we put on last year, would literally
crash or hang the system.

   mark



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


Re: [CentOS] tar exclude question

2011-03-17 Thread Charles Polisher
Rainer Traut wrote:
 Nico Kadel-Garcia:
  Rainer Trauttr...@gmx.de  wrote:
  Hi List,
 
  hope this is not too offtopic, but this bothers me and my backup.
 
  My backups are tar jobs in cron, eg:
 
  20 23 * * * tar -zcf /mnt/backupInternalHosts/backup/backup.tar.gz
  /etc /root /home  touch /tmp/state_backup-backup
 
  Try this:
 
20 23 * * * tar -zcf
  /mnt/backupInternalHosts/backup/backup.tar.gz -C / etc root/home
  touch /tmp/state_backup-backup
 
 Hmm, I already did?
 tar -zc -f /mnt/backupInternalHosts/backup/backup.tar.gz -C / etc root
 home  touch /tmp/state_backup-backup
 
 But the problem with it is, as soon as you use excludes this can be 
 dangerous because they can match everywhere in your backup path.

Check out the GNU Tar Reference manual, much more informative
than man tar. Look for CACHEDIR.TAG and --exclude-caches, works
very well for me. The CACHEDIR.TAG file is added to any directory
you want to skip, and tar will skip it. Here's the contents:

$ cat /var/cache/CACHEDIR.TAG
Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by (application name).
# For information about cache directory tags, see:
#   http://www.brynosaurus.com/cachedir/

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


Re: [CentOS] ssh remote execute awk problem

2011-03-17 Thread Les Mikesell
On 3/17/2011 9:43 AM, m.r...@5-cent.us wrote:


ssh -l $TARGETUSER $TARGETHOST [ -e /proc/cpuinfo ] -a grep
 ^processor | wc -l

 Or, more extremely - if you are doing much of this kind of remote
 inventory checking, you might consider running ocsinventory-ng with
 agents on the nodes.

 Yes. We use ocsinventory here. Warning: there are a few systems that
 ocsinventory, or at least the version we put on last year, would literally
 crash or hang the system.

They seem to be nearing a 2.x release where the new server will talk to 
the old clients but not the other way around (due to the db utf8 
settings).  But I haven't seen any serious problems with the old agent 
except that on windows the service sometimes stops running, and it 
doesn't see the 64-bit registry.

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

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


Re: [CentOS] security updates?

2011-03-17 Thread Alain Péan
Le 17/03/2011 16:02, Hendrik a écrit :
 Hello,

 There are several important security updates available:

 Critical: firefox security and bug fix update
 Important: tomcat5 security update
 Important: vsftpd security update
 Moderate: subversion security and bug fix update
 Important: logwatch security update
 Important: libtiff security update
 Moderate: kernel security and bug fix update
 Important: samba security update
 Important: samba3x security update
 Moderate: mailman security update
 Important: krb5 security update
 Moderate: postgresql security update
 Moderate: postgresql84 security update
 Moderate: pango security update
 Important: java-1.6.0-openjdk security and bug fix update

 Does CentOS not have any updates?
Hi Hendrik,

This is my first post on this list, but I follow the discussions since 
several months now.
You should know that these updates are due in 5.6 release, which was 
announced to be almost ready to release last week.
May I ask the develloppers if we can have some update about the status 
of the release, why it was delayed (some problems ?), if if there is any 
schdule to release it ?

Thanks in advance,
Alain
 --
 Hendrik
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

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


Re: [CentOS] security updates?

2011-03-17 Thread Sorin Srbu
-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Alain Péan
Sent: Thursday, March 17, 2011 4:09 PM
To: CentOS mailing list
Subject: Re: [CentOS] security updates?

May I ask the develloppers if we can have some update about the status
of the release, why it was delayed (some problems ?), if if there is any
schdule to release it ?

Can we please, please, pretty please with a cherry on top, not start this dance
again? V5.6 will be done when it's done, okay? In the meantime, you're all very
free to use whatever other distro that has these updates, if you're so antsy
about them. Asking when won't speed things up, quite the contrary. Please
people...

-- 
/Sorin


smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] security updates?

2011-03-17 Thread m . roth
Sorin Srbu wrote:
-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf
Of Alain Péan
Sent: Thursday, March 17, 2011 4:09 PM
To: CentOS mailing list
Subject: Re: [CentOS] security updates?

May I ask the develloppers if we can have some update about the status
of the release, why it was delayed (some problems ?), if if there is any
schdule to release it ?

 Can we please, please, pretty please with a cherry on top, not start this
 dance again? V5.6 will be done when it's done, okay? In the meantime,
you're all
 very free to use whatever other distro that has these updates, if you're so
 antsy about them. Asking when won't speed things up, quite the contrary.
 Please people...

You beat me to it: *PLEASE* don't start this up again

mark

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


Re: [CentOS] security updates?

2011-03-17 Thread Alain Péan
Le 17/03/2011 16:25, m.r...@5-cent.us a écrit :
 Sorin Srbu wrote:
 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf
 Of Alain Péan
 Sent: Thursday, March 17, 2011 4:09 PM
 To: CentOS mailing list
 Subject: Re: [CentOS] security updates?

 May I ask the develloppers if we can have some update about the status
 of the release, why it was delayed (some problems ?), if if there is any
 schdule to release it ?
 Can we please, please, pretty please with a cherry on top, not start this
 dance again? V5.6 will be done when it's done, okay? In the meantime,
 you're all
 very free to use whatever other distro that has these updates, if you're so
 antsy about them. Asking when won't speed things up, quite the contrary.
 Please people...
 You beat me to it: *PLEASE* don't start this up again
With all due respect, the release was announced to be ready last week, 
and planned for the end of the week. One week later, I don't see 
anything. I think having some news once a week is something feasible, 
and I don' want to start a dance.
I did not see anything anywhere (nothing on devel forum or elsewhere).

I use CentOS, I don't want to migrate to another distro to upgrade.

Alain
  mark

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


-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

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


Re: [CentOS] security updates?

2011-03-17 Thread Sorin Srbu
-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of m.r...@5-cent.us
Sent: Thursday, March 17, 2011 4:25 PM
To: CentOS mailing list
Subject: Re: [CentOS] security updates?

You beat me to it: *PLEASE* don't start this up again

I got really irritated last it happened and I'm not even a dev, just a lowly
end-user. Oh, what may they [the dev's] think of us going on like this... 8-S 

Or wait a sec' I'd rather not know... ;-)

-- 
/Sorin


smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] security updates?

2011-03-17 Thread Sorin Srbu
-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Alain Péan
Sent: Thursday, March 17, 2011 4:34 PM
To: CentOS mailing list
Subject: Re: [CentOS] security updates?

With all due respect, the release was announced to be ready last week,
and planned for the end of the week. One week later, I don't see
anything. I think having some news once a week is something feasible,
and I don' want to start a dance.
I did not see anything anywhere (nothing on devel forum or elsewhere).

I use CentOS, I don't want to migrate to another distro to upgrade.

I'm not gonna' bite, I'm not gonna' bite... 8-

-- 
/Sorin


smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] security updates?

2011-03-17 Thread Neil Viglieno
On Thu, 2011-03-17 at 16:34 +0100, Alain Péan wrote:
 With all due respect, the release was announced to be ready last week, 
 and planned for the end of the week. One week later, I don't see 
 anything. I think having some news once a week is something feasible, 
 and I don' want to start a dance.
 I did not see anything anywhere (nothing on devel forum or elsewhere).
 
 I use CentOS, I don't want to migrate to another distro to upgrade.
 
 Alain

Where was the release announced to be ready last week?

--
Neil

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


Re: [CentOS] security updates?

2011-03-17 Thread Tom H
On Thu, Mar 17, 2011 at 12:03 PM, Neil Viglieno n...@viglieno.net wrote:
 On Thu, 2011-03-17 at 16:34 +0100, Alain Péan wrote:

 With all due respect, the release was announced to be ready last week,
 and planned for the end of the week. One week later, I don't see
 anything. I think having some news once a week is something feasible,
 and I don' want to start a dance.

 I did not see anything anywhere (nothing on devel forum or elsewhere).

 I use CentOS, I don't want to migrate to another distro to upgrade.

 Where was the release announced to be ready last week?

Not quite:

http://lists.centos.org/pipermail/centos/2011-March/107622.html
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] security updates?

2011-03-17 Thread Alain Péan
Le 17/03/2011 17:19, Tom H a écrit :
 On Thu, Mar 17, 2011 at 12:03 PM, Neil Viglienon...@viglieno.net  wrote:
 On Thu, 2011-03-17 at 16:34 +0100, Alain Péan wrote:
 With all due respect, the release was announced to be ready last week,
 and planned for the end of the week. One week later, I don't see
 anything. I think having some news once a week is something feasible,
 and I don' want to start a dance.

 I did not see anything anywhere (nothing on devel forum or elsewhere).

 I use CentOS, I don't want to migrate to another distro to upgrade.
 Where was the release announced to be ready last week?
 Not quite:

 http://lists.centos.org/pipermail/centos/2011-March/107622.html
I have still to retrieve the original post, bur here was a precise 
information :
http://lists.centos.org/pipermail/centos-devel/2011-March/007064.html

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


-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

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


Re: [CentOS] security updates?

2011-03-17 Thread Alain Péan
Le 17/03/2011 17:23, Alain Péan a écrit :
 Le 17/03/2011 17:19, Tom H a écrit :
 On Thu, Mar 17, 2011 at 12:03 PM, Neil Viglienon...@viglieno.net   wrote:
 On Thu, 2011-03-17 at 16:34 +0100, Alain Péan wrote:
 With all due respect, the release was announced to be ready last week,
 and planned for the end of the week. One week later, I don't see
 anything. I think having some news once a week is something feasible,
 and I don' want to start a dance.

 I did not see anything anywhere (nothing on devel forum or elsewhere).

 I use CentOS, I don't want to migrate to another distro to upgrade.
 Where was the release announced to be ready last week?
 Not quite:

 http://lists.centos.org/pipermail/centos/2011-March/107622.html
 I have still to retrieve the original post, bur here was a precise
 information :
 http://lists.centos.org/pipermail/centos-devel/2011-March/007064.html
This is the original message :
http://lists.centos.org/pipermail/centos-devel/2011-March/007061.html
 Alain
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



-- 
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

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


Re: [CentOS] security updates?

2011-03-17 Thread Alain Péan

Le 17/03/2011 17:25, Alain Péan a écrit :

Le 17/03/2011 17:23, Alain Péan a écrit :

Le 17/03/2011 17:19, Tom H a écrit :

On Thu, Mar 17, 2011 at 12:03 PM, Neil Viglienon...@viglieno.netwrote:

On Thu, 2011-03-17 at 16:34 +0100, Alain Péan wrote:

With all due respect, the release was announced to be ready last week,
and planned for the end of the week. One week later, I don't see
anything. I think having some news once a week is something feasible,
and I don' want to start a dance.

I did not see anything anywhere (nothing on devel forum or elsewhere).

I use CentOS, I don't want to migrate to another distro to upgrade.

Where was the release announced to be ready last week?

Not quite:

http://lists.centos.org/pipermail/centos/2011-March/107622.html

I have still to retrieve the original post, bur here was a precise
information :
http://lists.centos.org/pipermail/centos-devel/2011-March/007064.html

This is the original message :
http://lists.centos.org/pipermail/centos-devel/2011-March/007061.html

And on Karanbir twitter account :
@ilukeberry http://twitter.com/ilukeberry not this week for 5.6, 
*hope* to get it public early next week ( so before Wednesday the 9th 
March ). 3:48 AM Mar 3rd 
http://twitter.com/CentOS/status/43276640800878592 via web en réponse 
à ilukeberry http://twitter.com/ilukeberry/status/43024692021436416

Alain

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





--
==
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==

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


Re: [CentOS] security updates?

2011-03-17 Thread m . roth
Alain Péan wrote:
 Le 17/03/2011 17:25, Alain Péan a écrit :
 Le 17/03/2011 17:23, Alain Péan a écrit :
 Le 17/03/2011 17:19, Tom H a écrit :
 On Thu, Mar 17, 2011 at 12:03 PM, Neil Viglienon...@viglieno.net
 wrote:
 On Thu, 2011-03-17 at 16:34 +0100, Alain Péan wrote:
 With all due respect, the release was announced to be ready last
 week,
snip
 I use CentOS, I don't want to migrate to another distro to upgrade.
 Where was the release announced to be ready last week?
 Not quite:
snip
 This is the original message :
 http://lists.centos.org/pipermail/centos-devel/2011-March/007061.html
 And on Karanbir twitter account :
 @ilukeberry http://twitter.com/ilukeberry not this week for 5.6,
 *hope* to get it public early next week ( so before Wednesday the 9th
 March ). 3:48 AM Mar 3rd
snip
Notice the word *HOPE*. If you want an announcement, it would be on
http://centos.org, not from a twitter account (even if it is
Karanbir's).

 mark

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


Re: [CentOS] security updates?

2011-03-17 Thread Chris Weisiger


--- On Thu, 3/17/11, m.r...@5-cent.us m.r...@5-cent.us wrote:

 From: m.r...@5-cent.us m.r...@5-cent.us
 Subject: Re: [CentOS] security updates?
 To: CentOS mailing list centos@centos.org
 Date: Thursday, March 17, 2011, 11:35 AM
 Alain Péan wrote:
  Le 17/03/2011 17:25, Alain Péan a écrit :
  Le 17/03/2011 17:23, Alain Péan a écrit :
  Le 17/03/2011 17:19, Tom H a écrit :
  On Thu, Mar 17, 2011 at 12:03 PM, Neil
 Viglienon...@viglieno.net
  wrote:
  On Thu, 2011-03-17 at 16:34 +0100,
 Alain Péan wrote:
  With all due respect, the release
 was announced to be ready last
  week,
 snip
  I use CentOS, I don't want to
 migrate to another distro to upgrade.
  Where was the release announced to be
 ready last week?
  Not quite:
 snip
  This is the original message :
  http://lists.centos.org/pipermail/centos-devel/2011-March/007061.html
  And on Karanbir twitter account :
  @ilukeberry http://twitter.com/ilukeberry not this week for
 5.6,
  *hope* to get it public early next week ( so before
 Wednesday the 9th
  March ). 3:48 AM Mar 3rd
 snip
 Notice the word *HOPE*. If you want an announcement, it
 would be on
 http://centos.org, not from a twitter account (even
 if it is
 Karanbir's).
 
          mark
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Here is my 2 cents.

I really appreciate all the people involved with the building and rebranding of 
redhat to create the centos distribution. If i had the time and dedication, I 
would definitely put forth the effort to help, but I cant, and therefore I dont 
complain about when updates get built. At times, to learn more about how things 
are done, I have downloaded the spec files and or src files and built several 
rpms to update my system. From what I learned, just looking through the spec 
and src files is time consuming, BUT building the files to create the RPMS is a 
whole other issue, which seems to take forever at times, depending on how many 
you are building. 

So all you people complaining about when the updates will be out, leave the 
guys alone, let them do their jobs and the updates will appear. So 
again...in the meantime, if you want the updates quicker, LEARN TO DO IT 
YOURSELF and you will get a better understanding of what happens and why it can 
take so long to get the updates pushed out.


Thats my 2 cents and once again the people of who developed centOS, I 
appreciate all you do.

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


Re: [CentOS] Watching a directory

2011-03-17 Thread Connie Sieh
On Wed, 16 Mar 2011, R P Herrold wrote:

 On Wed, 16 Mar 2011, Jason Slack-Moehrle wrote:

 Would anyone have thoughts?

 don't reinvent the wheel

 inotify builds and works fine on CentOS 5

And it should be available by default in CentOS 6.

-Connie Sieh

 -- Russ herrold
 ___
 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] Watching a directory

2011-03-17 Thread Nicolas Ross
 On Wed, 16 Mar 2011, R P Herrold wrote:

 On Wed, 16 Mar 2011, Jason Slack-Moehrle wrote:

 Would anyone have thoughts?

 don't reinvent the wheel

 inotify builds and works fine on CentOS 5

 And it should be available by default in CentOS 6.

 -Connie Sieh

(sorry, I don't have the original email)...

On that note, I use incron :

http://inotify.aiken.cz/?section=incronpage=aboutlang=en

wich also builds fine on centos (5.x)

When you say that inotify is availaible by default on rhel6, in what package 
?

Regards, 

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


[CentOS] respawning apache on centos

2011-03-17 Thread Dave Stevens
Hi 

I have a centos instance on a host where uname -a shows:

Linux cl28810.com 2.6.18-194.26.1.el5.028stab079.2PAE #1 SMP Fri Dec 17 
19:34:22 MSK 2010 i686 i686 i386 GNU/Linux

Periodically my ssh access and http access slow dramatically and I get out of 
memory when trying to do rudimentary stuff like ls. I've been advised by tech 
support to try service httpd restart. This works. But the first thing that 
happens after the command is issued is that the load goes up to about 15 then 
slowly declines to a more typical figure, in the range feom .1 to 1.3, which 
is fine. It takes several minutes before the site is really usable. I now have 
22 apache instances out of 66 total processes, which seems excessive.

One site hosted, running drupal 7, 1.5G RAM lots of disk spece, two cores, 
Xeon based host. I don't know if this is an apache issue or CentOS related or 
what.

Ideas? Debugging I can do?

Dave

-- 

“When facism comes to America it will be wrapped in the flag and carrying a 
cross.”

- Sinclair Lewis, It Can't Happen Here, 1935
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] respawning apache on centos

2011-03-17 Thread Brunner, Brian T.
centos-boun...@centos.org wrote:

 One site hosted, running drupal 7, 1.5G RAM lots of disk
 spece, two cores, Xeon based host. 
 I don't know if this is an apache issue or
 CentOS related or
 what.

My first recommendation: You could double (or quadruple) that RAM far
cheaper than talking about it.

Insert spiffy .sig here:
Life is complex: it has both real and imaginary parts.

//me
***
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] respawning apache on centos

2011-03-17 Thread Eero Volotinen
2011/3/17 Brunner, Brian T. bbrun...@gai-tronics.com:
 centos-boun...@centos.org wrote:

 One site hosted, running drupal 7, 1.5G RAM lots of disk
 spece, two cores, Xeon based host.
 I don't know if this is an apache issue or
 CentOS related or
 what.

 My first recommendation: You could double (or quadruple) that RAM far
 cheaper than talking about it.

is this openvz based virtual machine?

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


Re: [CentOS] respawning apache on centos

2011-03-17 Thread m . roth
Dave Stevens wrote:

 Periodically my ssh access and http access slow dramatically and I get out
 of memory when trying to do rudimentary stuff like ls. I've been advised by
snip
 is fine. It takes several minutes before the site is really usable. I now
 have 22 apache instances out of 66 total processes, which seems excessive.

 One site hosted, running drupal 7, 1.5G RAM lots of disk spece, two cores,
 Xeon based host. I don't know if this is an apache issue or CentOS related
 or what.

 Ideas? Debugging I can do?

For one thing, I'd strongly urge you to add at least another .5G RAM, if
not 2.5G. Second, look at the apache configuration, and see how many
workers it can use - you might want to lower the limit.

Also, what's your connection to the 'Net like, and how heavily is your
website being hit?

 When facism comes to America it will be wrapped in the flag and
 carrying a cross.

 - Sinclair Lewis, It Can't Happen Here, 1935

It's happened here.

  mark

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


Re: [CentOS] respawning apache on centos

2011-03-17 Thread Eero Volotinen
2011/3/17  m.r...@5-cent.us:
 Dave Stevens wrote:

 Periodically my ssh access and http access slow dramatically and I get out
 of memory when trying to do rudimentary stuff like ls. I've been advised by
 snip
 is fine. It takes several minutes before the site is really usable. I now
 have 22 apache instances out of 66 total processes, which seems excessive.

 One site hosted, running drupal 7, 1.5G RAM lots of disk spece, two cores,
 Xeon based host. I don't know if this is an apache issue or CentOS related
 or what.

 Ideas? Debugging I can do?

 For one thing, I'd strongly urge you to add at least another .5G RAM, if
 not 2.5G. Second, look at the apache configuration, and see how many
 workers it can use - you might want to lower the limit.

 Also, what's your connection to the 'Net like, and how heavily is your
 website being hit?

machine looks openvz virtualized container, it requires tuning to
limit settings.

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


Re: [CentOS] security updates?

2011-03-17 Thread Nico Kadel-Garcia
On Thu, Mar 17, 2011 at 1:24 PM, Chris Weisiger cweisi...@bellsouth.net wrote:

 I really appreciate all the people involved with the building and rebranding 
 of redhat to create the centos distribution. If i had the time and 
 dedication, I would definitely put forth the effort to help, but I cant, and 
 therefore I dont complain about when updates get built. At times, to learn 
 more about how things are done, I have downloaded the spec files and or src 
 files and built several rpms to update my system. From what I learned, just 
 looking through the spec and src files is time consuming, BUT building the 
 files to create the RPMS is a whole other issue, which seems to take forever 
 at times, depending on how many you are building.

 So all you people complaining about when the updates will be out, leave the 
 guys alone, let them do their jobs and the updates will appear. So 
 again...in the meantime, if you want the updates quicker, LEARN TO DO IT 
 YOURSELF and you will get a better understanding of what happens and why it 
 can take so long to get the updates pushed out.

While it's easy to build packages yourself with tools like mock, and
rebuild them from The Upstream Vendor's publicly accesible SRPM's,
there's a little problem with release numbering. Keeping track of
which packages are built personally, and which should be replaced with
the CentOS updates when those are available, can get tricky.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] respawning apache on centos

2011-03-17 Thread Kai Schaetzl
This is not CentOS, it's a compilation by your host built from changed 
CentOS sources. Your problem obviously is that you reach the limits of 
your VM. 1.5 GB of RAM should be enough for your 22 apache processes, so 
it is probably the CPU that is the bottleneck. Anyway, you have to talk to 
your provider, this is nothing CentOS-specific.

Kai


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


Re: [CentOS] respawning apache on centos

2011-03-17 Thread Rajagopal Swaminathan
Greetings,

On 3/18/11, Dave Stevens g...@uniserve.com wrote:
 Hi

 I have a centos instance on a host where uname -a shows:

 Linux cl28810.com 2.6.18-194.26.1.el5.028stab079.2PAE #1 SMP Fri Dec 17
 19:34:22 MSK 2010 i686 i686 i386 GNU/Linux


I would suggest you look into the swap settings on both the Centos*
host and the Centos* guest.

Is swap stored on RAID0+1 etc.

Is the VM stored in LVM or on  filesystem, if any, which?

It is also difficult to make out if the 1.5G RAM you mentioned is
physically on the host or allocated to VM.

Having some such details would make an interest furtherance to this thread.

HTH

Regards,

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


Re: [CentOS] respawning apache on centos

2011-03-17 Thread Dave Stevens
On Thursday, March 17, 2011 01:09:46 pm Eero Volotinen wrote:
 2011/3/17 Brunner, Brian T. bbrun...@gai-tronics.com:
  centos-boun...@centos.org wrote:
  One site hosted, running drupal 7, 1.5G RAM lots of disk
  spece, two cores, Xeon based host.
  I don't know if this is an apache issue or
  CentOS related or
  what.
  
  My first recommendation: You could double (or quadruple) that RAM far
  cheaper than talking about it.
 
 is this openvz based virtual machine?

virtuozzo is what the hosting org says

d

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

-- 

“When facism comes to America it will be wrapped in the flag and carrying a 
cross.”

- Sinclair Lewis, It Can't Happen Here, 1935
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] respawning apache on centos

2011-03-17 Thread Dave Stevens
On Thursday, March 17, 2011 01:09:48 pm m.r...@5-cent.us wrote:
 Dave Stevens wrote:
  Periodically my ssh access and http access slow dramatically and I get
  out of memory when trying to do rudimentary stuff like ls. I've been
  advised by
 
 snip
 
  is fine. It takes several minutes before the site is really usable. I now
  have 22 apache instances out of 66 total processes, which seems
  excessive.
  
  One site hosted, running drupal 7, 1.5G RAM lots of disk spece, two
  cores, Xeon based host. I don't know if this is an apache issue or
  CentOS related or what.
  
  Ideas? Debugging I can do?
 
 For one thing, I'd strongly urge you to add at least another .5G RAM, if
 not 2.5G. Second, look at the apache configuration, and see how many
 workers it can use - you might want to lower the limit.

ok, I'll look at that

 
 Also, what's your connection to the 'Net like,my measured download to the 
server is 40 mbps

 and how heavily is your
 website being hit?

almost not at all, not in production



 
  When facism comes to America it will be wrapped in the flag and
  carrying a cross.
  
  - Sinclair Lewis, It Can't Happen Here, 1935
 
 It's happened here.
 
   mark
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

-- 

“When facism comes to America it will be wrapped in the flag and carrying a 
cross.”

- Sinclair Lewis, It Can't Happen Here, 1935
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] respawning apache on centos

2011-03-17 Thread Les Mikesell
On 3/17/2011 4:55 PM, Dave Stevens wrote:

 Ideas? Debugging I can do?

 For one thing, I'd strongly urge you to add at least another .5G RAM, if
 not 2.5G. Second, look at the apache configuration, and see how many
 workers it can use - you might want to lower the limit.

 ok, I'll look at that


This is probably really a drupal issue.  I don't use it, but I've seen 
comments about it using a lot of memory and you can probably find tips 
on how to tune it.  The multiple instances of apache should mostly share 
memory if the startup is smart enough to preload common data before forking.

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


Re: [CentOS] respawning apache on centos

2011-03-17 Thread Dave Stevens
On Thursday, March 17, 2011 02:31:28 pm Rajagopal Swaminathan wrote:
 Greetings,
 
 On 3/18/11, Dave Stevens g...@uniserve.com wrote:
  Hi
  
  I have a centos instance on a host where uname -a shows:
  
  Linux cl28810.com 2.6.18-194.26.1.el5.028stab079.2PAE #1 SMP Fri Dec 17
  19:34:22 MSK 2010 i686 i686 i386 GNU/Linux
 
 I would suggest you look into the swap settings on both the Centos*
 host and the Centos* guest.
 
 Is swap stored on RAID0+1 etc.
 
 Is the VM stored in LVM or on  filesystem, if any, which?
 
 It is also difficult to make out if the 1.5G RAM you mentioned is
 physically on the host or allocated to VM.
 
 Having some such details would make an interest furtherance to this thread.
 
 HTH
 
 Regards,
 
 Rajagopal

Thanks to all who replied, I'm taking the matter forward with the hosting 
outfit.

Dave




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

-- 

“When facism comes to America it will be wrapped in the flag and carrying a 
cross.”

- Sinclair Lewis, It Can't Happen Here, 1935
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] security updates?

2011-03-17 Thread Timothy Murphy
Sorin Srbu wrote:

 Can we please, please, pretty please with a cherry on top, not start this
 dance again? 

Don't you think there is something slightly farcical
about posting messages suggesting people should stop posting messages?

 V5.6 will be done when it's done, okay?

I don't think the OP did ask when 5.6 would be ready.
What he/she said, IIRC, was that Karanbir had suggested
that 5.6 would be out last week,
and he/she was asking if there had been a problem.

This seems a perfectly reasonable question to me.

Personally, I am very grateful to Karanbir and his accomplices
for what I find an excellent OS,
and I don't really care when 5.6 or 6 come out,
as the present version works perfectly well for me.

However, I don't think people who ask reasonable questions politely
should be castigated for doing so.



-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] security updates?

2011-03-17 Thread Dag Wieers
On Fri, 18 Mar 2011, Timothy Murphy wrote:

 Sorin Srbu wrote:

 V5.6 will be done when it's done, okay?

 I don't think the OP did ask when 5.6 would be ready.
 What he/she said, IIRC, was that Karanbir had suggested
 that 5.6 would be out last week,
 and he/she was asking if there had been a problem.

 This seems a perfectly reasonable question to me.

 Personally, I am very grateful to Karanbir and his accomplices
 for what I find an excellent OS,
 and I don't really care when 5.6 or 6 come out,
 as the present version works perfectly well for me.

 However, I don't think people who ask reasonable questions politely
 should be castigated for doing so.

It has been suggested that asking such questions makes the release even 
later. So that's why people frantically condemn such threads, we are 
all being collectively punished !

(Include mandatory smiley) :-)

-- 
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh remote execute awk problem

2011-03-17 Thread sheraz naz






From: Nico Kadel-Garcia nka...@gmail.com
To: CentOS mailing list centos@centos.org
Sent: Thu, March 17, 2011 6:31:15 AM
Subject: Re: [CentOS] ssh remote execute awk problem


 grep ^processor /proc/cpuinfo | wc -l

 Or:

 ssh -l $TARGETUSER $TARGETHOST [ -e /proc/cpuinfo ] -a grep
^processor | wc -l


No need to use wc -l when grep is enough. E.g 

ssh root@server grep -c ^processor /proc/cpuinfo
4

Thanks
Sheraz


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


[CentOS] IPV6 - request for info

2011-03-17 Thread Rajagopal Swaminathan
Greetings,

I am trying to wrap my head around on this topic.

Was wondering : Just as there is some scope for mapping ipv4 directly
into IPV6 space, Is there a MAC ID or some kind of WWID has also been
taken into consideration?

Regards,

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