Tag: Internal
*** INTERNAL ***
Here is a listing of all the files that sit on the SD card in an Axis Edge installation.
The size of all installed files with no recording is around 25MB
Disk space listing of SD card (cmd: du -h /var/spool/storage/SD_DISK):
64.0k ./exacq/logs
64.0k ./exacq/audit
32.0k ./exacq/blob
18.9M ./exacq/edvr/2012/05/01/01
106.2M ./exacq/edvr/2012/05/01/02
96.8M ./exacq/edvr/2012/05/01/03
100.0M ./exacq/edvr/2012/05/01/04
76.6M ./exacq/edvr/2012/05/01/05
398.5M ./exacq/edvr/2012/05/01
398.6M ./exacq/edvr/2012/05
398.6M ./exacq/edvr/2012
398.6M ./exacq/edvr
32.0k ./exacq/posdata
32.0k ./exacq/exacq
10.9M ./exacq/lib
64.0k ./exacq/perl/warnings
96.0k ./exacq/perl/List/Util
160.0k ./exacq/perl/List
64.0k ./exacq/perl/Exporter
416.0k ./exacq/perl/B
64.0k ./exacq/perl/Net/SSLeay
192.0k ./exacq/perl/Net
64.0k ./exacq/perl/auto/List/Util
96.0k ./exacq/perl/auto/List
64.0k ./exacq/perl/auto/Socket
64.0k ./exacq/perl/auto/DynaLoader
160.0k ./exacq/perl/auto/B
2.7M ./exacq/perl/auto/Net/SSLeay
2.7M ./exacq/perl/auto/Net
64.0k ./exacq/perl/auto/IO
3.2M ./exacq/perl/auto
64.0k ./exacq/perl/Scalar/Util
128.0k ./exacq/perl/Scalar
64.0k ./exacq/perl/Carp
192.0k ./exacq/perl/IO/Socket
288.0k ./exacq/perl/IO
5.1M ./exacq/perl
4.0M ./exacq/plugins
419.7M ./exacq
419.7M .
Detailed listing of SD card (cmd: ls -R /var/spool/storage/SD_DISK)
.:
exacq
./exacq:
SoftTriggerPI.xml edvr groupspi.xml plugins psfpi.xml
audit edvrserver.key lib posdata sendEmail.pl
axispi.xml eventpi.db logpi.xml pospi.db serialpi.xml
blob eventpi.xml logs pospi.db-shm streampi.xml
core exacq notify.xml pospi.db-wal useraccounts.xml
core.xml exportpi.xml perl pospi.xml useraccountsAdminDefault.bin
./exacq/audit:
20120501.txt
./exacq/blob:
./exacq/edvr:
2012
./exacq/edvr/2012:
05
./exacq/edvr/2012/05:
01
./exacq/edvr/2012/05/01:
01 02 03 04 05
./exacq/edvr/2012/05/01/01:
3554-00070280.ps 3554-00070280.psi 4054-00070280.ps 4054-00070280.psi 5054-00070280.ps 5054-00070280.psi 5554-00070280.ps 5554-00070280.psi
./exacq/edvr/2012/05/01/02:
0054-00070280.ps 0554-00070280.psi 1554-00070280.ps 2054-00070280.psi 3054-00070280.ps 3554-00070280.psi 4554-00070280.ps 5054-00070280.psi
0054-00070280.psi 1054-00070280.ps 1554-00070280.psi 2554-00070280.ps 3054-00070280.psi 4054-00070280.ps 4554-00070280.psi 5554-00070280.ps
0554-00070280.ps 1054-00070280.psi 2054-00070280.ps 2554-00070280.psi 3554-00070280.ps 4054-00070280.psi 5054-00070280.ps 5554-00070280.psi
./exacq/edvr/2012/05/01/03:
0054-00070280.ps 0554-00070280.psi 1554-00070280.ps 2054-00070280.psi 3054-00070280.ps 3554-00070280.psi 4554-00070280.ps 5054-00070280.psi
0054-00070280.psi 1054-00070280.ps 1554-00070280.psi 2554-00070280.ps 3054-00070280.psi 4054-00070280.ps 4554-00070280.psi 5554-00070280.ps
0554-00070280.ps 1054-00070280.psi 2054-00070280.ps 2554-00070280.psi 3554-00070280.ps 4054-00070280.psi 5054-00070280.ps 5554-00070280.psi
./exacq/edvr/2012/05/01/04:
0054-00070280.ps 0554-00070280.psi 1554-00070280.ps 2054-00070280.psi 3054-00070280.ps 3554-00070280.psi 4554-00070280.ps 5054-00070280.psi
0054-00070280.psi 1054-00070280.ps 1554-00070280.psi 2554-00070280.ps 3054-00070280.psi 4054-00070280.ps 4554-00070280.psi 5554-00070280.ps
0554-00070280.ps 1054-00070280.psi 2054-00070280.ps 2554-00070280.psi 3554-00070280.ps 4054-00070280.psi 5054-00070280.ps 5554-00070280.psi
./exacq/edvr/2012/05/01/05:
0054-00070280.ps 0554-00070280.psi 1554-00070280.ps 2054-00070280.psi 3054-00070280.ps 3554-00070280.psi 4554-00070280.ps 5054-00070280.psi
0054-00070280.psi 1054-00070280.ps 1554-00070280.psi 2554-00070280.ps 3054-00070280.psi 4054-00070280.ps 4554-00070280.psi 5554-00070280.ps
0554-00070280.ps 1054-00070280.psi 2054-00070280.ps 2554-00070280.psi 3554-00070280.ps 4054-00070280.psi 5054-00070280.ps 5554-00070280.psi
./exacq/exacq:
./exacq/lib:
libboost_date_time.so.1.45.0 libdaemon.so.0.5.0 libnss3.so.1oe libptypes.so.21 libwx_base-2.9.so.0.0.0
libboost_filesystem.so.1.45.0 libgssapi_krb5.so.2.2 libnssutil3.so.1oe libsoftokn3.so libwx_base_net-2.9.so.0.0.0
libboost_regex.so.1.45.0 libk5crypto.so.3 libperl.so.5.10.1 libsqlite3.so.0 libz.so.1.2.3
libboost_system.so.1.45.0 libkrb5.so.3 libplc4.so.0d libssl.so.0.9.8
libbz2.so.1.0.6 libkrb5support.so.0 libplds4.so.0d libssl3.so.1oe
libcom_err.so.2 libldap60.so libprldap60.so libssldap60.so
libcrypto.so.0.9.8 libnspr4.so.0d libproc-3.2.8.so libstdc++.so.6.0.10
./exacq/logs:
20120501.txt
./exacq/perl:
AutoLoader.pm Carp DynaLoader.pm Exporter.pm List SelectSaver.pm XSLoader.pm perl warnings
B Carp.pm Errno.pm IO Net Socket.pm auto strict.pm warnings.pm
B.pm Config.pm Exporter IO.pm Scalar Symbol.pm constant.pm vars.pm
./exacq/perl/B:
Concise.pm Debug.pm Deparse.pm Lint.pm Showlex.pm Terse.pm Xref.pm
./exacq/perl/Carp:
Heavy.pm
./exacq/perl/Exporter:
Heavy.pm
./exacq/perl/IO:
Handle.pm Socket Socket.pm
./exacq/perl/IO/Socket:
INET.pm SSL.pm UNIX.pm
./exacq/perl/List:
Util Util.pm
./exacq/perl/List/Util:
PP.pm XS.pm
./exacq/perl/Net:
SSLeay SSLeay.pm
./exacq/perl/Net/SSLeay:
Handle.pm
./exacq/perl/Scalar:
Util Util.pm
./exacq/perl/Scalar/Util:
PP.pm
./exacq/perl/auto:
B DynaLoader IO List Net Socket
./exacq/perl/auto/B:
B.so
./exacq/perl/auto/DynaLoader:
./exacq/perl/auto/IO:
IO.so
./exacq/perl/auto/List:
Util
./exacq/perl/auto/List/Util:
Util.so
./exacq/perl/auto/Net:
SSLeay
./exacq/perl/auto/Net/SSLeay:
SSLeay.bs get_https3.al httpx_cat.al put_http3.al ssl_write_all.al
SSLeay.so get_https4.al make_form.al put_http4.al sslcat.al
autosplit.ix get_httpx.al make_headers.al put_https.al tcp_read_CRLF.al
debug_read.al get_httpx3.al new_x_ctx.al put_https3.al tcp_read_all.al
do_https.al get_httpx4.al open_proxy_tcp_connection.al put_https4.al tcp_read_until.al
do_https2.al head_http.al open_tcp_connection.al put_httpx.al tcp_write_CRLF.al
do_https3.al head_http3.al post_http.al put_httpx3.al tcp_write_all.al
do_https4.al head_http4.al post_http3.al put_httpx4.al tcpcat.al
do_httpx2.al head_https.al post_http4.al randomize.al tcpxcat.al
do_httpx3.al head_https3.al post_https.al set_cert_and_key.al want_X509_lookup.al
do_httpx4.al head_https4.al post_https3.al set_proxy.al want_nothing.al
dump_peer_certificate.al head_httpx.al post_https4.al set_server_cert_and_key.al want_read.al
get_http.al head_httpx3.al post_httpx.al ssl_read_CRLF.al want_write.al
get_http3.al head_httpx4.al post_httpx3.al ssl_read_all.al
get_http4.al http_cat.al post_httpx4.al ssl_read_until.al
get_https.al https_cat.al put_http.al ssl_write_CRLF.al
./exacq/perl/auto/Socket:
Socket.so
./exacq/perl/warnings:
./exacq/plugins:
AxisPI.so ExportPI.so LogPI.so PosPI.so SoftTriggerPI.so psfpi.so
EventPI.so GroupsPI.so NotifyPI.so SerialPI.so StreamPI.so
./exacq/posdata:
THIS ARTICLE HAS BEEN DEPRECATED
By default, exacqVision Web Service restricts configuration to the browser on the local machine. Through the configuration, a user can disable this restriction to enable remote configuration. However, there could be a need to manually remove this restriction (such as when installing the Web Service in a virtual environment, such as exacqVision Virtual).
<br>
To manually enable remote configuration, complete the following steps:
<br>
NOTE: These instructions assume that the file to edit does not contain any text. If it has previously been changed, merge the changes specified here into the existing file.
- With administrator credentials, open the file .evws-login for editing. By default, this file is found in Windows at C:\Program Files (x86)\exacqVision\WebService\bin\.evws-login, or in Linux at /etc/.evws-login.
- Add the following into the file:
[Settings]
restricttolocalhost = 0 - Save the file.
- Restart the Web Service.
<br>
After restarting, the Web Service will have remote administration enabled.
<br>
You can also use the Web Service Configuration page to deselect the Enable Localhost Restriction option.
*** INTERNAL USE ***
With the introduction of the new Authentication mode in exacqVision Client and Server 6.8, the temporary admin password no longer works. However, exacqVision Client includes a way to run in Legacy mode, thus enabling the temporary admin password.
<br>
This procedure should be used only by Exacq Technical Support.
Double-click on the LegacyAuthentication.xdv file, which should be associated with exacqVision Client, to open it. This file can be found in the following directories:
<br>
Windows: ../exacqVision/Client/LegacyAuthentication.xdv
OSX: ../edvrclient.app/MacOS/LegacyAuthentication.xdv
Linux: /usr/local/exacq/client/LegacyAuthentication.xdv
<br>
When this file is opened, the temporary admin password is enabled and can be reset. To enable the new Authentication mode, close and re-open exacqVision Client.
<br>
Description
edvrpasswd is a tool to reset lost or forgotten passwords for an exacqVision user. NOTE: this will not modify domain or local computer (OS) passwords.
edvrpasswd contains built-in help, displayed with the ‘-h’ argument:
C:\Program Files\exacqVision\Server\tools> edvrpasswd -h
edvrpasswd: 8.9.14.120870
Options: -h [ --help ] Help message.
-f [ --file ] arg user accounts xml file (optional, default 'useraccounts.xml').
-u [ --user ] arg User name (optional, default 'admin').
-v [ --version ] Version.
1. This tool is included in the installation for all desktop systems (Linux and Windows), appearing first in version 8.9.14.120870.
2. It is located in the tools directory under the install directory of the exacqVision Server.
– – A. It expects to be executed in the tools directory.
– – B. The directory and filename can be specified with the ‘-f’ argument.
– – C. The -f argument is necessary when running edvrpasswd in the tools directory.
– – – a. edvrpasswd -f ../useraccounts.xml
3. It requires elevated privilege to change a password.
4. It follows password complexity rules:– – A. Minumum of 8 characters.– – B.At least 1 upper case character.– – C. At least 1 lower case character.– – D. At least 1 numeric character. – – E. At least 1 other character (punctuation). – – F. The new password must be entered twice.
5. It does NOT add or create a user. – – A. The username MUST be known (if not the default ‘admin’). – – B. The username must exist in the useraccounts file.
6. If the exacqVision Server service is running: – – A. The service will be stopped, the password updated, then the service will be started. – – B. If the ‘stop’ fails, the password will not be updated. – – C. Occasionally, the ‘stop’ will report failure (due to a timeout) before the service has completed stopping. * Wait till the service has stopped. A ‘stop’ completion can be checked with: – – – – Windows: sc query exacqvisionserver – – – – Linux: /etc/init.d/edvrserver status * Run the password tool (it will not attempt to stop or start the service). * Start the service: – – – – Windows: sc start exacqvisionserver – – – – Linux: /etc/init.d/edvrserver start
7. A status return code of 0 indicates successful update of a password.
8. A non-zero status return code indicates failure.
9. This tool does NOT change any user permissions.
10. This tool does NOT change the user status.
– – A. For example: a locked user will remain locked.
When upgrading a Linux-based exacqVision server to exacqVision 5.8, the existing mount point for an active iSCSI connected drive might not be recognized. To work around this issue, complete the following steps after the upgrade is complete:
<br>
- Using exacqVision Client 5.8, open the Storage page for the upgraded server.
- Select the Extended tab.
- Look for your iSCSI connection and corresponding mount paths. If they appear as expected, no further action is necessary. Otherwise, continue with the following step.
- Note the mount paths that appear on the Extended tab. The example above shows /mnt/edvr/11/ (and three other mounts).
- On the Drive tab, deselect the recording drives listed on the Extended tab. Click Apply to disable recording to those mount paths.
- Ensure that the originally configured iSCSI mounts are still enabled for recording.
- On the server, run sudo /etc/init.d/edvrserver stop in Terminal.
- Use the mount command to determine the device name of the iSCSI mount point. The output will look similar to this:
/dev/sdb1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/dev/sdc1 on /mnt/edvr/4 type ext4 (rw,_netdev,errors=remount-ro)
/dev/sdd1 on /mnt/edvr/5 type ext4 (rw,_netdev,errors=remount-ro) - Note the /dev/sdxx device name that corresponds to the /mnt/edvr/x mount path from earlier in the procedure.
- Run blkid -o value -s UUID /dev/sdc1 (substituting your device’s name for /dev/sdc1) to determine the UUID for the device.
- Open the /etc/fstab file for editing. Find the entry that specifies the iSCSI UUID. Change the mount point in the entry to the pre-upgrade configuration. For example, if the UUID= entry contains /mnt/edvr/4, change the “4” to “2.”
- Delete the fstab entry created for the iSCSI device before the upgrade. The file will have multiple entries for the mount point; keep the one specifying UUID, and delete the other, which will look similar to /dev/sdc1 /mnt/edvr/2 ext4 _netdev.errors=remount-ro 0 0.
- Save all changes.
- Continue to edit the fstab file for each iSCSI drive on the system.
- Run sudo mount -a to reload the fstab file.
- Open /usr/local/exacq/server and delete archivepi.xml and psfpi.xml.
- Run sudo /etc/init.d/edvrserver start.
<br>
exacqVision Client should now display the correct mount paths on the Extended tab on the Storage page.
<br>
C# or other managed applications created with Visual Studio 2005 or newer cause a System.AccessViolationException in the EVAPI_CreateWindow function on Windows Vista and Windows 7. To avoid this while debugging within Visual Studio and during application execution, complete the following steps.
- After the project has loaded, select the project properties under the Project item on the toolbar (or press Alt+F7).
- Select the Build Events tab.
- Enter the following command in the Post-build Event Command Line:
- call “$(DevEnvDir)..\tools\vsvars32.bat”
- editbin.exe /NXCOMPAT:NO $(TargetPath)
- Select the Debug tab.
- Uncheck the Enable the Visual Studio hosting process. This must be done for all configurations that will be executed from Visual Studio.
- Save and close the project properties page.
- Clean and rebuild the project.
<br>
How-to-Executing-and-debugging-C-applications-with-evAPI-and-Visual-Studio-2005-or-newer.pdf