On 07/21/2011 06:25 PM, michel@xxxxxxxxxx wrote: > Marc Sauton <msauton@xxxxxxxxxx> escribió: > >> On 07/21/2011 03:04 PM, Michel Bulgado wrote: >>> Hello >>> >>> Recently I just installed 389-ds-1.2.1-1.el5.noarch from EPEL repo, >>> because in my company we use Active Directory and want to migrate to >>> Linux >>> >>> I have installed CentOS 5.6 x86_64. >>> >>> The problem persists when trying to run setup-ds-admin.pl and at the >>> very end I get an error message. >>> [11/07/21, 17:08:27] - [Setup] Info Are you ready to set-up your >>> servers? >>> [11/07/21, 17:08:28] - [Setup] Info yes >>> [11/07/21, 17:08:28] - [Setup] Info Creating directory server. . . >>> [11/07/21, 17:08:29] - [Setup] Info Could not import LDIF file '/ tmp / >>> ldifESlBSW.ldif'. Error: 65280. Output: Importing data ... >>> >>> [11/07/21, 17:08:29] - [Setup] Fatal Error: Could not create directory >>> server instance 'michel'. >>> [11/07/21, 17:08:29] - [Setup] Fatal Exiting. . . >>> Log file is '/ tmp/setup5jSSdH.log' >>> >>> Maybe you can help me, google searching for someone I saw the same >>> problem happened to him and recommended him to move or delete the file >>> 10-presence.ldif directory schema, but that file does not exist in that >>> directory. >>> >>> That I could be doing wrong? >>> >>> Thanks >>> Michel >>> -- > >> Review the file permissions for /tmp/ldifESlBSW.ldif, so that >> ns-slapd can read it. >> And maybe review the output of /tmp/setup5jSSdH.log >> M. >> > > Hi > > The script ran it as root, I do not understand how you may be unable > to import the file ldiff stored in /tmp as root who runs the script > and also access any system resource. > > It may be that you specify the user under which runs the 389-ds is > "nobody"? Yes. Try either chown nobody:nobody /tmp/ldifESlBSW.ldif or chmod a+r /tmp/ldifESlBSW.ldif If this is till a problem, what does the command getenforce returns? and also: id ls -ldZ /tmp ls -lZ /tmp/ldifESlBSW.ldif M. > > I send you the log file generated by the script. > > Sorry for my english is very poor > > Michel > > ---------------------------------------------- > Webmail, servicio de correo electronico > Casa de las Americas - La Habana, Cuba. -- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users