Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove-ds-admin.pl -f can break 389-admin package #1962

Closed
389-ds-bot opened this issue Sep 13, 2020 · 3 comments
Closed

remove-ds-admin.pl -f can break 389-admin package #1962

389-ds-bot opened this issue Sep 13, 2020 · 3 comments
Labels
closed: duplicate Migration flag - Issue

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/48903


[1] Install 389-admin

ls /etc/dirsrv/admin-serv/

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).

ls /etc/dirsrv/admin-serv/

[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.

@389-ds-bot 389-ds-bot added the closed: duplicate Migration flag - Issue label Sep 13, 2020
@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2016-06-28 20:03:19

This appears to be a duplicate of:

https://fedorahosted.org/389/ticket/48171

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2017-02-11 22:55:52

Metadata Update from @mreynolds389:

  • Issue set to the milestone: 0.0 NEEDS_TRIAGE

@389-ds-bot
Copy link
Author

Comment from vashirov (@vashirov) at 2020-02-12 17:49:27

Metadata Update from @vashirov:

  • Issue set to the milestone: None (was: 0.0 NEEDS_TRIAGE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: duplicate Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant