HLServer: Trouble Shooting
From Headus Docs
Revision as of 03:10, 16 January 2007 (edit) Headus (Talk | contribs) (→Checking the Server) ← Previous diff |
Current revision (07:30, 25 October 2018) (edit) (undo) Headus (Talk | contribs) |
||
(18 intermediate revisions not shown.) | |||
Line 4: | Line 4: | ||
The first stop for all problems is the hlserver log file, found in | The first stop for all problems is the hlserver log file, found in | ||
- | the headus/etc directory. By default there will be two (sometimes | + | the hlserver install directory on the server. By default there will be two log files, |
- | four) log files, rotated weekly; check their last modified dates to | + | rotated weekly; check their last modified dates to |
see which one is currently active. | see which one is currently active. | ||
- | If your users have problems accessing the floating licenses you | + | If your users have problems accessing the floating licenses, you |
should first check the log file to see if any errors have been | should first check the log file to see if any errors have been | ||
reported. The following is an explanation of the log messages. | reported. The following is an explanation of the log messages. | ||
Line 14: | Line 14: | ||
<ul> | <ul> | ||
- | ; '''Config - Couldnt find config file''' : The config file wasn't found. (IRIX/Linix) Check the server startup script for the correct setting of the HEADUS_HOME variable. (Windows) Check hlserver.ini for correct setting of "-c" argument. | + | ; '''Config - Couldnt find config file''' : The config file wasn't found. (Linix) Check the server startup script for the correct setting of the HEADUS_HOME variable. (Windows) Check hlserver.ini for correct setting of "-c" argument. (OS X) Have you run the setup script? |
; '''Config - Problems reading config file''' : The config file was found, but it couldn't be opened for reading. Check file permissions. | ; '''Config - Problems reading config file''' : The config file was found, but it couldn't be opened for reading. Check file permissions. | ||
Line 31: | Line 31: | ||
; '''DeniedIP ip [range] - access to user@host appname''' : '''user@host''', running '''appname''', tried to grab a floating license, but their '''ip''' was out of the allowed '''range'''. Check the IP ranges defined in the config file. | ; '''DeniedIP ip [range] - access to user@host appname''' : '''user@host''', running '''appname''', tried to grab a floating license, but their '''ip''' was out of the allowed '''range'''. Check the IP ranges defined in the config file. | ||
+ | |||
+ | ; '''DeniedCG [name] - access to user@host appname''' : '''user@host''' was denied access because of a client side group definition. | ||
; '''Reload - by user@host''' : Manager '''user@host''' told '''hlserver''' to reload its key and config files. This would need to be done whenever the files have been edited while the server is running. | ; '''Reload - by user@host''' : Manager '''user@host''' told '''hlserver''' to reload its key and config files. This would need to be done whenever the files have been edited while the server is running. | ||
Line 45: | Line 47: | ||
; '''Shutdown - by user@host''' : Manager '''user@host''' told '''hlserver''' to shut itself down. | ; '''Shutdown - by user@host''' : Manager '''user@host''' told '''hlserver''' to shut itself down. | ||
+ | |||
+ | ; '''Shutdown - at server''' : '''hlserver''' shut itself down. Under Windows that would usually be because the service was stopped. Under IRIX/Linux it could happen if the hlserver process couldn't write to /usr/tmp/hlserver.pid, or if two hlserver processes tried to run at the same time, or if the PID file is deleted manually or via a cron job. | ||
</ul> | </ul> | ||
Line 53: | Line 57: | ||
check that the server is running OK. | check that the server is running OK. | ||
- | # Look for hlserver in the list of running processes (IRIX/Linux) or services (Windows). If its not there, have another read of [[HLServer: Server Install#top|Server Install]] and [[HLServer: Running the Server#top|Running the Server]] to make sure you've done all that's required. <br><br> | + | # Look for hlserver in the list of running processes (Linux, OS X) or services (Windows). If its not there, have another read of the setup instructions ([[HLServer:_Linux_Server_Setup|Linux]], [[HLServer:_Windows_Server_Setup|Windows]] or [[HLServer:_OS_X_Server_Setup|OS X]]) to make sure you've done all that's required. <br><br> |
# Run hlmanager, and check that the licenses have been loaded. If hlmanager can't connect to hlserver, check the log file for possible problems. If hlmanager runs OK, but no licenses are listed, check the keys file for possible problems. Each key should be on a single separate line, with no leading spaces or tabs. | # Run hlmanager, and check that the licenses have been loaded. If hlmanager can't connect to hlserver, check the log file for possible problems. If hlmanager runs OK, but no licenses are listed, check the keys file for possible problems. Each key should be on a single separate line, with no leading spaces or tabs. | ||
Line 61: | Line 65: | ||
configured properly. | configured properly. | ||
- | # Run "headus" (IRIX/Linux) or "Start->Programs->headus->about headus 3D tools" (Windows) and check that there's a "Floating Keys" entry above the "Hardware Keys" label. If not, then the HEADUS_HLSERVER environment variable hasn't been defined properly; check [[HLServer: Application Config|Application Config]] for details. <br><br> | + | # Run the headus licensing GUI and check that there's a "Floating Keys" entry above the "Hardware Keys" label. If not, then the HLServer setting hasn't been defined properly; check [[HLServer: Application Config|Application Config]] for details. <br><br> |
# Are any valid (i.e. green colored) licenses shown in the "about headus 3D tools" window? If yes, then the client is talking to the server OK. Click on the '''Test''' button next to the application you are having problems with; if it works, but your other methods for starting the application fail, check your methods. If the test doesn't work, check the hlserver log file for errors. <br><br> | # Are any valid (i.e. green colored) licenses shown in the "about headus 3D tools" window? If yes, then the client is talking to the server OK. Click on the '''Test''' button next to the application you are having problems with; if it works, but your other methods for starting the application fail, check your methods. If the test doesn't work, check the hlserver log file for errors. <br><br> | ||
- | # If no valid licenses are shown in the "about headus 3D tools" window, then you need to check the TCP/IP connection between the client and hlserver. You can do this by running telnet from the client side; use the command line so you can define the port to connect to. That is, run "telnet server 11668", where '''server''' is the name of the host running hlserver. <br><br> If all is OK then nothing will happen; hit enter and telnet will exit. The log file should show a "Connect - INVALID" error, which is what's its supposed to do. <br><br> If, on the other hand, telnet gives an error, that'll indicate there's some problem with the TCP/IP connection between the client and hlserver. It might be that the server itself is blocking connects to that PORT; if you are running a firewall, check its settings. It might be that the client is confused about who '''server''' really is; run "ping server" from the client side and check the IP address. | + | # If no valid licenses are shown in the "about headus 3D tools" window, then you need to check the TCP/IP connection between the client and hlserver. You can do this by running telnet from the client side; use the command line so you can define the port to connect to. That is, run "telnet server 11668", where '''server''' is the name of the host running hlserver. <br><br> If all is OK then nothing will happen; hit enter and telnet will exit. The log file should show a "Connect - INVALID" error, which is what's its supposed to do. <br><br> If, on the other hand, telnet gives an error, that'll indicate there's some problem with the TCP/IP connection between the client and hlserver. It might be that the server itself is blocking connects to that PORT; if you are running a firewall, check its settings. It might be that the client is confused about who '''server''' really is; run "ping server" from the client side and check the IP address. <br><br> |
+ | # If you have a "Build Status Report" button in the headus licensing GUI, click that for more debugging information. | ||
If none of the above tests sheds any more light on the problem, | If none of the above tests sheds any more light on the problem, | ||
- | contact your license issuer for further directions. | + | contact your vendor for further directions, and attach the |
+ | status report if you have one from step 4 above. | ||
{{TOP}} | {{TOP}} |
Current revision
|
If you can't get HLServer to work, you should first check the server log file for any obvious errors. If that's no help, check below for some tests you can run on both the server and client machines.
[edit] Server LogThe first stop for all problems is the hlserver log file, found in the hlserver install directory on the server. By default there will be two log files, rotated weekly; check their last modified dates to see which one is currently active. If your users have problems accessing the floating licenses, you should first check the log file to see if any errors have been reported. The following is an explanation of the log messages.
[edit] Checking the ServerIf the log file recorded no errors, you can run these tests to check that the server is running OK.
[edit] Checking ClientsYou can run these tests to check that the client (i.e. user) is configured properly.
If none of the above tests sheds any more light on the problem, contact your vendor for further directions, and attach the status report if you have one from step 4 above. |