What are the last few lines when you type:

strace vadddomain testx.com

> 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