Re: [CentOS] openldap missing modules

2011-10-27 Thread John Doe
From: wessel van der aart 

> I'm currently setting up an openldap server and included the following
> lines in my slapd.conf :
> modulepath /usr/lib/ldap
> moduleload back_hdb
> after finishing up my config and i run slaptest on it i get an error
> saying that the modulepath doesn't exist.
> I checked and it indeed isn't there , in fact i can find it anywhere on my
> system (centos 5.7).
> the packages i've installed through yum are openldap openldap-servers and
> openldap-client.
> does anyone know where to find this folder? or do i have to install some
> package to get this module?


Never setup ldap but in the conf file they mention:
# Modules available in openldap-servers-overlays RPM package
This package contains many modules in /usr/lib/openldap; 
although not the one you want...

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


Re: [CentOS] ssd quandry

2011-10-27 Thread Peter Kjellström
On Tuesday, October 25, 2011 01:48:13 PM Mogens Kjaer wrote:
> On 10/25/2011 12:20 PM, John Doe wrote:
> > Guess this new ctrl does not use the cciss module anymore.
> 
> If it's like a P410i like what I have it uses the hpsa driver.

HP is moving from the old cciss driver to the new hpsa driver. On C5 all 
controllers user cciss but on C6 the newer generation (like 411, 812, ..) use 
hpsa.

In the future all controllers may be moved to hpsa (afaict, but who knows).

The old driver used the odd /dev/cciss/cXdYpZ naming and was a non-scsi block 
device driver. hpsa is (as almost everything else) a scsi driver (finally).

/Peter


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssd quandry

2011-10-27 Thread John Doe
From: Peter Kjellström 

> On Tuesday, October 25, 2011 01:48:13 PM Mogens Kjaer wrote:
>>  On 10/25/2011 12:20 PM, John Doe wrote:
>>  > Guess this new ctrl does not use the cciss module anymore.
>>  If it's like a P410i like what I have it uses the hpsa driver.
> HP is moving from the old cciss driver to the new hpsa driver. On C5 all 
> controllers user cciss but on C6 the newer generation (like 411, 812, ..) use 
> hpsa.
> In the future all controllers may be moved to hpsa (afaict, but who knows).
> The old driver used the odd /dev/cciss/cXdYpZ naming and was a non-scsi block 
> device driver. hpsa is (as almost everything else) a scsi driver (finally).


Good to know.
I will have to adapt my kickstart/scripts to handle both...

Thx to all,
JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] openldap missing modules

2011-10-27 Thread Wessel van der Aart
actually i'm reading this book , ' mastering openldap' from packt 
publishing, on it,
the book uses ubuntu as distro in their examples and i just assumed the 
working of openldap between distro's wouldn't be any different (except 
for directory paths). however i removed the moduleload line , ran 
'slaptest -v -u -f /etc/openldap/slapd.conf' (the 'database hdb' bit was 
already there) and now it's fine.

Thanks,
wessel

On 10/26/2011 11:11 PM, Alexander Dalloz wrote:
> Hi,
>
> I assume you are following a random tutorial on the net. Don't do that.
> It simply does not fit.
>
> Instead of using a modulepath just (the proper one on CentOS would be
> /usr/lib/openldap, as pre-defined in slapd.conf; but the backends are
> not available as modules on CentOS), define you database properly. Where
> you see
>
> databasebdb
>
> in the slapd.conf CentOS ships with, just change bdb into hdb.
>
> Alexander
>
>
> ___
> 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


[CentOS] ps locking up

2011-10-27 Thread James Shupe
I have a client running a CentOS 6.0 machine with cPanel. The machine is
fully updated with both cPanel (RELEASE) and the OS.

At first, I noticed that after cPanel's dcpumon ran (even once),
applications that depend on ps lock up and iowait jumps to around 50%.
Load averages start out around 20 when this happens and slowly crawl up
into the hundreds. Aside from not being able to run commands like ps and
some nrpe scripts, everything still seems to respond fine even with the
insanely high load. We've had it online with customers hitting it with a
load of 400 waiting for a convenient time to reboot, without complaints.

Clarification: If you run ps, it kills your terminal session. dcpumon,
ps, etc, will hang around and you can see them under top (top doesn't
seem to be affected.) If you try to kill any of these, (-9, anything)
they do not respond. They're indefinitely blocked. They begin producing
"processes being blocked for more than 120 seconds errors" in the logs.
The server runs for days between this happening without issues and it
always seems to be related to dcpumon.

I wrote a script that checks to see if dcpumon exists in crontab and
remove it. The script runs every minute. cPanel's automatic updates tend
to put it back every once in a while, and it's possible that updates ran
and that dcpumon ran before my script could remove it. I see that it
removed it last night (it logs removals) but don't know for sure if it
ran. It probably did.

It's currently running 2.6.32-71.29.1.el6.x86_64 and I am considering
trying vanilla kernel build to see if that corrects the issues. The
hardware is HP DL145G3, and we have several other (non-cPanel) servers
that are identical running CentOS 6.0 without issue.

Any ideas?

Thank you,
-- 
James Shupe, OSRE
developer/ engineer
BSD/ Linux support & hosting
jsh...@osre.org | www.osre.org
O 9032530140 | F 9032530150 | M 9035223425


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ps locking up

2011-10-27 Thread Ljubomir Ljubojevic
Vreme: 10/27/2011 02:58 PM, James Shupe piše:
> It's currently running 2.6.32-71.29.1.el6.x86_64 and I am considering
> trying vanilla kernel build to see if that corrects the issues. The
> hardware is HP DL145G3, and we have several other (non-cPanel) servers
> that are identical running CentOS 6.0 without issue.
>
> Any ideas?
>

You should first try kernel from CR repository, 
2.6.32-131.12.1.el6.x86_64. just run "yum install centos-release-cr -y" 
and update kernel (and other packages if you are up to it). You can 
always use "yum history undo XXX" command to revert to packages without 
CR repo enabled.

ELRepo (www.elrepo.org) is close to having kernel-ml package for 6.x., 
but they are not there yet. 2 weeks ago Alan Bartlett posted that he is 
close to creating source and binary rpms. You can query on ELRepo 
mailing list.


-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ps locking up

2011-10-27 Thread Johnny Hughes
On 10/27/2011 07:58 AM, James Shupe wrote:
> I have a client running a CentOS 6.0 machine with cPanel. The machine is
> fully updated with both cPanel (RELEASE) and the OS.
> 
> At first, I noticed that after cPanel's dcpumon ran (even once),
> applications that depend on ps lock up and iowait jumps to around 50%.
> Load averages start out around 20 when this happens and slowly crawl up
> into the hundreds. Aside from not being able to run commands like ps and
> some nrpe scripts, everything still seems to respond fine even with the
> insanely high load. We've had it online with customers hitting it with a
> load of 400 waiting for a convenient time to reboot, without complaints.
> 
> Clarification: If you run ps, it kills your terminal session. dcpumon,
> ps, etc, will hang around and you can see them under top (top doesn't
> seem to be affected.) If you try to kill any of these, (-9, anything)
> they do not respond. They're indefinitely blocked. They begin producing
> "processes being blocked for more than 120 seconds errors" in the logs.
> The server runs for days between this happening without issues and it
> always seems to be related to dcpumon.
> 
> I wrote a script that checks to see if dcpumon exists in crontab and
> remove it. The script runs every minute. cPanel's automatic updates tend
> to put it back every once in a while, and it's possible that updates ran
> and that dcpumon ran before my script could remove it. I see that it
> removed it last night (it logs removals) but don't know for sure if it
> ran. It probably did.
> 
> It's currently running 2.6.32-71.29.1.el6.x86_64 and I am considering
> trying vanilla kernel build to see if that corrects the issues. The
> hardware is HP DL145G3, and we have several other (non-cPanel) servers
> that are identical running CentOS 6.0 without issue.
> 
> Any ideas?

Since you are using cPanel, open up a trouble ticket with them and have
them take a look at it.

They are usually very responsive to problems like this and may have seen
this before.





signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ibm m1015 w/sandy bridge boot failure

2011-10-27 Thread Matt Garman
I have a server running CentOS 6.0.  Last night I replaced the CPU and
motherboard.  Old hardware: Supermicro x8sil-f + x3440.  New hardware:
Supermicro x9scl+-f + E3-1230.  This is a new Sandy Bridge Xeon.

Everything else remained the same, including an IBM m1015 SAS HBA.
This is just an IBM re-branded LSI 92xx-8i (9220-8i specifically I
believe), which uses the LSI SAS2008 chipset and the megaraid_sas
driver.  It worked without any issue on the old motherboard/cpu.
However, with the new motherboard/cpu, the system makes it through the
BIOS POST without any issue.  But about half-way through the kernel
initialization, it basically locks up.  It will sit there for several
minutes, doing nothing, then start printing out error messages (I was
unable to get a screenshot or take note of the errors).

But if I take the m1015 card out, the system boots quickly and without
issue, as it always has.

I saw this post[1] on the forums, which suggested that Sandy Bridge
really needs 6.1, which, for those of us using CentOS, we can only get
sorta close to by using the continuous release.  So I did a "yum
install centos-release-cr ; yum update".  I let everything install
(there were no install errors or problems), and rebooted with the
m1015 in back in the system, but the problem remains.

So now I'm at a loss.  Anyone have any thoughts?

[1] http://www.centos.org/modules/newbb/viewtopic.php?topic_id=33878&forum=56

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


Re: [CentOS] openldap missing modules

2011-10-27 Thread Craig White
Ubuntu has been using 'dynamic' configuration (aka cn=config and 
/etc/ldap/slapd.d) for quite some time now but you're using CentOS 5.x which 
includes an old version of OpenLDAP and uses the 'flat file' configuration 
(/etc/openldap/slapd.conf)

There's bound to be issues at each place where it talks about 'configuration'.

My suggestion to you is to use some type of virtualization product (VMWare, 
VirtualBox, etc.) and install Ubuntu 10.04 LTS on a virtual and then you will 
track with the book.

Craig

On Oct 27, 2011, at 5:01 AM, Wessel van der Aart wrote:

> actually i'm reading this book , ' mastering openldap' from packt 
> publishing, on it,
> the book uses ubuntu as distro in their examples and i just assumed the 
> working of openldap between distro's wouldn't be any different (except 
> for directory paths). however i removed the moduleload line , ran 
> 'slaptest -v -u -f /etc/openldap/slapd.conf' (the 'database hdb' bit was 
> already there) and now it's fine.
> 
> Thanks,
> wessel
> 
> On 10/26/2011 11:11 PM, Alexander Dalloz wrote:
>> Hi,
>> 
>> I assume you are following a random tutorial on the net. Don't do that.
>> It simply does not fit.
>> 
>> Instead of using a modulepath just (the proper one on CentOS would be
>> /usr/lib/openldap, as pre-defined in slapd.conf; but the backends are
>> not available as modules on CentOS), define you database properly. Where
>> you see
>> 
>> databasebdb
>> 
>> in the slapd.conf CentOS ships with, just change bdb into hdb.
>> 
>> Alexander
>> 
>> 
>> ___
>> 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

-- 
Craig White ~ craig.wh...@ttiltd.com
1.800.869.6908 ~~ www.ttiassessments.com 

Need help communicating between generations at work to achieve your desired 
success? Let us help!

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