Siemens entirely changed their licensing system, so we have a new crontab now.
@reboot /opt/Siemens/LicenseServer/lmgrd -l /tmp/lmgrd.log -c /opt/Siemens/LicenseServer/splm11.lic /opt/Siemens/LicenseServer/sim-e.lic
To edit, run sudo crontab -u spacesys -e
if not logged in as spacesys. Logfiles go to /tmp..
I had to make a symlink in /usr to /tmp due to https://community.flexera.com/t5/FlexNet-Publisher-Knowledge-Base/Can-t-make-directory-usr-tmp-flexlm-errno-2-No-such-file-or/ta-p/159264
For more details on the server, see https://docs.plm.automation.siemens.com/data_services/resources/nx/11.0.1/nx_help/custom/en_US/ugslicensing/SPLMLicensing_user_guide.pdf
To get the current status of the license server, run cd /opt/Siemens/LicenseServer && ./lmutil lmstat
, and don’t use the old commands like Yong Da did that one time.
You can access this server at [email protected]
It helps to be spacesys
doing all this, so sudo su spacesys
to swap users.
./lmutil lmdown -all -force
then wait a few minutes. It needs time apparentlyVENDOR saltd saltd PORT=29001
from the line with ugslmd
/opt/Siemens/LicenseServer/lmgrd -l /tmp/lmgrd.log -c /opt/Siemens/LicenseServer/splm11.lic /opt/Siemens/LicenseServer/sim-e.lic
cat /tmp/lmgrd.log
and make sure stuff comes up (give it a moment)
fuser -k 29000/tcp
, or try the lmutil lmdown again. Or wait a little while. I can’t quite tell yet what triggers it.Updating NX itself on Windows: https://docs.google.com/document/d/1iOgUo3UqdIDZEnZxygcKRQ4oorTh5WEOaNM3BkrE3kU/edit