Categories
Knowledge Support Support exacqVision Enterprise exacqVision Client exacqVision Server Products

Downgrading Enterprise Manager software from 23.06 to lower versions


Downgrading ExacqVision Enterprise Manager from 23.06.0.0 to any version lower will prevent users from accessing the ExacqVision Client software due to the migration to AES-128 from ARC4 Encryption methods used on earlier ExacqVision Enterprise Manager versions. 

Downgrading or “Rolling Back” Enterprise Manager software from versions 23.06.0.0 and up to a lower version is not recommended due to this encryption migration.

Note: It is advised to take an Enterprise Manager backup of your system prior to attempting any upgrades/downgrades. Best Practices would include taking a database back up of PostgreSQL or Microsoft SQL.

Product 

ExacqVision Enterprise Manager versions 23.06.0.0 and higher subsequently released versions.

Steps to Reproduce 

  • Downgrade ExacqVision Enterprise Manager software to any prior version from 23.06.0.0

Expected Results 

This downgrade should complete reflecting the new version, and all functionality should remain intact.

Actual Results 

ExacqVision Client users will receive the error: “Invalid Username/Password account locked or disabled” upon trying to log in after the downgrade has been performed.

Solution

Do not downgrade from ExacqVision Enterprise Manager versions 23.06.0.0 to a lower version. If you find this needs to happen for an unforeseen reason it is recommended to uninstall the current version of Enterprise Manager 23.06.0.0 or higher, followed by installing the desired legacy version which will require rebuilding the configuration.

Categories
Knowledge Support Support exacqVision Enterprise Categories

Unexpected Results When Updating Groups or Users in exacqVision Enterprise Manager

Description 

Customer was getting odd results when trying to edit the name of either a group or username in EM.

Product 

  • exacqVision Enterprise Manager 21.06
  • exacqVision Enterprise Manager 22.09

Steps to Reproduce 

From the EM dashboard access either Users or GroupsSelect an existing user or group Click the pencil icon to edit Change the name of the group or change either the first or last name of a userClick Apply

Expected Results 

The change is saved, and you are returned to either the group or users page

Actual Results 

The save fails and returns the following

Solution

It was discovered that REST POST and PUT operations were being blocked by firewall and once exceptions were made EM began working normally.

Categories
Knowledge Support Support exacqVision Enterprise Categories

Enabling HTTPS For exacqVision Enterprise Manager Versions 22.06 or Higher

For Instructions on exacqVision Enterprise Manager version 22.03 or older see Knowledge Base Article #12724

The following document details how to enable HTTPS connections to exacqVision Enterprise System Manager from update 22.06 and later.

For a trusted certificate, it is recommended that you purchase a third-party intermediate certificate from one of many online providers. If you are using a third-party certificate you may skip ahead to the section titled, “Obtaining a Third-Party Certificate”. 

These steps will detail how to create a self-signed certificate, but be aware that web browsers will warn users that the certificate is untrusted if you are using a self-signed certificate or one from a private/internal certificate authority.

CREATING A SELF-SIGNED SSL CERTIFICATE

Windows

1) Click on the Windows Start button and type ‘CMD’. Right-click on the CMD icon and choose ‘Run as Administrator’.

2) Set the environmental variable that will be used by OpenSSL later by typing:

set OPENSSL_CONF=C:\Program Files\exacqVision\EnterpriseManager\apache\conf\openssl.cnf

Press Enter.

3) Change your working directory by typing:

cd "C:\Program Files\exacqVision\EnterpriseManager\apache\bin\"  

Press Enter.

4) Create a certificate request by typing:

openssl req -new -out %USERPROFILE%\Desktop\server.csr 

Press Enter.

You will be prompted to enter a PEM pass phrase. Enter anything you like but you will need to re-enter this in the following steps. 

PEM pass phrase:  

5) You will be prompted with several questions for the certificate, answer these according to your needs. COMMON NAME should be the IP address or FQDN that users will access to reach the ESM web site (ex. www.domain.com or esmserver.domain.com).

6) Remove the pass phrase by typing:

openssl rsa -in privkey.pem -out %USERPROFILE%\Desktop\server.key  

Press Enter. 

You will be prompted to enter the pass phrase you created in step 4. Enter this pass phrase and press Enter. 

7) Set the expiration date for the certificate by typing:

openssl x509 -in %USERPROFILE%\Desktop\server.csr -out %USERPROFILE%\Desktop\server.crt -req -signkey %USERPROFILE%\Desktop\server.key -days 365  

Press Enter.

8) Copy the resulting files from your Desktop to the cd "C:\Program Files\exacqVision\EnterpriseManager\apache\conf\"   directory.

Linux

These instructions were tested with exacqVision Enterprise Manager 20.09 running on Ubuntu 18.04

Step 1  Create self-signed Cert and Key files 

cd /usr/local/exacq/esm/apache/conf/
sudo openssl req -new -x509 -sha256 -days 365 -nodes -out server.crt -keyout server.key

You will be prompted with a series of questions.
– Use data specific to your site.
– Items can be left blank with the exception of Common Name
– Common Name (e.g. server FQDN or YOUR name) should be the IP address of EM Server

This image has an empty alt attribute; its file name is GeneratingRSAPrivateKey.png

Step 2 Validate the Cert and Key files 

sudo openssl x509 -noout -modulus -in /usr/local/exacq/esm/apache/conf/server.crt | openssl md5
sudo openssl rsa -noout -modulus -in /usr/local/exacq/esm/apache/conf/server.key | openssl md5

Verify the md5 hashes match, if they DO NOT then see the troubleshooting section below before proceeding.

This image has an empty alt attribute; its file name is MD5CheckSum-1024x64.png

Step 3 Edit Apache Configuration

cd /usr/local/exacq/esm/apache/conf/extra
sudo gedit httpd-ssl.conf

Make the following changes, save the file and then close gedit.

This image has an empty alt attribute; its file name is sslconf-1024x264.png

Step 4 Restart the enterprise-webservice

sudo service enterprise-webservice stop
sudo service enterprise-webservice start

<br>

OBTAINING A THIRD-PARTY CERTIFICATE

If you are planning to acquire a third-party certificate from a trusted provider, you may need to provide them with a Certificate Signing Request (CSR) file. 

You may use our tool at the following URL to generate a CSR file.   https://exacq.com/support/gencsr/

Enter all the fields click on the ‘Submit’ button to download the ZIP file. Inside this ZIP file is the CSR file and RSA key to give to your certificate provider. 

If you purchased a chained certificate, be sure to download the appropriate intermediate bundle.

Once you have downloaded the files from your provider:

  • Rename the .crt file to ‘server.crt’. 
  • Rename the .key file to ‘server.key’.
  • If you have a chained certificate, rename the chain file to ‘server-ca.crt’.

Place the renamed files from your Certificate Authority (CA) into the following directory:

  • Windows: C:\Program Files\exacqVision\EnterpriseManager\apache\conf\
  • Linux:  /etc/evapache/

TIPS

When purchasing an SSL certificate, many providers offer an Intermediate Bundle, or additional certificates that must be present to link your certificate to a root certification authority. Usually the provider will have documentation on how to accomplish this with Apache, but it is a good idea to ask them before or during the purchasing process. Exacq is not responsible for making your certificates capable of working with Apache. 

It is possible to combine all the intermediate certificates that a provider may give you into one file. Consult your provider for more information. 

<br>

ENABLING SSL FOR HTTPS CONNECTIONS

Be sure that you have followed the steps above to place the certificate files necessary for either a third-party certificate or a self-signed certificate into the correct directory before continuing with the following steps.

Windows

1) Click on the Windows Start menu and find the Windows Notepad program. Right-click on this and choose to ‘Run as Administrator’. If you do not run Notepad as an administrator you will be unable to save your changes. 

2) With Notepad open, click on the ‘File’ menu and choose ‘Open’ or press CTRL-O on the keyboard. 

In the Open browser, change the drop-down menu for File Type from ‘Text Documents (*.txt)’ to ‘All Files (*.*)’.

Use the Open browser to open the C:\Program Files\exacqVision\EnterpriseManager\apache\conf directory and highlight the file titled ‘httpd.conf’ then click ‘Open’.

3) Find the following line:

LoadModule ssl_module modules/mod_ssl.so  

Remove any pound (#) sign in front of this line if there is one. 

Now, find the following line:

Include conf/extra/httpd-ssl.conf  

Remove any pound (#) sign in front of this line if there is one. 

Save the file. 

4) Still using Notepad, open the file titled ‘httpd-ssl.conf’ located in C:\Program Files\exacqVision\EnterpriseManager\apache\conf\extra

Find the following line:

ServerName www.example.com:443  

Change the ‘www.example.com’ portion of this line to ‘localhost’.

Save the file and close the window. 

5) Restart the solrApache or exacqVision Enterprise Manager Apache in Windows services (services.msc).

Linux

1) Open a Terminal prompt.

2) Change your working directory by typing:

cd /usr/local/exacq/esm/apache/conf  

Press Enter.

3) You may use any editor you feel comfortable with, such as vi or nano, but if your are more inclined to using a graphical interface you may use a program called ‘gedit’ to make the following changes.

In the Terminal, type:

sudo gedit httpd.conf  

Press Enter.

4) Find the following line:

LoadModule ssl_module modules/mod_ssl.so  

Remove any pound (#) sign in front of the line if there is one.

Now, find the following line:

Include conf/extra/httpd-ssl.conf  

Remove any pound (#) sign in front of the line if there is one. 

Save the file and close the ‘gedit’ editor window to return to the Terminal prompt.

5) In the Terminal, type:

sudo gedit extra/httpd-ssl.conf  

Press Enter.

Find the following line:

ServerName www.example.com:443  

Change the ‘www.example.com’ portion of this line to ‘localhost’.

Save the file and close the window to return to the Terminal prompt. 

6) Restart the service in the Terminal by typing:

sudo service ESMWebservice restart  

<br>

FORCED REDIRECT FROM HTTP TO HTTPS

If you want to force users who try to access the site on port 80, using HTTP, to use the secure HTTPS connection you will need to enable a redirection.

Windows

1) Click on the Windows Start menu and find the Windows Notepad program. Right-click on this and choose to ‘Run as Administrator’. If you do not run Notepad as an administrator you will be unable to save your changes. 

2) With Notepad open, click on the ‘File’ menu and choose ‘Open’ or press CTRL-O on the keyboard. 

In the Open browser, change the drop-down menu for File Type from ‘Text Documents (*.txt)’ to ‘All Files (*.*)’.

Use the Open browser to open the C:\Program Files\exacqVision\EnterpriseManager\apache\conf directory and highlight the file titled ‘httpd.conf’ then click ‘Open’.

3) Find the following lines:

#RewriteCond %{SERVER PORT} !^443$  
#RewriteRule ^/(.*) https://{HTTP_HOST}/$1 [NC,R=301,L]  

Remove the pound (#) signs in front of these two lines.

Save the file.

4) Restart the solrApache or exacqVision Enterprise Manager Apache service in Windows services (services.msc).

Linux

1) You may use any editor you feel comfortable with, such as vi or nano, but if your are more inclined to using a graphical interface you may use a program called ‘gedit’ to make the following changes.

In the Terminal, type:

sudo gedit /usr/local/exacq/esm/apache/conf/httpd.conf  

Press Enter.

2) Find the following lines:

#RewriteCond %{SERVER PORT} !^443$  
#RewriteRule ^/(.*) https://{HTTP_HOST}/$1 [NC,R=301,L]  

Remove the pound (#) signs in front of these two lines.

Save the file and close the ‘gedit’ window to return to the Terminal prompt.

3) Restart the service in Terminal by typing:

sudo service ESMWebservice restart
or
sudo service enterprise-webservice restart

<br>

TROUBLESHOOTING

1) Some versions of Internet Explorer do not easily work with services running locally or may display pages incorrectly. If this happens, try clearing the browser’s cache by pressing CTRL-F5 on the keyboard. If the problem is persistent try installing another web browser, such as Chrome. 

2) If the solrApache service fails to start after configuring it for SSL:

a) Open the Apache error logs

  • Windows:   C:\Program Files\exacqVision\EnterpriseManager\apache\logs\error.log
  • Linux:   /usr/local/exacq/esm/apache/logs/error_log

b) Look for an entry like the following:

[Wed Mar 04 09:08:54.512004 2017] [ssl:emerg] [pid 19116] AH02565: Certificate and private key www.example.com:443:0 from server.crt and server.key do not match AH00016: Configuration Failed  

c) If you see this log entry, complete the following steps:

1) Change your working directory to the location of openssl.exe

  • Windows (CMD) – cd C:\Program Files\exacqVision\EnterpriseManager\apache\bin
  • Linux (Terminal) – cd /etc/evapache/extra

2) Run the following commands:

openssl x509 -noout -modulus -in ../conf/server.crt | openssl md5

Press Enter.

openssl rsa -noout -modulus -in ../conf/server.key | openssl md5  

Press Enter.

openssl req -noout -modulus -in ../conf/server.csr | openssl md5  

Press Enter.

3) Compare the resulting values output after running each of the preceding commands. Each resulting string should be identical. If the values do not match, confer with the certificate authority that issued the certificate.

Categories
Knowledge Support Support exacqVision Enterprise Categories

exacqVision Enterprise Manager Spare shows status of Failover Locked

Description 

An ownership issue between EM and a protected server will often result in the status of the spare and protected server showing “Failover Locked”.

Product 

  • exacqVision Enterprise Manager

Steps to Reproduce 

  • From the exacqVision Enterprise Manager dashboard select Failover Groups
  • Click on the Name of the Failover Group

Expected Results 

  • Spare shows a status of Spare Standby 

Actual Results 

  • Spare shows a status of Failover Locked

Solution

  1. Unmanage systems as described in the Release system management section of the exacqVision Client User Manual.
  2. Restart the exacqVision Server service on the failover and protected servers
  3. Verify the spare is now showing a status of Standby 
Categories
Knowledge Support Support exacqVision Enterprise Categories

Dynamic DNS Request Error 776

Description 

When setting up the Dynamic DNS feature on exacqISP, integrators with a “Shared” host type utilize multitenancy resulting in EM returning an incorrect domain name which causes error 776.

Product 

  • Integrator Service Portal

Steps to Reproduce 

  • Access https://admin.exacq.net
  • Filter by CID
  • Login to the customers Integrator Service Portal URL, https://CID.exacq.net/accounts/login/?next=/ where CID is the customers ID found in the previous steps
  • Dashboard > Servers
  • Locate and access the desired server
  • Edit the server and check the Enable Dynamic DNS box
  • The provider should defaulted to exacq.io
  • The hostname will default to the name of the server but can be changed if desired
  • Select Apply

Expected Results 

  • the settings will be saved, and the Dynamic DNS service enabled

Actual Results 

  • An error message will appear similar to the one below
  • Also notice that the domain name does not match that of the customers Integrator Service Portal instance.
  • Expected slo003 but EM returned ele062

Solution

This is a result of the Host Type for a given Instance being “Shared” vs “Dedicated”.  Customers with a Host Type of “Shared” cannot use the Dynamic DNS feature whereas those with a Host Type of “Dedicated” can. This has to do with multitenancy for shared instances. Currently there is no workaround and new integrators will by default have a shared host type.

Categories
Knowledge Support Support exacqVision Enterprise

Installing exacqVision Enterprise Manager on Windows Server Core

Description 

Microsoft provides customers a choose of Server Core or Server with Desktop Experience. Choosing either Microsoft Windows 2019 or 2022 Server Core results in EM being inoperable when installed.  

Product 

  • exacqVision Enterprise Manager
  • Microsoft Server 2019 Core
  • Microsoft Server 2022 Core

Steps to Reproduce 

Install exacqVision Enterprise Manager on a machine running either Microsoft Windows 2019 or 2022 Server Core

Expected Results 

exacqVision Enterprise Manager installs and runs normally

Actual Results 

  • exacqVision Enterprise Manager is inoperable
  • No errors reported during install
  • The dashboard is not accessible via a web browser
  • Further inspection shows the following services are not present
  • enterprise-importer, enterprise-sendemail and enterprise-datarolloff

Solution

When installing  Windows Server, you have the option between Server Core or Server with Desktop Experience.  If you intend to run exacqVision Enterprise Manager, you must choose Server with Desktop Experience.  This has been confirmed on both Windows Server 2019 and Server 2022 Core installs. 

We have observed EM successfully installed and running on Windows Server 2019 Standard with Desktop Experience and If you are looking for a headless server solution, we recommend Ubuntu Server. 

See the following site for additional information on Server Core vs Server with Desktop Experience.

Categories
Knowledge Support Support exacqVision Enterprise exacqVision Client

exacqVision Enterprise Manager Spamming the Audit Trail and Causing Choppy Video

Description 

Live video freezes and is very choppy and upon further investigation the Audit Trail is being spammed with EntMgr Configuration entries

Product 

  • exacqVision Enterprise Manager 21.12.2.0

Steps to Reproduce 

  • Start all exacqVision Enterprise Manager services

Expected Results 

  • Live video continues to work normally

Actual Results 

  • Live video is sporadically freezing and choppy
  • The Audit Trail is being spammed with EntMgr Configuration entries similar to the following

Solution

  • Stop enterprise-importer

Note:  The Enterprise Manager Team feels this may have been resolved in the EM version 22.03.3 or higher, but this has not been confirmed. See trac ticket #23414 for additional details.

Categories
Knowledge Support exacqVision Enterprise Support exacqVision Client exacqVision Server exacqVision Webservice Categories exacqVision Hardware

exacqVision Default Ports

Description 

The following is a list of default port numbers used by exacqVision software.

NOTE: Many ports listed below may only used with certain configurations or by optional services and integrations.

Products

  • exacqVision Client
  • exacqVision Enterprise Manager
  • exacqVision Integrator Service Portal
  • exacqVision Server
  • exacqVision Web Service
  • LSI Storage Authority
  • MegaRAID Storage Manager
  • PostgreSQL
  • SQL Server

Port List

PortDescription
25Simple Mail Transfer Protocol (SMTP)
80exacqVision Web Server/exacqVision Enterprise Manager (HTTP)
How to change Web Service ports
How to change EM web ports
389LDAP (Lightweight Directory Access Protocol)
443exacqVision Web Service/exacqVision Enterprise Manager/ exacqVision Relay (HTTPS )
How to change Web Service ports
How to change EM web ports
445SMB Archiving and Microsoft-DS (Directory Services)
465Secure SMTP (Legacy)
587SMTP (TLS/SSL)
636LDAPS (Lightweight Directory Access Protocol over TLS/SSL)
1433exacqVision Enterprise Manager (SQL Server)
2463LSI Storage Authority (Webserver)
3071MegaRAID Storage Manager
3260exacqVision Server S-Series Extended Storage (iSCSI)
3702exacqVision Server – Web Services Dynamic Discovery (WS-Discovery)
5432exacqVision Enterprise Manager (PostgreSQL)
5571MegaRAID Storage Manager
8082exacqVision Web Service (Web Socket) – Web Sockets only used in Web Service 7.2 to 9.4
How to change Web Service ports
8083exacqVision Web Service (Web Socket Secure) – Web Sockets only used in Web Service 7.2 to 9.4
How to change Web Service ports
8443Server connections from exacqVision Mobile 24.09 and above.
How to change exacqVision Mobile listening port
8554exacqVision RTSP Server
9000LSI Storage Authority (LSA Server)
22609exacqVision Client
How to change exacqVision Server port
22610exacqVision Server Interprocess Communication [RESERVED – DO NOT USE]
22717exacqVision Web Service NVRG Gateway
28744exacqVision Enterprise Manager (Failback – vfba)
35111Integrator Service Portal (ExacqCloud Outbound Connections)

Related Articles

<br>

Categories
Knowledge Support exacqVision Enterprise Support Categories

Accessing More Than 100 Servers on the exacqVision Enterprise Manager Manage Licenses Page

Description 

You can use the Manage Licenses page to assign channels from the exacqVision Enterprise Manager CHANNEL POOL to one or more servers. In addition, you can move an existing channel or channels from one server to another server. For example, you can move existing camera channels from an old server to a newly acquired one. Only the first 100 NVRs are visible, you must filter to access additional servers.

Product 

  • exacqVision Enterprise Manager

Steps to Reproduce 

  1. In EM select Licenses
  2. If there are more than 100 NVRs connected to EM then a message similar to the following will appear under Source

Expected Results 

  • Clicking the dropdown will show the next 100 NVRs

Actual Results 

  • Only the first 100 NVRs are available.

Solution

  • This is by design, to view servers not listed in the first 100 you must filter by server name.
  • Type the name of the server in the “Select source” box
  • The same is true for Targets, you must filter by typing the servers name in the “Select target” box.

<br>

Categories
Video Library Configuration exacqVision Enterprise Youtube Video Library Categories Products

Enterprise Manager License Management

Use Enterprise Manager to manage channel licensing, including moving available channels between ExacqVision servers or allocating from your Enterprise Manager channel pool.