[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postfix Unknown Error 4294936318



Oh well, I'm ashamed. I forgot to allocate enough memory for the UML, as
strace was actually already stating in its output :-/

I did see these cannot allocate memory errors, but didn't think of lack of
memory. I thought of this error like an operation which is trying to
allocate memory where it shouldn't be doing this.

Well then, never mind :)

Jurgen

> List,
>
> I found out that postalias has problems creating the /etc/aliases.db file.
> It results in an unknown error 4294936318.
> After hours of error searching, I found out that my lidb4.2 had the status
> half-installed, so I deinstalled everything, installed libdb4.2 first,
> then checked the status and this was okay now.
> Next step was to install postfix with apt-get.
> Then, the same error occurs again, but when I run postalias
> hash:/etc/aliases by hand now, it works :-S
> Then, I tried again with apt-get -f install, but via apt-get it still
> doesn't work. I think this is really weird, because apt-get is doing the
> same thing, namely calling postalias hash:/etc/aliases also
>
> I paste in the IMHO relevant strace output:
>
> <..snip..>
>
> 2027  waitpid(-1,  <unfinished ...>
> 2089  getpid()                          = 2089
> 2089  close(255)                        = 0
> 2089  rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
> 2089  rt_sigaction(SIGTSTP, {SIG_DFL}, {SIG_DFL}, 8) = 0
> 2089  rt_sigaction(SIGTTIN, {SIG_DFL}, {SIG_DFL}, 8) = 0
> 2089  rt_sigaction(SIGTTOU, {SIG_DFL}, {SIG_DFL}, 8) = 0
> 2089  rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
> 2089  rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0
> 2089  rt_sigaction(SIGCHLD, {SIG_DFL}, {0x807ad20, [], 0}, 8) = 0
> 2089  execve("/usr/sbin/postalias", ["postalias", "hash:/etc/aliases"],
> [/* 16 vars */]) = 0
> 2089  uname({sys="Linux", node="velociraptor", ...}) = 0
> 2089  brk(0)                            = 0x804c000
> 2089  old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
> 2089  access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
> directory)
> 2089  open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
> directory)
>
> <..snip..>
>
>
> 529  stat64("/etc/aliases.db", 0xbffff710) = -1 ENOENT (No such file or
> directory)
> 1529  open("/etc/__db.aliases.db", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE,
> 0644) = 6
> 1529  fcntl64(6, F_SETFD, FD_CLOEXEC)   = 0
> 1529  fstat64(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> 1529  stat64("/etc/__db.aliases.db", {st_mode=S_IFREG|0644, st_size=0,
> ...}) = 0
> 1529  getpid()                          = 1529
> 1529  time(NULL)                        = 1117807410
> 1529  _llseek(6, 0, [0], SEEK_SET)      = 0
> 1529  write(6,
> "\0\0\0\0\1\0\0\0\0\0\0\0a\25\6\0\10\0\0\0\0\20\0\0\0\10"..., 4096) = 4096
> 1529  _llseek(6, 8192, [8192], SEEK_SET) = 0
> 1529  write(6,
> "\0\0\0\0\1\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\0\2\0"..., 4096) = 4096
> 1529  fsync(6)                          = 0
> 1529  stat64("/etc/aliases.db", 0xbffff710) = -1 ENOENT (No such file or
> directory)
> 1529  rename("/etc/__db.aliases.db", "/etc/aliases.db") = 0
> 1529  stat64("DB_CONFIG", 0xbffff7b0)   = -1 ENOENT (No such file or
> directory)
> 1529  open("DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
> directory)
> 1529  stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096,
> ...}) = 0
> 1529  stat64("__db.002", 0xbffff810)    = -1 ENOENT (No such file or
> directory)
> 1529  old_mmap(NULL, 20983808, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
> 1529  brk(0)                            = 0x806d000
> 1529  brk(0x9477000)                    = 0x806d000
> 1529  old_mmap(NULL, 21114880, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
> 1529  old_mmap(NULL, 2097152, PROT_NONE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x42c26000
> 1529  munmap(0x42c26000, 892928)        = 0
> 1529  munmap(0x42e00000, 155648)        = 0
> 1529  mprotect(0x42d00000, 135168, PROT_READ|PROT_WRITE) = 0
> 1529  old_mmap(NULL, 20983808, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
> 1529  stat64("DB_CONFIG", 0xbffff790)   = -1 ENOENT (No such file or
> directory)
> 1529  open("DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
> directory)
> 1529  stat64("__db.001", 0xbffff7b0)    = -1 ENOENT (No such file or
> directory)
> 1529  open("__db.001", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or
> directory)
> 1529  open("__db.001", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or
> directory)
> 1529  open("__db.001", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or
> directory)
> 1529  stat64("__db.001", 0xbffff7f0)    = -1 ENOENT (No such file or
> directory)
> 1529  open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not
> a directory)
> 1529  open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 7
> 1529  fstat64(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> 1529  fcntl64(7, F_SETFD, FD_CLOEXEC)   = 0
> 1529  getdents64(7, /* 9 entries */, 4096) = 288
> 1529  getdents64(7, /* 0 entries */, 4096) = 0
> 1529  close(7)                          = 0
> 1529  unlink("/etc/__db.aliases.db")    = -1 ENOENT (No such file or
> directory)
> 1529  read(6, "", 512)                  = 0
> 1529  close(6)                          = 0
> 1529  write(2, "postalias: fatal: open database "..., 74) = 74
> 1529  time([1117807410])                = 1117807410
> 1529  getpid()                          = 1529
>
> <..snip..>
>
>
> I'm running libd4.2 and postfix 2.2.3-3 running in an UserModeLinux kernel
> 2.6.11
>
> I can provide all strace output if it is needed.
>
> Thanks,
> Jurgen
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



Reply to: