1 (edited by 3m 2014-08-12 14:28:29)

Topic: FreeBSD apache error

======== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (MySQL):
- Linux/BSD distribution name and version: FreeBSD 9.3
- Related log if you're reporting an issue: syntax error on line 22 of /usr/local/etc/apache22/includes/cluebringer.conf: invalid command 'AuthMYSQLEnable', perhaps misspelled or defined by a module not included in the server configuration
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: FreeBSD apache error

Please install port 'www/mod_auth_mysql_another' and try again.

3

Re: FreeBSD apache error

Hi Zhang! Did not help :-(
===>  Cleaning for ap22-mod_auth_mysql_another-3.0.0_4
root@test:/usr/ports/www/mod_auth_mysql_another # /usr/local/etc/rc.d/apache22 restart
Performing sanity check on apache22 configuration:
Syntax error on line 22 of /usr/local/etc/apache22/Includes/cluebringer.conf:
Invalid command 'AuthMYSQLEnable', perhaps misspelled or defined by a module not included in the server configuration

4

Re: FreeBSD apache error

Did you enable this apache module?

5

Re: FreeBSD apache error

Hi!How to enable this module? You can fix this error? Or cut by hand? Thank you!

6

Re: FreeBSD apache error

Find Apache config file under /usr/local/etc/apache22/, and enable module 'mysql_auth_module'.
Just look like below:

LoadModule mysql_auth_module libexec/apache2/mod_auth_mysql.so

BTW, a quick Google and grep will help you out. Don't wait for answer.

7

Re: FreeBSD apache error

starting with version 0.8.7 must be manually to finish ?