you have a mail

All installation and configuration problems and questions

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

you have a mail

Postby richardroi » Mon May 21, 2012 7:14 pm

Support,

Need help with this issue.

I'm always having a root mail with this error!

"DBD::mysql::st execute failed: MySQL server has gone away at /usr/share/astguiclient/AST_manager_kill_hung_congested.pl line 193.
executing: SELECT channel FROM live_sip_channels where server_ip = '192.xxx.xxx.xxx' and extension = 'CONGEST' and channel LIKE "Local%" limit 99 MySQL server has gone"

What am i missing?

Please Help!


Thank you.
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm

Re: you have a mail

Postby richardroi » Tue May 22, 2012 1:11 am

I read some solutions, some forum said to adjust the wait_timeout, and make max_connections to 500 (mflorell advice in an old forum). how can i do that? where to start?
Please help.
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm

Re: you have a mail

Postby tarundas » Tue May 22, 2012 7:41 am

I am not sure if 'max_connections' will solve your problame ... but here is how you can check your setting :
login to your server with a ssh client ( ex. Putty)
Code: Select all
#mysql

on mysql prompt check your setting by running the following SQL command
Code: Select all
mysql> show variables like "max_connections";

This will return a resultset like this, showing you what your current max connections setting is, here is mine:
Code: Select all
+--------------------------+---------+
| Variable_name     | Value |
+--------------------------+---------+
| max_connections | 640    |
+--------------------------+---------+
1 row in set (0.00 sec)


type exit to come out from mysql prompt
Some people aren't just missing a SCREW... they're missing the whole damn TOOLBOX!
tarundas
 
Posts: 62
Joined: Wed Nov 25, 2009 3:02 pm
Location: Calcutta

Re: you have a mail

Postby richardroi » Tue May 22, 2012 9:56 am

thanks tarundas! already changed the value. how about the wait_timeout? where can i find it?
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm

Re: you have a mail

Postby richardroi » Tue May 22, 2012 2:29 pm

I noticed this error occurs when i reboot. but everything is fine with the server, outgoing and incoming are ok.
what seems to be causing the issue?
we're still on testing so load is minimal.

Thank you.
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm

Re: you have a mail

Postby richardroi » Wed May 23, 2012 2:20 am

any advice?
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm

Re: you have a mail

Postby DomeDan » Wed May 23, 2012 7:15 am

You can safely ignore those mails if you only got a few after a reboot.

The reason is that then your doing a reboot, all services are shut down
if the mysql service is shut down before vicidial then vicidial-scripts cant connect to mysql of course,
that produces an error and sent in a mail.
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 71 guests