[vchkpw] Add and Delete work, but info, qmailadmin do not...

2005-07-12 Thread Adam Schlag
Hi, I'm having a problem here that has been baffling me for a few days now.
I've set up mail servers before using Qmail/Vpopmail/Courier-IMAP on Gentoo
boxes, and I just set up another one over the weekend.  I am running into a
strange problem though that I can't seem to figure out.

I can use vadddomain, vadduser, vdeluser, and vdeldomain just fine to add/remove
domains and users.  I also don't have problem logging in to the IMAP server. (I
haven't worked to see if I can actually send/receive mail through qmail yet,
since I don't have my domains/users working properly yet).  However, when I
install Qmailadmin, I get an "Invalid Login" error.  I checked my apache logs,
and this is what I see:

vmysql: sql error[3]: MySQL server has gone away, referer:
https://mydomain.net/cgi-bin/qmailadmin

So I tried a few other vpopmail commands, and I found that vdominfo and
vuserinfo were returning no output (i.e., they think that there are no users or
domains).  This seems very strange to me, since I can obviously use vpopmail to
add domains and users, as well as log in to a Courier IMAP server.

For the record, I'm currently running Vpopmail 5.4.6 and MySQL 4.1.12 on a
Gentoo Linux x86 2005.0 box.

Is there something I could possibly have wrong somewhere?  Any help anyone can
provide would be very greatly appreciated, and if there is more info I can
provide please let me know.

Adam


Re: [vchkpw] Add and Delete work, but info, qmailadmin do not...

2005-07-12 Thread Matt Brookings

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adam Schlag wrote:
| However, when I
| install Qmailadmin, I get an "Invalid Login" error.  I checked my
apache logs,
| and this is what I see:
|
| vmysql: sql error[3]: MySQL server has gone away, referer:
| https://mydomain.net/cgi-bin/qmailadmin

Make sure that your MySQL socket file has permissions that the vpopmail
user can read and write to, and make sure qmailadmin is running as the
vpopmail user.

http://www.qmailwiki.org/Vpopmail#When_using_MySQL_for_authentication.2C_I_get_the_error_vmysql:_sql_error.5B3.5D_MySQL_server_has_gone_away

- --
/*
~Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key B7B54216
~Software developer Systems technician
~Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFC1BFXhzYRRre1QhYRAvmsAJ9zAePcJ7Un0g5GgHgVNzS+4mIcGgCfUMOC
lDQMIJE4ukZ+99lK6nzfz+c=
=X9pm
-END PGP SIGNATURE-


Re: [vchkpw] Add and Delete work, but info, qmailadmin do not...

2005-07-12 Thread Adam Schlag
Sure enough, it was a socket error with the directory of the socket, not the
socket itself.  Things are working fine now.  Thanks for the help.

Matt Brookings wrote:
> Adam Schlag wrote:
> | However, when I
> | install Qmailadmin, I get an "Invalid Login" error.  I checked my
> apache logs,
> | and this is what I see:
> |
> | vmysql: sql error[3]: MySQL server has gone away, referer:
> | https://mydomain.net/cgi-bin/qmailadmin
> 
> Make sure that your MySQL socket file has permissions that the vpopmail
> user can read and write to, and make sure qmailadmin is running as the
> vpopmail user.
> 
> http://www.qmailwiki.org/Vpopmail#When_using_MySQL_for_authentication.2C_I_get_the_error_vmysql:_sql_error.5B3.5D_MySQL_server_has_gone_away
> 
> 
> --
> /*
> ~Matt Brookings <[EMAIL PROTECTED]>   GnuPG Key B7B54216
> ~Software developer Systems technician
> ~Inter7 Internet Technologies, Inc. (815)776-9465
> */