pop up window on command prompt

All installation and configuration problems and questions

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

pop up window on command prompt

Postby gerski » Tue Aug 08, 2006 12:17 pm

New mail for root@dialer has arrived:
----
From: root@dialer.mshome.net
Subject: cron: /home/cron/AST_vm_update.pl
problem connecting to "localhost", port 5038: Connection refused at /home/cron/AST_vm_update.pl line 144

hello sir,

please help me on this. it keeps on popping up on the command prompt. how do i disable it? and also im having problem on this.

i already check the /home/cron/astguiclient/AST_SERVER_conf.pl
$server_ip = '10.10.10.15'; - i have changed it to my ip
$DB_server = 'localhost';
$DB_database = 'asterisk';
$DB_user = 'cron';
$DB_pass = '1234';

and also i did follow this=SUBPHASE 6.5: setting up astguiclient scripts for continuous running

all are correct and running. what do you think is the problem?
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby gerski » Tue Aug 08, 2006 12:29 pm

i think it has something to do with my localhost, it always read 127.0.0.1 but i already changed all the ip that need to be changed to my ip address.. is there something i missed?
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Tue Aug 08, 2006 3:27 pm

It is an issue with your configs. To just turn it off simply remove the entry from your crontab "/home/cron/AST_vm_update.pl"
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Wed Aug 09, 2006 7:56 am

still has an error

From: root@dialer.mshome.net
Subject: cron: /home/cron/AST_conf_update.pl
problem connecting to "localhost", port 5038: Connection refused at /home/cron/AST_conf_update.pl line 144


i think all the command i input in contrab -e seems finding localhost.. what do you think is the problem on this? how can i fix my localhost? is there something to do with DB_pass?
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby gerski » Wed Aug 09, 2006 8:17 am

here is the error i've seen

From root@dialer.mshome.net Tue Aug 8 23:32:06 2006
Return-Path: <root@dialer.mshome.net>
Received: from dialer.mshome.net (localhost [127.0.0.1])
by dialer.mshome.net (8.13.4/8.13.4) with ESMTP id k78FW65I022236
for <root@dialer.mshome.net>; Tue, 8 Aug 2006 23:32:06 +0800
Received: (from root@localhost)
by dialer.mshome.net (8.13.4/8.13.4/Submit) id k78FW6Bh022232;
Tue, 8 Aug 2006 23:32:06 +0800
Date: Tue, 8 Aug 2006 23:32:06 +0800
From: root@dialer.mshome.net
Message-Id: <200608081532.k78FW6Bh022232@dialer.mshome.net>
To: root@dialer.mshome.net
Subject: cron: /home/cron/AST_vm_update.pl

i have my localhost ip but it seems like it doesn't read my ipaddress..

tjhanks
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Wed Aug 09, 2006 8:48 am

Please post your AST_SERVER_conf.pl file

Please post contents of your servers table

Please post results of "ifconfig"
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Wed Aug 09, 2006 9:05 am

w8 before i post.. i have doublce check my system:

i edited my AST_SERVER_conf.pl on /home/cron and changed my ip address

and when i check my /home/cron/astguiclient/AST_SERVER_conf.pl i have changed it just now.. do you think it is a problem thats whty it keep on showing an error
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby gerski » Wed Aug 09, 2006 9:15 am

still has an error :o

AST_SERVER_conf.pl on both /home/cron/AST_SERVER_conf.pl and /home/cron/astguiclient/AST_SERVER_conf.pl
# Customized Variables
$server_ip = 'XXX.XX.XX.XX'; <- my server ip # Asterisk server IP
$DB_server = 'localhost'; # MySQL server IP
$DB_database = 'asterisk'; # MySQL database name
$DB_user = 'cron'; # MySQL user
$DB_pass = '1234'; # MySQL pass
$DB_port = '3306'; # MySQL connection port

$LOGfile = '/home/cron/LOG_AST_update.log';
$telnetlog = '/home/cron/telnetlog.log';
$MSLOGfile = '/home/cron/MSLOG_AST_update.log';
$MStelnetlog = '/home/cron/MStelnetlog.log';
$LILOGfile = '/home/cron/LILOG_AST_update.log';
$LItelnetlog = '/home/cron/LItelnetlog.log';
$KHLOGfile = '/home/cron/KHLOG_AST_update.log';
$VDADLOGfile = '/home/cron/VDLOG_AST_update.log';

return 1;


on ifconfig


root@dialer:/home/cron# ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:03:2E:89:27
inet addr:XXX.XX.XX.XX Bcast:XX.XX.XX.XX Mask:255.255.255.XX
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:988 errors:0 dropped:0 overruns:1 frame:0
TX packets:659 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:84575 (82.5 Kb) TX bytes:76002 (74.2 Kb)
Interrupt:16 Base address:0x4c00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6841 errors:0 dropped:0 overruns:0 frame:0
TX packets:6841 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:771611 (753.5 Kb) TX bytes:771611 (753.5 Kb)
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Wed Aug 09, 2006 9:34 am

server IP means server "IP" not name, you need to use your inet addr:XXX.XX.XX.XX for this field.

Also, you did not post the values in yoru servers table.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Wed Aug 09, 2006 9:19 pm

yup.

how can i post my values in my servers table?
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby mflorell » Wed Aug 09, 2006 10:36 pm

mysql

use asterisk;

select * from servers;

quit
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Thu Aug 10, 2006 9:11 am

it works now.. =)

in /etc/rc.d/rc.local when i input all the commands needded to startup asterisk, at first i configured everything before zaptel. when the upper command has an error all the command after that will not execute. =) that's why my asterisk did not start.
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

hi

Postby jslyg » Mon Aug 21, 2006 9:43 pm

It is an issue with your configs. To just turn it off simply remove the entry from your crontab "/home/cron/AST_vm_update.pl"


HOW TO DO IT? how to find crontab??? turn off "AST_VM_UPDATE.PL",dont affect VICIDIAL?

thanks
jslyg
 
Posts: 41
Joined: Wed Aug 16, 2006 5:51 am

problem connecting to "localhost", port 5038: Conn

Postby omer » Fri Sep 01, 2006 3:13 pm

Install perl module Net::MySQL you have missed this

cpan> install Net::MySQL

Omer

gerski wrote:still has an error

From: root@dialer.mshome.net
Subject: cron: /home/cron/AST_conf_update.pl
problem connecting to "localhost", port 5038: Connection refused at /home/cron/AST_conf_update.pl line 144


i think all the command i input in contrab -e seems finding localhost.. what do you think is the problem on this? how can i fix my localhost? is there something to do with DB_pass?
omer
 
Posts: 1
Joined: Fri Sep 01, 2006 3:11 pm


Return to Support

Who is online

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