Categories
Knowledge Support Support exacqVision Server Categories Products

Locking Down Linux GRUB (Legacy)

To lock down Linux GRUB, complete the following steps:

<br>

  1. Download the attachment lock-grub.sh.
  2. Make it executable: chmod +x lock-grub.sh
  3. Execute the script with your desired password: sudo ./lock-grub.sh admin256

<br>

This puts a password entry in /boot/grub/menu.lst as an md5 hash. If you want to change it after running this script, replace the hash with one created with grub-md5-crypt.

<br>

To view code follow the link: http://exacq-staging.instil.co/#/file-manager/1b63f3e9-b6e5-48be-9cd2-14b4a1ad2fad/kb-00597-597-210212

<br>

Categories
Knowledge Support Support Categories Products exacqVision Hardware

Disabling Automatic Login in Linux

To disable automatic login on Linux, complete the following steps:

  1. Log in to the Admin account.
  2. Run Start -> System -> Administration -> Login Window.
  3. After you enter the admin password, the Login Window Preferences dialog appears. On the Security tab, deselect Enable Automatic Login. You can also change the User to admin if you want to always login as admin; however, this is not recommended for security reasons.

<br>

Disabling-Automatic-Login-in-Linux.pdf
Categories
Knowledge Support Support exacqVision Client Categories Products

exacqVision Timestamp Format

All exacqVision video is timestamped in UTC, so there is no ambiguity as to the absolute time when the video was recorded. When exporting video, the time zone of the system on which the video was recorded is not stored. Starting with exacqVision version 3.4, two features were added to make this more transparent to the operators:

<br>

  1. In exacqVision Client, an onscreen display shows the server time zone (in offset from UTC) along with the timestamp. If this option is not configured for the camera, the timestamp is shown in the client’s local time.
  2. In ePlayer, the timestamp of the recorded video is shown in the time zone of the local computer on which it is playing, but the time zone offset is shown. Thus, if you watch a video on a computer set to EDT, you might see 2:00 (GMT-4:00), whereas the same video viewed on a computer in CDT would show 1:00 (GMT-5:00). The UTC timestamp is the same in both cases. Knowledge of the physical location of the recording server, which is clearly needed for evidentiary purposes, can correlate the local time of the machine on which the video is being watched to the local time of the server on which it was recorded.

<br>

Categories
Knowledge Support Support exacqVision Webservice Categories Products

Can the Web Server run on an Exacq EL NVR system?

Yes, exacqVision EL supports a Web Server used to provide the mobile device video access. The Web Server is not installed on EL by default because if it runs simultaneously with exacqVision Client on the EL hardware, performance of both the local client and the Web Server could be noticeably slower (this is the tradeoff for the low power consumption and reduced cost of the Intel Atom processor). The loading introduced by the Web Server is roughly equal to the client. Remote clients connected to the exacqVision Server do not introduce significant CPU loading.

<br>

On exacqVision ELP systems, the Intel Celeron processor can run exacqVision Client and Web Server simultaneously. exacqVision Client performance is still dependent on the processor. See Client Workstation Hardware Requirements on this page for more information.

<br>

The installation of the Web Service is very easy and no different than for any other Ubuntu Linux-based system. The Web Service installer is available at https://exacq.com/support/downloads.php.

<br>

Categories
Knowledge Support Support exacqVision Server Categories exacqVision Hardware Products

Manually Checking a Drive for Errors in Linux

Run fsck

On Linux systems, if a disk encounters a filesystem error, the physical drive may still be good but require a file system consistency check. Perform the following steps to attempt to correct this.

If the affected volume is a video storage volume:

  1. Stop the ExacqVision server service. Open a Terminal window and enter:
    sudo service edvrserver stop<br><br>
  2. Unmount the volume:
    sudo umount /mnt/edvr/X

    Replace the ‘X’ with your volume number.
    Example: If you have a write error on /mnt/edvr/2, you would enter:
    sudo umount /mnt/edvr/2

    NOTE: If this command fails, see Appendix below.<br><br>
  3. Run fsck on this volume, again replacing ‘X’ with the volume number:
    sudo fsck -yv /mnt/edvr/X

    This command will tell the system to automatically attempt to fix any issues it encounters. This may take minutes or several hours depending on the number of filesystem errors and the size of the volume. When completed, the Terminal will return to a prompt awaiting a new command. <br><br>
  4. When you have run fsck on all the affected storage volumes, reboot the system by entering:
    reboot

    OR

    Return to the Desktop and use the power icon to restart the machine. The drives will remount upon boot up.<br>br>

<br>


Appendix

If drive fails to unmount, you will need to open the fstab file and comment out the mount point of the drive in question.
sudo gedit /etc/fstab

  1. You will need to place a #‘ character to the left of ‘Label=/mnt/edvr/X’
  2. Save
  3. Reboot the machine.
  4. The drive that was commented out should not be mounted at this point.

Continue with step 3 above.
Reminder: Do not forget to re-edit the fstab after the fsck is finished and remove the # you added.

<br>

What does fsck do?

The fsck command performs a consistency check and attempts to repair the filesystem from errors.

What causes filesystem errors?

When system processes or user activity require saving data or making changes to the filesystem, that data is first written to a buffer in memory (RAM). The system periodically moves the data waiting in the buffer to the hard disk. Therefore, at any moment, there is a difference between file changes waiting to be written to disk and what exists on the disks.

Filesystem errors and inconsistencies can develop due to hardware degradation, system halts, or unclean shutdowns. Sudden power loss and forced shutdowns occurring before the changes in the buffer are moved to permanent disk storage.

Components checked by fsck

Inodes
Inodes contain metadata about a file, which includes information like: whether the file is read/write or read-only, the type of file, the user ID of the file owner, file creation and modification date and time, and the number of bytes in the file.

Data Blocks
These contain the data that actually makes up the file.

Superblocks
The superblock contains details about the filesystem, such as the state of the filesystem, the filesystem size, the filesystem name and volume name(s), path name of the mount point, and number of inodes. Every change to the inodes also requires changes to the superblock.

<br>

Categories
Knowledge Support Support exacqVision Server Categories Products

Highpoint RAID Troubleshooting (Legacy)

For troubleshooting information, see the attached PDF.
The following exacqVision models were manufactured with Highpoint RAID controllers from 2007 to 2009:

  • 2310 (4 ports)
  • 2320 (8 ports)
  • 2300 (4 ports, PCIe 1x)

<br>

To determine whether your system contains a Highpoint RAID controller, look at the RAID BIOS screen that appears when the system is first started (before the operating system starts).

<br>

Categories
Knowledge Support Support exacqVision Server Categories Products

Adding or Replacing Hard Drives with exacqVision EL Servers Running Ubuntu 10.04 or earlier (Legacy)

Steps:

  1. Unplug the system to power it down. Install the new disks and start the system.
  2. After the system starts, log out of the Linux user account by selecting Start, Quit, and Logout. Log in as an Administrator.
  3. Close the exacqVision Client. Run the disk partition utility from Start, System, Administration, and Partition Editor. If prompted for a password, use the Administrator account password.
  4. At the top-right corner of the partition utility, open the Device drop-down menu.
    • Note the name of the device about 2GB or 4GB; this is the Linux flash drive that must NOT be altered for any reason.
    • Note the name of the other devices that are about the same size as the disk drives installed; if the system has a functional primary disk, skip to step 7 only on the new disk.
  5. Start Terminal Serivces from Start, Accessories, and Terminal.
    Note: The commands included in the following steps are applicable to Ubuntu 10.04. Changes for Ubuntu 8.04 are noted.
  6. For the first system disk only, perform the following steps:
    • Create a disk label by typing the following, where “X” is the device letter identified in step 4b:

      sudo parted -s /dev/sdX mklabel gpt

    • Create a 20GB swap partition by typing the following:

      sudo parted -s /dev/sdX mkpart primary linux-swap 0 20000 sudo mkswap -L swap /dev/sdX1

    • Create a 10GB export partition by typing the following:
      Note: Change ext4 to ext3 if on Ubuntu 8.04.

      sudo parted -s /dev/sdX mkpart primary 20000 30000 sudo mkfs.ext4 -L /mnt/export /dev/sdX2

    • Find the remaining free space by typing the following:

      sudo parted -s /dev/sdX unit MB print free

    • Create a data partition on the rest of the disk by typing the following, where “XXXX” is the free disk space identified in step 6d.
      Note: Change ext4 to ext3 if on Ubuntu 8.04.

      sudo parted -s /dev/sdX mkpart primary 30000 XXXX sudo mkfs.ext4 -L /mnt/edvr/1 /dev/sdX3

  7. For the second system disk only, complete the following steps:
    • Create a disk label by typing the following, where “X” is the device letter identified in step 4b:
      sudo parted -s /dev/sdX mklabel gpt
    • Find the remaining free space by typing the following:
      sudo parted -s /dev/sdX unit MB print free

    • Create a data partition on the rest of the disk by typing the following, where “XXXX” is the free disk space identified in step 7b:
      Note: Change ext4 to ext3 if on Ubuntu 8.04.

      sudo parted -s /dev/sdX mkpart primary 00000 XXXX
      sudo mkfs.ext4 -L /mnt/edvr/2 /dev/sdX1
      sudo mkdir /mnt/edvr/2


  8. If a new disk is being installed (instead of simply replacing a disk), label the directory in the file system:
    • Open the file system label file with a simple text editor:
      sudo nano /etc/fstab
    • Arrow down to the first blank line and add an entry for the new disk:
      Note: Change ext4 to ext3 if on Ubuntu 8.04. For the first disk only: LABEL=/mnt/edvr/1 /mnt/edvr/1 ext4 defaults 0 0 For the second disk only: LABEL=/mnt/edvr/2 /mnt/edvr/2 ext4 defaults 0 0
    • Press CTRL-X and then press Y to save the changes.
  9. Refresh the partiaion labels by typing the following: sudo udevadm trigger
  10. Remount all partitions by typing the following: sudo mount -a
  11. Create directories on the export paritition by typing the following:
    • sudo mkdir /mnt/export/admin
      sudo chown admin /mnt/export/admin
      sudo mkdir /mnt/export/user
      sudo chown user /mnt/export/user

  12. Restart the exacqVision service by typing the following:
    sudo/etc/init.d/edvrserver restart
  13. Restart the system and confirm the drive operation in the exacqVision Client as shown in the figure. All systems should have /mnt/edvr/0 (the flash operating system drive). Then /mnt/edvr/1 is the first disk drive, followed by any additional drive, all of which should be shown in green.

<br>

Categories
Knowledge Support Support exacqVision Client Categories Products

Temporary File Location

The ExacqVision Client creates temporary files to locally store searched  audio, video, and exported files. Temporary files are created in a directory specified by an environment variable. The following environment  variables are searched in order to determine the path: TEMPDIR, TMP, TEMP,  USERPROFILE.

On systems built after May 2018, these environmental variables usually point to a file location within the C:\ Primary partition on Windows systems. Windows systems built prior to this date would have a 30 GB partition on the first physical disk for the purpose of storing the temporary file directory.

If the allotted space is not sufficient for your searching and exporting requirements, you can move the temporary directory to another location. To do this, complete the following steps:

  1. Run Start, Settings, Control Panel, System.
  2. Select the Advanced tab.
  3. Click the Environment Variables button.
  4. Edit the first of the variables listed above to point to your new location.
  5. Restart ExacqVision Client.

<br>

Categories
Knowledge Support Support exacqVision Client Categories Products

Validating ExacqVision Video (also known as Watermarking or Authentication)

The validation standard used in ExacqVision is known as HMAC, for Hashed Message Authentication Code, and uses a cryptographic hash and secret cryptographic key. HMAC is used by ExacqVision to verify the integrity of exported video.

The ExacqVision Client software calculates and writes out the message authentication code (MAC) during file export. The ExacqVision ePlayer later calculates a hash and verifies the MAC during authentication using SHA-256. The methodology ensures no alteration of the data as the hashed calculations are compared to be certain the hashes match.

To authenticate video in the ExacqVision ePlayer, select Authenticate from the Tools menu.

The following image shows a successful authentication:

Video may only be authenticated using the ExacqVision ePlayer. The ePlayer application is used to playback ExacqVision native files in .PS or .PSX file formats. It is also packaged in self-playing .EXE file exports. For more information on the features of exported file formats, refer to Article 1894.

<br>

Categories
Knowledge Support Support exacqVision Server Categories Products

Disabling Aero in Windows Vista (Aero causes OSD to have bars behind it in exacqVision software)

To disable Aero, complete the following steps in Windows Vista:

<br>

  1. Click Start, and then select Control Panel.
  2. Click Appearance and Personalization.
  3. Under Personalization, click Change the Color Scheme.
  4. In the Appearance Settings dialog, click Windows Vista Basic
  5. Click OK.

<br>

Disabling-Aero-in-Windows-Vista-Aero-causes-OSD-to-have-bars-behind-it-in-exacqVision-software.pdf