[Dovecot] HP-UX troubles
Hi there,
I got dovecot compiled and running on HP-UX 11.23.
It's using LDAPUX and PAM for authentication. So far, it works. But after logging in the connection is closed immediately. It looks like this:
telnet <ip> 143 Connected to ... Escape character is '^]'.
- OK Dovecot ready. a01 login <user> <pass> Connection closed by foreign host.
The dovecot log says:
Error: imap-login: fd_send(7) failed: Bad file number Error: child 22629 (login) returned error 89
As far as I can see, the problem seems to reside in dovecot's fdpass.c...
dovecot version: 1.0.3 gcc version: 2.9
Any ideas or solutions?
Thanks in advance,
Matthias
On Thu, 2007-08-09 at 15:55 +0200, Matthias Luehr wrote:
Error: imap-login: fd_send(7) failed: Bad file number Error: child 22629 (login) returned error 89
As far as I can see, the problem seems to reside in dovecot's fdpass.c...
Dovecot's fd_send() probably doesn't work right with HP-UX. Unfortunately I've no idea why not, and if it's even supposed to work with HP-UX.
Hmm. Did configure say:
checking whether fd passing works... yes
On Thu, 2007-08-09 at 15:55 +0200, Matthias Luehr wrote:
Error: imap-login: fd_send(7) failed: Bad file number Error: child 22629 (login) returned error 89
As far as I can see, the problem seems to reside in dovecot's fdpass.c...
Dovecot's fd_send() probably doesn't work right with HP-UX. Unfortunately I've no idea why not, and if it's even supposed to work with HP-UX.
Hmm. Did configure say:
checking whether fd passing works... yes
Yes. And from config.log:
configure:26621: checking whether fd passing works configure:26694: gcc -o conftest -std=gnu99 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function -cast -D_XOPEN_SOURCE_EXTENDED -I./src/lib ./src/lib/fdpass.c conftest.c
&5 configure:26697: $? = 0 configure:26703: ./conftest configure:26706: $? = 0 configure:26735: result: yes
On Thu, 2007-08-09 at 17:04 +0200, Matthias Luehr wrote:
On Thu, 2007-08-09 at 15:55 +0200, Matthias Luehr wrote:
Error: imap-login: fd_send(7) failed: Bad file number Error: child 22629 (login) returned error 89
As far as I can see, the problem seems to reside in dovecot's fdpass.c...
Dovecot's fd_send() probably doesn't work right with HP-UX. Unfortunately I've no idea why not, and if it's even supposed to work with HP-UX.
Hmm. Did configure say:
checking whether fd passing works... yes
Yes. And from config.log:
Well, if you can figure out why it works with a test program but not really in Dovecot, let me know. :) I can't do anything about this without having access to HP-UX, and I don't really want to spend time on it right now even if did..
participants (2)
-
Matthias Luehr
-
Timo Sirainen