ScanFi Server Startup and Shutdown
As has been already mentioned in ScanFi server
installation , ScanFi product comes as a zip file for both Windows and
Linux. Below you will find instructions for starting or stopping the ScanFi
server in Windows and Linux
.
You can use either of the following approaches for ScanFi server
startup and shutdown in Windows.
-
- Open a command prompt from <ScanFi_Home>\bin directory.
- Type scanfi .
- A listing of scanfi usage commands will be displayed

- To start the ScanFi server, type the command scanfi start
- Please wait for all the server process to get started, and once you see
the message " Please connect your browser to https://localhost:6565/
" in the CLI, now you can start the ScanFi
Web Client .
Note : If the port 6565 is occupied, you can either automatically
proceed with the subsequent port 6566 or enter a free port number of your choice for the service HTTPS.
- To shutdown the ScanFi server , open another command prompt from <ScanFi_Home>\bin directory
and type the command scanfi stop
- The command scanfi reinit should be used to reinitialize the
ScanFi MySQL database, whereby all the tables which where created on server startup will be dropped (ie.
will be removed).
- The command scanfi install will install ScanFi as a
service, (Administrative Tools >> Services) you will receive a command line confirmation message "wrapper
| ScanFi installed" , whereon you can start and stop the ScanFi server from Windows Administrative
Tools >> Services >> ScanFi .
- The command scanfi remove will remove ScanFi from Windows
service (Administrative Tools >> Services), you will
receive a command line confirmation message "wrapper | ScanFi
removed".
- To uninstall ScanFi from your machine you just need to delete the ScanFi
installation directory, <ScanFi_Home> .
Note : For installing patches or service pack you can use of the UpdateManager.bat
file, present in <ScanFi_Home>\bin
directory.
[or]
-
- Go To <ScanFi_Home>
- Double click ScanFi , this will bring up an install screen.
- Clicking on Install button, will enable you to activate ScanFi menu
options either from the Windows System Tray or from Windows Start Menu (Start
>> Programs >> SecureCentral ScanFi 4).
- The various menu options provided for ScanFi and their actions are listed
below :
- Start Server - to start the ScanFi server
- Stop Server - to stop / shutdown the ScanFi server
- Install as Service - to install ScanFi as a Windows Service (Administrative Tools >> Services),
you will receive a command line confirmation message "wrapper
| ScanFi installed" , whereon you can start and stop the ScanFi server from Windows Administrative
Tools >> Services >> ScanFi .
- Remove Service - to remove ScanFi from Windows Service (Administrative Tools >> Services),
you will
receive a command line confirmation message "wrapper | ScanFi
removed". Note: this will not uninstall ScanFi
.
- Uninstall ScanFi - to uninstall ScanFi from your machine.
- Exit - to remove ScanFi System tray. This menu item is available
only for the ScanFi System Tray icon and will not be available in the Windows Start Menu
(Start
>> Programs >>SecureCentral ScanFi 4).
- Update Manager - used for installing patches or service pack. This
menu item is available only in Windows Start Menu (Start
>> Programs >> SecureCentral ScanFi 4).
Note : While installing ScanFi as a Windows service, Pease ensure that you connect the ScanFi
Web Client only after you receive the message " Please connect your browser
... " in the <ScanFi_Home>/bin/wrapper.log.
This
log file will keep track of activities related to ScanFi
service startup and shutdown.
- Goto <ScanFi_Home>/bin directory.
- Type sh scanfi.sh .
- A listing of scanfi usage commands will be displayed

- To start the ScanFi server, type the command sh scanfi.sh start
- Please wait for all the server process to get started, and once you see
the message " Please connect your browser to https://localhost:6565/
" in the CLI, now you can start the ScanFi
Web Client .
Note : If the port 6565 is occupied, you can either automatically
proceed with the subsequent port 6566 or enter a free port number of your choice for the service HTTPS.
- To shutdown the ScanFi server , open another command prompt from <ScanFi_Home>/bin directory
and type the command sh scanfi.sh stop
- The command sh scanfi.sh reinit should be used to reinitialize the
ScanFi MySQL database, whereby all the tables which where created on server startup will be dropped (ie.
will be removed).
- The command sh scanfi.sh install will install ScanFi as a
service, (/etc/init.d/) you will receive a confirmation message "ScanFi
Service Installed Successfully ! " ,whereby you can use the various
options - console , start, stop, restart, status, dump from /etc/init.d/scanfi-service
[options] .
- The command sh scanfi.sh remove will remove ScanFi from
service (/etc/init.d/), you will
receive a confirmation message "ScanFi Service Removed Successfully
! ".
- To uninstall ScanFi from your machine you just need to delete the ScanFi
installation directory, <ScanFi_Home> .
Note : For installing ScanFi as a service in Linux you need to have
Super User privileges.
Copyright © 2005, AdventNet Inc. All Rights Reserved.