too get the same error message.

server:/home/vpopmail/bin# ./vadddomain server.aunoc.net
Please enter password for postmaster:
enter password again:
qmail-newu: fatal: bad format in users/assign
Error: Domain does not exist
server:/home/vpopmail/bin# ./vadduser [EMAIL PROTECTED]
Please enter password for [EMAIL PROTECTED]:
enter password again:
Error: Domain does not exist
server:/home/vpopmail/bin#

The error is happening with both adding the domain and adding the users.
Does anyone have any idea whats happening with this??

I added domains for a couple of test domains into bind and then tried with
them. The same error was appearing.


Brad

----- Original Message -----
From: "Paul Kremer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 15, 2001 3:47 AM
Subject: Error: Domain does not exist


> hello everybody
>
> this question has already be posted several times during the last
> weeks/months and there has never been any reply...
> so I guess nobody knows the answer ?
>
> I get the error "Error: Domain does not exist" when using
> vadddomain...
>
> here is the situation:
>
> - linux 2.2.20
> - qmail 1.03 (patched with
>   http://matt.simerson.net/computing/qmail/qmail-1.03-matt-toaster.patch)
> - tcpserver 0.88 (patched with
>   http://matt.simerson.net/computing/qmail/ucspi-tcp-0.88-mysql.patch)
> - vpopmail 5.0
>
> I want all authentication to go through mysql, the tables are all OK,
> I am 100% strict : the SQL-server is working OK, connect info
> is in /var/qmail/control/sql.
>
> files under /var/qmail/users/ are syntactically OK, since I finally
> copied "assign, cdb" from a different working server.
> Empty files (including a one-dotted line) did not work too.
>
> the entries in rcpthosts and virtualdomains is being made, all OK.
> the directory in /home/vpopmail/domains is also created, containing a
> .qmail-default file, but nothing for postmaster.
> the assign file also does not contain any info regarding the
> postmaster.
> the sql-tabel vpopmail seems to be left untouched after the
> vadddomain.
>
> I would really be glad if somebody could have a closer look at the
> strace below...
>
> here is the output of strace vadddomain:
> <cite>
> execve("./vadddomain", ["./vadddomain", "problems.com"], [/* 23 vars */])
= 0
> uname({sys="Linux", node="newmail", ...}) = 0
> brk(0)                                  = 0x8055fa8
> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(0x3, 0xbfffee64)                = -1 ENOSYS (Function not
implemented)
> fstat(3, {st_mode=S_IFREG|0644, st_size=11213, ...}) = 0
> old_mmap(NULL, 11213, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
> close(3)                                = 0
> open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\203\0"...,
1024) = 1024
> fstat(3, {st_mode=S_IFREG|0644, st_size=240712, ...}) = 0
> old_mmap(NULL, 244320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40019000
> mprotect(0x4003c000, 100960, PROT_NONE) = 0
> old_mmap(0x4003c000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x22000) = 0x4003c000
> close(3)                                = 0
> open("/usr/lib/libz.so.1", O_RDONLY)    = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30"..., 1024)
= 1024
> fstat(3, {st_mode=S_IFREG|0644, st_size=54644, ...}) = 0
> old_mmap(NULL, 57652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40055000
> mprotect(0x40061000, 8500, PROT_NONE)   = 0
> old_mmap(0x40061000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0xb000) = 0x40061000
> close(3)                                = 0
> open("/lib/libnsl.so.1", O_RDONLY)      = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0B\0\000"...,
1024) = 1024
> fstat(3, {st_mode=S_IFREG|0644, st_size=71268, ...}) = 0
> old_mmap(NULL, 82716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40064000
> mprotect(0x40075000, 13084, PROT_NONE)  = 0
> old_mmap(0x40075000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x10000) = 0x40075000
> old_mmap(0x40077000, 4892, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40077000
> close(3)                                = 0
> open("/lib/libcrypt.so.1", O_RDONLY)    = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\20"..., 1024)
= 1024
> fstat(3, {st_mode=S_IFREG|0644, st_size=20900, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40079000
> old_mmap(NULL, 183740, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x4007a000
> mprotect(0x4007f000, 163260, PROT_NONE) = 0
> old_mmap(0x4007f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x4000) = 0x4007f000
> old_mmap(0x40080000, 159164, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40080000
> close(3)                                = 0
> open("/lib/libm.so.6", O_RDONLY)        = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 I\0\000"...,
1024) = 1024
> fstat(3, {st_mode=S_IFREG|0644, st_size=134668, ...}) = 0
> old_mmap(NULL, 137220, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x400a7000
> mprotect(0x400c8000, 2052, PROT_NONE)   = 0
> old_mmap(0x400c8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x20000) = 0x400c8000
> close(3)                                = 0
> open("/lib/libc.so.6", O_RDONLY)        = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0(\327\1"..., 1024)
= 1024
> fstat(3, {st_mode=S_IFREG|0755, st_size=1171196, ...}) = 0
> old_mmap(NULL, 1187968, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x400c9000
> mprotect(0x401e1000, 41088, PROT_NONE)  = 0
> old_mmap(0x401e1000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x117000) = 0x401e1000
> old_mmap(0x401e7000, 16512, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401e7000
> close(3)                                = 0
> munmap(0x40016000, 11213)               = 0
> brk(0)                                  = 0x8055fa8
> brk(0x8056128)                          = 0x8056128
> brk(0x8057000)                          = 0x8057000
> open("/dev/tty", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
> ioctl(3, TCGETS, {B38400 opost isig icanon echo ...}) = 0
> ioctl(3, SNDCTL_TMR_CONTINUE, {B38400 opost -isig icanon -echo ...}) = 0
> fstat64(0x3, 0xbffff87c)                = -1 ENOSYS (Function not
implemented)
> fstat(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(5, 0), ...}) = 0
> ioctl(3, TCGETS, {B38400 opost -isig icanon -echo ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
> write(3, "Please enter password for postma"..., 38) = 38
> read(3, "test\n", 4096)                 = 5
> write(3, "\n", 1)                       = 1
> ioctl(3, SNDCTL_TMR_CONTINUE, {B38400 opost isig icanon echo ...}) = 0
> close(3)                                = 0
> munmap(0x40016000, 4096)                = 0
> open("/dev/tty", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
> ioctl(3, TCGETS, {B38400 opost isig icanon echo ...}) = 0
> ioctl(3, SNDCTL_TMR_CONTINUE, {B38400 opost -isig icanon -echo ...}) = 0
> fstat(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(5, 0), ...}) = 0
> ioctl(3, TCGETS, {B38400 opost -isig icanon -echo ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
> write(3, "enter password again: ", 22)  = 22
> read(3, "test\n", 4096)                 = 5
> write(3, "\n", 1)                       = 1
> ioctl(3, SNDCTL_TMR_CONTINUE, {B38400 opost isig icanon echo ...}) = 0
> close(3)                                = 0
> munmap(0x40016000, 4096)                = 0
> open("/var/qmail/users/cdb", O_RDONLY)  = 3
> lseek(3, 1008, SEEK_SET)                = 1008
> read(3, "b\r\0\0\0\0\0\0", 8)           = 8
> close(3)                                = 0
> umask(077)                              = 022
> getcwd("/home/vpopmail/bin", 300)       = 19
> chdir("/home/vpopmail")                 = 0
> chdir("domains")                        = 0
> open("/etc/nsswitch.conf", O_RDONLY)    = 3
> fstat(3, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
> read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 465
> read(3, "", 4096)                       = 0
> close(3)                                = 0
> munmap(0x40016000, 4096)                = 0
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat(3, {st_mode=S_IFREG|0644, st_size=11213, ...}) = 0
> old_mmap(NULL, 11213, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
> close(3)                                = 0
> open("/lib/i686/mmx/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
> stat("/lib/i686/mmx", 0xbfffee9c)       = -1 ENOENT (No such file or
directory)
> open("/lib/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
> stat("/lib/i686", 0xbfffee9c)           = -1 ENOENT (No such file or
directory)
> open("/lib/mmx/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
> stat("/lib/mmx", 0xbfffee9c)            = -1 ENOENT (No such file or
directory)
> open("/lib/libnss_db.so.2", O_RDONLY)   = -1 ENOENT (No such file or
directory)
> stat("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> open("/usr/lib/i686/mmx/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
> stat("/usr/lib/i686/mmx", 0xbfffee9c)   = -1 ENOENT (No such file or
directory)
> open("/usr/lib/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
> stat("/usr/lib/i686", 0xbfffee9c)       = -1 ENOENT (No such file or
directory)
> open("/usr/lib/mmx/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
> stat("/usr/lib/mmx", 0xbfffee9c)        = -1 ENOENT (No such file or
directory)
> open("/usr/lib/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
> stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
> munmap(0x40016000, 11213)               = 0
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat(3, {st_mode=S_IFREG|0644, st_size=11213, ...}) = 0
> old_mmap(NULL, 11213, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
> close(3)                                = 0
> open("/lib/libnss_files.so.2", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\"\0"...,
1024) = 1024
> fstat(3, {st_mode=S_IFREG|0644, st_size=34160, ...}) = 0
> old_mmap(NULL, 37536, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401ec000
> mprotect(0x401f4000, 4768, PROT_NONE)   = 0
> old_mmap(0x401f4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x7000) = 0x401f4000
> close(3)                                = 0
> munmap(0x40016000, 11213)               = 0
> open("/etc/services", O_RDONLY)         = 3
> shmat(3, 0x1, 0x1)                      = -1 ENOSYS (Function not
implemented)
> fcntl(3, F_GETFD)                       = 0
> fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
> fstat(3, {st_mode=S_IFREG|0644, st_size=15319, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
> read(3, "# /etc/services:\n# $Id: services"..., 4096) = 4096
> read(3, "SO Z39.50 database\nz3950\t\t210/ud"..., 4096) = 4096
> read(3, "\t\t\t# udp sftp side effect\ncodasr"..., 4096) = 4096
> close(3)                                = 0
> munmap(0x40016000, 4096)                = 0
> rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
> socket(PF_UNIX, SOCK_STREAM, 0)         = 3
> fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)
> connect(3, {sin_family=AF_UNIX, path="
/var/run/mysqld/mysqld.sock"}, 110) = 0
> brk(0x805a000)                          = 0x805a000
> setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
> read(3, "(\0\0\0", 4)                   = 4
> read(3, "\n3.23.43\0003\0\0\0$fZm7f}b\0,\0\10\2\0\0\0\0\0\0"..., 40) = 40
> open("/usr/share/mysql/charsets/Index", O_RDONLY|0x8000) = -1 ENOENT (No
such file or directory)
> write(3, "\37\0\0\1\215 \0\0\0vpopmail\0AG]\\AIKX\0vpopm"..., 35) = 35
> read(3, "\3\0\0\2", 4)                  = 4
> read(3, "\0\0\0", 3)                    = 3
> fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
> read(3, 0x8056dc0, 8192)                = -1 EAGAIN (Resource temporarily
unavailable)
> fcntl(3, F_SETFL, O_RDWR)               = 0
> write(3, "\366\0\0\0\3select cur_users, level_cur"..., 250) = 250
> read(3, "\1\0\0\1", 4)                  = 4
> read(3, "\20", 1)                       = 1
> read(3, " \0\0\2", 4)                   = 4
> read(3, "\vdir_control\tcur_users\3\v\0\0\1\3\3\0\0\0", 32) = 32
> brk(0x805c000)                          = 0x805c000
> read(3, " \0\0\3", 4)                   = 4
> read(3, "\vdir_control\tlevel_cur\3\v\0\0\1\3\3\0\0\0", 32) = 32
> read(3, " \0\0\4", 4)                   = 4
> read(3, "\vdir_control\tlevel_max\3\v\0\0\1\3\3\0\0\0", 32) = 32
> read(3, "#\0\0\5", 4)                   = 4
> read(3, "\vdir_control\flevel_start0\3\v\0\0\1\3\3"..., 35) = 35
> read(3, "#\0\0\6", 4)                   = 4
> read(3, "\vdir_control\flevel_start1\3\v\0\0\1\3\3"..., 35) = 35
> read(3, "#\0\0\7", 4)                   = 4
> read(3, "\vdir_control\flevel_start2\3\v\0\0\1\3\3"..., 35) = 35
> read(3, "!\0\0\10", 4)                  = 4
> read(3, "\vdir_control\nlevel_end0\3\v\0\0\1\3\3\0\0"..., 33) = 33
> read(3, "!\0\0\t", 4)                   = 4
> read(3, "\vdir_control\nlevel_end1\3\v\0\0\1\3\3\0\0"..., 33) = 33
> read(3, "!\0\0\n", 4)                   = 4
> read(3, "\vdir_control\nlevel_end2\3\v\0\0\1\3\3\0\0"..., 33) = 33
> read(3, "!\0\0\v", 4)                   = 4
> read(3, "\vdir_control\nlevel_mod0\3\v\0\0\1\3\3\0\0"..., 33) = 33
> read(3, "!\0\0\f", 4)                   = 4
> read(3, "\vdir_control\nlevel_mod1\3\v\0\0\1\3\3\0\0"..., 33) = 33
> read(3, "!\0\0\r", 4)                   = 4
> read(3, "\vdir_control\nlevel_mod2\3\v\0\0\1\3\3\0\0"..., 33) = 33
> read(3, "#\0\0\16", 4)                  = 4
> read(3, "\vdir_control\flevel_index0\3\v\0\0\1\3\3"..., 35) = 35
> read(3, "#\0\0\17", 4)                  = 4
> read(3, "\vdir_control\flevel_index1\3\v\0\0\1\3\3"..., 35) = 35
> read(3, "#\0\0\20", 4)                  = 4
> read(3, "\vdir_control\flevel_index2\3\v\0\0\1\3\3"..., 35) = 35
> read(3, "\36\0\0\21", 4)                = 4
> read(3, "\vdir_control\7the_dir\3\377\0\0\1\375\3\0\0\0", 30) = 30
> read(3, "\1\0\0\22", 4)                 = 4
> read(3, "\376", 1)                      = 1
> brk(0x805e000)                          = 0x805e000
> read(3, "\"\0\0\23", 4)                 = 4
> read(3, "\0018\0010\0013\0010\0010\0010\00261\00261\00261\0010\001"...,
34) = 34
> brk(0x8060000)                          = 0x8060000
> read(3, "\1\0\0\24", 4)                 = 4
> read(3, "\376", 1)                      = 1
> fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
> read(3, 0x8056dc0, 8192)                = -1 EAGAIN (Resource temporarily
unavailable)
> fcntl(3, F_SETFL, O_RDWR)               = 0
> write(3, "3\1\0\0\3replace into dir_control ( "..., 311) = 311
> read(3, "\3\0\0\1", 4)                  = 4
> read(3, "\0\2\0", 3)                    = 3
> mkdir("problems.com", 0750)             = 0
> msgrcv(134559648ptrace: umoven: Input/output error
> , {134526718, ptrace: umoven: Input/output error
> 0x4}, 189, 0, 0xbd) = -1 ENOSYS (Function not implemented)
> chown("problems.com", 189, 189)         = 0
> chdir("problems.com")                   = 0
> open("/home/vpopmail/domains/problems.com/.qmail-default",
O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
> fstat(4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
> write(4, "| /home/vpopmail/bin/vdelivermai"..., 55) = 55
> close(4)                                = 0
> munmap(0x40016000, 4096)                = 0
> stat("/var/qmail/users/assign", {st_mode=S_IFREG|0644, st_size=1262, ...})
= 0
> open("/var/qmail/users/assign.lock", O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
> fcntl(4, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
> getpid()                                = 1284
> open("/var/qmail/users/assign.1284", O_RDWR|O_CREAT|O_TRUNC, 0666) = 5
> open("/var/qmail/users/assign", O_RDWR) = 6
> fstat(6, {st_mode=S_IFREG|0644, st_size=1262, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
> read(6, "=root:alias:64010:65534:/var/qma"..., 4096) = 1262
> fstat(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40017000
> read(6, "", 4096)                       = 0
> close(6)                                = 0
> munmap(0x40016000, 4096)                = 0
> write(5, "=root:alias:64010:65534:/var/qma"..., 1338) = 1338
> close(5)                                = 0
> munmap(0x40017000, 4096)                = 0
> getpid()                                = 1284
> rename("/var/qmail/users/assign.1284", "/var/qmail/users/assign") = 0
> fcntl(4, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
> close(4)                                = 0
> chmod("/var/qmail/users/assign", 0644)  = 0
> vfork()                                 = 1286
> --- SIGCHLD (Child exited) ---
> wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 127], 0, NULL) = 1286
> open("/var/qmail/control/rcpthosts", O_RDONLY) = 4
> fstat(4, {st_mode=S_IFREG|0644, st_size=37, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
> read(4, "newmail.gms.lu\ntest.gms.lu\nholla"..., 4096) = 37
> read(4, "", 4096)                       = 0
> close(4)                                = 0
> munmap(0x40016000, 4096)                = 0
> open("/var/qmail/control/rcpthosts.lock", O_RDWR|O_CREAT|O_TRUNC, 0666) =
4
> fcntl(4, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
> getpid()                                = 1284
> open("/var/qmail/control/rcpthosts.1284", O_RDWR|O_CREAT|O_TRUNC, 0666) =
5
> open("/var/qmail/control/rcpthosts", O_RDWR) = 6
> fstat(6, {st_mode=S_IFREG|0644, st_size=37, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
> read(6, "newmail.gms.lu\ntest.gms.lu\nholla"..., 4096) = 37
> fstat(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40017000
> read(6, "", 4096)                       = 0
> close(6)                                = 0
> munmap(0x40016000, 4096)                = 0
> write(5, "newmail.gms.lu\ntest.gms.lu\nholla"..., 50) = 50
> close(5)                                = 0
> munmap(0x40017000, 4096)                = 0
> getpid()                                = 1284
> rename("/var/qmail/control/rcpthosts.1284",
"/var/qmail/control/rcpthosts") = 0
> fcntl(4, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
> close(4)                                = 0
> chmod("/var/qmail/control/rcpthosts", 0644) = 0
> open("/var/qmail/control/virtualdomains.lock", O_RDWR|O_CREAT|O_TRUNC,
0666) = 4
> fcntl(4, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
> getpid()                                = 1284
> open("/var/qmail/control/virtualdomains.1284", O_RDWR|O_CREAT|O_TRUNC,
0666) = 5
> open("/var/qmail/control/virtualdomains", O_RDWR) = 6
> fstat(6, {st_mode=S_IFREG|0644, st_size=44, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
> read(6, "test.gms.lu:test.gms.lu\nholla.co"..., 4096) = 44
> fstat(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40017000
> read(6, "", 4096)                       = 0
> close(6)                                = 0
> munmap(0x40016000, 4096)                = 0
> write(5, "test.gms.lu:test.gms.lu\nholla.co"..., 70) = 70
> close(5)                                = 0
> munmap(0x40017000, 4096)                = 0
> getpid()                                = 1284
> rename("/var/qmail/control/virtualdomains.1284",
"/var/qmail/control/virtualdomains") = 0
> fcntl(4, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
> close(4)                                = 0
> chmod("/var/qmail/control/virtualdomains", 0644) = 0
> stat("/var/qmail/control/locals", {st_mode=S_IFREG|0644, st_size=15, ...})
= 0
> open("/var/qmail/control/locals.lock", O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
> fcntl(4, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
> unlink("/var/qmail/control/locals.bak") = -1 ENOENT (No such file or
directory)
> rename("/var/qmail/control/locals", "/var/qmail/control/locals.bak") = 0
> open("/var/qmail/control/locals", O_RDWR|O_CREAT|O_TRUNC, 0666) = 5
> open("/var/qmail/control/locals.bak", O_RDWR) = 6
> fstat(6, {st_mode=S_IFREG|0644, st_size=15, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
> read(6, "newmail.gms.lu\n", 4096)       = 15
> fstat(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40017000
> read(6, "", 4096)                       = 0
> write(5, "newmail.gms.lu\n", 15)        = 15
> close(5)                                = 0
> munmap(0x40017000, 4096)                = 0
> close(6)                                = 0
> munmap(0x40016000, 4096)                = 0
> unlink("/var/qmail/control/locals.bak") = 0
> fcntl(4, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
> close(4)                                = 0
> chmod("/var/qmail/control/locals", 0644) = 0
> chown("/home/vpopmail/domains/problems.com", 189, 189) = 0
> chdir("/home/vpopmail/domains/problems.com") = 0
> open("/dev/null", O_RDONLY|O_NONBLOCK|0x10000) = -1 ENOTDIR (Not a
directory)
> open(".", O_RDONLY|O_NONBLOCK|0x18000)  = 4
> fstat(4, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
> fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
> ipc_subcall(0x4, 0x8058eb0, 0x1000, 0x2) = -1 ENOSYS (Function not
implemented)
> getdents(4, /* 3 entries */, 3933)      = 56
> stat(".qmail-default", {st_mode=S_IFREG|0600, st_size=55, ...}) = 0
> chown(".qmail-default", 189, 189)       = 0
> getdents(4, /* 0 entries */, 3933)      = 0
> chdir("..")                             = 0
> close(4)                                = 0
> fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
> read(3, 0x8056dc0, 8192)                = -1 EAGAIN (Resource temporarily
unavailable)
> fcntl(3, F_SETFL, O_RDWR)               = 0
> write(3, "\356\0\0\0\3create table vpopmail ( pw_"..., 242) = 242
> read(3, "\"\0\0\1", 4)                  = 4
> read(3, "\377\32\4Table \'vpopmail\' already exis"..., 34) = 34
> pipe([4, 5])                            = 0
> vfork()                                 = 1287
> close(5)                                = 0
> fstat(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
> read(4, "  PID TTY      STAT   TIME COMMA"..., 4096) = 4096
> read(4, "-locking --bind-address=127.0.0."..., 4096) = 67
> read(4, "", 4096)                       = 0
> --- SIGCHLD (Child exited) ---
> close(4)                                = 0
> wait4(1287, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 1287
> munmap(0x40016000, 4096)                = 0
> chdir("/home/vpopmail/bin")             = 0
> umask(077)                              = 077
> fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
> read(3, 0x8056dc0, 8192)                = -1 EAGAIN (Resource temporarily
unavailable)
> fcntl(3, F_SETFL, O_RDWR)               = 0
> write(3, "\221\0\0\0\3select pw_name, pw_passwd, "..., 149) = 149
> read(3, "\1\0\0\1", 4)                  = 4
> read(3, "\7", 1)                        = 1
> read(3, "\33\0\0\2", 4)                 = 4
> read(3, "\10vpopmail\7pw_name\3 \0\0\1\375\3\3@\0", 27) = 27
> read(3, "\35\0\0\3", 4)                 = 4
> read(3, "\10vpopmail\tpw_passwd\3\377\0\0\1\375\3\1\0\0", 29) = 29
> read(3, "\32\0\0\4", 4)                 = 4
> read(3, "\10vpopmail\6pw_uid\3\v\0\0\1\3\3\0\0\0", 26) = 26
> read(3, "\32\0\0\5", 4)                 = 4
> read(3, "\10vpopmail\6pw_gid\3\v\0\0\1\3\3\0\0\0", 26) = 26
> read(3, "\34\0\0\6", 4)                 = 4
> read(3, "\10vpopmail\10pw_gecos\3\377\0\0\1\375\3\0\0\0", 28) = 28
> read(3, "\32\0\0\7", 4)                 = 4
> read(3, "\10vpopmail\6pw_dir\3\377\0\0\1\375\3\0\0\0", 26) = 26
> read(3, "\34\0\0\10", 4)                = 4
> read(3, "\10vpopmail\10pw_shell\3\377\0\0\1\375\3\0\0\0", 28) = 28
> read(3, "\1\0\0\t", 4)                  = 4
> read(3, "\376", 1)                      = 1
> read(3, "\1\0\0\n", 4)                  = 4
> read(3, "\376", 1)                      = 1
> getcwd("/home/vpopmail/bin", 300)       = 19
> open("/var/qmail/users/cdb", O_RDONLY)  = 4
> lseek(4, 1008, SEEK_SET)                = 1008
> read(4, "b\r\0\0\0\0\0\0", 8)           = 8
> close(4)                                = 0
> fstat(1, {st_mode=S_IFREG|0644, st_size=22120, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40016000
> fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
> read(3, 0x8056dc0, 8192)                = -1 EAGAIN (Resource temporarily
unavailable)
> fcntl(3, F_SETFL, O_RDWR)               = 0
> write(3, "\1\0\0\0\1", 5)               = 5
> shutdown(3, 2 /* send and receive */)   = 0
> close(3)                                = 0
> write(1, "Error: Domain does not exist\n", 29Error: Domain does not exist
> ) = 29
> munmap(0x40016000, 4096)                = 0
> _exit(-11)                              = ?
> </cite>
>
> thanx for looking until here,
>
> regards,
> paul kremer
>
> --
> Paul Kremer, Unix System Administrator        Tel +352 48 28 11
> Global Media Systems SA                     Fax +352 48 28 11-0
> 2, rue Wilson                                       [EMAIL PROTECTED]
> LU-2732 Luxembourg                            http://www.gms.lu
>

Reply via email to