Professional Documents
Culture Documents
159
Appendix B: System Utilities
Administration Guide
Description
This utility configures SecurOS to run as Windows service or as a normal Win32 application (see figure 101). If you choose Run as service, SecurOS will start automatically at operating system startup. To properly configure SecurOS as a Windows service, it is recommended to use SecurOS Control Service utility that itself runs SecurOS as service. Location:
<SecurOS folder>\securos svc.exe
Help information on syntax and utility keys is displayed on running this utility from command line with -h parameter. SecurOS Control Service Utility Syntax:
securos svc -h -i n -r -s -k -t n -u s -p s -l s -d
-h gives utility keys with description -i n register SecurOS as a Windows service. Specify service running type n (1 disable, 2 automatic, 3 manual)
www.isscctv.com
SecurOS
160
Appendix B: System Utilities
Administration Guide
-r delete SecurOS from Windows services list -s run the service -k stop the service -t specify service running type of already registered service (1 disable, 2 automatic, 3 manual) -u s specify user name s for service run -p s specify user password s for service run -l s specify names of dependent services -d enable verbose mode It is recommended to register automatic start of SecurOS service for correct work of SecurOS and to set dependency on PostgreSQL service:
securos svc.exe -i 2 -l "pgsql-8.3"
It is necessary to check real name of PostgreSQL service on your computer (the above example uses pgsql-8.3). To find PostgreSQL service name: 1. Open Windows Control Panel (Start Settings Control Panel). 2. Choose Administrative Tools, then Services. 3. Locate PostgreSQL8 service in the services list and choose Properties. specified in Service name field. Service name is
After such registration, upon starting of SecurOS service it will wait until PostgreSQL service starts.
Note: It is recommended to use automatic Windows logon in case when SecurOS is configured as Windows service (see automatic login configuration description in 10.1 D.2 Windows XP Automatic Login Configuration on page 181).
This utility is intended for storage settings for system objects (the Securos database), record of the events occurring in system (the Protocol database), and data recording about alarms and about the videoarchive bookmarks (the fsindex database).
Note: All connection strings are defined on installation process.
www.isscctv.com