[Dovecot] Error reading configuration file
Good day,
I seem to be having an issue using dovecot 1.0 rc15. I compiled the source with the following configure command:
CPPFLAGS="-I/usr/local/include/mysql" LDFLAGS="-L/usr/local/lib/mysql" -lmysqlclient" ./configure -with-mysql -with-sql-drivers=mysql
Did make and make install and set the dovecot-example.conf to dovecot.conf and tried running the program and got the following error:
Error: Error in configuration file on line 50: expecting '='
Line 50 of the default config is a comment, which struck me as odd. So, I uninstalled and tried building with no options. I did a make uninstall, removed the /usr/local/lib/dovecot directory did make and make install and tried the program. This time it didn't crash about the config file, but the mail.err log notes that the child processes died on an error 89, apparently unable to figure our what pam was.
I'm wondering why the thing seems to work if I do not build for mysql but if I want mysql, it breaks in the manner it does? Is it a bug, or am I doing it wrong (which is a real possibility). Any help soon would be appreciated, as my boss keeps asking 'So, when is that mail server going to be done?'. :)
Justin Pearce
Information Technology/Programming
Price Video Productions
JustinP@PriceVideo.com
361-572-3810
800-733-3810
Fax: 361-572-3894
www.PriceVideo.com
<quote who="Justin Pearce"> > Good day, > > > > I seem to be having an issue using dovecot 1.0 rc15. I compiled the > source with the following configure command: > > CPPFLAGS="-I/usr/local/include/mysql" LDFLAGS="-L/usr/local/lib/mysql" > -lmysqlclient" ./configure -with-mysql -with-sql-drivers=mysql > > > > Did make and make install and set the dovecot-example.conf to > dovecot.conf and tried running the program and got the following error: > > Error: Error in configuration file on line 50: expecting '=' > > > > Line 50 of the default config is a comment, which struck me as odd. So, > I uninstalled and tried building with no options. I did a make > uninstall, removed the /usr/local/lib/dovecot directory did make and > make install and tried the program. This time it didn't crash about the > config file, but the mail.err log notes that the child processes died on > an error 89, apparently unable to figure our what pam was. > > > > I'm wondering why the thing seems to work if I do not build for mysql > but if I want mysql, it breaks in the manner it does? Is it a bug, or am > I doing it wrong (which is a real possibility). Any help soon would be > appreciated, as my boss keeps asking 'So, when is that mail server going > to be done?'. :) > > >
Hi Justin,
Are RPMs an option?
-- Kind Regards,
Gavin Henry. Managing Director.
T +44 (0) 1224 279484 M +44 (0) 7930 323266 F +44 (0) 1224 824887 E ghenry@suretecsystems.com
Open Source. Open Solutions(tm).
Justin Pearce wrote:
Good day,
I seem to be having an issue using dovecot 1.0 rc15. I compiled the source with the following configure command:
CPPFLAGS=”-I/usr/local/include/mysql” LDFLAGS=”-L/usr/local/lib/mysql” –lmysqlclient” ./configure –with-mysql –with-sql-drivers=mysql
Did make and make install and set the dovecot-example.conf to dovecot.conf and tried running the program and got the following error:
Error: Error in configuration file on line 50: expecting ‘=’
Line 50 of the default config is a comment, which struck me as odd. So, I uninstalled and tried building with no options. I did a make uninstall, removed the /usr/local/lib/dovecot directory did make and make install and tried the program. This time it didn’t crash about the config file, but the mail.err log notes that the child processes died on an error 89, apparently unable to figure our what pam was.
Paste your lines 45~55 here.
I’m wondering why the thing seems to work if I do not build for mysql but if I want mysql, it breaks in the manner it does? Is it a bug, or am I doing it wrong (which is a real possibility). Any help soon would be appreciated, as my boss keeps asking ‘So, when is that mail server going to be done?’. :)
Justin Pearce
Information Technology/Programming
Price Video Productions
JustinP@PriceVideo.com mailto:JustinP@PriceVideo.com
361-572-3810
800-733-3810
Fax: 361-572-3894
www.PriceVideo.com
-- NASA: La navetta spaziale Atlantis ha riportato a casa Shannon Lucid, l'astronauta americana che ha battuto il record di permanenza di una donna nello spazio. Il record precedente di resistenza in assenza di peso era di Kate Moss. -- Panfilo Maria Lippi (Daniele Luttazzi), "TABLOID"
-----Original Message----- From: Tolga [mailto:kartagis@kunduz.org] Sent: Wednesday, December 27, 2006 2:36 PM To: Justin Pearce Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Error reading configuration file
Justin Pearce wrote:
Good day,
I seem to be having an issue using dovecot 1.0 rc15. I compiled the source with the following configure command:
CPPFLAGS="-I/usr/local/include/mysql"
LDFLAGS="-L/usr/local/lib/mysql"
-lmysqlclient" ./configure -with-mysql -with-sql-drivers=mysql
Did make and make install and set the dovecot-example.conf to dovecot.conf and tried running the program and got the following error:
Error: Error in configuration file on line 50: expecting '='
Line 50 of the default config is a comment, which struck me as odd. So, I uninstalled and tried building with no options. I did a make uninstall, removed the /usr/local/lib/dovecot directory did make and make install and tried the program. This time it didn't crash about the config file, but the mail.err log notes that the child processes died on an error 89, apparently unable to figure our what pam was.
Paste your lines 45~55 here. (Line number included because of formatting issues in Outlook :\)
45 #disable_plaintext_auth = yes 46 47 # Should all IMAP and POP3 processes be killed when Dovecot master process 48 # shuts down. Setting this to "no" means that Dovecot can be upgraded without 49 # forcing existing client connections to close (although that could also be 50 # a problem if the upgrade is eg. because of a security fix). This however 51 # means that after master process has died, the client processes can't write 52 # to log files anymore. 53 #shutdown_clients = yes 54 55 ##
I'm wondering why the thing seems to work if I do not build for mysql but if I want mysql, it breaks in the manner it does? Is it a bug, or am I doing it wrong (which is a real possibility). Any help soon
would
be appreciated, as my boss keeps asking 'So, when is that mail server going to be done?'. :)
Justin Pearce
Information Technology/Programming Price Video Productions JustinP@PriceVideo.com mailto:JustinP@PriceVideo.com 361-572-3810 800-733-3810 Fax: 361-572-3894 www.PriceVideo.com
Justin Pearce wrote:
-----Original Message----- From: Tolga [mailto:kartagis@kunduz.org] Sent: Wednesday, December 27, 2006 2:36 PM To: Justin Pearce Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Error reading configuration file
Justin Pearce wrote:
Good day,
I seem to be having an issue using dovecot 1.0 rc15. I compiled the source with the following configure command:
CPPFLAGS="-I/usr/local/include/mysql"
LDFLAGS="-L/usr/local/lib/mysql"
-lmysqlclient" ./configure -with-mysql -with-sql-drivers=mysql
Did make and make install and set the dovecot-example.conf to dovecot.conf and tried running the program and got the following
error:
Error: Error in configuration file on line 50: expecting '='
Line 50 of the default config is a comment, which struck me as odd. So, I uninstalled and tried building with no options. I did a make uninstall, removed the /usr/local/lib/dovecot directory did make and make install and tried the program. This time it didn't crash about the config file, but the mail.err log notes that the child processes died on an error 89, apparently unable to figure our what pam was.
Paste your lines 45~55 here.
(Line number included because of formatting issues in Outlook :\)
45 #disable_plaintext_auth = yes 46 47 # Should all IMAP and POP3 processes be killed when Dovecot master process 48 # shuts down. Setting this to "no" means that Dovecot can be upgraded without 49 # forcing existing client connections to close (although that could also be 50 # a problem if the upgrade is eg. because of a security fix). This however 51 # means that after master process has died, the client processes can't write 52 # to log files anymore. 53 #shutdown_clients = yes 54 55 ##
Better, paste all your configuration file. This seems okay, but a previous line may be causing the error.
I'm wondering why the thing seems to work if I do not build for mysql but if I want mysql, it breaks in the manner it does? Is it a bug, or am I doing it wrong (which is a real possibility). Any help soon
would
be appreciated, as my boss keeps asking 'So, when is that mail server going to be done?'. :)
Justin Pearce
Information Technology/Programming Price Video Productions JustinP@PriceVideo.com mailto:JustinP@PriceVideo.com 361-572-3810 800-733-3810 Fax: 361-572-3894 www.PriceVideo.com
-----Original Message----- From: Kartagis [mailto:kartagis@kunduz.org] Sent: Thursday, December 28, 2006 2:49 AM To: Justin Pearce Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Error reading configuration file
Justin Pearce wrote:
-----Original Message----- From: Tolga [mailto:kartagis@kunduz.org] Sent: Wednesday, December 27, 2006 2:36 PM To: Justin Pearce Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Error reading configuration file
Justin Pearce wrote:
Good day,
I seem to be having an issue using dovecot 1.0 rc15. I compiled the source with the following configure command:
CPPFLAGS="-I/usr/local/include/mysql"
LDFLAGS="-L/usr/local/lib/mysql"
-lmysqlclient" ./configure -with-mysql -with-sql-drivers=mysql
Did make and make install and set the dovecot-example.conf to dovecot.conf and tried running the program and got the following
error:
Error: Error in configuration file on line 50: expecting '='
Line 50 of the default config is a comment, which struck me as odd. So, I uninstalled and tried building with no options. I did a make uninstall, removed the /usr/local/lib/dovecot directory did make and make install and tried the program. This time it didn't crash about the config file, but the mail.err log notes that the child processes died on an error 89, apparently unable to figure our what pam was.
Paste your lines 45~55 here.
(Line number included because of formatting issues in Outlook :\)
45 #disable_plaintext_auth = yes 46 47 # Should all IMAP and POP3 processes be killed when Dovecot master process 48 # shuts down. Setting this to "no" means that Dovecot can be upgraded without 49 # forcing existing client connections to close (although that could also be 50 # a problem if the upgrade is eg. because of a security fix). This however 51 # means that after master process has died, the client processes can't write 52 # to log files anymore. 53 #shutdown_clients = yes 54 55 ##
Better, paste all your configuration file. This seems okay, but a previous line may be causing the error.
The configuration is the default configuration that comes after compiling dovecot. I have not even changed anything in said config, which is why I thought this error seemed rather odd.
I'm wondering why the thing seems to work if I do not build for
mysql
but if I want mysql, it breaks in the manner it does? Is it a bug, or am I doing it wrong (which is a real possibility). Any help soon
would
be appreciated, as my boss keeps asking 'So, when is that mail server going to be done?'. :)
Justin Pearce
Information Technology/Programming Price Video Productions JustinP@PriceVideo.com mailto:JustinP@PriceVideo.com 361-572-3810 800-733-3810 Fax: 361-572-3894 www.PriceVideo.com
Hi Justin,
Justin Pearce wrote on 27-12-2006 15:44:
Good day,
I seem to be having an issue using dovecot 1.0 rc15. I compiled the source with the following configure command:
CPPFLAGS=”-I/usr/local/include/mysql” LDFLAGS=”-L/usr/local/lib/mysql” –lmysqlclient” ./configure –with-mysql –with-sql-drivers=mysql
What platform (OS / cpu) are you building on?
Greets,
Nils
On 27.12.2006, at 16.44, Justin Pearce wrote:
CPPFLAGS=”-I/usr/local/include/mysql” LDFLAGS=”-L/usr/local/lib/ mysql” –lmysqlclient” ./configure –with-mysql –with-sql-drivers=mysql Try if it works when you don't add -lmysqlclient in the LDFLAGS. It's
added automatically to the binaries where it's needed, and it has a
lot of symbols which might conflict with the program's symbols
causing all sorts of weird problems.
participants (6)
-
Gavin Henry
-
Justin Pearce
-
Kartagis
-
Nils Vogels
-
Timo Sirainen
-
Tolga