HI,

If at all possible I'd rather avoid recompiling my own version, and use
the prepackaged one.

I did a vadduser, and I found the following (vadduser [EMAIL PROTECTED]):
WORKING BOX:
------------
open("/var/qmail/users/cdb", O_RDONLY)  = 3
lseek(3, 424, SEEK_SET)                 = 424
read(3, "{\17\0\0\2\0\0\0", 8)          = 8
lseek(3, 3963, SEEK_SET)                = 3963
read(3, "5\32\217~\320\16\0\0", 8)      = 8
lseek(3, 3792, SEEK_SET)                = 3792
read(3, "\f\0\0\0>\0\0\0", 8)           = 8
read(3, "!test41.com-", 12)             = 12
fstat(3, {st_mode=S_IFREG|0644, st_size=4299, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40017000
read(3, "test41.com\00064020\00064020\0/var/lib/"..., 4096) = 487
getpid()                                = 28577
open("/var/lib/vpopmail/domains/test41.com/vpasswd.cdb", O_RDONLY) = 4
------------
BROKEN BOX:
------------
open("/var/qmail/users/cdb", O_RDONLY)  = 3
lseek(3, 424, SEEK_SET)                 = 424
read(3, "\251\21\0\0\0\0\0\0", 8)       = 8
close(3)                                = 0
getpid()                                = 24674
open("/vpasswd.cdb", O_RDONLY)          = -1 ENOENT (No such file or
directory)
open("/.vpasswd.lock", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
fcntl64(0x3, 0x6, 0xbffffb5c, 0)        = -1 ENOSYS (Function not
implemented)
fcntl(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
open("/vpasswd", O_RDONLY)              = -1 ENOENT (No such file or
directory)
fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
close(3)                                = 0
open("/vpasswd.cdb", O_RDONLY)          = -1 ENOENT (No such file or
directory)
getcwd("/mnt/mid/var/lib/vpopmail/domains", 300) = 34
chdir("")                               = -1 ENOENT (No such file or
directory)
chdir("/mnt/mid/var/lib/vpopmail/domains") = 0
write(1, "Error: Unable to chdir to vpopma"..., 53Error: Unable to chdir
to vpopmail/domains directory
) = 53
-----------

As you can see, it is looking at /var/qmail/users/cdb, BUT with the broken
box, it doesn't seem to find anything, and just looks at /vpasswd.cdb .
Obviously it should be in
/var/lib/vpopmail/domains/test41.com/vpasswd.cdb, which the Working box
has found.

Now my question is... is it possible to REGENERATE the
/var/qmail/users/cdb file? Maybe the problem lies there? From my
understanding, the cdb file contains the information on where each
domain's files are, and since the Broken box can't find it, it assumes its
in / .

Is this thinking right? Can the cdb file even BE regenerated?

Sincerely,
Jason

----- Original Message -----
From: "Chris Bolt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 25, 2001 9:19 PM
Subject: RE: moving domains ???????


> Grab vpopmail 4.9.10 from http://www.inter7.com/vpopmail/, extract it,
run
> ./configure and see what it prints. If everything looks fine, type make
then
> run ./vadddomain in the working directory (before you make install) to
see
> if it is still messed up.
>
> > Hi Chris,
> >
> > I did not compile these. Both boxes are running the same precompiled
> > packages.
> >
> > In fact, both boxes were working, and I have not updated the package
in a
> > while (at least 1 1/2 months). The binaries for both boxes are exactly
the
> > same (i check filesizes of both).
> >
> > Yes, both run exactly the same OS. Same linux kernel. 99% same
software.
> >
> > Any ideas? I'm lost :-(
>
>

Reply via email to