Hi Raghu,

Okay... I did as you said. Here is the output (unless otherwise stated,
the output of the WORKING box and BROKEN box is the same):

sh-2.05# cd users
sh-2.05# ls -al
total 24
drwxr-xr-x    2 root     qmail        4096 May 25 18:45 .
drwxr-xr-x    3 root     root         4096 May 25 18:45 ..
-rw-r--r--    1 root     root         4961 May 25 18:45 assign
-rw-------    1 root     root            0 May 25 18:45 assign.lock
-rw-r--r--    1 root     root         4937 Feb 27 23:48 cdb
sh-2.05# pwd
/var/qmail/users


A look at assign (on the broken box) showed all my attempts to create
domains using vadddomain:
+test34.com-:test34.com:64020:64020:/var/lib/vpopmail/domains/test34.com:-
::
+test36.com-:test36.com:64020:64020:/var/lib/vpopmail/domains/test36.com:-
::
+test37.com-:test37.com:64020:64020:/var/lib/vpopmail/domains/test37.com:-
::
+test38.com-:test38.com:64020:64020:/var/lib/vpopmail/domains/test38.com:-
::
+test39.com-:test39.com:64020:64020:/var/lib/vpopmail/domains/test39.com:-
::

Keep in mind that while THESE entries are there, in
/var/lib/vpopmail/domains/test39.com/ , there is only one file called
.qmail-default, and nothing else. I also cannot vadduser to add accounts
to test39.com .

sh-2.05# ls -al /var/lib/vpopmail/domains/test39.com
total 12
drwx------    2 vpopmail vchkpw       4096 May 25 18:45 .
drwx------   41 vpopmail vchkpw       4096 May 25 18:45 ..
-rw-------    1 vpopmail vchkpw         58 May 25 18:45 .qmail-default

>From my previous post, you can see that /root or / seems to be the
directory that vadddomain THINKS test39.com is in. I have NO idea why it
thinks that, but thats the way it is :-(

Sincerely,
Jason

----- Original Message -----
From: "Raghu V Singh" <[EMAIL PROTECTED]>
To: "Jason Lim" <[EMAIL PROTECTED]>
Sent: Friday, May 25, 2001 5:50 PM
Subject: Re: moving domains ???????


>
> Jason,
>
>  Take a good look at the uids/gids in the /var/qmail/users/assign
directory
> and make sure they match to the ones in your /etc/passwd for vpopmail
and
> groups in /etc/groups. Also check the location of the home dir for
vpopmail
> in the /etc/passwd and the path the /var/qmail/users/assign is using
>
> hope this helps
>
> Raghu
>
>
>
> From:"Jason Lim" <[EMAIL PROTECTED]> on 05/25/2001 04:35 PM ZE8
>
>
> Sent by: "Jason Lim" <[EMAIL PROTECTED]>
>
> Please respond to "Jason Lim" <[EMAIL PROTECTED]>
>
>
>
> To:  <[EMAIL PROTECTED]>
> cc:  (bcc: Raghu V Singh/rsingh1/LSU)
>
> Subject:  Re: moving domains ???????
>
>
>
> Hi all,
>
> I have this strange problem that has suddenly occurred recently.
>
> I keep getting the following error when running vadddomain:
>
> sh-2.05# vadddomain test14.com
> Unknown parameter:
>
> Please enter password for postmaster:
> enter password again:
> Error: Unable to chdir to vpopmail/domains directory
> sh-2.05#
>
> On all other boxes, that command runs fine. And I've already checked the
> permissions on ALL the directories leading up to the one in ~vpopmail. I
> also checked the permissions of ~vpopmail/domains, and it is the same as
> everything else.
>
> The strange thing is that it DOES create the directory:
> drwx------ 2 vpopmail vchkpw 4096 May 25 00:45 test14.com
>
> however, inside that directory only the following exists:
> total 12
> drwx------ 2 vpopmail vchkpw 4096 May 25 00:45 .
> drwx------ 23 vpopmail vchkpw 4096 May 25 00:45 ..
> -rw------- 1 vpopmail vchkpw 58 May 25 00:45 .qmail-default
>
> and nothing else. No vpasswd or vpasswd.cdb or anything else. Anyone
know
> whats going on?
>
> I also found:
>
> sh-2.05# ls -al /
> total 1467
> drwxr-x--x 17 root root 4096 May 25 00:22 .
> drwxr-x--x 17 root root 4096 May 25 00:22 ..
> -rw------- 1 root root 0 May 25 07:57 .vpasswd.lock
>
> suddenly after running vadddomain .
>
> vadduser doesn't work at ALL.
>
> Does anyone have any ideas? Free beer to the guy that figures this one
out
> :-)
>
> Thanks in advance.
>
> Jason.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

Reply via email to