Categories
Knowledge Support Support exacqVision Server Categories Products

Detecting where the Core is Crashing

If the core is stopping and you are not sure why, you can run it from a command prompt with a flag that will display the individual components it is activating. Open the command prompt and browse to the ExacqVision/Server directory. Then  type core -d. This command displays the process exactly, and usually the last line displayed shows where the service is crashing.

Categories
Knowledge Support Support Categories Products exacqVision Hardware

Troubleshooting a DOA

We will never accept “It doesn’t work” as a valid reason to replace a machine. The purpose of this guide is to help determine why a unit “does not work.”

Some technical knowledge is assumed with this guide.

Possible causes:

  1. Power Supply
  2. Internal Components and Cabling
  3. POST

Section 1

Power Supply

If the unit does not power on at all (no lights, no fans) when plugged in and the front power button is pushed:

  1. Make sure the power cable plugged into both the wall outlet (or UPS) and the unit securely.
  2. Make sure you push the power button on the front of the machine. You may need to open the door on the front of the machine to see the black rocker switch.
  3. If the unit still does not turn on, try a different outlet (or known working outlet on the UPS) and/or a known working power cable.
  4. If the problem persists and we get no activity within the machine (no lights, no fans), it is plausible the PSU in the unit is non-functional.
  5. Do not stop here if the machine is right out of the box! Continue with the following steps make sure it is not related to some other component!

If the unit powers on for a few seconds and then powers off when plugged in:

  1. This is a normal power-on procedure for the motherboard. In addition, you need to push the power button on the front of the machine.
  2. If the rocker/power button on the front of the machine is pushed, but the unit still does not come on, continue on with the guide.

Section 2

Internal Components and Cabling

If the unit still does not power on:

  1. Disconnect power to the machine.
  2. Start removing the top cover to the machine by unscrewing the screws on the sides and back of the case.
  3. The top cover should slide off fairly easily. There is a sticker on the underside of the top cover that has the motherboard cabling information.
  4. Locate the power supply and follow the cables to where they connect to the motherboard.
  5. Unseat and reseat the connectors to the motherboard coming from the power supply. Most connectors will have a clip to keep the plastic parts in place, but there will be a tab to pinch to unseat the connector.
  6. Pinch the tabs on the connectors to unseat them. Push the connectors back down (you will feel the tab snap into place) to reseat.
  7. From the front of the machine, follow the cables coming from the rocker/power switch to the motherboard.
  8. Make sure this cable (red/black) is plugged in to the proper pins (ON/OFF) on the motherboard (follow the diagram on the underside of the top cover).
  9. Reseat the RAM on the system.
  10. Connect power to the machine and push the power button on the front of the machine.
  11. See if any of the fans spin or any internal lights come on — specifically, the fan on top of the CPU and the green power indicator light on the motherboard.
  12. If you still do not see any indicator lights on or system fans spinning, it is most likely a non-functional power supply. 
  13. Create an RMA for the part. 
  14. If the unit begins to boot, but does not pass POST (Power On Self Test) or load the OS, continue on.
  15. If the unit powers on, passes POST and loads the OS, replace the top cover on the machine and proceed with installation.

Section 3

POST

If the unit does not pass POST:

  1. By default, beep codes are not disabled on the motherboard. So, if the unit does not pass POST, some beep code should sound indicating what the problem component is.
  2. If you cannot determine the problem from the beep code, continue.
  3. POST requires a CPU (not overheating) and video controller, and RAM must be present and accessible.
  4. Disconnect power from the system.
  5. CPU: Make sure the CPU fan is secure and has its power cable connected securely to the motherboard.
  6. RAM: Make sure RAM is seated properly and secure, and reseat if necessary.
  7. Video Controller: This is integrated into the motherboard, but if there are multiple video cards or analog boards, remove them before trying to power the unit back on.
  8. HDD: Ensure cabling (power and SATA cable) to hard drives is both present and secure, reseating/attaching if necessary.
  9. Analog Riser Card: Make sure the Molex power connector is connected to the riser card (if appicable).
  10. If all components are secure and extra components (video cards/analog boards) are removed, connect power to the machine and turn it on.

Possible outcomes:

  1. The unit powers on and passes POST: This would inidcate there is an issue with one or more of the expansion cards/analog boards. Power the unit down via the OS and try to reconnect one card at a time with a reboot to find the culprit and create an RMA for the part.
  2. The unit powers on, but does not pass POST: This would inidicate a possible motherboard issue. If you arrive at this point, and have done all the previous steps, get approval from a manager and have the unit sent in for repair.
Categories
Knowledge Support Support Categories Products exacqVision Hardware

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 exacqVision Server Categories Products

(unsupported) Field upgrade of only I/O board

We may have systems where people attempt to field upgrade their servers with an I/O board.  Note that this is supposed to be for in house upgrade only.  However some do fall through the cracks.

This is actually an eDVR board without the graphics chips.  Here is the sequence to get it to work:

Let them physically install the card into the pci slot.

Run eDVRSetup to install driver.

Reboot

Stop the Server service.

Run SysPrep to configure system to include new eDVR board (which only has I/O).

Run Control Center to verify that the new board is recognized.

Reinstall exacqVision server software.  

Categories
Plugin Exclude from Global Search Log Level Warning exacqVision Server AxisPI Categories Products Logs

%1 unexpected marker 0x01 at offset %2 in SEI data

%1 unexpected marker 0x01 at offset %2 in SEI data

Description

This means that the data in the stream header is inconsistent. Probably due to network traffic problems and packet loss. The user data can include time stamp and motion information%BR%%BR%

%1 – camera name%BR%

%2 – offset number%BR%

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

Does Exacq use the Bosch BiPhase PTZ Protocol

No, Exacq uses the Bosch OSRD Protocol.  

To send BiPhase you will need a converter like the LTC8786, which connects to the DB9 RS232 port on the back of the unit.

Categories
Knowledge Support Support Categories Products exacqVision Hardware

Identifying the Motherboard Installed in an exacqVision System

To view the article “Identifying the Motherboard Installed in an exacqVision System,” please open the attached PDF.

Identifying-the-Motherboard-Installed-in-an-exacqVision-System.pdf
Categories
Knowledge Support Support Categories Products exacqVision Integrations

Arecont 3115: No Video Found on Search

Description: Arecont 3-Megapixel cameras (such as 3115DN) can display live video with a blue or green border as if they are recording, along with the correct time and date, without returning search results for the video. If this occurs, an error message similar to the following is displayed in the log:

10/17/2012 11:25:39 AM PSFPI Error
ps file write D:\2012\10\17\11\2538-00180280.ps error -1


Workaround:
 Disable Extended Motion Detection in the camera’s web page. To do this, complete the following steps:

  1. Connect to the camera using a web browser.
  2. Select the Motion_detector tab.
  3. Deselect Extended Motion Detection, as shown in the image below. (If the checkbox is greyed out, deselect Enable Motion Detector, then deselect Extended Motion Detection, and then select Enable Motion Detector.)
  4. Click the Exit button and close the web browser page.
  5. On the server’s Add IP Cameras page in exacqVision Client, disconnect and then reconnect the camera.
  6. A few minutes after the camera reconnects, the video should start recording. Run another search to verify that the expected search results appear.

Categories
Knowledge Support Support Categories Products exacqVision Integrations

What Files Are Stored To The SD Card In Axis Edge Installs

*** 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:

dl_findfile.al

./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:

register.pm

./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: