Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: Lee on October 03, 2011, 06:36:37 PM

Title: bftpd - Bind failed: Address family not supported by protocol
Post by: Lee on October 03, 2011, 06:36:37 PM
I'm getting this odd error that did not occur on tc 3.x:

Code: [Select]
tc@box:~$ sudo /usr/local/sbin/bftpd -d -c /usr/local/etc/bftpd.conf
tc@box:~$ Bind failed: Address family not supported by protocol

I've seen people report similar problems with other extensions here on the forums, but none of the advice from those threads seems to be helping here.

Has anyone gotten to the bottom of this error, found a definite cause and/or solution?

I'm using Micro Core 4.0 and have loaded the following extensions:
bftpd
gcc_libs
libcups
ncurses
ncurses-common
openssh
openssl-0.9.8
popt
samba3
zile

samba is not running, openssh is.

This issue occurs on at least two systems, which is all I've tried bftpd on since I upgraded to Micro Core 4.0.

Any ideas?

Lee
Title: Re: bftpd - Bind failed: Address family not supported by protocol
Post by: Rich on October 03, 2011, 06:42:59 PM
Hi Lee
Could it be related to one of these?
http://forum.tinycorelinux.net/index.php/topic,11551.msg61041.html#msg61041 (http://forum.tinycorelinux.net/index.php/topic,11551.msg61041.html#msg61041)
http://forum.tinycorelinux.net/index.php/topic,11516.msg60800.html#msg60800 (http://forum.tinycorelinux.net/index.php/topic,11516.msg60800.html#msg60800)
Title: Re: bftpd - Bind failed: Address family not supported by protocol
Post by: curaga on October 04, 2011, 10:01:01 AM
http://bftpd.sourceforge.net/downloads/CHANGELOG (http://bftpd.sourceforge.net/downloads/CHANGELOG)

According to the changelog, it's a bftpd bug. I tested the latest quickly, appeared to work. I'll update the extension soon. edit: up.

This looks like a change in the behavior of glibc, but also appears to be correct, so it'll expose some buggy apps.
Title: Re: bftpd - Bind failed: Address family not supported by protocol
Post by: Lee on October 04, 2011, 02:38:50 PM
The new bftpd extension works beautifully.

Thank you, Curaga for the update.   And thank you, Rich for your suggestion as well - although I didn't get time to test it before Curaga posted the update.

Lee