Troubleshooting Toolpack

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Added useful mysql commands)
(System configuration backup)
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This page contains pointers to help troubleshoot [[Toolpack]]-based systems.
+
This page contains pointers to help troubleshoot [[Toolpack]]-based systems.  
 
+
 
+
== Installation ==
+
 
+
Problem: The Toolpack system does not start
+
*See '[[Toolpack_Installation:Validate_Toolpack_Installation|How to validate the Toolpack installation]]'
+
 
+
 
+
Problem: I want to change the Ip Address of the TMG800/TMG3200 from static to DHCP or from DHCP to static.
+
*See '[[TBLinux:How to change_the_ip_address|How to change the IP address of a TMG800/TMG3200]]
+
 
+
 
+
Problem: I want to change the hostname of the server running Toolpack
+
*See '[[Toolpack_Installation:Change hostname|How to change the host name]]'
+
  
 +
<br>
  
 
== Web portal  ==
 
== Web portal  ==
  
'''Problem: The Toolpack web portal does not start or is not accessible.'''
+
Problem: '''The web portal does not start or is not accessible.'''  
 
+
*See '[[Toolpack Troubleshooting:Web Portal|How to troubleshoot the web portal]]'
*See '[[Toolpack Troubleshooting:Web Portal|How to troubleshoot the web portal]]'  
+
<br>
*See 'How to get status of the system'
+
Problem: '''I cannot perform addition or modification of configuration in the web portal. '''
*See 'How to change the configuration of the system'
+
Usually this occurs in a new Toolpack Platform, for example, when new Toolpack software has been just installed on a host or a new TMG3200 is started up.  
 
+
*See '[[Toolpack Troubleshooting:Cannot Add or Edit Configuration|How to edit the active configuration]]'
<br> '''Problem: I cannot perform addition or modification of configuration in the web portal. Usually this occurs in a new Toolpack Platform, for example, when new Toolpack software has been just installed on a host or a new TMG3200 is started up.'''
+
<br>
 
+
*See 'How to [[Toolpack Troubleshooting:Cannot Add or Edit Configuration|Edit the active configuration]]'
+
 
+
<br> '''Problem: Do not have permission to add features.'''
+
 
+
*See 'How to modify system configuration'
+
 
+
<br> '''Problem: The system does not work properly with a copied configuration.'''
+
  
 +
Problem: '''The system does not work properly with a copied configuration.'''
 
*See [[Web Portal:Configuration Copy|How to copy a configuration]]
 
*See [[Web Portal:Configuration Copy|How to copy a configuration]]
 +
<br>
  
<br> '''Problem: There are no web browser on the linux host server'''
+
Problem: '''There are no web browser on the linux host server'''  
 
+
 
ssh tunnel can be use to re-direct the connection on a remote host port to a local port:  
 
ssh tunnel can be use to re-direct the connection on a remote host port to a local port:  
 +
*See [[How to setup ssh tunnel with PuTTY]]
 +
<br>
  
''How to setup with PuTTY''
+
== System configuration backup<br>  ==
  
*Connect to the remote host with ssh
+
Problem: '''How do I&nbsp;make sure I keep my system configuration?'''<br>
*Go in the change setting menu
+
*Go in the Connection/SSH/Tunnels
+
*Enter your source port (ex. 7777)
+
*Enter your destination ( ex. 10.2.0.174:12358 )
+
*Click Add
+
*Click Apply
+
*Start your favorite browser ( ex. http://127.0.0.1:7777 )
+
  
== Toolpack MySQL configuration database ==
+
All the configuration are stored in a MySQL database. To perform a backup, refer to the following links:
 +
*[[Toolpack:Database_Backup_C|Backup procedure for v2.8 or 2.9]]
 +
*[[Toolpack:Database_Backup_B|Backup procedure for v2.7]]
 +
*[[Toolpack:Database_Backup_A|Backup procedure for v2.5 or v2.6]] <br>
 +
For releases before 2.4 or older or if you do not have access to the web portal, see [[Manual Database Backup]].<br>
 +
<br>
 +
For scheduled backups, see [[Scheduled Database Backup]]
  
'''Problem: I need to backup my Toolpack configuration.'''
+
<br>
  
To backup the MySQL database, use the following commands:<br>
+
== Calls ==
<pre> mysqldump -u tbdb --password=tbdbpw --opt toolpack_0 &gt; toolpack_0_bk.sql
+
Problem: '''The Tmedia device does not accept or generate calls'''
</pre>
+
*See here: [[How to troubleshoot call routing|How to troubleshoot call routing]]
Then, you need to save the "toolpack_0_bk.sql" file in a safe place.<br>  
+
<br>
  
You can recover the database this way:<br>
+
== Fax Calls  ==
<pre>mysql -u tbdb--password=tbdbpw toolpack_0 &lt; toolpack_0_bk.sql
+
Problem: '''Fax call is not working'''
</pre>
+
*Please follow the instructions here: [[How to troubleshoot Fax Calls|How to troubleshoot Fax Calls]]
This procedure can also be used to make copies of similar configurations from one Toolpack system to another. The Serial Number of the hardware devices used (Tmedias) must be updated after the new database is in place (Hardware -&gt;&nbsp;Edit -&gt;&nbsp;Serial)<br>  
+
<br>
  
 +
== SS7 CIC group is locally blocked<br>  ==
 +
Problem: '''A SS7 Circuit Identification Code is blocked.''' <br>
 +
*You can control this: See [[SS7 Circuit group control]]
 
<br>  
 
<br>  
  
Other useful mysql commands:<br>  
+
== Network Interfaces <br> ==
<pre>mysql –u tbdb –p tbdbpw
+
Problem: '''E1 trunks are not up'''<br>  
use toolpack_0;
+
*See '[[How to Debug Trunk Interfaces|How to debug trunk interfaces]]'<br>
show tables;
+
<br>
SELECT * from system_infos;
+
SELECT * from mysql.user;
+
service mysqld stop
+
service mysqld start
+
ps -ef | grep mysqld
+
  
</pre>
+
Problem: '''Cannot ping VoIP interface''' <br>
 +
The IP address of the VoIP port is configured and you cannot ping it.<br>
 +
*See '[[How to debug VoIP|How to debug a VoIP interface]]'<br>
 +
<br>
  
== Toolpack application suite ==
+
== How to gather all logs<br> ==
 +
Problem: '''Which application logs should I gather?'''
 +
*See '[[TBReport|How to gather all logs with TBReport]]' (Version 2.9 and up)
 +
<br>
  
Coming soon.
+
== Access to unit ==
 +
Problem: '''I lost access to the unit. How to recover the IP address of the unit?'''
 +
*Please follow the procedure in the installation guide: '[[Product_Installation|Installation Guides]]'
 +
<br>
  
== Calls ==
+
Problem: '''I lost the SSH password'''
Problem: The Tmedia device does not accept or generate calls
+
*It is possible to reset the SSH password. Please contact support@telcobridges.com to get the procedure.
 +
<br>
  
*To debug calls, different methods can be used:
+
Problem: '''I want to do a factory reset'''
 +
*Normally a Factory Reset is not required. System can be re-configured to original settings in a few steps. Please contact support@telcobridges.com to get the procedure.
 +
*Factory reset is available on recent versions of the TelcoBridges units. The procedure is described here: '[[Factory_Reset|Factory Reset]]'.
 +
<br>
  
:*'''Using the Call Detail Records'''
+
== Installation (for developers)  ==
This can be done in the configuration database, using [[RADIUS]] or in text files. See [[Text Call Detail Records (CDR)]]
+
Problem: '''Toolpack fails during installation'''  
 +
*See '[[Toolpack Installation:Toolpack installer troubleshooting|Toolpack installer troubleshooting]]'
 +
<br>
  
 +
Problem: '''Can't download a new software package '''<br>
 +
*You see this error while trying to download a software package with wget:<br>
 +
Resolving download.telcobridges.com... failed: Temporary failure in name resolution.
 +
wget: unable to resolve host address `download.telcobridges.com
 +
*See "nameserver" in&nbsp; [[TMG:Change_Management_IP_Address|Configure Management IP address]]
 +
<br>
  
*'''Using the log files'''  
+
Problem: '''The Toolpack system does not start'''  
:*'''Log files from web portal'''
+
*See '[[Toolpack Installation:Validate Toolpack Installation|How to validate the Toolpack installation]]'
 +
<br>
  
  Logs -> Select filename -> 2000 lines -> select Read
+
Problem: '''I want to change the hostname of the server running Toolpack'''  
 
+
*See '[[Toolpack Installation:Change hostname|How to change the host name]]'
 
+
<br>
Brief details on the application:
+
 
+
::'''gateway''' application is for high-level call routing, like calling number and NAPs.
+
 
+
::'''toolpack_engine''' handles the protocols and media
+
 
+
::'''toolpack_sys_manager''' handles the configuration of the system
+
 
+
::'''tboamapp''' controls the startup of the applications
+
 
+
::'''tbstreamserver''' is used for playing and recording files; by default this application is not started. See [[How to Start Stream Server]]
+
 
+
::'''tblogtrace''' are log coming from the platform (TMP6400 or other)
+
 
+
 
+
You can change the trace level of the application here:
+
 
+
  Applications-> Configurations -> edit -> Log Params -> Default Trace Level
+
 
+
And then activate the new configuration.
+
 
+
 
+
*'''Log files from server'''
+
You can get the files directly from the server running Toolpack at this location:
+
  /lib/tb/toolpack/setup/12358/2.3/apps/
+
or
+
  C:\TelcoBridges\toolpack\setup\12358\2.3\apps\
+
 
+
 
+
*'''Using the signaling traces'''
+
You can get the signaling traces (SS7, ISDN and SIP) using the tbsigtrace program: [[Toolpack_Debug_Application:Tbsigtrace|using tbsigtrace]]
+
  
== How to gather all logs ==
 
Problem: Which application logs should I gathered?
 
*See '[[Toolpack_Debug_Application:Tbdebug|How to gather logs with tbdebug]]'
 
  
 +
== How to submit a problem  ==
 +
Problem: '''I don't know what else to do'''
 +
*Help our support team help you by giving as much information as possible; see '[[Support:How To Submit A Problem|How To Submit A Problem]]'
  
== How to submit a problem ==
+
[[Category:Tdev_OAM&P|Troubleshoot]]
Problem: I don't know what else to do
+
*Help our support team help you by giving as much information as possible; see '[[Support:How_To_Submit_A_Problem]]'
+

Latest revision as of 06:20, 6 April 2017

This page contains pointers to help troubleshoot Toolpack-based systems.


Contents

Web portal

Problem: The web portal does not start or is not accessible.


Problem: I cannot perform addition or modification of configuration in the web portal. Usually this occurs in a new Toolpack Platform, for example, when new Toolpack software has been just installed on a host or a new TMG3200 is started up.


Problem: The system does not work properly with a copied configuration.


Problem: There are no web browser on the linux host server ssh tunnel can be use to re-direct the connection on a remote host port to a local port:


System configuration backup

Problem: How do I make sure I keep my system configuration?

All the configuration are stored in a MySQL database. To perform a backup, refer to the following links:

For releases before 2.4 or older or if you do not have access to the web portal, see Manual Database Backup.

For scheduled backups, see Scheduled Database Backup


Calls

Problem: The Tmedia device does not accept or generate calls


Fax Calls

Problem: Fax call is not working


SS7 CIC group is locally blocked

Problem: A SS7 Circuit Identification Code is blocked.


Network Interfaces

Problem: E1 trunks are not up


Problem: Cannot ping VoIP interface
The IP address of the VoIP port is configured and you cannot ping it.


How to gather all logs

Problem: Which application logs should I gather?


Access to unit

Problem: I lost access to the unit. How to recover the IP address of the unit?


Problem: I lost the SSH password

  • It is possible to reset the SSH password. Please contact support@telcobridges.com to get the procedure.


Problem: I want to do a factory reset

  • Normally a Factory Reset is not required. System can be re-configured to original settings in a few steps. Please contact support@telcobridges.com to get the procedure.
  • Factory reset is available on recent versions of the TelcoBridges units. The procedure is described here: 'Factory Reset'.


Installation (for developers)

Problem: Toolpack fails during installation


Problem: Can't download a new software package

  • You see this error while trying to download a software package with wget:
Resolving download.telcobridges.com... failed: Temporary failure in name resolution.
wget: unable to resolve host address `download.telcobridges.com


Problem: The Toolpack system does not start


Problem: I want to change the hostname of the server running Toolpack



How to submit a problem

Problem: I don't know what else to do

Personal tools