I have exactly the same error:
ldap...[19/Apr/2009:06:46:14 -0400] - Unable to access
nsslapd-rundir: > Bad address
In my case this is nothing to do with the upgrade to CentOS 5.3 (which went smoothly). Instead it is when I upgrade to fedora-ds-base-1.2.0 from fedora-ds-base-1.1.3-2. It does not seem to make any difference what the permissions are on the /var/run/dirsrv directory. To show this I have made the directory world writable and I still get the error. At the moment the permissions are: ls -ld /var/run/dirsrv
drwxrwxrwx 2 ldap root 4096 Apr 20 18:09 /var/run/dirsrv
Previously it was 750 Any other ideas?
Andy
PS I am running a production system so I have had to revert to 1.1.3 until this is fixed.
Sounds like selinux is enabled/enforcing. Try setting it to permissive.
Andy Schofield wrote:
I have exactly the same error:
ldap...[19/Apr/2009:06:46:14 -0400] - Unable to access
nsslapd-rundir: > Bad address
In my case this is nothing to do with the upgrade to CentOS 5.3 (which went smoothly). Instead it is when I upgrade to fedora-ds-base-1.2.0 from fedora-ds-base-1.1.3-2. It does not seem to make any difference what the permissions are on the /var/run/dirsrv directory. To show this I have made the directory world writable and I still get the error. At the moment the permissions are: ls -ld /var/run/dirsrv
drwxrwxrwx 2 ldap root 4096 Apr 20 18:09 /var/run/dirsrv
Previously it was 750 Any other ideas?
Andy
PS I am running a production system so I have had to revert to 1.1.3 until this is fixed.
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Andy Schofield wrote:
I have exactly the same error:
ldap...[19/Apr/2009:06:46:14 -0400] - Unable to access
nsslapd-rundir: > Bad address
In my case this is nothing to do with the upgrade to CentOS 5.3 (which went smoothly). Instead it is when I upgrade to fedora-ds-base-1.2.0 from fedora-ds-base-1.1.3-2. It does not seem to make any difference what the permissions are on the /var/run/dirsrv directory. To show this I have made the directory world writable and I still get the error. At the moment the permissions are: ls -ld /var/run/dirsrv
drwxrwxrwx 2 ldap root 4096 Apr 20 18:09 /var/run/dirsrv
The set up script setup-
Previously it was 750 Any other ideas?
Andy
PS I am running a production system so I have had to revert to 1.1.3 until this is fixed.
mkdir -p /var/run/dirsrv/slapd-yourinstancename - chown to your server user id - chmod to make it rwx by the server user ID
shutdown the directory server - Edit dse.ldif, the cn=config entry - add nsslapd-rundir: /var/run/dirsrv/slapd-yourinstancename
I'm not sure why this happened - the rpm is supposed to not touch /var/run/dirsrv if it already exists
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
389-users@lists.fedoraproject.org