Categories
Knowledge Support Support Categories Products exacqVision Hardware

Enumerating more than Four Serial Ports in Linux

If a system is built with the Radisys motherboard or has two or more eDVR boards, there are more then four serial ports. However, Ubuntu 8.04 enumerates only four serial ports by default. To change the number of serial ports enumerated, complete the following steps:

<br>

  1. Edit menu.lst by typing sudo nano /boot/grub/menu.lst
  2. Find the line that starts with # kopt= and ends with ro and add the following to the end: 8250.nr_uarts=16
  3. Save the file by pressing Ctrl-o and then Enter.
  4. Exit by pressing Ctrl-x.
  5. Execute the following command to refresh grub: sudo update-grub

<br>

NOTE: The first character in “lst” is the lowercase letter L and not the number 1.

<br>

Enumerating-more-than-Four-Serial-Ports-in-Linux.pdf
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 exacqVision Server Categories Products exacqVision Hardware

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

Get the Monitor Size (resolution) Back for Linux Sy stems

The monitor can get stuck in 640*480 mode if the system is booted with no monitor connected.

To get the monitor size back for Linux systems, complete the following steps after opening Terminal:

  1. Type cd /etc/X11
  2. Type sudo mv xorg.conf xorg.bak.conf
  3. Restart the system with a monitor attached.

<br>

Get-the-Monitor-Size-resolution-Back-for-Linux-Systems.pdf
Categories
Knowledge Support Support exacqVision Webservice Categories Products

Configuring ExacqVision Web Services on a Linux system (Legacy)

Versions 2.10 to 7.8

To configure exacqVision Web Services older than version 7.8 on a Linux system, complete the following steps (instructions for previous versions can be found at the end of this article):

<br>

  1. Install the exacqVisionWebService.deb file.
  2. In a Terminal window, type the following to ensure the service starts every time the system is started: sudo /usr/local/exacq/webservice/service.sh automatic
  3. Type the following to start the Web Server: sudo /usr/local/exacq/webservice/service.sh start
  4. You should now be able to open a web browser on the server and type http://127.0.0.1 as the URL to access the Web Service. Click on the Web Service Configuration link in the bottom-right corner.
  5. Enter the username admin and the password admin256 to log in.
  6. Open the Servers page to add exacqVision servers or change settings for current servers. Click on Update Configuration and then confirm to restart the Web Service after each configuration change.
  7. You can change the Web Service listen port on the Basic Service Configuration tab.

<br>

Versions 2.10 or earlier

To configure exacqVision Web Service version 2.10 or earlier on a Linux system, complete the following steps:

<br>

  1. Install the exacqVisionWebService.deb file.
  2. In a Terminal window, type the following: sudo /usr/local/exacq/webservice/service.sh stop. (If you see an “unable to resolve host” message, disregard it.)
  3. Enter admin256 for password. When you enter the password, characters are not displayed on the screen; simply type the password and press Enter.
  4. Type the following: sudo gedit /etc/webservice.conf.
  5. Leave the IP address and port the same in this field.
  6. If you want the Web Server to log in automatically without requiring a username and password, change PassthroughEnabled=0 to =1. Then enter the username and password that you would like to use. Be sure this is a valid user and password in the exacqVision software.
  7. Click Save and close the text editor.
  8. In the Terminal, type the following to ensure the service starts everytime the system is started: sudo /usr/local/exacq/webservice/service.sh automatic
  9. Type the following to start the Web Server: sudo /usr/local/exacq/webservice/service.sh start

<br>

You should now be able to open a web browser on the server and type http://127.0.0.1 as the URL to open a login page (or passthrough page) with the option to run the simple or advanced interface.

<br>

Categories
Knowledge Support Documentation Support exacqVision Server Products

Assigning the Device Number to an eDVR Board in Linux

To assign the device number to an eDVR board in Linux, complete the following steps.
<br>

NOTE: This process is usually required when replacing or adding boards. This is the same as using Control Center in Windows.

  1. Exit the ExacqVision software.
  2. Open the Terminal from Start>Accessories>Terminal.
  3. Type the following to stop the Exacq Service: sudo /etc/init.d/edvrserver stop
  4. Type the following: sudo /usr/local/xdvapi/bin/startxdvmods
  5. Type the following to detect an initialize the boards in the system: sudo /usr/local/xdvapi/bin/startxdvccl. This will remove the old entries for the board and check for any existing boards.
  6. Type the following to stop the XDV: sudo /usr/local/xdvapi/bin/stopxdvmods
  7. Type the following to start the Exacq Service: sudo /etc/init.d/edvrserver start

<br>
You should now be able to launch the exacqVision software and see your boards.
<br>