0

I am trying to put my CentOS 7 in the domain, I put some others and it was normal, but this machine is not working.

follows the configuration of the machine:

Icon name: computer-vm
Chassis: vm
Virtualization: microsoft
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe: / o: centos: centos: 7
Kernel: Linux 3.10.0-514.26.2.el7.x86_64
Architecture: x86-64 

I followed the how to put CentOs in the domain when I realized that the realmd service itself is not working.

Follow the "journalctl -xe" log:

- Subject: Unit realmd.service has started start-up
- Unit realmd.service has begun starting up.
Jan 04 17:25:27 SERVER realmd [25333]: Loaded settings from: /usr/lib64/realmd/realmd-defaults.conf / usr / lib64 / realm
/realmd-distro.conf /etc/realmd.conf
Jan 04 17:25:27 SERVER realmd [25333]: holding daemon: startup
Jan 04 17:25:27 SERVER realmd [25333]: starting service
Jan 04 17:25:27 SERVER realmd [25333]: connected to bus
Jan 04 17:25:27 SERVER realmd [25333]: released daemon: startup
Jan 04 17:25:27 SERVER realmd [25333]: could not claim service name on DBus bus: org.freedesktop.realmd
Jan 04 17:25:27 SERVER realmd [25333]: could not claim service name on DBus bus: org.freedesktop.realmd
Jan 04 17:26:57 SERVER systemd [1]: realmd.service start operation timed out. Terminating.
Jan 04 17:26:57 SERVER realmd [25333]: stopping service
- Subject: Unit realmd.service has failed
- Unit realmd.service has failed.
Jan 04 17:26:57 SERVER systemd [1]: Unit realmd.service entered failed state.
Jan 04 17:26:57 SERVER systemd [1]: realmd.service failed.

Has anyone ever experienced this?

  • The realm list command will list your Microsoft Domain? – nwildner Jan 7 at 16:47
  • The problem is that the service itself is not "up": $ systemctl status realmd ● realmd.service - Realm and Domain Configuration Loaded: loaded (/usr/lib/systemd/system/realmd.service; static; vendor preset: disabled) Active: failed (Result: timeout) since Mon 2019-01-07 09:31:10 -02; 5h 40min ago Docs: man:realm(8) Process: 50010 ExecStart=/usr/lib64/realmd/realmd (code=exited, status=0/SUCCESS) Main PID: 50010 (code=exited, status=0/SUCCESS) – Douglas Ribeiro Jan 7 at 17:17
  • I know, and this seems to be a timeout while searching the domain. I just wanted to make sure if there isn't any domain searching issue by suggesting you to run realm list. Could you do that? – nwildner Jan 7 at 17:56
  • I understood, sorry the delay of the answer, I can execute yes, it follows the result: # realm list realm: Could not connect to realm service: Error calling StartServiceByName for org.freedesktop.realmd: Timeout was reached – Douglas Ribeiro Jan 8 at 10:20
  • That's weird. And what about selinux. Could you please check at /var/log/audit/audit.log if there is any avc on realm and realmd related programs? – nwildner Jan 8 at 12:06
0

@nwildner thank you for your attention but I managed to find the solution on the problem reported above in the CentOS forum, it was only to reboot the machine! Follow the link.

https://www.centos.org/forums/viewtopic.php?f=47&t=69338&p=291404#p291404

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.