TNG | Linux | TNG Not starting

Web based, multi-user, Telephone Management System with budget management and barring control

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

TNG | Linux | TNG Not starting

Postby andrewscopserv » Tue Apr 07, 2015 11:21 am

Hello,

Please could you give me some information to debug why TNG would not start?

I have followed the install guide located here:
viewtopic.php?f=24&t=34&p=34&

I have also checked to see if the service for TNG starts with the "top" command but I am unable to see anything if TNG reports here at all.

It appears as though the web UI isn't loading for some reason as when I attempt to browse to the URL there is nothing returned.

Please let me know if you need logs etc.
andrewscopserv
 
Posts: 8
Joined: Tue Apr 07, 2015 9:13 am

Re: TNG | Linux | TNG Not starting

Postby andrewscopserv » Tue Apr 07, 2015 11:52 am

It appears as though the daemon is started.

root 16305 1.7 1.9 123920 116644 ? Ss 11:42 0:09 ./tng -D
root 19956 0.0 0.0 61232 764 pts/5 S+ 11:51 0:00 grep tng

However looks like nothing is running on the port 7080:

PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
389/tcp open ldap
3001/tcp open nessusd
3306/tcp open mysql
4559/tcp open hylafax
5555/tcp open freeciv
7070/tcp open realserver
8080/tcp open http-proxy
9090/tcp open zeus-admin
andrewscopserv
 
Posts: 8
Joined: Tue Apr 07, 2015 9:13 am

Re: TNG | Linux | TNG Not starting

Postby andrewscopserv » Tue Apr 07, 2015 11:58 am

However, when checking here the tng service is not shown:

[root@Introstat ~]# service --status-all | grep tng
capi not installed - No such file or directory (2)
rndc: connect failed: 127.0.0.1#953: connection refused
[root@Introstat ~]# service --status-all | grep asterisk
asterisk (pid 18925) is running...
asterisk (pid 18925) is running...
asterisk (pid 18925) is running...
asterisk (pid 18925) is running...
capi not installed - No such file or directory (2)
rndc: connect failed: 127.0.0.1#953: connection refused
[root@Introstat ~]#
andrewscopserv
 
Posts: 8
Joined: Tue Apr 07, 2015 9:13 am

Re: TNG | Linux | TNG Not starting

Postby John Richard Procter » Wed Apr 08, 2015 9:03 am

Dear Andrew

Can you start the TNG without -D

Code: Select all
cd /opt/datatex/tng/
./tng


See if it prints out a error message.
The error message with state required libraries are missing.

What version of linux is running on the PABX.

Kind Regards
John-Ri Procter
John Richard Procter
 
Posts: 552
Joined: Tue May 03, 2011 2:02 pm

Re: TNG | Linux | TNG Not starting

Postby andrewscopserv » Wed Apr 08, 2015 9:14 am

Thanks for the reply.

I have run the commands as instructed.

Here is the output. I have removed a whole bunch of CDR information as it was over 1900 lines.

Code: Select all
Asterisk 1.8.23.0 built by root @ el5.build.scopserv.com on a x86_64 running Linux on 2013-07-18 14:20:38 UTC
Floating point exception
andrewscopserv
 
Posts: 8
Joined: Tue Apr 07, 2015 9:13 am

Re: TNG | Linux | TNG Not starting

Postby andrewscopserv » Wed Apr 08, 2015 9:26 am

John Richard Procter wrote:What version of linux is running on the PABX.


CentOS release 5.11 (Final)
andrewscopserv
 
Posts: 8
Joined: Tue Apr 07, 2015 9:13 am

Re: TNG | Linux | TNG Not starting

Postby John Richard Procter » Wed Apr 08, 2015 10:41 am

Dear Andrew

Have you run ./tng ?

The following packages are required for centos x64

Code: Select all
yum install Centos libs32
yum install libgcc_s.so.1
yum install zlib.i686
yum install libgcc.i686


Kind Regards
John-Ri Procter
John Richard Procter
 
Posts: 552
Joined: Tue May 03, 2011 2:02 pm

Re: TNG | Linux | TNG Not starting

Postby andrewscopserv » Wed Apr 08, 2015 1:29 pm

Here is the full output of ./tng:

[root@Introstat tng]# ./tng
Asterisk 1.8.23.0 built by root @ el5.build.scopserv.com on a x86_64 running Linux on 2013-07-18 14:20:38
UTC
(I've removed a whole load of the entries below as they exceeded the post character limit)
ChannelInExtensions: channel="0115514019" cleanExt="0115514019" aliasExt="0115514019"
ChannelInExtensions: channel="0115514019" cleanExt="0115514019" aliasExt="0115514019"
ChannelInExtensions: channel="0000000000" cleanExt="0000000000" aliasExt="0000000000"
ChannelInExtensions: channel="27117237500" cleanExt="27117237500" aliasExt="27117237500"
ChannelInExtensions: channel="" cleanExt="" aliasExt=""
ChannelInExtensions: channel="27117237500" cleanExt="27117237500" aliasExt="27117237500"
DEBUG ParseCDRRecordToTNGFormat: 9 src = "0115514019" Floating point exception
[root@Introstat tng]#
andrewscopserv
 
Posts: 8
Joined: Tue Apr 07, 2015 9:13 am

Re: TNG | Linux | TNG Not starting

Postby andrewscopserv » Wed Apr 08, 2015 2:45 pm

Here is the output for nmap -sT -O localhost

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2015-04-08 14:43 SAST
Interesting ports on localhost.localdomain (127.0.0.1):
Not shown: 1669 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
389/tcp open ldap
3001/tcp open nessusd
3306/tcp open mysql
4559/tcp open hylafax
5555/tcp open freeciv
7070/tcp open realserver
8080/tcp open http-proxy
9090/tcp open zeus-admin

As you can see there is nothing running on 7080
andrewscopserv
 
Posts: 8
Joined: Tue Apr 07, 2015 9:13 am

Re: TNG | Linux | TNG Not starting

Postby andrewscopserv » Wed Apr 08, 2015 3:13 pm

It appears as though the service/daemon is indeed starting and stopping again.

Can I not allow you access to the box so that you can check for yourselves?
andrewscopserv
 
Posts: 8
Joined: Tue Apr 07, 2015 9:13 am


Return to TNG

Who is online

Users browsing this forum: No registered users and 1 guest