Title: RE: [qmailadmin] qmailadmin 1.2.3 cannot read vpopmail.mysql

>Hi all,

>I’m building a server to replace an existing mail server that’s being retired.

>I’ve built qmail (net-qmail) following the “Life with Qmail” guide and maildir format

>I’ve added vpopmail 5.4.10 with mysql -  without issue, and configured domains from the command line

>I’ve installed and configured vqadmin-2.3.2 and had no problems creating/removing domains from the web interface, using the cgi scripts.

>I’ve now just installed and configured qmailadmin 1.2.3. All built ok, and the configure script showed the correct UID/GID for >vpopmail / vchkpw. However when I try to login as postmaster for any of the domains hosted on the new machine, I get >“invalid login” as though I had entered the wrong password (which I’ve not)

>The apache error log is showing

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

>or

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

>Mysql is running fine, and if I connect on the command line just using mysql as the vpopmail user, all is well. If I add a user using the vpopmail binaries, all works. If I add a user/domain usering the vqadmin web admin – all is well, just qmailadmin

>The permissions on my /home/vpopmail/etc/vpopmail.mysql looks like this

>-rw-r-----   1 vpopmail vchkpw 36 2005-04-10 19:40 /home/vpopmail/etc/vpopmail.mysql

>Which looks good, and the root of the ~vpopmail is locked down tight

>drwx------    8 vpopmail vchkpw 4096 2005-04-10 19:45 vpopmail

>The permissions on the cgi script for qmailadmin look like this

>[EMAIL PROTECTED]:/usr/local/apache/cgi-bin# ls -la

>total 312

>drwxr-xr-x    3 root      root      4096 2005-04-11 02:36 .

>drwxr-xr-x   13 root      root      4096 2005-04-10 22:21 ..

>-rwxr-xr-x    1 root      root       268 2005-04-10 22:07 printenv

>-rwsr-sr-x    1 vpopmail vchkpw 294906 2005-04-11 02:36 qmailadmin

>-rwxr-xr-x    1 root      root       757 2005-04-10 22:07 test-cgi

>drwxr-xr-x    3 vpopmail vchkpw    4096 2005-04-11 02:36 vqadmin

>and the permissions on the working vqadmin look like this

>[EMAIL PROTECTED]:/usr/local/apache/cgi-bin# ls -la vqadmin/

>total 108

>drwxr-xr-x   3 vpopmail vchkpw   4096 2005-04-11 02:36 .

>drwxr-xr-x   3 root      root     4096 2005-04-11 02:36 ..

>-rw-r--r--   1 nobody    root      114 2005-04-11 02:36 .htaccess

>drwxr-xr-x   2 vpopmail vchkpw   4096 2005-04-11 02:36 html

>-rw-r--r--   1 vpopmail vchkpw    864 2005-04-11 02:36 vqadmin.acl

>-rwsr-sr-x   1 root      root    83624 2005-04-11 02:36 vqadmin.cgi

>Now these permissions all look fine to me, vpopmail/mysql/vqadmin is working, so why can’t qmailadmin connect to mysql >and do its thing ?

>Thanks,

>Matt

>(sorry for the long email, but thought I’d include appropriate detail)


Well, Im getting no-where fast with this.

Could someone send me the default and correct permissions for the vpopmail home dir and subdirs Im almost certain mine are correct and this is not a permissions error, but as Im getting no-where and I cant find anyone else suffering with this problem Ill have to start somewhere.

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