General :: LDAP Failed To Start / Resolve This?
May 24, 2010LDAP server failed to start.. Please check error log for problems.
View 2 RepliesLDAP server failed to start.. Please check error log for problems.
View 2 RepliesRunning 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:
/sbin/runuser: /usr/sbin/slaptest: Permission denied
I checked the permissions of the ldap.conf and slapd.conf files and they appeared to be correct. Any ideas why ldap will not start up?
I know that there are multiple threads with problems like this, but still i didn't found my answer.
The situation is like this:
I have a local server and a remote server, i did a ssh key swap so i can log on to the remote server with no problems (automatically logging on, no need to enter pass or login).
I've made a script that copies (with SCP) a file FROM the REMOTE server TO the LOCAL server (NOT FROM the LOCAL server to the REMOTE server !!!!), and then i get an error like code...
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.
View 1 Replies View RelatedI have a Dell Precision 330 with (the latest) A09 BIOS and 1 TB SATA hard drive. There is a SATA-IDE converter between the SATA HD and the ATA133 cable. The OS was Window XP Professional SP3.
When adding RH Enterprise Linux 6 onto the computer, I created two additional partitions, one 400 GB for Linux's storage and a 10 GB swap space. I chose Window XP as the default OS.
After the installation, when the system started up, I can hit a key to have two optional OS: Window XP and Linux. If I chose Linux, the system would boot up. If I chose Window XP, the boot failed with a message that windowssystem32configsystem was missing or corrupted. I read some articles that the problem can be fixed in window's recovery console with fixboot. After entering the fixboot command and restarting the computer, Window XP still failed to boot with an error message that another file was missing.
I thought I might have made some mistakes in the installation procedure and it would be cleaner to reinstall both OS. So I tried to install Window XP Professional again. Unfortunately, after booting from Window XP CD and formating the MBR and copying the window XP files, the computer can not restart with the installed XP. Instead, the computer boot from Window XP's CD repeatedly. If I remove Window XP's CD, the computer simply can not boot at all.
I began to wonder whether RH's Enterprise Linux made some change on the MBR of the HD that Window XP can not format.
I've updated a Fedora Core 3 server to Fedora 11. The old FC3 had an external modem attached for when we felt like dialing in for a ppp connection.
I've replicated login.config, mgetty.config and dialin.config from the old server and had to put a RS232-to-USB adapter on the modem.
I've test connected to the server and everything look fine.
I'm have a difficult time starting the Getty session from inittab.code...
I have fedora version 8 with mysql 5.0.45 installed. I have also installed drupal. Recently drupal gave me an error "error code 28". When i checked it out it seemed to be with the db. When i tried to created a db (for testing purposes) in root...i wasn't able to. so then i tried to restart mysql ...it stopped but unfortunately i have not been able to get mysql back up...i get a message saying
"Timeout error occurred trying to start MySql Daemon".
I've compiled openssh-5.4p1 on RHEL 4.8 with Openssl 0.9.8m + pam It works perfect without pam (pam-0.77-66), both with password and public key auth. Whith pam enabled and LDAP (openldap-2.4.21, from scratch) something strange happens: system users: I can do ssh with both password and public key LDAP users: public key works for remote users, still I cannot do ssh with just password. I'm trying a custom PAM configuration, because the default one (even with authconfig + LDAP ) blocks ssh even with system users.
My pam SSHD configuration is:
#%PAM-1.0
auth required pam_env.so
auth sufficient pam_unix.so likeauth nullok
auth sufficient pam_ldap.so use_first_pass
[code]....
My LDAP users are ok: i can do "su - " remote LDAP (so that nss_ldap is OK), also getent passwd and getent group is ok.
I know similar questions have been asked but I could find an answer to my exact question. Especially in anything like laymans terms. So when I try to start my iMac G4 running linux it starts, runs lines of code, flashes black then back to code several times then "Failed to start the X server.... output to diagnose the problem..." When I click yes here is what I get:
"Caught signal 11. Sever aborting.
In the mean time codes like the following appear on the side of the screen :
[ 477.501334] eth1: switching to forced 10bt
[ 497.901209] eth1: switching to forced 100bt
and so on.
What do I do?
I have SUSE Linux Enterprise Desktop 10 running on HP Mini 2133. It's been working like a dream since I got it, but one day I got the following error message when booting it: 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 problem? <Yes> <No>.
X server output says alot of things, but I think this is the most important:
(==)Using config file: "/etc/X11/xorg.conf"
ACPI: OSPMOpen Called
ACPI: Opening device
(EE) VIA(0): No valid modes found
I then get the login:. I'm able to login, but I have no clue on what to do. How can I fix this?
I am trying to configure and compile the pam_ldap and nss_ldap for MIPS architecture. for this they need ldap library. so I am trying to compile openldap code for MIPS first, but the configuration is failing.The command and options used for configuration is as follows.
./configure --host=mips CC=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-gcc LD=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-ld CFLAGS="-g -O2 -I/usr/include -I/usr/include/openssl" LDFLAGS="-L/usr/lib" --prefix=/mips/ldap --with-yielding_select=no
[code]...
I just tried to build my own samba/ldap server on opensuse 11.3 and i am continuously getting an invalid credentials error when doing the smbpasswd -a command. Below are my smb and ldap files.
smb.conf
# Primary Domain Controller smb.conf
# Global parameters
[global]
unix charset = utf8
workgroup = MERCDOMAIN
netbios name = mercserver
passdb backend =ldapsam:"ldap://mercserver.mercdomain.com"
username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 0
#name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
add user script = /usr/sbin/smbldap-useradd -m '%u'
delete user script = /usr/sbin/smbldap-userdel '%u'
add group script = /usr/sbin/smbldap-groupadd -p '%g'
delete group script = /usr/sbin/smbldap-groupdel '%g'
add user to group script = /usr/sbin/smbldap-groupmod -m '%g' '%u'
delete user from group script = /usr/sbin/smbldap-groupmod -x '%g' '%u'
set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'
add machine script = /usr/sbin/smbldap-useradd -w '%u'
logon script = logon.bat
logon path = \mercserverprofiles\%u
logon drive = H:
domain logons = Yes
domain master = Yes
wins support = Yes
# peformance optimization all users stored in ldap
ldapsam:trusted = yes
ldap suffix = dc=mercdomain,dc=com
ldap machine suffix = ou=Computers,ou=Users
ldap user suffix = ou=People,ou=Users
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=Manager,dc=mercserver,dc=com
ldap ssl = off
idmap backend = ldap://127.0.0.1
idmap uid = 10000-20000
idmap gid = 10000-20000
printer admin = root
printing = cups
# = Share Definitions =
[homes]
comment = Home Directories
valid users = %S
browseable = yes
writable = yes
create mask = 0600
directory mask = 0700
[sysvol]
path = /home/data/samba/sysvol
read only = no
[netlogon]
comment = Network Logon Service
path = /home/data/samba/sysvol/vavai.net/scripts
writeable = yes
browseable = yes
read only = no
[profiles]
path = /home/data/samba/profiles
writeable = yes
browseable = no
read only = no
create mode = 0777
directory mode = 0777
[Documents]
comment = share to test samba
path = /home/data/documents
writeable = yes
browseable = yes
read only = no
valid users = "@Domain Users"
slapd.conf
UW PICO 5.04 File: /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
include /etc/openldap/schema/samba3.schema
modulepath /usr/lib/openldap/modules/
# moduleload back_bdb.la
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
# Samba Primary Database mercdomain.com
database bdb
suffix "dc=mercdomain,dc=com"
directory /var/lib/ldap
rootdn "cn=Manager,dc=mercdomain,dc=com"
rootpw merc84
index entryCSN eq
index entryUUID eq
#access to attrs=userPassword,sambaLMPassword,sambaNTPassword
# by self write
# by dn="cn=Manager,dc=mercdomain,dc=com" write
# by * auth
#access to *
# by dn="cn=Manager,dc=mercdomain,dc=com" write
# by * read
# Indices to maintain
index objectClass eq
index cn pres,sub,eq
index sn pres,sub,eq
index uid pres,sub,eq
index displayName pres,sub,eq
index uidNumber eq
index gidNumber eq
index memberUID eq
index sambaSID eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq
index default sub
ldap.conf
UW PICO 5.04 File: ldap.conf # LDAP Master
host mercserver.mercdomain.com
base dc=mercdomain,dc=com
binddn cn=Manager,dc=mercdomain,dc=com
bindpw merc84
bind_policy soft
pam_password exop
nss_base_passwd ou=People,ou=Users,dc=mercdomain,dc=com?one
nss_base_shadow ou=People,ou=Users,dc=mercdomain,dc=com?one
nss_base_passwd ou=Computers,ou=Users,dc=mercdomain,dc=com?one
nss_base_shadow ou=Computers,ou=Users,dc=mercdomain,dc=com?one
nss_base_group ou=Groups,dc=mercdomain,dc=com?one
ssl no
I installed Red-hat 5.3. Problem is that it is not showing graphical interface. Only kernel / command prompt is available. I tried startx, then I got this msg. No video BIOS modes for chosen depth. Also showing that:
ERROR: Failed to start X server.
I am using RHEL 5.0. I am having problem with postgresql service it is not starting, not stopping, not restarting.
View 5 Replies View Relatedi have an old fc4 server running ldap, and decided to upgrade to fc5, to use the new versions of ldap. after the upgrade the ldap wont start.i manage to restore my database, copy the DB_CONFIG.example to the var/lib/ldap and set the corretc path of the pid files in slapd.conf, but now the server just dont start and gives me no error messages...half of the guys here at work are not working cause of this.
View 5 Replies View RelatedI'm using "Xubuntu" on a bit dell laptop, i have installed everything i see to do with Java in the software center and in the synaptic package manager and no Java sites work sill i have downloaded every package from adobe for Linux and after extracting them to my desktop and clicking on them it dose nothing Ive tried a few lines in the terminal but always have a destination error..
View 7 Replies View RelatedI've setup my samba pdc with ldap, and I can see my shared files (public), which i think is an indication that my samba is working. But I can't seems to get my win2k8 machine to join my domain.
My domain admin is : root system admin: root password for both domain admin and system admin are the same The message that I get from Win2k8 when I try to join a domain is "The specified computer account could not be found. Contact an administrator to verify the account is in the domain. If the account has been deleted unjoin, reboot, and rejoin the domain"
[Code]...
i have some problems to start my dovecot server. I tried to install it from webmin using "un-used modules" but it was allways the same error: "E: Unable to locate package dovecot-pop3d".When I tried to install it from console using the commands: apt-get install dovecot-imapd dovecot-pop3d dovecot-common - and there are no problems with dovecot-imapd and dovecot-common, but still the same error with dovecot-pop3d. After command: service dovecot status: could not access PID file for dovecot ... failed!
After try to start dovecot with comand "dovecot": Error: mail_executable: Can't use /usr/lib/dovecot/pop3: No such file or directoryFatal: Invalid configuration in /etc/dovecot/dovecot.confI've read a few similar threads in this forum about dovecot errors but still can't to fix it.
I have written a init.d script but, when do '/sbin/service scriptd start' it does not indicate OK or FAILEDWhat could I be missing?
View 2 Replies View Relatedusing centos 5.2
unbale to start ldap server.
see below info
[root@system ~]# yum install openldap
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base:
[Code]....
I have a 64 bit Karmic system with two drives. One is mounted as / and the other is mounted as /home. I just put the video card from my system into my son's system and got a new video card. (Don't see how it's related but still...)Now I am getting the following message when I turn on the system. code...
View 1 Replies View RelatedI just installed F11 and can't make VPN connection to PPTP server using NetworkManager.
This is what I get:
** (nm-applet:8092): WARNING **: Error in getting active connection 'Vpn' property: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
** (nm-applet:8092): WARNING **: _nm_object_array_demarshal: couldn't create object for /org/freedesktop/NetworkManager/ActiveConnection/3
I can connect to this server from Fedora 10 using identical settings.
VPNC tunnels work fine.
I tested 10.10 LIVE CD Gnome version.
I did some disk operations on NTFS and FAT volumes.
It worked well.
When I wanted to shutdown from the right upper corner icon,
I got a black screen saying:
(process:272) GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)
it does not take any keyboard, incl cont+alt+del
may it be a bug?
I'm running Ubuntu 10.10 with all the updates. I'm in an NFS/NIS networked environment. My mounts eventually work, but mountall fails with this message in /var/log/boot.log:
mount.nfs: Failed to resolve server myservername: Name or service not known
Here's the entry in /etc/fstab:
myservername:/nfs/share/path /mount/path nfs
rw,_netdev,bg,hard,intr,rsize=8192,wsize=8192 0 0
Here's the host entry in /etc/hosts:
123.45.678.901myservername
I've noticed that mountall seems to be trying to mount my share before it has network access.
I started up my computer and this is what it said: Mount of file system failed.A maintenance shell will now be started.CONTROL-D will terminate this shell and re-try.root@Gifted:~#The only part I recognize is the name of my computer; Gifted
View 9 Replies View RelatedAfter setup Openldap server with TLS/SSL use ldaps, I install phpldapadmin and have an issue LDAP Server is configured and running. make some ldapsearch and it oki. I couldn't use https to browse LDAP server when I use http and I can't connect Could not start TLS. check your LDAP server configuration. This is my config
[Code]....
I recently configured my client to log on using my (open)ldap account. Since then I could not get thunderbird started from my ldap account. But if I su to one of the local accounts, it opens.
My client is Fedora14.
Update manger code...
When I do this:
Code:
sudo apt-get update
in terminal it also gives me this code...
I have an apache web server with php 5.3 and I need to connect to a webservice I set up in sqlserver 2008
Both servers are in the intranet.
If from my browser I write http://192.168.2.2/internet?wsdl I am prompted for a user and a password, which are those of a windows user with permissions to connect to the ws. After writing them I can see the XML file in my browser.
the php file is code...
I've tried variations in the url, the user, with and without password, with no luck
I've googled a lot, with no luck
I download the Fedora 12 and updated from Fedora 11. After installing successful and restart, I can't find Fedora 12 selection on the Grub. I try to write it on the grub.conf, but it's still can't start the Fedora 12. code...
View 1 Replies View Related