Hi I'm getting Jun 11 13:12:46 "Fatal: Can't open configuration file /home/dovecot/dovecot-pgsql.conf: Permission denied this file have fulle permissions and has belonged to dovecot and root but still no joy what am i missing must be something stupid on this side Thanks for the previos comments about scripting I am swithcing to postgress for the mail env and will look at mysql when they support translation ? Are you ready for Telkom's 10-digit dialling? To find out how this will affect your Internet connection in the not too distant future, go to www.mweb.co.za/ten -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/dovecot/attachments/20040611/2547652d/attachment-0002.html>
On Fri, Jun 11, 2004 at 01:22:43PM +0200, Nico De Beer - MWEB wrote:> Jun 11 13:12:46 "Fatal: Can't open configuration file > /home/dovecot/dovecot-pgsql.conf: Permission denied > this file have fulle permissions and has belonged to dovecot and root > but still no joyWhat about the directory /home/dovecot ?
Let me give a bit more infor Originaly i had it in /usr/local/etc and moved it to home/dovcot so i can give fulle access in a pah where there is not other info residing So i'm thinking it is something i specified in my config file or a mistake i did during compiling -----Original Message----- From: Brian Candler [mailto:B.Candler at pobox.com] Sent: 11 June 2004 01:36 To: Nico De Beer - MWEB Cc: dovecot at dovecot.org Subject: Re: [Dovecot] Can't open configuration file On Fri, Jun 11, 2004 at 01:22:43PM +0200, Nico De Beer - MWEB wrote:> Jun 11 13:12:46 "Fatal: Can't open configuration file > /home/dovecot/dovecot-pgsql.conf: Permission denied > this file have fulle permissions and has belonged to dovecot and root > but still no joyWhat about the directory /home/dovecot ? ? Are you ready for Telkom's 10-digit dialling? To find out how this will affect your Internet connection in the not too distant future, go to www.mweb.co.za/ten
drwxr-xr-x 24 root root 4096 Jun 11 14:29 / drwxr-xr-x 6 root root 4096 Jun 11 12:47 /home drwxr-xr-x 2 dovecot dovecot 4096 Jun 11 13:08 /home/dovecot -rwxrwxrwx 1 dovecot dovecot 2656 Jun 11 13:08 /home/dovecot/dovecot-pgsql.conf this what you wanted -----Original Message----- From: Brian Candler [mailto:B.Candler at pobox.com] Sent: 11 June 2004 02:34 To: Nico De Beer - MWEB Cc: dovecot at dovecot.org Subject: Re: [Dovecot] Can't open configuration file On Fri, Jun 11, 2004 at 02:21:45PM +0200, Nico De Beer - MWEB wrote:> Let me give a bit more infor > > Originaly i had it in /usr/local/etc > and moved it to home/dovcot so i can give fulle access in a pah where there is not other info residing > > So i'm thinking it is something i specified in my config file > or a mistake i did during compilingOK, to avoid ambiguity, can you show the output of: # ls -ld / /home /home/dovecot /home/dovecot/dovecot-pgsql.conf Then check you get the same log error as before. Brian. ? Are you ready for Telkom's 10-digit dialling? To find out how this will affect your Internet connection in the not too distant future, go to www.mweb.co.za/ten
here is the full error output as in my log file dovecot-auth: "Jun 11 14:48:42 "Fatal: Can't open configuration file /home/dovecot/dovecot-pgsql.conf: Permission denied dovecot: "Jun 11 14:48:42 "Error: Auth process died too early - shutting down dovecot: "Jun 11 14:48:42 "Error: child 9341 (auth) returned error 89 imap-login: "Jun 11 14:48:42 "Fatal: fd_send(-1) failed: Broken pipe pop3-login: "Jun 11 14:48:42 "Fatal: fd_send(-1) failed: Broken pipe -----Original Message----- From: Brian Candler [mailto:B.Candler at pobox.com] Sent: 11 June 2004 02:34 To: Nico De Beer - MWEB Cc: dovecot at dovecot.org Subject: Re: [Dovecot] Can't open configuration file On Fri, Jun 11, 2004 at 02:21:45PM +0200, Nico De Beer - MWEB wrote:> Let me give a bit more infor > > Originaly i had it in /usr/local/etc > and moved it to home/dovcot so i can give fulle access in a pah where there is not other info residing > > So i'm thinking it is something i specified in my config file > or a mistake i did during compilingOK, to avoid ambiguity, can you show the output of: # ls -ld / /home /home/dovecot /home/dovecot/dovecot-pgsql.conf Then check you get the same log error as before. Brian. ? Are you ready for Telkom's 10-digit dialling? To find out how this will affect your Internet connection in the not too distant future, go to www.mweb.co.za/ten
the error originates in the source C file setting.c as
fd = open(path, O_RDONLY);
- if (fd < 0)
- i_fatal("Can't open configuration file %s: %m", path);
+ if (fd < 0) {
+ i_error("Can't open configuration file %s: %m", path);
+ return FALSE;
+ }
so it is posible that i don't have a lib or header file that is required
I did not get any errors on install
doning a tar.gz install on Fedora core2 minimal install
-----Original Message-----
From: Nico De Beer - MWEB [mailto:NDeBeer at mweb.com]
Sent: 11 June 2004 02:40
To: Brian Candler
Cc: dovecot at dovecot.org
Subject: RE: [Dovecot] Can't open configuration file
drwxr-xr-x 24 root root 4096 Jun 11 14:29 /
drwxr-xr-x 6 root root 4096 Jun 11 12:47 /home
drwxr-xr-x 2 dovecot dovecot 4096 Jun 11 13:08 /home/dovecot
-rwxrwxrwx 1 dovecot dovecot 2656 Jun 11 13:08
/home/dovecot/dovecot-pgsql.conf
this what you wanted
-----Original Message-----
From: Brian Candler [mailto:B.Candler at pobox.com]
Sent: 11 June 2004 02:34
To: Nico De Beer - MWEB
Cc: dovecot at dovecot.org
Subject: Re: [Dovecot] Can't open configuration file
On Fri, Jun 11, 2004 at 02:21:45PM +0200, Nico De Beer - MWEB
wrote:> Let me give a bit more infor
>
> Originaly i had it in /usr/local/etc
> and moved it to home/dovcot so i can give fulle access in a pah where there
is not other info residing
>
> So i'm thinking it is something i specified in my config file
> or a mistake i did during compiling
OK, to avoid ambiguity, can you show the output of:
# ls -ld / /home /home/dovecot /home/dovecot/dovecot-pgsql.conf
Then check you get the same log error as before.
Brian.
?
Are you ready for Telkom's 10-digit dialling? To find out how this will
affect your Internet connection in the not too distant future, go to
www.mweb.co.za/ten
cat works i see when building an rpm from tar.gz it req gettextopenssl-devel and pam-devel i did not compile with these during atr gz but can't see that it makes a diffrence so i'll try via rpm once the packages is installed -----Original Message----- From: Brian Candler [mailto:B.Candler at pobox.com] Sent: 11 June 2004 03:23 To: Nico De Beer - MWEB Cc: dovecot at dovecot.org Subject: Re: [Dovecot] Can't open configuration file On Fri, Jun 11, 2004 at 02:40:14PM +0200, Nico De Beer - MWEB wrote:> drwxr-xr-x 24 root root 4096 Jun 11 14:29 / > drwxr-xr-x 6 root root 4096 Jun 11 12:47 /home > drwxr-xr-x 2 dovecot dovecot 4096 Jun 11 13:08 /home/dovecot > -rwxrwxrwx 1 dovecot dovecot 2656 Jun 11 13:08 /home/dovecot/dovecot-pgsql.conf > > this what you wantedYep. I am stumped as to why open(path, O_RDONLY) fails on that with EACCES, as it appears to be doing. 'cat /home/dovecot/dovecot-pgsql.conf' works, I presume? Brian. ? Are you ready for Telkom's 10-digit dialling? To find out how this will affect your Internet connection in the not too distant future, go to www.mweb.co.za/ten
builind the rpm worked great still don't know what it was though ***************8 -----Original Message----- From: Brian Candler [mailto:B.Candler at pobox.com] Sent: 11 June 2004 03:23 To: Nico De Beer - MWEB Cc: dovecot at dovecot.org Subject: Re: [Dovecot] Can't open configuration file On Fri, Jun 11, 2004 at 02:40:14PM +0200, Nico De Beer - MWEB wrote:> drwxr-xr-x 24 root root 4096 Jun 11 14:29 / > drwxr-xr-x 6 root root 4096 Jun 11 12:47 /home > drwxr-xr-x 2 dovecot dovecot 4096 Jun 11 13:08 /home/dovecot > -rwxrwxrwx 1 dovecot dovecot 2656 Jun 11 13:08 /home/dovecot/dovecot-pgsql.conf > > this what you wantedYep. I am stumped as to why open(path, O_RDONLY) fails on that with EACCES, as it appears to be doing. 'cat /home/dovecot/dovecot-pgsql.conf' works, I presume? Brian. ? Are you ready for Telkom's 10-digit dialling? To find out how this will affect your Internet connection in the not too distant future, go to www.mweb.co.za/ten