View previous topic :: View next topic |
Author |
Message |
letchideslandes Apprentice
Joined: 21 Nov 2004 Posts: 197 Location: Landes France
|
Posted: Thu Jan 24, 2013 6:57 pm Post subject: oftpd no longer works |
|
|
I used net-ftp/oftpd-0.3.7-r3 for several years.
Since this morning it went to version net-ftp/oftpd-0.3.7-r8.
Unfortunately I can not get it to work
Code: | gentoocyril cyril # oftpd -N ftp /home/ftp/
error_init: 97 error creating socket; %s |
Does someone have an idea ?
Thanks |
|
Back to top |
|
|
cbx550f Tux's lil' helper
Joined: 11 Jun 2004 Posts: 112 Location: Ontario, Canada
|
Posted: Fri Jan 25, 2013 5:24 pm Post subject: |
|
|
Just took a quick peek at the source, and the following appears to be the segment where the error is printed:
Code: |
/* Put some information in syslog */
syslog(LOG_INFO, "Binding interface '%s', port %d, max clients %d\n", buf,
ntohs(SINPORT(&sock_addr)), max_connections);
/* okay, finally do some socket manipulation */
fd = socket(AF_INET, SOCK_STREAM, 0);
if (fd == -1) {
error_init(err, errno, "error creating socket; %s", strerror(errno));
return 0;
}
|
Anything in /var/log/messages?
Also - according to my latest sync, oftpd-0.3.7-r7 is the stable version. Tried that?
Paul _________________ I think, therefore I am wrong. |
|
Back to top |
|
|
letchideslandes Apprentice
Joined: 21 Nov 2004 Posts: 197 Location: Landes France
|
Posted: Fri Jan 25, 2013 8:40 pm Post subject: |
|
|
Here the syslog message :
Code: | Jan 25 21:38:29 gentoocyril oftpd: Starting, version 0.3.7, as PID 26639
Jan 25 21:38:29 gentoocyril oftpd: Binding interface '::', port 21, max clients 250
Jan 25 21:38:29 gentoocyril oftpd: error initializing FTP listener; error creating socket; Address family not supported by protocol |
|
|
Back to top |
|
|
cbx550f Tux's lil' helper
Joined: 11 Jun 2004 Posts: 112 Location: Ontario, Canada
|
Posted: Fri Jan 25, 2013 8:43 pm Post subject: |
|
|
Try remerging oftpd with USE=-ipv6 maybe? _________________ I think, therefore I am wrong. |
|
Back to top |
|
|
letchideslandes Apprentice
Joined: 21 Nov 2004 Posts: 197 Location: Landes France
|
Posted: Fri Jan 25, 2013 9:55 pm Post subject: |
|
|
I don't have support for ipv6 in kernel and USE="-ipv6" in globals use flags. |
|
Back to top |
|
|
letchideslandes Apprentice
Joined: 21 Nov 2004 Posts: 197 Location: Landes France
|
Posted: Fri Jan 25, 2013 10:27 pm Post subject: |
|
|
I compiled the kernel with ipv6, oftpd without ipv6 support, and it works now.
I think to make a bug report |
|
Back to top |
|
|
cbx550f Tux's lil' helper
Joined: 11 Jun 2004 Posts: 112 Location: Ontario, Canada
|
Posted: Fri Jan 25, 2013 10:33 pm Post subject: |
|
|
Sounds like the -ipv6 isn't being obeyed completely, yeah.
Good to hear you got it going. _________________ I think, therefore I am wrong. |
|
Back to top |
|
|
|