Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To check if your SBC has created a 'core' file, open an SSH session to the SBC.

An SSH session can be created by using either of the two methods:
1. use a terminal program (such as 'putty' on a windows box) and use your log in credentials with the IP address of the SBC
putty.pngImage Removed
Image Added

2.use the SBC'swebSSH feature which is built into thewebgui.

*note, you must use httpsto use the webssh

webssh1.pngImage RemovedImage Added

 

If a 'core' file was created, it will be located in the /var/core directory.
To navigate to this directory simply type the following in your SSH session:
->cd /var/core

...

The following is a screenshot of an SBC that had a core file created on December 8 2015:
core-pre.pngImage RemovedImage Added

Now lets go ahead and open this 'core' file for details

...

  1. To investigate the previous core file created copy the complete core file name.
    i.e. "core.nsc.11.19604.1449583109"

  2. Type the following string in your SSH session. (You can be in any directory when you type this)
    -> gdb /usr/local/nsc/bin/nsc <complete core file name>
    -> press <enter>

    i.e
    gdb.pngImage RemovedImage Added

  3. Now type 'backtrace' at the end of the output.
    i.e.
    backtrace.pngImage RemovedImage Added


  4. You should see more output now. Below is an example output after typing 'backtrace'
    core 2.pngImage Removed
    Image Added


  5. The output from the above 'backtrace' is what needs to be investigated. This is what Sangoma Support and Sangoma R&D want to see when investigating a 'core' file.
    Please send this output along with trouble ticket with Sangoma.
    If more output is required, you can type the following command:
    -> thread apply all bt

    This output will provide the details of all threads, not just the thread that caused the 'core' file.


    Note: core file investigation is required to be performed on the SBC. If you try to copy the core fileoff the SBC andinvesgitate on another system, the investigation will not be useful.

...