Troubleshooting
Answers to common questions when using Monitor.
The Server Doesn't Start
-
Make sure you have a valid RLM license. Type:
% rlmstat -a
-
Check if the server for your project is already running on the same machine. Do
not start an Accelerator project server more than once.
% vovproject enable project% vsi
- Check if the server is trying to use a port number that is already used by another vovserver or even by another application. VOV computes the port number in the range [6200,6455] by hashing the project name. If necessary, select another project name, or change host, or use the variable VOV_PORT_NUMBER to specify an known unused port number. The best place to set this variable is in the setup.tcl file for the project.
-
Check if the server is trying to use an inactive port number that cannot be
bound. This can happen when an application, perhaps the server itself,
terminates without closing all its sockets.
The server will exit with a message similar to the following:
...more output from vovserver... vs52 Nov 02 17:34:55 0 3 /home/john/vov vs52 Nov 02 17:34:55 Adding licadm@venus to notification manager vs52 Nov 02 17:34:55 Socket address 6437 (net=6437) vs52 ERROR Nov 02 17:34:55 Binding TCP socket: retrying 3 vs52 Nov 02 17:34:55 Forcing reuse... vs52 ERROR Nov 02 17:34:58 Binding TCP socket: retrying 2 vs52 Nov 02 17:34:58 Forcing reuse... vs52 ERROR Nov 02 17:35:01 Binding TCP socket: retrying 1 vs52 Nov 02 17:35:01 Forcing reuse... vs52 ERROR Nov 02 17:35:04 Binding TCP socket: retrying 0 vs52 Nov 02 17:35:04 Forcing reuse... vs52 ERROR Nov 02 17:35:04 PROBLEM: The TCP/IP port with address 6437 is already being used. POSSIBLE EXPLANATION: - A VOV server is already running (please check) - The old server is dead but some of its old clients are still alive (common) - Another application is using the address (unlikely) ACTION: Do you want to force the reuse of the address?
-
You run the server as the Accelerator administrator user.
Please check the ownership of the file
security.tcl
in the server configuration directoryvnc.swd
.
UNIX Taskers Don't Start
rsh
or
ssh
. - If using
rsh
try the following:% rsh host vovarch
where
host
is the name of a machine on which there are problems starting a tasker.This command should return a platform dependent string and nothing else. Otherwise, there are problems with either with the remote execution permission or the shell start-up script.
- If the error message is similar to "Permission denied", check the file
.rhosts in your home directory. The file should
contain a list of host names from which remote execution is allowed. See the
manual pages for
rsh
andrhosts
for details. You may have to work with your system administrators to find out if your network configuration allows remote execution. - If using
ssh
, perform the test above but usessh
instead ofrsh
. For more details aboutssh
see SSH Setup in the VOV Subsystem Administrator Guide. - If you get extraneous output from the above command, the problem is
probably in your shell start-up script. If you are a C-shell user, check
your ~/.cshrc file. The following are guidelines for a
remote-execution-friendly .cshrc file:
- Echo messages only if the calling shell is interactive. You can test
if a shell is interactive by checking the existence of the variable
prompt, which is defined for interactive shells. Example:
# Fragment of .cshrc file. if ( $?prompt ) then echo "I am interactive" endif
- Many .cshrc scripts exit early if they detect a
non interactive shell. It is possible that the scripts exit before
sourcing ~/.vovrc, which causes Accelerator to not be available in non-interactive
shells. Compare the following fragments of
.cshrc files and make sure the code in your
file works properly: The following example will not work properly for non-interactive shells:
if ( $?prompt ) exit source ~/.vovrc
This example is correct, source .vovrc and then check the prompt variable:source ~/.vovrc if ( $?prompt ) exit
This example is also correct:if ( $?prompt ) then # Define shell aliases ... endif source ~/.vovrc
- Do not apply
exec
to a sub shell. This will cause thersh
command to hang.# Do not do this in a .cshrc file exec tcsh
- Echo messages only if the calling shell is interactive. You can test
if a shell is interactive by checking the existence of the variable
prompt, which is defined for interactive shells. Example:
License Violation
Accelerator is licensed by restricting the number of taskers. This is the number of all unique hosts that run taskers in all instances of Accelerator servers that use the same license.
% rlmstat -avail
The file $VOVDIR/../../vnc/vnc.swd/taskers.tcl defines the list of hosts that are managed by the server. Make sure the number of tasker hosts is within the license capability.
Crash Recovery
In the event of a crash or failover, you can find a checklist of what to do on the System Recovery page.
nc cmd vovbrowser -url /cgi/sysrecovery.cgi