Troubleshooting Toolpack

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(add toolpack installer troubleshooting page)
(Added version 2.5 db backup)
Line 65: Line 65:
  
 
'''Problem: I need to backup my Toolpack configuration.'''  
 
'''Problem: I need to backup my Toolpack configuration.'''  
 +
 +
The Toolpack configuration is all stored in the MySQL database. So to backup the Toolpack configuration, the best way is to copy the database.
 +
 +
Versions 2.4 and older:<br>
  
 
To backup the MySQL database, use the following commands:<br>  
 
To backup the MySQL database, use the following commands:<br>  
Line 72: Line 76:
  
 
You can recover the database this way:<br>  
 
You can recover the database this way:<br>  
<pre>mysql -u tbdb--password=tbdbpw toolpack_0 &lt; toolpack_0_bk.sql
+
<pre>mysql -u tbdb -ptbdbpw toolpack_0 &lt; toolpack_0_bk.sql
 
</pre>  
 
</pre>  
 
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>  
 
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>  
+
<br>
 +
 
 +
Starting with version 2.5:
 +
 
 +
The command lines can still be used, but the web portal also has this capability:<br>
 +
<pre>Backups -&gt; Create
 +
</pre>
 +
It will create a file name with the software version, the date and time and store it in "\toolpack\pkg\database_backups" directory<br>
 +
 
 +
For example:
 +
<pre>toolpack_2_5_9_2010_07_26_14_11_46.sql.gz
 +
</pre>
 +
You can recover the database this way:<br>
 +
<pre>Backups -&gt; Recover
 +
</pre>
 +
You can also keep a copy of the database backup using this:<br>
 +
<pre>Backups -&gt; Download
 +
</pre>
 +
 
  
 
Other useful mysql commands:<br>  
 
Other useful mysql commands:<br>  
Line 88: Line 110:
 
ps -ef | grep mysqld
 
ps -ef | grep mysqld
  
</pre>  
+
</pre>
 +
 
 
== Toolpack application suite  ==
 
== Toolpack application suite  ==
  

Revision as of 10:11, 2 September 2010

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


Contents

Installation

Problem: Toolpack fails during installation

Problem: The Toolpack system does not start


Problem: I want to change the Ip Address of the TMG800/TMG3200 from static to DHCP or from DHCP to static.


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


Problem: E1 trunks are not up


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'

Web portal

Problem: The Toolpack 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: Do not have permission to add features.

  • See 'How to modify system configuration'


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:

Toolpack MySQL configuration database

Problem: I need to backup my Toolpack configuration.

The Toolpack configuration is all stored in the MySQL database. So to backup the Toolpack configuration, the best way is to copy the database.

Versions 2.4 and older:

To backup the MySQL database, use the following commands:

  mysqldump -u tbdb --password=tbdbpw --opt toolpack_0 > toolpack_0_bk.sql

Then, you need to save the "toolpack_0_bk.sql" file in a safe place.

You can recover the database this way:

mysql -u tbdb -ptbdbpw toolpack_0 < toolpack_0_bk.sql

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 -> Edit -> Serial)


Starting with version 2.5:

The command lines can still be used, but the web portal also has this capability:

Backups -> Create

It will create a file name with the software version, the date and time and store it in "\toolpack\pkg\database_backups" directory

For example:

toolpack_2_5_9_2010_07_26_14_11_46.sql.gz

You can recover the database this way:

Backups -> Recover

You can also keep a copy of the database backup using this:

Backups -> Download


Other useful mysql commands:

mysql –u tbdb –p tbdbpw
use toolpack_0;
show tables;
SELECT * from system_infos;
SELECT * from mysql.user;
service mysqld stop
service mysqld start
ps -ef | grep mysqld

Toolpack application suite

Coming soon.

Calls

Problem: The Tmedia device does not accept or generate calls

  • To debug calls, different methods can be used:
  • Using the Call Detail Records

This can be done in the configuration database, using RADIUS or in text files. See Text Call Detail Records (CDR)


  • Using the log files
  • Log files from web portal
 Logs -> Select filename -> 2000 lines -> select Read


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: using tbsigtrace


  • Using the Toolpack programs backdoor tool

You can access to the toolpack applications directly by using the tbx_cli_tools_remote application. This application allows full control over any Toolpack application. This allows for example to view real time calls going through the Toolpack Engine.

Select this to learn How to use tbx cli tools remote program.

How to gather all logs

Problem: Which application logs should I gathered?


How to submit a problem

Problem: I don't know what else to do

Personal tools