Skip to content

Instantly share code, notes, and snippets.

@Brainiarc7
Forked from vikas027/pbis_centos7.txt
Created November 4, 2015 08:15
Show Gist options
  • Save Brainiarc7/644a6139bf8f21052ba5 to your computer and use it in GitHub Desktop.
Save Brainiarc7/644a6139bf8f21052ba5 to your computer and use it in GitHub Desktop.
Fix PowerBroker Identity Service (formerly Likewise) on CentOS 7
PBIS (PowerBroker Identity Service) throws some errors while installing v8.2.2 (latest as of 25 June 2015) rpm.
[root@centos7 ~]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
[root@centos7 ~]# ./pbis-open-8.2.2.2993.linux.x86_64.rpm.sh install (This is filtered output)
...
...
Error: /usr/bin/systemctl enable /etc/pbis/redhat/lwsmd.service returned 1
Failed to issue method call: Unit /etc/pbis/redhat/lwsmd.service does not exist.
Error: /sbin/service lwsmd start returned 6
Redirecting to /bin/systemctl start lwsmd.service Failed to issue method call: Unit lwsmd.service failed to load: No such file or directory.
...
...
regshell (error = 40700 - LWREG_ERROR_NO_SUCH_KEY_OR_VALUE)
No such key or value
...
[root@centos7 ~]#
To rectify the errors, run the below commands and reboot the server.
[root@centos7 ~]# ln -s /etc/pbis/redhat/lwsmd.service /etc/systemd/system/lwsmd.service
[root@centos7 ~]# cp /etc/pbis/redhat/lwsmd.service /lib/systemd/system/lwsmd.service
[root@centos7 ~]# systemctl enable lwsmd.service
@Brainiarc7
Copy link
Author

Further setup notes:

As of today, you can add the repository below to CentOS 7.0:

http://repo.pbis.beyondtrust.com/yum.html

Then do a yum install and join the domain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment