Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
carpenox wrote:OK lets start with a little more info. What have you tried already?
rm /etc/localtime
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
rdate -s nist1-ny.ustiming.org
carpenox wrote:Ok so yea, your listen and send aren't running. Your manager.conf file probably corrupt.
salartelcast wrote:Your linux time will not be set I guess,
Run this code on terminal
- Code: Select all
rm /etc/localtime
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
rdate -s nist1-ny.ustiming.org
Set time zone according to your php.ini and my.cnf
carpenox wrote:your manager.conf file looks fine. the time settings can be found at /etc/php7/apache/php.ini i believe and /etc/my.cnf
but the timezone has nothing to do with the your send and listen sockets not running. What happens when you run /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debug
darkdemin wrote:Hi Guys,
Appreciate your responses! Here is my screen -ls output:
vicidial:~ # screen -ls
There are screens on:
153359.ASTVDauto (Detached)
120948.ASTVDadapt (Detached)
58986.ASTemail (Detached)
2253.ASTVDadFILL (Detached)
2250.ASTfastlog (Detached)
5 Sockets in /var/run/screens/S-root.
vicidial:~ #
carpenox wrote:Ok so yea, your listen and send aren't running. Your manager.conf file probably corrupt.
perl /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debugX
VARDB_pass=`awk '/VARDB_pass/{print $NF}' /etc/astguiclient.conf`; mysql asterisk -ucron -p$VARDB_pass -e "show table status where comment like '%crashed%'"
mugogo wrote:pls send here the output of this debug
perl /usr/share/astguiclient/AST_manager_listenBUFFER.pl --debugX
williamconley wrote:1) Welcome to the Party!
2) As you are obviously new here, I have some suggestions to help us all help you:
When you post, please post your entire configuration including (but not limited to) your installation method (7.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).
This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)
You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.
If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.
Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600
3) And now to our issue ASSUMING: Single Server Vicibox X.X.X installed system with no special hardware ...darkdemin wrote:Hi Guys,
Appreciate your responses! Here is my screen -ls output:
vicidial:~ # screen -ls
There are screens on:
153359.ASTVDauto (Detached)
120948.ASTVDadapt (Detached)
58986.ASTemail (Detached)
2253.ASTVDadFILL (Detached)
2250.ASTfastlog (Detached)
5 Sockets in /var/run/screens/S-root.
vicidial:~ #carpenox wrote:Ok so yea, your listen and send aren't running. Your manager.conf file probably corrupt.
Really? lol
There is no asterisk screen. Finding out why there is no asterisk screen seems like a much more likely method rather than guessing about a "corrupt" file (IMHO)
Where'd you get that? You have a lot of corrupt manager.conf files with your clients? That's ... odd.
Asterisk crashing is fairly common, ... but ordinarily, if Asterisk itself crashes, the screen keeps running. So something is truly odd about this fail.
Let's try this: Set the server (under admin->servers) to "Auto-Restart Asterisk = Y" if it is not already. Also verify "Active Asterisk Server = Y" and "Active = Y".
Also verify /etc/astguiclient.conf value for "VARactive_keepalives => 123456789E" and the VARserver_ip is correct (should be the IP of this server), and the VARDB_server is "localhost"
Then run
- Code: Select all
perl /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debugX
And then check "screen -ls" again and see if the asterisk screen is at least present.
Has this server ever run correctly? Is it a fresh "first" install or a machine that was running for a few weeks and suddenly failed?
Is the HD full!?! (df -h) Are there corrupt tables from a power outage?
- Code: Select all
VARDB_pass=`awk '/VARDB_pass/{print $NF}' /etc/astguiclient.conf`; mysql asterisk -ucron -p$VARDB_pass -e "show table status where comment like '%crashed%'"
ed123 wrote:what is the result if you execute this command?
lsmod | grep dahdi
/usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgcT
darkdemin wrote:williamconley wrote:
Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600
3) And now to our issue ASSUMING: Single Server Vicibox X.X.X installed system with no special hardware ...darkdemin wrote:Hi Guys,
Appreciate your responses! Here is my screen -ls output:
vicidial:~ # screen -ls
There are screens on:
153359.ASTVDauto (Detached)
120948.ASTVDadapt (Detached)
58986.ASTemail (Detached)
2253.ASTVDadFILL (Detached)
2250.ASTfastlog (Detached)
5 Sockets in /var/run/screens/S-root.
vicidial:~ #carpenox wrote:Ok so yea, your listen and send aren't running. Your manager.conf file probably corrupt.
Really? lol
There is no asterisk screen. Finding out why there is no asterisk screen seems like a much more likely method rather than guessing about a "corrupt" file (IMHO)
Where'd you get that? You have a lot of corrupt manager.conf files with your clients? That's ... odd.
Asterisk crashing is fairly common, ... but ordinarily, if Asterisk itself crashes, the screen keeps running. So something is truly odd about this fail.
Let's try this: Set the server (under admin->servers) to "Auto-Restart Asterisk = Y" if it is not already. Also verify "Active Asterisk Server = Y" and "Active = Y".
Also verify /etc/astguiclient.conf value for "VARactive_keepalives => 123456789E" and the VARserver_ip is correct (should be the IP of this server), and the VARDB_server is "localhost"
Then run
- Code: Select all
perl /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debugX
And then check "screen -ls" again and see if the asterisk screen is at least present.
Has this server ever run correctly? Is it a fresh "first" install or a machine that was running for a few weeks and suddenly failed?
Is the HD full!?! (df -h) Are there corrupt tables from a power outage?
- Code: Select all
VARDB_pass=`awk '/VARDB_pass/{print $NF}' /etc/astguiclient.conf`; mysql asterisk -ucron -p$VARDB_pass -e "show table status where comment like '%crashed%'"
Thanks for the reminder friend. Anyways, here is the output of the screen -ls after I set "Auto-Restart Asterisk = Y"
vicidialer:~ # screen -ls
There are screens on:
2219.ASTfastlog (Detached)
2217.ASTVDremote (Detached)
2215.ASTVDauto (Detached)
2213.ASTlisten (Detached)
2211.ASTsend (Detached)
2209.ASTupdate (Detached)
6 Sockets in /var/run/screens/S-root.
vicidialer:~ # screen -ls
There is a screen on:
2219.ASTfastlog (Detached)
1 Socket in /var/run/screens/S-root.
vicidialer:~ #
Apparently, ASTlisten, ASTsend and ASTupdate was lost in screen -ls command after 3-5 seconds. Please help
Hi, below is the output:
vicidialer:~ # perl /usr/share/astguiclient/AST_manager_listenBUFFER.pl --debugX
----- DEBUGGING ENABLED -----
----- SUPER-DUPER DEBUGGING -----
pattern match timed-out at /usr/share/astguiclient/AST_manager_listenBUFFER.pl line 236
vicidialer:~ #
perl /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debugX
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
timestampevents = yes
[cron]
secret = 1234
read = system,call,log,verbose,command,agent,user,originate
write = system,call,log,verbose,command,agent,user,originate
[updatecron]
secret = 1234
read = command,reporting
write = command,reporting
eventfilter=Event: CoreShowChannel
[listencron]
secret = 1234
read = system,call,log,verbose,command,agent,user,dtmf
write = command
eventfilter=Event: Shutdown
eventfilter=Event: DTMFBegin
eventfilter=Event: DTMFEnd
eventfilter=Event: NewCallerid
eventfilter=Event: Newstate
eventfilter=Event: Hangup
eventfilter=!Event: HangupRequest
[sendcron]
secret = 1234
read = command
write = system,call,log,verbose,command,agent,user,originate
[sipcron]
secret = 1234
read = call
write = command
eventfilter=Event: SIPInvite
eventfilter=Event: SIPResponse
mugogo wrote:darkdemin wrote:williamconley wrote:
Thanks for the reminder friend. Anyways, here is the output of the screen -ls after I set "Auto-Restart Asterisk = Y"
vicidialer:~ # screen -ls
There are screens on:
2219.ASTfastlog (Detached)
2217.ASTVDremote (Detached)
2215.ASTVDauto (Detached)
2213.ASTlisten (Detached)
2211.ASTsend (Detached)
2209.ASTupdate (Detached)
6 Sockets in /var/run/screens/S-root.
vicidialer:~ # screen -ls
There is a screen on:
2219.ASTfastlog (Detached)
1 Socket in /var/run/screens/S-root.
vicidialer:~ #
Apparently, ASTlisten, ASTsend and ASTupdate was lost in screen -ls command after 3-5 seconds. Please help
I also agree on a Full reinstall of the server advise given by William but the ASTlisten, ASTsend and ASTupdate, i had the same issue and this sorted me out https://itgala.xyz/vicidial-there-is-a-time-synchronization-problem-with-your-system-please-tell-your-system-administrator/ .
This might be the same reason i believe you are getting pattern match timed-out at line 236 onHi, below is the output:
vicidialer:~ # perl /usr/share/astguiclient/AST_manager_listenBUFFER.pl --debugX
----- DEBUGGING ENABLED -----
----- SUPER-DUPER DEBUGGING -----
pattern match timed-out at /usr/share/astguiclient/AST_manager_listenBUFFER.pl line 236
vicidialer:~ #
If above works pls runan post the output of screen -ls
- Code: Select all
perl /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debugX
carpenox wrote:What exactly did you do to fix it in case others have the same problem? Can you list the steps you took
Users browsing this forum: Bing [Bot] and 78 guests