On Saturday 29 March 2003 23:16, Niklas Saers Mailinglistaccount wrote:
> Hi, I'm running vpopmail on a FreeBSD box. I've just installed it from
> scratch through ports with the following options:
>
> -DWITH_MYSQL -DWITH_MYSQL_LARGE_SITE -DWITH_MYSQL_LIMITS \
> -DWITH_IP_ALIAS -DHARDQUOTA=10000000 -DLOGLEVEL=y -DWITH_MYSQL_LOG \
> -DWITH_MYSQL_SERVER=my.server.com -DWITH_MYSQL_USER=vpopmail \
> -DWITH_MYSQL_PASSWD=**** -DWITH_MYSQL_DB=vpopmail
>
> However, when installed it doesn't seem to recognize my DB parameters.
> When I try adding a domain I get:
>
> # bin/vadddomain mydomain.com ****
> could not connect to mysql update server Can't connect to local MySQL
> server through socket '/tmp/mysql.sock' (2) with database could not connect
> to mysql update server Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2) vmysql: sql error[c]: MySQL server has gone away
> vmysql: sql error[b]: MySQL server has gone away
> vmysql: sql error[3]: MySQL server has gone away
> vmysql: sql error[c]: MySQL server has gone away
> vmysql: sql error[c]: MySQL server has gone away
> vmysql: sql error[b]: MySQL server has gone away
> vmysql: sql error[3]: MySQL server has gone away
> vmysql: sql error[2]: MySQL server has gone away
> Error: Unable to chdir to vpopmail/users directory
>
> Apparently it tries to use an unnamed database on the localhost
> mysql-server. Since I run a separate DB server, it cannot connect to the
> localhost db server as it is not running.
>
> Any clues? Is there some parameters I could add to increase the logging?
>
> Cheers
>
>    Nik

it seems ports isn't updating vmysql.h. either try compiling from source or 
check the vpopmail ports package..
there are no parameters like --with-mysql-server="my.dbserver.com" 
--with-mysql-user="vpopmail" .. so ports would have to change vmysql.h itself

-- 
Mit internetten Grüßen / Best Regards
---------------------------------------------------------------------------
Justin Heesemann                                        ionium Technologies
[EMAIL PROTECTED]                                                www.ionium.org


Reply via email to