On Dec 4, 2007 3:20 PM, Rich Megginson <<a href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Mike C wrote:<br>> Directory Server 1.0 (downloaded last week)<br>><br>> I have created a new database (via the Console GUI from startconsole).<br>> I cannot initalize it. I right click on the database and select
<br>> Initalize Database. It prompts for the location of a file, which I<br>> supply. The Initalize Database progress window pops up and shortly<br>> says "Error During Import". The Status Logs... button reveals:
<br>><br>> "Beginning import job...<br>> Index buffering enabled with bucket size 15<br>> Could not open LDIF file "/root/backup.ldif"<br>> Aborting all import threads...<br>> Import threads aborted
<br>> Closing files...<br>> Import failed."<br>><br>> It does not give a reason why it could not open the file. Ideas?<br>><br></div>Weird - try ldif2db from the command line?<br><div><div></div><div class="Wj3C7c">
> FYI: I chmod 777 the file just in case (-rwxrwxrwx 1 root root<br>> 6008801 Dec  5 12:06 backup.ldif)<br>><br>> Thanks,<br>><br>> Mike</div></div></blockquote><div><br>I noticed that the LDIF file is /root/backup.ldif. Could it be the case that the  GUI is running as a different (non root) user and that the /root directory does not have permissions for that user to traverse into ? In other words, if "ls -ld /root" shows the permissions as "drwx------", then you can either change the permissions of /root to 755 or move the LDIF file under a directory that is traversable by the user running the GUI. I would prefer the latter.
<br><br>-=Venkat=-<br></div></div><br>