Automatic start up of License Manager in CentOS 7 not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone. I have followed how to's online but I cannot get the line:
/opt/flexnetserver/lmgrd -c /var/flexlm/adsk_server.lic
to autostart the license server manager if the server restarts. My Autodesk clients just connect with a no license manager found error.
I have tried forcing the older way of starting up a command on start up by editing the /etc/rc.local:
#!/bin/bash
# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
#
# It is highly advisable to create own systemd services or udev rules
# to run scripts during boot instead of using this file.
#
# In contrast to previous versions due to parallel execution during boot
# this script will NOT be run after all other services.
#
# Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure
# that this script will be executed during boot.
touch /var/lock/subsys/local
/opt/flexnetserver/lmgrd -c /var/flexlm/adsk_server.lic
Then I make sure that rc.local is executable with a chmod.
This however still does not start up the executable adskflex. I only see lmgrd as a process and not the adskflex.
I understand that in CentOS 7 that systemd is the new way of conrolling start up services but I don't even know where to being by writing a unit for the Flexnet server.
I even tried just using the non root user's crontab -e:
@reboot /opt/flexnetserver/lmgrd -c /var/flexlm/adsk_server.lic
I run into the same error that the adsflex daemon does not start up.
How do I properly get the Autodesk License Manager to properly start up in CentOS if the server restarts?