Cyrus-IMAP broken with net-snmp-5.2

Дейтер Александр Валериевич tiamat at komi.mts.ru
Fri Dec 10 07:27:33 EST 2004


Hi,

cyrus-imapd-2.2.10 work fine with net-snmp-5.1.2, but not started after 
recompile with net-snmp-5.2:

Dec 10 10:56:17 master[49104]: couldn't dup fd 0: %m
Dec 10 10:56:17 master[49104]: exiting

master.c:
     /* we reserve fds 3 and 4 for children to communicate with us, so they
        better be available. */
     for (fd = 3; fd < 5; fd++) {
	close(fd);
	if (dup(0) != fd) fatal("couldn't dup fd 0: %m", 2);
     }


Why ?

Thanks a lot!
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list