Page 1 of 1
ASTblind and ASTloop unregistered on Ubuntu and Debian
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Posted:
Wed Jul 14, 2010 4:07 am
by rosary
On Ubuntu or Debian servers, ASTblind and ASTloop never registers,
Host dnsmgr Username Pereived Refresh State
127.0.0.1:41569 N ASTblind Unregistered 60 Request Sent
127.0.0.1:40569 N ASTloop Unregistered 60 Request Sent
while with CentOS server, it works just fine
Host dnsmgr Username Pereived Refresh State
127.0.0.1:41569 N ASTblind 127.0.0.1:42719 60 Registered
127.0.0.1:40569 N ASTloop 127.0.0.1:56812 60 Registered
Please help me with this problem, thanks!
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Posted:
Wed Jul 14, 2010 6:58 am
by mflorell
Is ip_relay running?
thanks
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Posted:
Wed Jul 14, 2010 7:45 am
by brett05
same thing as me and with this we can not make listen or barge
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Posted:
Wed Jul 14, 2010 1:14 pm
by mcargile
What are the exact versions of Ubuntu / Debian you are using. Are they 32bit or 64bit?
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Posted:
Wed Jul 14, 2010 1:28 pm
by mcargile
Well it appears that the version of ip_relay the installer installs is rather old and compiled against a version of glibc that I guess Debian stopped shipping. Luckily the original source code is included with Vicidial. All that you need to do is recompile it and it works just fine.
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Posted:
Wed Jul 14, 2010 1:43 pm
by mcargile
Here is what I did to get this to work:
Fill in *PATH_TO_ASTGUICLIENT_SOURCE_CODE* to the path to the astguiclient source code directory
- Code: Select all
#> cd /usr/src
#> unzip *PATH_TO_ASTGUICLIENT_SOURCE_CODE*/extras/ip_relay/ip_relay_1.1.112705.zip
#> cd ip_relay_1.1/src/unix
#> make
#> rm /usr/share/astguiclient/ip_relay/ip_relay
#> cp * /usr/share/astguiclient/ip_relay/
#> cd /usr/local/bin
#> rm ip_relay
#> ln -s /usr/share/astguiclient/ip_relay/ip_relay ip_relay
#> /usr/share/astguiclient/ADMIN_keepalive_ALL.pl
#> ps -e | grep ip_relay
The output from the last command should look something like this
8651 ? 00:00:00 ip_relay
8652 ? 00:00:00 ip_relay
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Posted:
Wed Jul 14, 2010 10:20 pm
by rosary
I have installed Ubuntu 8.0.4 64-bit.
I found out that ip_relay in my Ubuntu server was not compiled properly, /usr/src/astguiclient/ip_relay is empty. Not like in my CentOS server which has files in it.
I have tried the procedure above, but make has been unsuccessful. The problem seems to be regarding gcc. Do you have an idea on what gcc I will use?
Thanks for your help. I really appreciate it.
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Posted:
Thu Jul 15, 2010 1:03 am
by leoman70
Got it working thanks...Michael
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Posted:
Thu Jul 15, 2010 1:03 am
by rosary
Thanks for your help Michael. ip_relay in Ubuntu/Debian works well now.
Re: ASTblind and ASTloop unregistered on Ubuntu and Debian
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Posted:
Thu May 29, 2014 10:26 am
by sohaib
It works.... thanks mcargile ...
--
Re: ASTblind and ASTloop unregistered on Ubuntu and Debian
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Posted:
Sun Apr 24, 2016 2:07 am
by aroonmishra
Hi,
I am using astguiclient
VERSION: 2.12-550a
BUILD: 160414-1013 .
I installed it using svn.
My OS is Ubuntu 14.04.4 LTS 64 bit on AWS
ip_relay is not compiled.
I am trying to compile it and getting below error
root@ip-172-31-46-77:/usr/src/ip_relay_1.1/src/unix# make
gcc -c ../lib_ip_relay.c -o lib_ip_relay.o
ar rcs lib_ip_relay.a lib_ip_relay.o
gcc -c -fPIC ../lib_ip_relay.c -o lib_ip_relay_so.o
gcc -shared -Wl,-soname,lib_ip_relay.so.1 -o lib_ip_relay.so.1.0.1 lib_ip_relay_so.o -lc
gcc ../ip_relay.c lib_ip_relay.a -o ip_relay
../ip_relay.c: In function ‘parse_command_line’:
../ip_relay.c:114:9: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]
exit( IR_ERROR_BAD_PARAMETERS );
^
Please help me to fix this
Re: ASTblind and ASTloop unregistered on Ubuntu and Debian
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Posted:
Sun Apr 24, 2016 6:20 am
by sohaib
try installing it by apt
apt-get install libc6-i386
--
sohaib Khan