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>
Edit menu.lst by typing sudo nano /boot/grub/menu.lst
Find the line that starts with # kopt= and ends with ro and add the following to the end: 8250.nr_uarts=16
Save the file by pressing Ctrl-o and then Enter.
Exit by pressing Ctrl-x.
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.
To lock down Linux GRUB, complete the following steps:
<br>
Download the attachment lock-grub.sh.
Make it executable: chmod +x lock-grub.sh
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.
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:
Stop the ExacqVision server service. Open a Terminal window and enter: sudo service edvrserver stop<br><br>
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>
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>
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
You will need to place a‘#‘ character to the left of ‘Label=/mnt/edvr/X’
Save
Reboot the machine.
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.
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>
Install the exacqVisionWebService.deb file.
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
Type the following to start the Web Server: sudo /usr/local/exacq/webservice/service.sh start
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.
Enter the username admin and the password admin256 to log in.
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.
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>
Install the exacqVisionWebService.deb file.
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.)
Enter admin256 for password. When you enter the password, characters are not displayed on the screen; simply type the password and press Enter.
Type the following: sudo gedit /etc/webservice.conf.
Leave the IP address and port the same in this field.
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.
Click Save and close the text editor.
In the Terminal, type the following to ensure the service starts everytime the system is started: sudo /usr/local/exacq/webservice/service.sh automatic
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.
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.
Exit the ExacqVision software.
Open the Terminal from Start>Accessories>Terminal.
Type the following to stop the Exacq Service:sudo /etc/init.d/edvrserver stop
Type the following: sudo /usr/local/xdvapi/bin/startxdvmods
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.
Type the following to stop the XDV: sudo /usr/local/xdvapi/bin/stopxdvmods
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>