[CentOS] slapd 100% cpu

2012-09-21 Thread Darod Zyree
Greetings, We have been attempting to set up a centos ldap server and then tried to log in with a user account specified in our ldap environment on a centos workstation. As soon as we attempt any kind of login from the centos workstation, be it via gdm or su ldap_user, the slapd process on the ld

Re: [CentOS] slapd 100% cpu

2012-09-21 Thread m . roth
Darod Zyree wrote: > Greetings, > > We have been attempting to set up a centos ldap server and then tried > to log in with a user account specified in our ldap environment on a > centos workstation. > > As soon as we attempt any kind of login from the centos workstation, > be it via gdm or su ldap_

Re: [CentOS] slapd 100% cpu

2012-09-21 Thread Darod Zyree
2012/9/21 : > Darod Zyree wrote: >> Greetings, >> >> We have been attempting to set up a centos ldap server and then tried >> to log in with a user account specified in our ldap environment on a >> centos workstation. >> >> As soon as we attempt any kind of login from the centos workstation, >> be

Re: [CentOS] placing x11 libraries in an alternate location

2012-09-21 Thread Karanbir Singh
On 09/21/2012 12:02 AM, Gordon Messmer wrote: > On 09/20/2012 03:07 PM, Karanbir Singh wrote: >> you should look at puppet, since it does all of those things and a bunch >> more > > So I'd log in to a client managed by puppet and type what to see a > 'diff' style report indicating how the puppet

[CentOS] CentOS-announce Digest, Vol 91, Issue 15

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

[CentOS] Detect if a drive is USB?

2012-09-21 Thread Lists
I'm updating a script to work with EL6 (previously worked on EL5) and am stumped, google fu is failing me. Part of the script is to detect USB drives and mount them. Previously, It worked something like isUsbDevice() { if [ -f /sys/block/$1/usb ] ; then // do stuff fi; } but I don't find th

Re: [CentOS] Detect if a drive is USB?

2012-09-21 Thread Lists
Answering my own message for posterity's sake: This line will output "E: ID_BUS=usb" for any block device connected to a USB bus: udevadm info --query=all --name=$file 2>/dev/null | grep -i BUS=usb; The basic idea is to 1) use udevadm to get all info on device $file (where $file is a string lik

Re: [CentOS] slapd 100% cpu

2012-09-21 Thread Craig White
On Sep 21, 2012, at 8:05 AM, Darod Zyree wrote: > Greetings, > > We have been attempting to set up a centos ldap server and then tried > to log in with a user account specified in our ldap environment on a > centos workstation. > > As soon as we attempt any kind of login from the centos worksta

[CentOS] automatic repartitioning

2012-09-21 Thread Abel Lopez
Hello all. Does anyone have any suggestions for making centos cloud images that can automatically repartition the root device to resize the filesystem? All the Ubuntu UEC images do this, so using the same image, you can launch cloud instances of a variety of flavors and the VM instance will repa

Re: [CentOS] automatic repartitioning

2012-09-21 Thread m . roth
Abel Lopez wrote: > Hello all. > Does anyone have any suggestions for making centos cloud images that can > automatically repartition the root device to resize the filesystem? > > All the Ubuntu UEC images do this, so using the same image, you can launch > cloud instances of a variety of flavors an

Re: [CentOS] slapd 100% cpu

2012-09-21 Thread Steve Thompson
On Fri, 21 Sep 2012, Craig White wrote: > as a server, OpenLDAP resources will use RAM based upon the number of > entries but until you get upwards of 100,000 entries it shouldn't be of > any concern and CPU usage should be extremely light save the brief > moment of starting the daemon. As an

Re: [CentOS] automatic repartitioning

2012-09-21 Thread SilverTip257
Yes, it can be done. Kickstart configs are the solution. Note: I generally do not have more than one LV or physical partition that is set to --grow. But it was out of simplicity and I didn't have a need. Given the online documentation, it does look like you can specify more than one. But it do

Re: [CentOS] automatic repartitioning

2012-09-21 Thread Karanbir Singh
On 09/21/2012 10:19 PM, Abel Lopez wrote: > Hello all. > Does anyone have any suggestions for making centos cloud images that can > automatically repartition the root device to resize the filesystem? this is done via a hook in cloud-init ( which is available for CentOS-5 and 6 in EPEL ). You jus

Re: [CentOS] automatic repartitioning

2012-09-21 Thread Nux!
On 21.09.2012 22:19, Abel Lopez wrote: > Hello all. > Does anyone have any suggestions for making centos cloud images that > can automatically repartition the root device to resize the > filesystem? > > All the Ubuntu UEC images do this, so using the same image, you can > launch cloud instances of

Re: [CentOS] automatic repartitioning

2012-09-21 Thread Abel Lopez
Thanks Nux, I used your image, and I see resizing works as expected. Odd, I too use the cloud-init rpm, but mine just ignores it. I can take what you have and make it work. On Sep 21, 2012, at 3:45 PM, Nux! wrote: > On 21.09.2012 22:19, Abel Lopez wrote: >> Hello all. >> Does anyone have any sug