Tagged: licenses-server-systemd
-
-
December 1, 2021 at 6:35 pm
ldbuffalo
SubscriberI am trying to start license with systemd but I have to get the web client up on the server every time. If I use the command option it starts and works for about 5 minutes and then dies. Web client start works continuously with out a problem. But it's a manual process and does not work well with server reboot. Is there something I possibly missing and/or there is a way to automate the web process somehow ?
December 3, 2021 at 7:01 pmGeorge Karnos
Ansys EmployeePlease see below from the License Management Guide:
3.2. Starting the Ansys Licensing Tomcat Server at System Boot Time
You can set Tomcat to start automatically at system boot time on Linux machines. This task is optional but is recommended and should be done regardless of which type of license server configuration you use. The License Management Center runs using the Tomcat web server. This task is required to be able to run the License Management Center.
Table3.1:Tomcat Automatic Startup Instructionsdetails the steps that must be performed on each Linux license server to start Tomcat automatically when the system is rebooted.
Note:The procedure described in this section starts Tomcat at boot time as root. It is not essential that Tomcat be started by the root user; it may be run by a non-privileged user, depending on your preference. If you do not want Tomcat to be started by root, modify the LMUSER value in theinit_ansyslm_tomcatboot script to include the user login name you want to use at boot time. This user must have read/write access to all files contained in the following directories:
/shared_files/licensing/tools/tomcat/conf
/shared_files/licensing/tools/tomcat/logs
/shared_files/licensing/tools/tomcat/bin
Table 3.1: Tomcat Automatic Startup Instructions
PlatformInstructionsLinux: Red Hat, SuSE and CentOS
Issue the Tomcat startup instructions:
cp /ansys_inc/shared_files/licensing/init_ansyslm_tomcat /etc/init.d
chmod 555 /etc/init.d/init_ansyslm_tomcat
chkconfig --add init_ansyslm_tomcat
chkconfig init_ansyslm_tomcat on
Once the procedure is in place for starting Tomcat automatically at boot time, reboot the system to verify that the automatic boot procedure is working correctly.
When the system comes back up, check to see that Tomcat is running by typing the appropriatepscommand and looking forinit_ansyslm_tomcatin the resulting display under the column labeled COMMAND. For example:
ps -ef|grep tomcat
Removing the Tomcat Automatic Startup Information
If you remove the license manager server installation from a machine and need to remove Tomcat Automatic Startup capability, follow the instructions below.
Table 3.2: Removing Tomcat Automatic Startup Instructions
PlatformInstructionsLinux: Red Hat, SuSE and CentOS
Issue the following commands:
/etc/init.d/init_ansyslm_tomcat stop
chkconfig --del init_ansyslm_tomcat
rm /etc/init.d/init_ansyslm_tomcat
December 3, 2021 at 8:01 pmldbuffalo
SubscriberHello, Thank you, the only issue I am running license server on Ubuntu box. I am thinking to add init_ansyslm_tomcat start command to the service script, do you think it will start fast enough so the next step will be ready to proceed ? or should I have separate service file for it.
Again Thank you much
Leo
March 17, 2022 at 3:58 pmldbuffalo
SubscriberHello,
Am I the only one who has the issue ? ATM I am solving the issue by starting tomacat manually , hope I will have some time and I will change it to work with systemctl, but if someone has done it already please do share it to save me time. Thank you much
Viewing 3 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceEarth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- Error with workbench SceneGraphChart
- Workbench error
- Workbench not opening
- How can I renew ANSYS student version license?
- License Error
- Sizing on Ansys Workbench 19.2
- Error: Exception of type ‘Ansys.Fluent.Cortex.Cortex not availableException’ was thrown
- Licensing error while opening ANSYS Mechanical
- An error occurred when the post processor attempted to load a specific result.
- Problem with FlexNet Licensing
Top Contributors-
2532
-
2066
-
1285
-
1104
-
459
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-