Did you also check the table dir_control ?
JP
----- Original Message -----
From: James Ecker
To: [email protected]
Sent: Sunday, December 09, 2007 8:45 PM
Subject: RE: [qmailtoaster] VQADMIN Problem
I have looked through the two different mySQL tables, besides the obvious
there is no difference between the tables. Because there is no difference
between the two tables, I have to assume there is some other location vpopmail
is keeping track of the domains.
I have backed up the non working domain data and recreated the table manually
then restored the data, but that did not help.
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
To: [email protected]
Date: Sun, 9 Dec 2007 20:08:54 +0100
Subject: RE: [qmailtoaster] VQADMIN Problem
Ok this does not help much for now, but it seems something goes wrong right
after the query to dir_control.
Guess you should check if there are differences in the entry for a domain
that works and one that does not..
JP
From: James Ecker [mailto:[EMAIL PROTECTED]
Sent: zondag 9 december 2007 16:50
To: [email protected]
Subject: RE: [qmailtoaster] VQADMIN Problem
Thank you for you reply.
The strace out put from two different domains, one that works and one that
does not work, are shown below.
The only difference I can see is the
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Here is the last few lines of out put of the domain that does not have a
problem.
fstat(6, {st_mode=S_IFREG|0644, st_size=2468, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaaaaabf000
read(6, "veggiesoft.com\00089\00089\0/home/vpopm"..., 4096) = 150
close(6) = 0
munmap(0x2aaaaaabf000, 4096) = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=311, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaaaaabf000
read(5, "+pdgproduce.com-:pdgproduce.com:"..., 4096) = 311
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaaaaac0000
write(1, "domain: test123.com\n", 23domain: test123.com
) = 23
write(1, "uid: 89\n", 11uid: 89
) = 11
write(1, "gid: 89\n", 11gid: 89
) = 11
write(1, "dir: /home/vpopmail/domains/t"..., 46dir:
/home/vpopmail/domains/test123.com
) = 46
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0
write(4, "\1\0\0\0\16", 5) = 5
read(4, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0
write(4, "\375\0\0\0\3select cur_users, level_cur"..., 257) = 257
read(4, "\1\0\0\1\20F\0\0\2\3def\10vpopmail\vdir_contr"..., 16384) = 1289
write(1, "users: 0\n", 10users: 0
) = 10
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0
write(4, "\1\0\0\0\16", 5) = 5
read(4, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0
write(4, ":\1\0\0\3replace into dir_control ( "..., 318) = 318
read(4, "\7\0\0\1\0\2\0\2\0\0\0", 16384) = 11
read(5, "", 4096) = 0
close(5) = 0
munmap(0x2aaaaaabf000, 4096) = 0
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0
write(4, "\1\0\0\0\1", 5) = 5
shutdown(4, 2 /* send and receive */) = 0
close(4) = 0
exit_group(0) = ?
Here is the last few lines of out put of the domain that has a problem.
fstat(6, {st_mode=S_IFREG|0644, st_size=2468, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaaaaabf000
read(6, "pdgproduce.com\00089\00089\0/home/vpopm"..., 4096) = 396
close(6) = 0
munmap(0x2aaaaaabf000, 4096) = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=311, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaaaaabf000
read(5, "+testing.com-:testing.com:"..., 4096) = 311
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaaaaac0000
write(1, "domain: testing.com\n", 23domain: testing.com
) = 23
write(1, "uid: 89\n", 11uid: 89
) = 11
write(1, "gid: 89\n", 11gid: 89
) = 11
write(1, "dir: /home/vpopmail/domains/t"..., 46dir:
/home/vpopmail/domains/testing.com
) = 46
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0
write(4, "\1\0\0\0\16", 5) = 5
read(4, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11
poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0
write(4, "\375\0\0\0\3select cur_users, level_cur"..., 257) = 257
read(4, "\1\0\0\1\20F\0\0\2\3def\10vpopmail\vdir_contr"..., 16384) = 1289
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
To: [email protected]
Date: Sun, 9 Dec 2007 12:37:54 +0100
Subject: Re: [qmailtoaster] VQADMIN Problem
You could try a strace vdominfo
It should bail out with some more info.
JP
----- Original Message -----
From: James Ecker
To: [email protected]
Sent: Sunday, December 09, 2007 6:40 AM
Subject: RE: [qmailtoaster] VQADMIN Problem
Thank you everyone for your help. I think I have gotten a little closer
to fixing the problem. When I run a vdominfo I get the following problem:
domain: test.com
uid: 89
gid: 89
dir: /home/vpopmail/domains/test.com
Segmentation fault
After looking this problem up on Google, the only solution I found was to
review the vpasswd file. Are there any other suggestions? Does anyone know
where the vpasswd file is located?
James
--------------------------------------------------------------------------
Get the power of Windows + Web with the new Windows Live. Power up!
----------------------------------------------------------------------------
Get the power of Windows + Web with the new Windows Live. Power up!
------------------------------------------------------------------------------
You keep typing, we keep giving. Download Messenger and join the i’m
Initiative now. Join in!