Displaying 20 results from an estimated 300 matches similar to: "Connect failed to database"
2015 Mar 02
2
Connect failed to database
Am 02.03.2015 um 19:30 schrieb Dan LaSota:
>>> Just some quick ideas
>>> * check if the mysql socket file has rw permissions for the dovecot user
>
> # ls -l /var/lib/mysql/mysql.sock
> srwxrwxrwx. 1 mysql mysql 0 Mar 1 19:33 /var/lib/mysql/mysql.sock
that's not the problem
> I have tried with
> connect = host=localhost dbname=servermail
2015 Mar 02
1
Connect failed to database
Am 02.03.2015 um 19:30 schrieb Dan LaSota:
>>>
>>> Just some quick ideas
>>> * check if the mysql socket file has rw permissions for the dovecot user
>
> # ls -l /var/lib/mysql/mysql.sock
> srwxrwxrwx. 1 mysql mysql 0 Mar 1 19:33 /var/lib/mysql/mysql.sock
>>>
>>> * Try to run the mysql query as user dovecot (su dovecot)
>
> The dovecot
2015 Mar 02
4
Connect failed to database
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 2 Mar 2015, Oliver Welter wrote:
> Am 02.03.2015 um 06:03 schrieb Dan LaSota:
>> I have dovecot version 2.2.10
>> dovecot -n output below
>>
>> I am seeing connection errors being written to my dovecot error log:
>> Mar 1 19:51:15 mail dovecot: auth-worker(2224): Error: mysql(localhost):
>> Connect
2015 Mar 02
0
Connect failed to database
>>
>> Just some quick ideas
>> * check if the mysql socket file has rw permissions for the dovecot user
# ls -l /var/lib/mysql/mysql.sock
srwxrwxrwx. 1 mysql mysql 0 Mar 1 19:33 /var/lib/mysql/mysql.sock
>>
>> * Try to run the mysql query as user dovecot (su dovecot)
The dovecot user I set up is a non-interactive user
/sbin/nologin
I studied different setup
2015 Mar 02
0
Connect failed to database
>>
>> still doesn't work:
>> Mar 2 04:58:48 mail dovecot: auth-worker(5745): Error: mysql(127.0.0.1): Connect failed to database (servermail): Access denied for user 'usermail'@'localhost' (using password: YES) - waiting for 1 seconds before retry
>
> that is a pretty clear message
>
> the username / password / host is wrong, fix your mysql
2015 Mar 02
0
Connect failed to database
Am 02.03.2015 um 06:03 schrieb Dan LaSota:
> I have dovecot version 2.2.10
> dovecot -n output below
>
> I am seeing connection errors being written to my dovecot error log:
> Mar 1 19:51:15 mail dovecot: auth-worker(2224): Error: mysql(localhost): Connect failed to database (servermail): Access denied for user 'usermail'@'localhost' (using password: YES) - waiting
2015 Mar 12
3
doveconf -a Segmentation Fault
Getting "Segmentation Fault" When I run doveconf -a
Dan LaSota
Instructional Designer, UAF eLearning
(907) 451-4067
dan.lasota at alaska.edu
http://elearning.uaf.edu
2015 Mar 03
0
problem with dovecot/lmtp
I am getting this in my errorlog for postfix/dovecot
Mar 2 16:42:14 mail postfix/error[5074]: A689580F236: to=<root at mail.example.com>, relay=none, delay=21420, delays=21420/0.05/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mail.example.com[private/dovecot-lmtp]: Connection refused)
From my reading, I believe this has something to do with virtual_transport
2004 Nov 17
1
timeout and connection to remote rsync server
I have two Suns with Solaris 9. I use rsync version 2.6.3.
I copy files from the local machine to a remote rsync server.
At the destination side I run rsync deamon via inetd.
command rsync -av *.tmp backup1::tmp/
works well,
I tried simulate damage of backup1,
but when I disconnected backup1 machine and run command, rsync was still
waiting for connection.
I tried use this command:
rsync -av
2005 Jul 07
1
Problems to leave messages in Asterisk
Hi all!
I'm using Asterisk as a SIP server with 2 ip phones and it
works great, the only think that I can?t make it wotk is:
1. I leave the messages but when I receive them in my mailbox , and
open them I hear only noises
-------voicemail.conf-------
[general]
format=wav49
servermail=asterisk
attach=yes
maxmessage=180
pbxskip=yes
fromstring=The Asterisk PBX
[default]
123 =>
2015 Apr 03
2
Disk space usage with mdbox
Shot in the dark here...haven't tried it myself so no promises. There's
probably a much better way to do this but sometimes a little "brute
force" helps.
Theoretical steps:
1. Stop all mail processes - both SMTP and IMAP.
2. Use "doveadm sync" to backup the user mailbox, e.g.,
doveadm backup -u user mdbox:/tmp/usermail
3. Verify /tmp/usermail looks reasonable
2017 Jun 16
1
Minor patches for builds against ancient platforms
> I've tried changing how I symbolically linked the mailboxes, i.e.,
> creating a sub-directory that is symlinked into the user's mail/
> directory versus symbolically linking the mbox files themselves, etc.
> No dice. Permissions are fine. I've even resorted to changing the
> index locking strategy, to no avail.
I've tested my setup by symlinking both folders and
2003 Nov 03
9
IAX hardphones? anyone?
hi all
anyone that've heard of any working IAX hardphones yet?
roy
2014 Dec 15
2
Failed installation on Ubuntu with Postfix/Dovecot/Squirrelmail
Hello all,
I did an install following a HOWTO document that has a fair number of positive reviews, but something went wrong along the way:
https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassasin
I made a couple deviations. I opted to not use StartSSL keys, and decided to stay with the default keys. Also, I chose to use
2018 Jan 08
2
Get parts from username variable
Hi Guys,
When I have a username like foo-bar-candy can I get/seperate foo, bar
and candy as single variables for my storagepath of the usermail ?
Thanks,
Matt
2015 Apr 05
0
Disk space usage with mdbox
Daniel thank you for the advice, I have done this exact procedure to
clean up some space and I reduced the used space by more than 60% (huge
gain!). Yet it is still a mystery why this happened first place and more
important if it will occur again, time will tell. I have kept one
mailbox out of this procedure (the "live" size is 8,8G, the backup size
is less than 1GB) to do some
2015 Apr 10
2
Disk space usage with mdbox
Why things happen is one of the great mysteries and joys of being a
sysadmin...
As for cleaning up SIS, I believe the "doveadm purge" command takes care
of it. I have a daily cronjob which includes:
#!/bin/sh
# Permanently expunge old Trash
doveadm expunge -A mailbox Trash savedbefore 2w
# Optimize mdbox storage
doveadm purge -A
# Update fts indexes
doveadm fts rescan -A
--
Daniel
2018 Apr 04
2
Saving Drafts with Roundcube marks old Mails in INBOX as unread.
Hello List,
I have a problem with the client Roundcube. Whenever I save a draft to the Folder INBOX.Drafts a old mail in my INBOX will be marked as unread.
Here are the IMAP Logs from Roundcube and Dovecot debug logs. I have no idea why it happens. The IMAP protocol looks normal to me but as you can see in the second to last line in the Dovecot log Dovecot is changing the flag of an old E-Mail
2015 Mar 12
0
doveconf -a Segmentation Fault
On 03/12/2015 02:07 PM, Dan LaSota wrote:
> Getting "Segmentation Fault" When I run doveconf -a
Have a look at http://dovecot.org/bugreport.html and try again.
Regards,
Pascal
--
The trapper recommends today: f007ba11.1507102 at localdomain.org
2005 Jan 11
0
Blank Voice Mail messages
Hello,
I am having a couple of problems. Any help is appreciated.
1. The voice mail messages arrive in the mailboxes but when I play them
back, the IVR tells the time and date of the message but never plays it. It
is as if it skips it.
2. Asterisk never seems to send the voice mail as an attachment!!
Please see below my config files:
Thanks
Walid
--------------------