Date: Mon, 16 Jun 2008 14:08:40 +0300 From: Manolis Kiagias <sonic2000gr@gmail.com> To: Nicolas Letellier <nicolas@nicoelro.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: problem with dovecot and mysql at boot Message-ID: <485649B8.6040501@gmail.com> In-Reply-To: <20080616123634.2c5be529.nicolas@nicoelro.net> References: <20080616123634.2c5be529.nicolas@nicoelro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Nicolas Letellier wrote: > Hello. > > In my rc.conf, I have: > dovecot_enable="YES" > mysql_enable="YES" > > At boot, I have this error: > Jun 16 12:34:16 trinite dovecot: auth-worker(default): mysql: Connect failed to localhost (panel): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) - waiting for 1 seconds before retry > > I think it's because mysql is started after dovecot. How resolve this, and specify to launch dovecot after mysql is running? > > Best regards, > > Are you sure this is what's happening? I have mysql and dovecot, and dovecot starts after mysql in my system. Try something like rcorder /etc/rc.d/* /usr/local/etc/rc.d/* or dmesg -a |more to see the startup order. Do you actually have to start it by hand after boot, or does it really start on the retry?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?485649B8.6040501>