General :: Troubleshoot Failure Of Ldap Server Start On OpenSUSE 11.2?
Feb 27, 2010
How do I go about to troubleshoot the failure of ldap server start on openSUSE 11.2? I added a custom configuration (through GUI) and now the server does not whant to start with that configuration.
we have a weird problem with our opensuse 11.2 server installation.
We want to set up a LDAP Server using the Yast-LDAP Server configuriation tool.
This indeed already worked weeks ago until....this week. Maybe some updates??!
I do not know what happend exactly. The server just does not want to start again and throws following error:
Starting ldap-serverstartproc: exit status of parent of /usr/lib/openldap/slapd: 1 failed
This happend after a little check of the configuration, but without a change, with Yast. Google delivered only "reinstall your box"-answers.
So.. i did that. And now the "mystical" part: The SAME ERROR occurs with a fresh vanilla system with a brand new and simple configuration (certificats, database, pw...the first Yast config dialog...). I did not change the way i set it up.
I remember, when i did this the first time with 11.2 on that machine, when no problems occured...everything was running out of the box (except the "use commen server certificate" option...).
upon starting openuse ireceived the msg fsck failed please reboot manually theroot file system is currently mounted read only t oremount it read-writedo: bash# mount -n -o remount,rw/
doesn't seem to do anything if typing above line after giving root password and following red msg appears (repair filesystem #)
I configured POSTFIX with DOVECOT, LDAP & Squirrel mail on RHEL 5.5. Iam able to login using LDAP authentication. Now i want to deliver mails locally using LDAP. I configured to query LDAP using transport lookup table (ie.transport_maps=ldap:ldaptransport). it shows the following errors:
warning:dict_ldap_lookup:ldaptransport : search base not found-no such object.. Temporary lookup failure. ldaptransport Configuration: server_host=hostname of server
[code]....
(But same search_base is configure in Dovecot, it is authenticating) I have searched in net, they are telling that some ASCII encoding problem in postfix to LDAP.
I'm trying to integrate sendmail and openLDAP together. I've followed the guide in O'Reilly's LDAP book and my lookups are good. I think my problem is virtual users. What I'm trying to accomplish is that if an email is sent to joe@host.tld and there is an entry in LDAP for joe then it'll be accepted. Right now, it'll only accept emails only for system users. Below is my sendmail.mc (most comments removed)
Code: divert(-1)dnl include(`/usr/share/sendmail-cf/m4/cf.m4')dnl VERSIONID(`setup for linux')dnl OSTYPE(`linux')dnl dnl ## I have a real one define(`SMART_HOST', `my.smart.host')dnl dnl # define(`confDEF_USER_ID', ``8:12'')dnl
I Configured LDAP Server on ubuntu Server 10.04 ,(using url ldap) and Client also it's working fine. After that I changed to ssl encryption and create certificate in server side. Now it's not authenticating from server it's shows Incorrect Password, but I can login though terminal if I am root user ,then it not ask any password it's logon to ldap user. After I changed to ldap server to ssl encryption and made one changes in client side uri ldaps://ip-address/ (/etc/ldap.conf).
Just installed openldap server on a VM CentOS called 'ldapsrv', it works fine, ldapsearch returns all ldap information.
Installed openldap client on another VM CentOS called 'ldapclient1', configured it with most basic configuration, no ssl/tls etc. but ldapsearch returns error:
I have a VPS that I'm using as a web/mail/DNS server (all-round server) and is repeatedly falling over every 12 hours or so. It seems to be since I used a Wordpress plugin on one of my sites to send out an email newsletter - I had problems with the plugin itself, anyway.
I think it might be causing a memory issue, as I've run 'free' and 'top', which sometimes causes a "fork:Cannot allocate memory" message to appear. Other times it displays statistics and suggests that there's plenty of memory available. Are there logs that I should look at and if so, what should I be looking for? Also, how can I stop this rogue plugin from doing anymore damage, seeing as it still appears to be running?
i installed a new centos 5.5 1 old server hp ml380 g3 series on 2gb ram, 72gb raid 1+0 scsi disk
after running 1 sucessfull day next morning i found no response of ping, telnet, putty, ssh. when i check physically machine the mouse keyboard was hang, i reboot machine, then it says kernel panic failure mounting hardware, then next time i reboot the o/s centos start book properly and running. i check the dmesg logs, can someone guide me how to check cpu,raidcontroller,memory,harddrive are getting failed or what hardware exactly choking out.
Before to describe my problem I want to say that I searched a lot on the internet and I think I tried all the solutions provided by other users to similar problems.
I've got an IBM xSeries 346 server running CentOS 5.5 with all updates applied with yum.
The video card is an ATI Radeon (lspci says: 01:06.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]).
Everything worked fine until a bad day where there was an environmental power failure and the server crashed.
I turned it on, I manually check the file system, some files went lost and after the reboot the X server didn't start.
After the first boot I had problem with /etc/rc.d/rc.sysinit, sbin/multipath.static and /dev/cpu/microcode, I solved them and now the message it shows is:
"Failed to start the X server (your graphical interface) It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?"
I choose OK and it appears an empty log, if I go in /var/log/gdm and I do an ls -al:
total 0 -rw-r--r-- 1 root root 0 Oct 28 04:44 :0.log.4 -rw-r--r-- 1 root root 0 Oct 28 04:44 :0.log.3 -rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log.2 -rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log.1 -rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log
So a lot of empty log files.
I press enter on the OK that appears at the bottom of the screen and it says: Would you like to try to configure the X server?
I choose Yes, I enter the root password and appears the following messages:
Couldn't start X server on card 0 Couldn't start X server with old config, trying with a fresh configuration
Then another messages:
Trying to restart the X server, I press enter on OK and it loops the initial message ("Failed to start the X server...)
Running RHEL 5.4 on a HP server. Ran into a issue today where ldap was working fine then was informed it was failing. During the troubleshooting process, I found out that the ldap service failed to start up. See error below:
i have configured ldapserver on rhel4 for creating address book
following are configuration files on ldap server /etc/openldap/slapd.conf include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema
i am able to import this ldif file into database.also when i perform the ldapsearch on this server with command"ldapsearch �x �W �D �cn=manager, dc=example, dc =com� �b �dc=example, dc=com�" i get correct output.
but when i am trying to search from another client machine, i am getting "error ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)"
also when i configured address book on mozilla on server., it is working fine.but not working on another machine.is any configuration is missing on client machine.both ldap server and client are configured on rhel4es without any firewall or selinux.
I am using RackMonkey to map out my lab. Unfortunately, due to RM limitations, every user who accesses the site has write access UNLESS they are logged in as a user named "guest". I currently have Apache allowing only the users (sysadmins) in an LDAP group access to RM, but I would like to allow read-only access for other users as well.I found mod_authn_anon, but I am having trouble combining the two authentication methods. I am using Apache 2.2.18 (compiled myself) on SLES 11.1.
This is the common part:
Code:
AuthType Basic AuthBasicProvider ldap anon Order allow,deny Allow from all
This part by itself works for the LDAP authentication:
Anonymous guest Anonymous_VerifyEmail Off Anonymous_MustGiveEmail Off Anonymous_LogEmail on Require valid-user
But if I have both of the previous blocks enabled at once, then guest access does not work. If I throw in a "Satisfy any", then I am not prompted for a username at all. How can I allow access to this LDAP group and to a user named "guest", but not allow all valid LDAP users to log in?
I'm trying to set up a Linux server and I am new to this. I have gone through most of the configuration using SAMBA 3.0 and when I populate the ldap directory all I get this error before the password request:
Then when I perform an ldapsearch to see if the directory is populated I get this message:
I'm checking with a sniffer and there's activity going on between the client and the LDAP server... as a matter of fact, the sniffer shows that the search is producing one ldap item, however, php says it can't contact the ldap server (after it has bound and everything):
The script is working beautifully on another host with debian.
I took to yast to install ldap. I creating the CA cert, server key and server cert and specified them during the yast ldap server dialogs.
The firewall is open for ldap.
I also went through yast's ldap client ... though I didn't exactly see to anything (presuably it wrote up a configuration file somewhere).
However when trying use the basic ldap tools, like ldapwhoami. Well it doesn't connect and gives me the above error. Of coure the ldap db is unpopulated as yet, so it probably is not able to say who am at all. But ldapadd doesn't work either.
It seems to point to my SSL usage not being correct .. so I'm trying to double check that now.
I have a system with 2 hard drives. One drive (D) is my Ubuntu 10.04 system and the other drive (C) is my Windows XP system.
When I boot, I get BIOS then GRUB. If I choose the XP selection I am taken to a Boot Loader that now longer works. I get an error saying: "Windows could not start because the following file is missing. <windows root> system32hal.dll Please reinstall a copy of the above file.
Can I remove the boot loader and let Grub take me directly to the C:/windows? If so how?
In the past I found some great help on this forum, so here goes. Bare with me because it's a long story. I'll try to be as complete as possible. I've installed and configured OpenLdap on a virtual machine with ip 192.168.39.134. I've added 2 users via LAM. In the ou WikiUsers and the domain is wiki.local.
I've then created another host with ip 192.168.39.133 with mediawiki installed on it. Then I added the extension LDAPAuthenthication. In the LdapAuthentication file I added this code (only the last paragraph is mine, I added the others to show it's location in the script):
I know I'm close because I can't register any new users or accounts on the mediawiki site. Although I could before I added the LDAP service. This is indeed all just to test and get to know how LDAP works. That's why it's all virtual in VMWare. I did not really configure anything on the LDAP, i just installed it and chose a domain (wiki.local).
I'm having problems setting up an LDAP server for suers. The SUSE user management won;t let me create users with passwords longer than 8 characters in the LDAP directory. Local users are fine. This is a new LDAP server setup using the instructions from Integrating LDAP and Samba using openSUSE
I'm getting the error "The password is too long for the current encryption method. Truncate it to 8 characters?" I can create users with short passwords, but this isn't acceptable - it's a security issue.
The susePasswordHash in LDAP is SSHA (default) The password hash in users & groups management is blowfish.
We have a ldap server which has been running for a couple years now, and I was told to make a fallback / backup ldap server. So should the old one fail we won't be officially screwed.
I was fiddling around and unchecked the lda api thingy when I was experimenting with TLS now I can't connect to the ldap server ...is there any way to get it back.
can anyone tell me what is the difference between these two files of LDAP client /etc/ldap.conf and /etc/ldap/ldap.conf and for what purposes these two files gives services. Is it necessary to have these two files at a time ?
I use these files to install LDAP client to authenticate with our LDAP server by creating a symbolic link of /etc/ldap.conf to /etc/ldap/ldap.conf.
I had a machine that is using ldap, but need to remove it completely.I edited the /etc/nsswitch.conf and removed all references of ldapand renamed /etc/ldap.conf to /etc/ldap.conf.bakI can log in as root, but cannot log in as any user in /etc/passwdIn the /var/log it shows pam_ldap: missing file "/etc/ldap.conf"I am guessing I am missing something else?I never set this machine up for ldap, was here when i got here, so not sure of steps to even put ldap on.