ipa-replica-install fails: "an internal error has occurred" on Remote master - DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freeipa.server was not provided by any .service files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oddjob (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using freeipa 4.3.1-0ubuntu1 on Ubuntu 16.04 servers.
I have setup a FreeIPA master server with the following commands:
apt install freeipa-server
ipa-
--no-reverse --hostname=
-
-
-
--unattended
On a different server, I'm now trying to setup a replica. The
connection tests are good, see replica-
master-
But ipa-replica-install fails (see ipa-replica-
$ sudo ipa-replica-install -P admin -w adminpassword --domain=
…
Client configuration complete.
Run connection check to master
Removing client side components
Unenrolling client from IPA server
…
ipa.
Please fix your network settings according to error messages above.
If the check results are not valid it can be skipped with --skip-conncheck parameter.
ipa.
In /var/log/
[…]
Kerberos Kpasswd: UDP (464): SKIPPED
Connection from replica to master is OK.
Start listening on required ports for remote master check
Get credentials to log in to remote master
Check RPC connection to remote master
Execute check on remote master
2017-
an internal error has occurred
2017-
2017-
2017-
[…]
In /var/log/
[Tue Jan 17 16:06:05.825724 2017] [wsgi:error] [pid 21773:tid 139626190206720] ipa: INFO: [jsonserver_kerb] <email address hidden>: ping(version=
ERROR:
[Tue Jan 17 16:06:05.941909 2017] [wsgi:error] [pid 21772:tid 139626190206720] ipa: ERROR: non-public: DBusException: org.freedesktop
[Tue Jan 17 16:06:05.942141 2017] [wsgi:error] [pid 21772:tid 139626190206720] Traceback (most recent call last):
[Tue Jan 17 16:06:05.942325 2017] [wsgi:error] [pid 21772:tid 139626190206720] File "/usr/lib/
[Tue Jan 17 16:06:05.942543 2017] [wsgi:error] [pid 21772:tid 139626190206720] result = self.Command[
[Tue Jan 17 16:06:05.942946 2017] [wsgi:error] [pid 21772:tid 139626190206720] File "/usr/lib/
[Tue Jan 17 16:06:05.944110 2017] [wsgi:error] [pid 21772:tid 139626190206720] ret = self.run(*args, **options)
[Tue Jan 17 16:06:05.944272 2017] [wsgi:error] [pid 21772:tid 139626190206720] File "/usr/lib/
[Tue Jan 17 16:06:05.944459 2017] [wsgi:error] [pid 21772:tid 139626190206720] return self.execute(*args, **options)
[Tue Jan 17 16:06:05.944638 2017] [wsgi:error] [pid 21772:tid 139626190206720] File "/usr/lib/
[Tue Jan 17 16:06:05.944825 2017] [wsgi:error] [pid 21772:tid 139626190206720] ret, stdout, stderr = server.
[Tue Jan 17 16:06:05.945075 2017] [wsgi:error] [pid 21772:tid 139626190206720] File "/usr/lib/
[Tue Jan 17 16:06:05.945245 2017] [wsgi:error] [pid 21772:tid 139626190206720] return self._proxy_
[Tue Jan 17 16:06:05.945394 2017] [wsgi:error] [pid 21772:tid 139626190206720] File "/usr/lib/
[Tue Jan 17 16:06:05.945567 2017] [wsgi:error] [pid 21772:tid 139626190206720] **keywords)
[Tue Jan 17 16:06:05.945734 2017] [wsgi:error] [pid 21772:tid 139626190206720] File "/usr/lib/
[Tue Jan 17 16:06:05.945914 2017] [wsgi:error] [pid 21772:tid 139626190206720] message, timeout)
[Tue Jan 17 16:06:05.946074 2017] [wsgi:error] [pid 21772:tid 139626190206720] DBusException: org.freedesktop
[Tue Jan 17 16:06:05.946989 2017] [wsgi:error] [pid 21772:tid 139626190206720] ipa: INFO: [jsonserver_kerb] <email address hidden>: server_
[Tue Jan 17 16:06:10.595846 2017] [wsgi:error] [pid 21773:tid 139626190206720] ipa: INFO: [xmlserver] <email address hidden>: host_disable(
what if you run:
systemctl reload- or-try- restart dbus