Description of problem: This script can't process 'suggest' option - if I choose it, it complains that it can find /tmp/something-or-other.ldif. Does it forget to generate ldif file? I also can not load even Example.ldif from official fedora-ds packages (Fedora 10), error 65280 pops up without any explanation (I modified this file a little - example.com to my domain). This happens with any ldif. I have openldap packages installed including server. I run the script as root. Version-Release number of selected component (if applicable): fedora-ds-admin-1.1.6, fedora-ds-1.1.2 How reproducible: always Steps to Reproduce: 1.Launch the script and get to suggest/none/path step 2.Choose suggest to see the error of non-existent file 3.Enter specific path to see error 65280. Actual results: Expected results: Additional info:
What version of fedora-ds-base? rpm -qi fedora-ds-base What are the exact error messages you see? Can you run setup-ds-admin.pl -ddd to generate more debugging information?
I am unable to reproduce this issue. Are you running the setup script as root? The user you are running setup as needs to be able to create a file in /tmp. It will then change the permissions of this file to be accessible by the user you are running ns-slapd as. I'm guessing that the file creation is what is failing.
Yes, I'm running it as root. Besides, /tmp has write permissions for everyone anyway.
(In reply to comment #3) > Yes, I'm running it as root. Besides, /tmp has write permissions for everyone > anyway. ok. I'd like to see the debug output from the setup script that Rich mentioned (use the -ddd option). In my test, I see a this section where it updates the permissions on the LDIF file: +changeOwnerMode: changed mode of /tmp/ldifXM2lg8.ldif to 440 +changeOwnerMode: changed ownership of /tmp/ldifXM2lg8.ldif to user 99 group 99 +importing data ...
Hmm, I ran the script on a fresh-installed fedora and now importing went smoothly. However script never exits. I attached script output. The last line is about starting directory server. After that line script just stays in terminal.
Created attachment 334100 [details] Script output with -ddd
Oh, by the way, fedora-ds-base version is 1.1.3
Oops, script finally exited: '. Error: Unknown error 256 Error: Could not create directory server instance 'thesource'. Exiting . . . Log file is '/tmp/setupPHdqfQ.log'
Sorry, here's full text: Possible timeout starting server: timeout=1236235161 now=1236235162 Could not start the directory server using command '/usr/lib/dirsrv/slapd-thesource/start-slapd'. The last line from the error log was '[05/Mar/2009:09:29:22 +0300] - Fedora-Directory/1.1.3 B2008.289.115 starting up '. Error: Unknown error 256 Error: Could not create directory server instance 'thesource'. Exiting . . . Log file is '/tmp/setupPHdqfQ.log'
Try fedora ds 1.2.0 - just released today - if you still have the problem, please reopen the bug