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 .

ScanFi Server Startup and Shutdown in Windows

You can use either of the following approaches for ScanFi server startup and shutdown in Windows.

Note : For installing patches or service pack you can use of the UpdateManager.bat file, present in <ScanFi_Home>\bin directory.

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. 

ScanFi Server Startup and Shutdown in Linux

  1. Goto <ScanFi_Home>/bin directory.
  2. Type sh scanfi.sh .
  3. A listing of scanfi usage commands will be displayed



  4. To start the ScanFi server, type the command sh scanfi.sh start 
  5. 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.
  6. To shutdown the ScanFi server , open another command prompt from <ScanFi_Home>/bin directory and type the command sh scanfi.sh stop 
  7. 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).
  8. 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] .
  9. The command sh scanfi.sh remove will remove ScanFi from service (/etc/init.d/), you  will receive a confirmation message "ScanFi Service Removed Successfully ! ".
  10. 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.