ODBC
Overview PxPlus File Server
  The PxPlus File Server allows the PxPlus ODBC driver, the PxPlus SQL Command Line Client, or any application using the PVKIO library to access PxPlus data on a remote system. The file server can run on windows and UNIX/Linux boxes so for example it allows an ODBC application on Windows to access data on a UNIX/Linux box.

There is both a Windows and UNIX/Linux version of the PxPlus File Server. The Windows version of the Server has its own installer (for installation procedures see File IO Product Installation and Activation (Windows)). The UNIX/Linux version of the Server has a stand alone installation package (for installation procedures see PxPlus File Server Installation (UNIX/Linux)).

Running the Server Run the server from the command line using the following syntax:

dir/pxpiosvr [-f configfile] [-p tcpport]

Where:

dir Directory path; e.g., /usr/pxpiosvr
-f configfile Path and file name of the ODBC Server configuration file. If no configuration file is located, the server will not start and an error message will be displayed or printed to the log file (if debug is enabled). See Configuration File.

If this option is not specified, the server defaults to

./pxpiosvr.conf , followed by
/usr/pxpiosvr/pxpiosvr.conf, then
/usr/pvxodbc/pvxodbs.conf

-p tcpport TCP/IP port number the server is to listen on. This overrides the port number specified in the pxpiosvr.conf file.
Other Server Arguments The following arguments can also be used with the PxPlus IO Server executable (pxpiosvr) at the command line:
-h or --help Display a message listing the available command line options with brief descriptions.
-v or --version Display the server version information; e.g.,

PxPlus IO Server Ver: 5.00.0000 For: RedHat Enterprise Linux 3.0
Copyright (c) 2011 PVX Plus Technologies Ltd.

-d or --debug Enable output to the debug log file pxpiosvr.log
-s or --shutdown Server shutdown. See Shutting Down the Server.
Shutting Down the Server The PxPlus IO Server records the process ID (pid) of the server in the pxpiosvr.pid file to assist in shutting down the server;

For Example:

pxpiosvr -s or
pxpiosvr --shutdown

Provided the server can locate the pxpiosvr.pid file, the running server will be shut down properly; otherwise, an error message will be displayed on standard out. Alternately, the server can be shutdown using a SIGHUP signal; i.e.,

kill -1 pid

Where pid is the process ID of the PxPlus IO Server, pxpiosvr.