>-----Original Message-----
>From: White, Brad [mailto:[EMAIL PROTECTED] 
>Sent: 13 April 2005 21:57
>To: [email protected]
>Subject: RE: [qmailadmin] qmailadmin 1.2.3 cannot read vpopmail.mysql

>When you run a vdominfo on one of your domains, are the UID and GID
>displayed the correct ones? 

Yup all good.

Vpopmail is working, vqadmin is working, this is something to do with
qmailadmin not being able to connect to mysql.

In the apache logs I see

vmysql: can't read settings from /home/vpopmail/etc/vpopmail.mysql

although I don't see a reason it wouldn't be able to read that when it
executes setuid

I also see 

vmysql: sql error[3]: MySQL server has gone away

which is probably because it can't get the correct login details for mysql
from vpopmail.mysql

Mysql is fine - vqadmin and vpopmail are using it fine, I can connect to
mysql and the vpopmail database using the vpopmail use from the command
line, and I can select and update manually so there is %100 no problem
there, which is backed up by vqadmin.

I can't see it being a SUID problem as vqadmin is working fine in the same
directory.

I'm a bit stumped by this.

I've installed qmailadmin a good few times and never seen this prolem.

I'm open to any suggestions really.

Is vpopmail.mysql read on every connection (I assume so as it appears in the
apache logs real time) or at build time ?

Thanks,

Matt





-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005
 

Reply via email to