[389-users] Problem with permissions in RHEL6
Predrag Zecevic [Unix Systems Administrator]
predrag.zecevic at 2e-systems.com
Mon Sep 16 14:57:45 UTC 2013
Hi,
LDAP server should not be running as nobody...
Which user account you have used on OLD system and which one on NEW?
Can you paste output from:
ps -ef | grep dirsrv
form both boxes here?
Regards.
P.S. Usually, there is ldap:ldap username:groupname reserved for this use.
On 09/16/13 04:49 PM, Parasit Hendersson wrote:
> Hi,
> I try migrate from RHEL5 (389-ds-base-1.2.10.14-1.el5) to RHEL6
> (389-ds-base-1.2.11.15-11.el6.x86_64).
>
> Everything looks good, installation from rpm, first start, etc. but
> server instance won't start after restart. Problem (probably) is in
> rights to directory /lib/dirsrv/
> Fragment of log:
> [16/Sep/2013:16:17:47 +0200] - 389-Directory/1.2.11.15 B2013.021.196
> starting up
> [16/Sep/2013:16:17:47 +0200] - slapd started. Listening on All
> Interfaces port 389 for LDAP requests
> [16/Sep/2013:16:17:48 +0200] - mkdir_p /lib/dirsrv/slapd-master2: error
> -5966 (Access Denied.)
>
> But rights looks good:
> drwxr-xr-x. 2 nobody nobody 4096 Sep 16 14:56 dirsrv
>
> When i create directory and some files manually (still with owner
> "nobody") got message:
>
> "WARNING---no write permission to file
> /lib/dirsrv/slapd-master2/db/Project/DBVERSION"
>
> But:
> -rw-rw-rw-. 1 nobody nobody 0 Sep 16 16:40 DBVERSION
>
> Please help, where is problem?
>
> Best Regards
> Parasit Hendersson
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
--
Predrag Zečević, Technical Support Analyst, 2e Systems GmbH
Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile: +49 174 3109 288, Skype: predrag.zecevic
E-mail: predrag.zecevic at 2e-systems.com
Headquarter: 2e Systems GmbH, Königsteiner Str. 87,
65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director: Phil Douglas
http://www.2e-systems.com/ - Making your business fly!
[***]===---
The whole of life is futile unless you consider it as a sporting
proposition.
More information about the 389-users
mailing list