Page 1 of 1

/usr/share/astguiclient/AST_vm_update.pl !!!!!!!!

PostPosted: Sun May 13, 2007 3:43 am
by hakimabouchaib
hello, i have always this messages
Subject: cron: /usr/share/astguiclient/AST_vm_update.pl
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_vm_update.pl line 188


and
Subject: cron: /usr/share/astguiclient/AST_conf_update.pl
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_conf_update.pl line 188



when i try to make
/etc/asterisk/manager.conf

i have this
-bash: /etc/asterisk/manager.conf: Permission denied

i dont understand what happen!!!!

PostPosted: Sun May 13, 2007 8:59 am
by aster1
You need to see if /etc/asterisk/manager.conf
try cat /etc/asterisk/manager.conf

It seems asterisk manager interface is diabled or you havent set user/pass for vicidial correctly .

PostPosted: Sun May 13, 2007 9:48 am
by hakimabouchaib
i do what you are say but always the same problem

PostPosted: Sun May 13, 2007 10:11 am
by Op3r
post your managers.conf and astguiclient.conf here.

PostPosted: Sun May 13, 2007 10:27 am
by hakimabouchaib
manager.conf
[general]
enabled =yes
port = 5038
bindaddr = 0.0.0.0
;displayconnects = yes

;[mark]
;secret = mysecret
;deny=0.0.0.0/0.0.0.0
;permit=209.16.236.73/255.255.255.0
;
; If the device connected via this user accepts input slowly,
; the timeout for writes to it can be increased to keep it
; from being disconnected (value is in milliseconds)
;
; writetimeout = 100
;
; Authorization for various classes
;read = system,call,log,verbose,command,agent,user
;write = system,call,log,verbose,command,agent,user



[cron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
[updatecron]
secret = 1234
read = command
write = command
[listencron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = command
[sendcron]
secret = 1234
read = command
write = system,call,log,verbose,command,agent,user


PostPosted: Sun May 13, 2007 10:33 am
by hakimabouchaib
i can't find astguiclient.conf

PostPosted: Sun May 13, 2007 10:37 am
by ramindia
Hi

its in /etc/

if not installed , or reinstall age

copy config file from source of agc

ram

PostPosted: Sun May 13, 2007 10:51 am
by hakimabouchaib
astguiclient.conf
# 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
PATHweb => /usr/local/apache2/htdocs
PATHsounds => /var/lib/asterisk/sounds
PATHmonitor => /var/spool/asterisk/monitor

# The IP address of this machine
VARserver_ip => 196.20.98.24

# Database connection information
VARDB_server => localhost
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 => 123456

# 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
~
~
~

PostPosted: Sun May 13, 2007 10:52 am
by hakimabouchaib
astguiclient.conf
# 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
PATHweb => /usr/local/apache2/htdocs
PATHsounds => /var/lib/asterisk/sounds
PATHmonitor => /var/spool/asterisk/monitor

# The IP address of this machine
VARserver_ip => 196.20.98.24

# Database connection information
VARDB_server => localhost
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 => 123456

# 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
~
~
~

PostPosted: Sun May 13, 2007 9:58 pm
by gerski
make sure your asterisk is already running to your system...

try typing "asterisk -r"

PostPosted: Mon May 14, 2007 3:01 am
by hakimabouchaib
when i make asterisk -r
i have this
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)

PostPosted: Mon May 14, 2007 5:05 am
by sandro
try first safe_asterisk and then do asterisk -rv

then it works.

Sandro

PostPosted: Mon May 14, 2007 5:33 am
by hakimabouchaib
i have the sama problem
always the message
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_conf_update.pl line 188


PostPosted: Mon May 14, 2007 6:26 am
by mflorell
have you checked your manager.conf file? does it match what's supposed to be in there in the SCRATCH_INSTALL doc?

PostPosted: Mon May 14, 2007 7:15 am
by gerski
try typing "asterisk -vvvvvvvvvvvvgc"
if working.. quit then type "/usr/share/astguiclient/start_asterisk_boot.pl" to run on background... make sure you have this in your startup.. make sure also you follow the scratch install..

PostPosted: Mon May 14, 2007 7:31 am
by hakimabouchaib
mflorell wrote:have you checked your manager.conf file? does it match what's supposed to be in there in the SCRATCH_INSTALL doc?

yes i checked manager.conf file , i maked what is supposed like scratch install!!!!!!!!!

PostPosted: Mon May 14, 2007 7:52 am
by gerski
it seems like your asterisk is not running please check on it.

PostPosted: Mon May 14, 2007 8:21 am
by hakimabouchaib
gerski wrote:try typing "asterisk -vvvvvvvvvvvvgc"
if working.. quit then type "/usr/share/astguiclient/start_asterisk_boot.pl" to run on background... make sure you have this in your startup.. make sure also you follow the scratch install..


asterisk -vvvvvvvvvvvvvvvvvvvgc run correctely !!!
and when i have make
"/usr/share/astguiclient/start_asterisk_boot.pl"

i don't see the message
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_vm_update.pl line 188

PostPosted: Mon May 14, 2007 1:09 pm
by ramindia
Hi

what is the OS ?
what is the kernel version ?

ram

PostPosted: Tue May 15, 2007 2:42 am
by hakimabouchaib
ramindia wrote:Hi

what is the OS ?
what is the kernel version ?

ram

the os is slacware 10.2
kernel is linux-2.6.13