[1] Install 389-admin
admserv.conf console.conf httpd.conf nss.conf
[2] Run "remove-ds-admin.pl -y -f" without ever running setup-ds-admin.pl (no admin server currently installed).
<empty>
[3] Running setup-ds-admin.pl
Beginning Admin Server creation . . . Creating Admin Server files and directories . . . Updating adm.conf . . . Updating admpw . . . Registering admin server with the configuration directory server . . . Updating adm.conf with information from configuration directory server . . . Updating the configuration for the httpd engine . . . Error updating console.conf: Content-type: text/html
NMC_Status: 1 NMC_ErrType: NMC_ErrInfo: Cannot open file for reading Could not update the httpd engine configuration. Failed to create and configure the admin server Exiting . . . Log file is '/tmp/setupy0RYX5.log'
[4] To fix this the 389-admin package must be removed (dnf remove/yum remove), and then re-installed
If there is an admin server installed then "remove-ds-admin.pl -y -f" works correctly the first time, but if you run it again it removes all the contents of /etc/dirsv/admin-serv.
This appears to be a duplicate of:
https://fedorahosted.org/389/ticket/48171
Metadata Update from @mreynolds: - Issue set to the milestone: 0.0 NEEDS_TRIAGE
Metadata Update from @vashirov: - Issue set to the milestone: None (was: 0.0 NEEDS_TRIAGE)
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/1962
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Duplicate)
Login to comment on this ticket.