Categories
Knowledge Support Support exacqVision Hardware

Screensaver Lock Screen is Activating on exacqVision Server Running Ubuntu Linux

Description 

By default the screensaver lock screen is off on exacqVision Servers.  However manually created OS users may have them enabled.

Product 

  • Ubuntu 16.04 or higher

Steps to Reproduce 

  • Login to the OS using the manually created users account

Expected Results 

  • Screensaver lock screen never appears

Actual Results 

  • After a period of time the screensaver lock screen will activate

Solution

This has been observed on manually created users accounts which were not created, using the provided Kiosk setup scripts.
In this case new kiosk user can be created or the screen lock can be manually disabled for the current user. 
For instructions on setting up a Kiosk user see Knowledge Base Article #788
To manually disable you will need to be logged in as that user and then disable the screen saver lock in the Linux system settings.

Categories
Knowledge Support Support exacqVision Hardware

exacqVision – Resetting the Operating System Password

Title

exacqVision – Resetting the Operating System Password

Description 

How to reset the OS password on an ExacqVision Server

Product 

exacqVision Server

Solution

Either a full re-image or an on-board system recovery will need to be performed to reset the operating system password. 
Knowledge Base Article #935 “System Recovery using on-board recovery partition”

Categories
Knowledge Support Support exacqVision Client

Manually Adding an exacqVision Client Shortcut to a Linux Desktop

Description 

Steps to create a desktop shortcut launcher for the exacqVision Client for either Ubuntu 18.04 or 20.04   

Product 

exacqVision Client  

Solution

  • Right-Click on an empty spot of the desktop
  • In the pop-up window select Create Launcher
  • Set the Type: as Application
  • Set the Name: exacqVision Client
  • Set the Command: /usr/local/exacq/client/edvrclient
  • Note: This can be manually entered or by selecting Browse …
  • If using Browse… Navigate to the following directory
  • Other Locations > Computer > usr > local > exacq > client
  • Select the file edvrclient then click Open
  • Set the Comment: (optional) Launch exacqVision Client
  • Click on the Icon and select Other Locations > Computer > usr > local > exacq > client
  • Select the file vision.ico then click open
  • The exacqVision Client blue V icon should appear
  • Click Ok to close the Create Launcher window and return to the desktop
  • The exacqVision Client shortcut should now be on the desktop 

<br>

Categories
Knowledge Support Support exacqVision Server Products

Linux – Delete Video from Root Volume

Exacq Technologies does not recommend using the root partition for video recording as the OS is installed on this partition.  Exacq labels the root partition as /mnt/edvr/0.  In the event that /mnt/edvr/0 has been enabled on the storage page,  resulting in video being recorded to the root partition and you now need to delete that video and prevent future recordings follow these instructions.

exacqVision files are stored on each drive enabled for recording in a directory structure beginning with YYYY (Year), see our KB: 393 exacqVision Video File Naming Format for additional details 

Knowing this we only need to concern ourselves with identifying the year folders which have been written to /mnt/edvr/0.  Once identified then they, along with their contents, including sub-directories can be easily removed. 

The basic steps are: 

  • Verify that future recording to /mnt/edvr/0 has been disabled
  • Open terminal and change to the mnt/edvr/0 directory 
  • Determine which Year folders have been created on /mnt/edvr/0
  • Delete the contents, of this year folders, including sub-directories
  • Empty the contents of trash
  • Close the Terminal Window 

In this screenshot mnt/edvr/0 has been enabled resulting in video being recorded to the root partition.  This is not recommended and should be unchecked to prevent recording to the root partition in the future.

Example of deleting video from the root partition (/mnt/edvr/0) and emptying the trash from the terminal

Change directory to /mnt/edvr/0 

$ cd /mnt/edvr/0

List contents of /mnt/edvr/0

$ ls
2021  psfpi

Remove year folder, in this case 2021 and it’s contents 

$ sudo rm -r 2021

Note if prompted enter in the OS root password and press enter.  There will be no visual feedback while you type. 

Empty Trash 

$ sudo rm -rf ~/.local/share/Trash/*

Exit Terminal 

$ exit
Categories
Video Library Demo Categories Products exacqVision Hardware

2016-07-25 Linux Hard Drive Troubleshooting Training

Categories
Video Library Demo Categories Products exacqVision Hardware

2015-07-20 – Linux Logs – Part 2

Categories
Video Library Demo Categories Products exacqVision Hardware

2015-06-29 – Linux Logs – Part 1

Categories
Knowledge Support Support Categories exacqVision Hardware Products

How to force disk check (fsck) in Linux.

One way to determine if the drive is failing in Linux is to run the following command in the terminal

dmesg | less 

This should give you an error list you can scroll through for read/write errors.  
If you see a problem on a data drive perform the following:

  1. Stop the exacq vision server service
    sudo /etc/init.d/edvrserver stop<br><br>
  2. Unmount the drive that is having trouble
    sudo umount /dev/sdb1<br><br>
  3. Run file system check on that drive
    sudo fsck -f -y /dev/sdb1<br><br>
  4. Reboot the system.

If the problem shows on the master drive you will need to do the following:

  1. Login as the root<br><br>
  2. Change directory to root (/) directory
    cd / <br><br>
  3. Create a file called forcefsck
    touch /forcefsck <br><br>
  4. Now reboot the system
    reboot<br><br>

The system should run the disk check when it boots back up in to the operating system.

Categories
Knowledge Support Support Categories Products exacqVision Integrations

Verifying NTP on Linux system (8.04)

I verified the following in my Ubuntu 8.04 VM. So, hopefully should also be accurate for a natively-installed system.

1 – Verify that ntpd is running:

            ps -Af | grep ntp

            sudo netstat -nap | grep ntp

            Verify that ntpd is running and listening on port 123.

2 – Verify the following lines within /etc/ntp.conf:

            server 127.127.1.0

            fudge 127.127.1.0 stratum 13

            There may be an additional server line preceding these lines, depending on whether the user has used eV to configure NTP.

3 – Start ntpd if not already started:

            sudo /etc/init.d/ntpd start

            Then use ps to verify that ntpd is running – don’t just assume so because initscript didn’t display any errors.

4 – Test NTP server with local command-line client:

            sudo ntpdate -q localhost

            The “-q” means just query, don’t change anything.

            You will likely get initial output resembling:

                  server 127.0.0.1, stratum 16, offset -0.000007, delay 0.02563

                  23 Feb 13:39:57 ntpdate[12987]: no server suitable for synchronization found

            After nearly 5 minutes (perhaps less, but definitely more than a couple), you’ll start getting output resembling:

                  server 127.0.0.1, stratum 14, offset -0.000006, delay 0.02563

                  23 Feb 13:43:57 ntpdate[13001]: adjust time server 127.0.0.1 offset -0.000006 sec

The apparent necessary delay in #4 above was *really* interesting.

So first, it appeared that ntpd was NOT running on the customer’s system, so we started it while I was at Gary’s desk. Then, you tried rebooting the Axis camera, but got the ntp failure in the camera’s log. I suggest allowing up to 5 minutes, verify on the Linux system itself with ntpdate as I described above, and then if that looks good, THEN reboot the Axis camera and see if you get better results in the camera’s log.

Categories
Knowledge Support Support Categories Products exacqVision Integrations

How to I start Stretch Control Center in Linux?

1. Stop Server Service sudo /etc/init.d/edvrserver stop

2. sudo /etc/init.d/s6stretch start – This starts modules

3. sudo /usr/local/sdvr/bin/StretchControlCenter – This starts Control Center