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

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

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

Postby hakimabouchaib » Sun May 13, 2007 3:43 am

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!!!!
hakimabouchaib
 
Posts: 57
Joined: Sun Apr 01, 2007 6:37 am

Postby aster1 » Sun May 13, 2007 8:59 am

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 .
aster1
 
Posts: 281
Joined: Sun Dec 24, 2006 6:48 am
Location: India

Postby hakimabouchaib » Sun May 13, 2007 9:48 am

i do what you are say but always the same problem
hakimabouchaib
 
Posts: 57
Joined: Sun Apr 01, 2007 6:37 am

Postby Op3r » Sun May 13, 2007 10:11 am

post your managers.conf and astguiclient.conf here.
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby hakimabouchaib » Sun May 13, 2007 10:27 am

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

hakimabouchaib
 
Posts: 57
Joined: Sun Apr 01, 2007 6:37 am

Postby hakimabouchaib » Sun May 13, 2007 10:33 am

i can't find astguiclient.conf
hakimabouchaib
 
Posts: 57
Joined: Sun Apr 01, 2007 6:37 am

Postby ramindia » Sun May 13, 2007 10:37 am

Hi

its in /etc/

if not installed , or reinstall age

copy config file from source of agc

ram
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby hakimabouchaib » Sun May 13, 2007 10:51 am

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
~
~
~
hakimabouchaib
 
Posts: 57
Joined: Sun Apr 01, 2007 6:37 am

Postby hakimabouchaib » Sun May 13, 2007 10:52 am

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
~
~
~
hakimabouchaib
 
Posts: 57
Joined: Sun Apr 01, 2007 6:37 am

Postby gerski » Sun May 13, 2007 9:58 pm

make sure your asterisk is already running to your system...

try typing "asterisk -r"
http://www.perfectnetworkcorp.com
Perfect Network Corporation
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby hakimabouchaib » Mon May 14, 2007 3:01 am

when i make asterisk -r
i have this
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
hakimabouchaib
 
Posts: 57
Joined: Sun Apr 01, 2007 6:37 am

Postby sandro » Mon May 14, 2007 5:05 am

try first safe_asterisk and then do asterisk -rv

then it works.

Sandro
sandro
 
Posts: 23
Joined: Sat May 05, 2007 9:10 am
Location: Hyderabad

Postby hakimabouchaib » Mon May 14, 2007 5:33 am

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

hakimabouchaib
 
Posts: 57
Joined: Sun Apr 01, 2007 6:37 am

Postby mflorell » Mon May 14, 2007 6:26 am

have you checked your manager.conf file? does it match what's supposed to be in there in the SCRATCH_INSTALL doc?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Mon May 14, 2007 7:15 am

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..
http://www.perfectnetworkcorp.com
Perfect Network Corporation
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby hakimabouchaib » Mon May 14, 2007 7:31 am

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!!!!!!!!!
hakimabouchaib
 
Posts: 57
Joined: Sun Apr 01, 2007 6:37 am

Postby gerski » Mon May 14, 2007 7:52 am

it seems like your asterisk is not running please check on it.
http://www.perfectnetworkcorp.com
Perfect Network Corporation
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby hakimabouchaib » Mon May 14, 2007 8:21 am

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
hakimabouchaib
 
Posts: 57
Joined: Sun Apr 01, 2007 6:37 am

Postby ramindia » Mon May 14, 2007 1:09 pm

Hi

what is the OS ?
what is the kernel version ?

ram
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby hakimabouchaib » Tue May 15, 2007 2:42 am

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
hakimabouchaib
 
Posts: 57
Joined: Sun Apr 01, 2007 6:37 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 140 guests

cron