Bug 486076
Summary: | setup-ds-admin.pl does not work properly | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | The Source <thesource> | ||||
Component: | UI - Configuration | Assignee: | Nathan Kinder <nkinder> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Chandrasekar Kannan <ckannan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.1.2 | CC: | benl, nkinder, rmeggins | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-04-06 21:20:44 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
The Source
2009-02-18 07:09:41 UTC
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 |