If you are using Pbis-open to connect to the Windows AD and you have upgraded to Ubuntu 15.04 you will have noticed that Pbis-open >= 188.8.131.5293 will not start the service lwsmd.
The reason is the service environment on Ubuntu 15.04 have switched to systemd.
Systemd uses a completely different concept for handling services so the package is not compatible.
I was saved by the user kavirondo from Ask Ubuntu, he/she made this instruction:
You need to create a systemd unit file for this service, and then enable it. The following worked for me on Ubuntu 15.04 (upgraded from 14.04) with PBIS 8.2.2.
Create the file lwsmd.service in /lib/systemd/system like this:
Here are the contents (paste this in to the file you created above) (taken from a redhat one) so thanks to them:
[Unit] Description=BeyondTrust PBIS Service Manager After=network.target [Service] Type=forking EnvironmentFile=/opt/pbis/libexec/init-base.sh ExecStart=/opt/pbis/sbin/lwsmd --start-as-daemon ExecReload=/opt/pbis/bin/lwsm refresh ExecStop=/opt/pbis/bin/lwsm shutdown # We want systemd to give lwsmd some time to finish gracefully, but still want # it to kill lwsmd after TimeoutStopSec if something went wrong during the # graceful stop. Normally, Systemd sends SIGTERM signal right after the # ExecStop, which would kill lwsmd. We are sending useless SIGCONT here to give # lwsmd time to finish. KillSignal=SIGCONT PrivateTmp=true [Install] WantedBy=multi-user.target nss-lookup.target
Once this is done, make a symlink to this file in /etc/systemd/system:
cd /etc/systemd/system ln -s /lib/systemd/system/lwsmd.service
At this point you should be able to type:
service lwsmd status
and see that the service exists and is enabled.
service lwsmd start
should start it up and have pbis working as expected.
Now to make it work at boot time. Enable the service with this command:
systemctl enable lwsmd.service
It should give some feedback about creating some symlinks.
Then reboot your comp and all should be working.
I hope it was clear enough, and please forgive any typos… Good luck!