Displaying 20 results from an estimated 900 matches similar to: "MySql Server Has gone"
2007 Mar 14
2
login authentication
Hi everyone, i used postfix, dovecot and mysql. I have virtual users and
domains. I have this configuration in dovecot-mysql.conf:
db_host = localhost
db_port = 3306
db_unix_socket = /var/run/mysqld/mysqld.sock
db = postfix
db_user = postfix
db_passwd = bscidth46
db_client_flags = 0
default_pass_scheme = CRYPT
password_query = SELECT password FROM mailbox WHERE username = '%u'
user_query
2006 Aug 02
7
ActiveRecord does not close database connections?
I have an application that creates quite a few threads. I keep getting
the "mysql too many connections" error.
ActiveRecord does not close the connection once a thread had died out.
To make things worse mysql has a wait_timeout variable that would
basically kill off these connections for me, but there is a bug and I
can not change the value of it. I have tried at least 10 different
2008 Jan 16
3
question about mysql authentication
Hi list,
i use dovecot-1.0-1.2.rc15.el5 installed from rpm
centos 5.0
I cant get mysql authetication working: this is my /etc/dove-mysql.conf
######dove-mysql.conf should look like this##########
#db_host = 127.0.0.1
#db_port = 3306
db = postfix
db_user = postfix
db_passwd = secret
db_client_flags = 0
default_pass_scheme = PLAIN
password_query = SELECT password FROM mailbox WHERE username
2006 Apr 27
5
mysql lost connection
Hi,
I''m lost and my mysql connection as well... I got this
error in my production.log:
ActiveRecord::StatementInvalid (Mysql::Error: Lost connection to MySQL
server during query: SET NAMES ''utf8''):
Config:
Debian Sarge (last updated), Rails 1.1.2, Webrick,
mysqld Ver 4.1.11-Debian_4sarge2 for pc-linux-gnu on i386
apache2 with mod_rewrite and webrick as proxy on 8080.
2012 Jan 13
7
MySQL server has gone away
I'm running 2.0.17 and I'm still seeing a decent amount of "MySQL
server has gone away" errors, despite having multiple hosts defined in
my auth userdb 'connect'. This is Debian Lenny 32-bit and I'm seeing
the same thing with 2.0.16 on Debian Squeeze 64-bit.
E.g.:
Jan 12 20:30:33 auth-worker: Error: mysql: Query failed, retrying:
MySQL server has gone away
Our mail
2008 Jul 14
3
Mongrel freeze
Hi,
I have had trouble with mongrel freezing after a period of
inactivity. Following the advice from the mongrel FAQ, I added:
ActiveRecord::Base.verification_timeout = 14400
to my environment.rb file. Unfortunately, that registered a mongrel
error:
"uninitialized constant ActiveRecord (NameError)"
How do I overcome this one? I tried:
require ActiveRecord::Base
but that registered
2006 Nov 16
3
Monrel Woes on Solaris x86
Greetings,
I need some help... please be gentle :-)
MY SETUP:
Solaris-X86, ruby-1.8.4, Apache-2.2.0, Mongrel-0.3.13.4, MySql-4.1.10a
I am using the typical setup with apache proxying request to mongrel
with mod_proxy_balancer. Currently, I am only running a single
instance of mongrel behind the proxy.
I am also using the following gems with this app:
capistrano (1.2.0)
daemons (1.0.2)
2006 May 03
6
ActiveRecord and Lost Connection
This isnt totally a rails question; I am using ActiveRecord for storing
some simple values into a database. My problem; I keep gettign MySQL
Errors. On the Win32 machine it was off and on. Now on the linux
machine (ubuntu) I can'' t connect at all. I have all the password
settings correct.
My only thought, I am working with Threads and thought that might cause
the issue, but I
2019 Oct 28
3
Dovecot and MySQL aborted connections.
Is anyone else using Dovecot (2.3.8) with MySQL (5.7) seeing a lot of
these in MySQL logs?
2019-10-28T11:08:20.384428+02:00 58378 [Note] Aborted connection 58378
to db: 'vmail' user: 'vmail' host: 'localhost' (Got an error reading
communication packets)
2019-10-28T11:10:09.821171+02:00 58420 [Note] Aborted connection 58420
to db: 'vmail' user: 'vmail'
2006 Oct 10
6
"MySQL server has gone away" with Apache 2.2 + Mongrel cluster
Hi
I just setup a server (Apache 2.2, mod_proxy_balancer, mongrel_cluster) with
2 Rails applications according to this excellent Post:
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you
Everythings works great, but after a long inactive period (say one night),
the first 3 connections allways get an Error 500
Excerpt from production.log:
...
2007 Sep 03
11
MySQL has gone away
Hi,
in a production environment we are running into "MySQL server has gone
away" errors (see below) when we call rebuild_index in aaf. This happens
sporadically.
Any suggestions for what might be wrong or workarounds? I guess we try a
reconnect before we call rebuild_index?
Matthew
ActiveRecord::StatementInvalid (Mysql::Error: MySQL server has gone
away: SELECT count(*) AS
2008 Sep 26
2
Preventing Mongrel/Mysql Errno::EPIPE exceptions
I have a rails app serving up XML on an infrequent basis. This is being
run with mongrel and mysql. I''ve found that if the app does not get
exercised for longer than a few hours it goes dead ("Lost Connection to
MySQL") and starts throwing Errno::EPIPE errors. It seems that the mysql
connection gets timed out for inactivity or something like that.
It can be restarted with
2015 Mar 12
3
mysql replication - problems
Hey everybody,
I'm trying to get mysql master/slave replication to work under SSL. I've
created the certs for both the slave and the master. I've configured the
master and slave my.cnf. And it does appear that replication is actually
working.
Master is actually MariaDB (version 5.5.41-MariaDB-log, and the slave is
MySQL (version 5.5.41-log).
But there are two issues I'd like to
2020 Aug 19
7
Indexer error after upgrade to 2.3.11.3
Hi,
after the upgrade to Dovecot 2.3.11.3, from 2.3.10.1, I see frequently
these errors from different users:
Aug 18 11:02:35 Panic: indexer-worker(info at domain.com)
session=<g71KISOttvS5LNVj:O3ahCyuZO18cYAAAEPCW+w>: file
http-client-request.c: line 1232 (http_client_request_send_more):
assertion failed: (req->payload_input != NULL)
Aug 18 11:02:35 Error: indexer-worker(info at
2007 Jul 29
16
Mongrel stops responding after period of inactivity
Hi
I posted this to the Ruby on Rails Talk group but I thought I''d post it here
too as it''s probably a more appropriate group. Hope this is ok.
I''m running a 2-instance Mongrel cluster behind Apache 2.2.4 with Rails
1.2.3. If no requests are received by the application for several hours
(this usually happens overnight) then Mongrel stops
responding and no requests are
2006 Apr 26
2
mysql authentication problems
Hello all..
I'm trying to configure dovecot do athenticate using mysql, but I?m
having some troubles...
After configuring the mysql athentication in dovecot-mysql.conf and in
dovecot.conf, when I try to login I get this mesage in my logs:
Dovecot-auth: MySQL: Can't connect to database dovecot: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2)
2005 Aug 29
1
MySQL user cant log in
Hi,
I configured dovecot IMAP for MySQL authentification.
--- start dovecot.conf ---
auth_userdb = mysql /etc/dovecot/dovecot-mysql.conf
auth_passdb = mysql /etc/dovecot/dovecot-mysql.conf
--- end dovecot.conf ---
--- start dovecot-mysql.conf ---
db_host = localhost
db_port = 3306
db_unix_socket = /var/run/mysqld/mysqld.sock
db = users
db_user = users
db_passwd = xxx
db_client_flags = 0
2004 Jun 18
1
Info: Internal login failure:
I get the following error on auth with mysql on pop3
what am i missing or doing wrong
mysql config file
db_host = localhost
#db_port = 3306
db_unix_socket = /var/lib/mysql/mysql.sock
db = ADMIN
db_user = mailmaster
db_passwd = ********
db_client_flags = 0
default_pass_scheme = PLAIN
password_query = SELECT MAILBOX_PASSWORD AS password FROM MAIL WHERE MAILBOX_USERNAME = '%n' AND
2005 Jun 20
0
MySQL user_query ignored
Hi all,
i installed Dovecot 0.99.14. Everything works fine except that
the mysql setup directive "user_query" seems to be ignored -
however the password_query works.
Instead the default user query in db-mysql.c always takes effect.
Might this be a bug or is something worng wit my setup below?
(To keep on working i changed the default query in db-mysql.c..)
Helmut
2005 Aug 23
1
Thunderbird got "Mail Server does not support secure authentication" ???
System: Redhat AS3
postfix 2.2.5
cyrus-sasl 2.1.15
pam-mysql 0.6
dovecot 0.99.14 ( compile from source tarball)
The same email account and machine, using thunderbird 1.06 to get
email thru dovecot pop3, it returned "Mail Server does not support
secure authentication"
But in outlook express , there is no such problem
I have tested SASL thru pam-mysql is work properly before install