Managing Vsrvtcp on HPUX

From Vital Soft Wiki
Revision as of 22:52, 9 December 2013 by >Jeremyb
Jump to: navigation, search

UNIX Configuration for TCP/IP

Visimage for Windows communicates with the AskPlus host server via a TCP/IP connection. Once AskPlus has been installed, you need to activate a process as a listener for Visimage for Windows. You must login as askplus to perform these steps.


Validating the Listener

Before you can connect, you will need to make sure that the listener has been validated. Enter the following command to display the current status:

 /ASKPLUS/vsrvtcp -ig

The current status and installation number will be displayed. If necessary, contact Vital Soft (support@vital-soft.com or 800-848-2576) to request a validation number. To enter the new validation number type:

 /ASKPLUS/vsrvtcp -is


Once you have entered the validation, check the status again.


Starting the Listener

The listener process can be launched by typing:

 /ASKPLUS/vsrvtcp -a >/dev/null

To verify that the process is running, use the ps command as follows:

 ps -ef | grep vsrvtcp

To verify that it is waiting for a connection, use the following command:

 netstat -a | grep askplus

The process should be in a LISTEN state.


Stopping the Listener

The listener can be stopped by using the UNIX kill command or by using a script provided. It is likely that you will need root capability to stop the listener

 /ASKPLUS/kill_vsrvtcp -stop_all

The parameter “stop_all” will also shutdown (stop) all active Visimage connections.


Starting and Stopping VSRVTCP Automatically

Instructions for starting and stopping VSRVTCP during system startup and shutdown can be found in the Appendices.


Switching TCP/IP Services

VSRVTCP will attempt to use whichever service (port) is specified in the host services (/etc/services) file. If vsrvtcp exits with no errors (and no process is running), the most likely reason is a port conflict. You can specify a different service number when running vsrvtcp as follows:

 /ASKPLUS/vsrvtcp -n30505 >/dev/null

Once you determine the best service number to use, make sure that you update the services file (/etc/services) as shown above in the configuration section.

If you change the service number to something other than 30501 it will be necessary to configure Visimage to use that same service number. See the Visimage Installation & Configuration chapter of this guide for instructions on how to make this change.