All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by gerski » Tue Mar 06, 2007 8:07 am
Hello Guys,
this sounds weird but i have upgraded one of my server to 2.0.2 and the fastagi is still not working..
here is my screen -r
- Code: Select all
root@Asterisk2:/etc/asterisk# screen -r
There are several suitable screens on:
3668.asterisk (Detached)
3800.ASTupdate (Detached)
3803.ASTsend (Detached)
3806.ASTlisten (Detached)
3809.ASTVDauto (Detached)
3812.ASTVDremote (Detached)
3815.ASTVDadapt (Detached)
3821.ASTVDautoFILL (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.
cpan
- Code: Select all
root@Asterisk2:/etc/asterisk# cpan
CPAN: File::HomeDir loaded ok
cpan shell -- CPAN exploration and modules installation (v1.8802)
ReadLine support enabled
cpan[1]> install Net::Server
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 05 Mar 2007 20:09:27 GMT
Net::Server is up to date (0.95).
extensions.conf
- Code: Select all
-- Executing AGI("SIP/8888-081e0650", "agi://127.0.0.1:4577/call_log") in new stack
Mar 6 21:05:00 WARNING[4746]: res_agi.c:210 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused
== Spawn extension (default, 12026476575, 1) exited non-zero on 'SIP/8888-081e0650'
-- Executing DeadAGI("SIP/8888-081e0650", "agi://127.0.0.1:4577/call_log") in new stack
Mar 6 21:05:00 WARNING[4746]: res_agi.c:210 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused
== Spawn extension (default, h, 1) exited non-zero on 'SIP/8888-081e0650'
astguiclient.conf
- Code: Select all
# astguiclient.conf - configuration elements for the astguiclient package
# this is the astguiclient configuration file
# all comments will be lost if you run install.pl again
# Paths used by astGUIclient
PATHhome => /usr/share/astguiclient
PATHlogs => /var/log/astguiclient
PATHagi => /var/lib/asterisk/agi-bin
PATHsounds => /var/lib/asterisk/sounds
PATHmonitor => /var/spool/asterisk/monitor
# The IP address of this machine
VARserver_ip => 192.168.0.22
# Database connection information
VARDB_server => 192.168.0.20
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_port => 3306
# Alpha-Numeric list of the astGUIclient processes to be kept running
# (value should be listing of characters with no spaces: 123456)
# X - NO KEEPALIVE PROCESSES (use only if you want none to be keepalive)
# 1 - AST_update
# 2 - AST_send_listen
# 3 - AST_VDauto_dial
# 4 - AST_VDremote_agents
# 5 - AST_VDadapt (If multi-server system, this must only be on one server)
# 6 - FastAGI_log
# 7 - AST_VDauto_dial_FILL (only for multi-server, this must only be on one server)
VARactive_keepalives => 1234576
# Settings for FastAGI logging server
VARfastagi_log_min_servers => 3
VARfastagi_log_max_servers => 16
VARfastagi_log_min_spare_servers => 2
VARfastagi_log_max_spare_servers => 8
VARfastagi_log_max_requests => 1000
VARfastagi_log_checkfordead => 30
VARfastagi_log_checkforwait => 60
hope guys you can help me.. i also have installed asterisk perl 0.08 still not working...
-
gerski
-
- Posts: 432
- Joined: Fri Jul 14, 2006 6:21 am
-
by mflorell » Tue Mar 06, 2007 11:41 pm
What happens when you run:
/usr/share/astguiclient/FastAGI_log.pl --debugX
from command line?
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by gerski » Wed Mar 07, 2007 12:01 am
- Code: Select all
usr/share/astguiclient/FastAGI_log.pl --debugX
Can't locate Net/Server.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i486-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i486-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl .) at /usr/share/astguiclient/FastAGI_log.pl line 129.
BEGIN failed--compilation aborted at /usr/share/astguiclient/FastAGI_log.pl line 129.
it seems like it is still accessing my perl 5.8.7 i have upgraded my perl to 5.8.8...
- Code: Select all
locate Server.pm
/usr/lib/perl5/site_perl/5.8.7/i486-linux/DBI/ProxyServer.pm
/usr/local/lib/perl5/site_perl/5.8.8/i686-linux/DBI/ProxyServer.pm
/usr/local/lib/perl5/site_perl/5.8.8/Net/Server.pm
/usr/local/DBI-1.53/lib/DBI/ProxyServer.pm
/usr/local/DBI-1.53/blib/lib/DBI/ProxyServer.pm
/usr/local/Net-Server-0.95/lib/Net/Server.pm
/usr/local/Net-Server-0.95/blib/lib/Net/Server.pm
/root/.cpan/build/Net-Server-0.95/lib/Net/Server.pm
/root/.cpan/build/Net-Server-0.95/blib/lib/Net/Server.pm
/root/.cpan/build/DBI-1.54/lib/DBI/ProxyServer.pm
/root/.cpan/build/DBI-1.54/blib/lib/DBI/ProxyServer.pm
-
gerski
-
- Posts: 432
- Joined: Fri Jul 14, 2006 6:21 am
-
by mflorell » Wed Mar 07, 2007 12:06 am
What Linux distro are you using?
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by gerski » Wed Mar 07, 2007 12:07 am
slackware 10.2
-
gerski
-
- Posts: 432
- Joined: Fri Jul 14, 2006 6:21 am
-
by gerski » Wed Mar 07, 2007 1:50 am
here is my perl version
- Code: Select all
root@Asterisk2:/usr/local/perl-5.8.8# perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.17.11, archname=i686-linux
uname='linux asterisk2 2.6.17.11 #1 smp preempt mon nov 13 12:08:07 pht 2006 i686 unknown unknown gnulinux '
config_args='-de'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.3.6', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.5.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
Built under linux
Compiled at Mar 7 2007 14:29:59
@INC:
/usr/local/lib/perl5/5.8.8/i686-linux
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/i686-linux
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
but whenver i try to run fastagi it still accessing the 5.8.7, is there any way that i can use my new perl and disregard the old one..
-
gerski
-
- Posts: 432
- Joined: Fri Jul 14, 2006 6:21 am
-
by gardo » Wed Mar 07, 2007 10:02 am
you can try symlinking the new perl to the old perl version. it's not the most elegant solution though.
-
gardo
-
- Posts: 1926
- Joined: Fri Sep 15, 2006 10:24 am
- Location: Manila, 1004
-
Return to Support
Who is online
Users browsing this forum: Google [Bot] and 96 guests