Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
oftpd no longer works
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
letchideslandes
Apprentice
Apprentice


Joined: 21 Nov 2004
Posts: 197
Location: Landes France

PostPosted: Thu Jan 24, 2013 6:57 pm    Post subject: oftpd no longer works Reply with quote

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
View user's profile Send private message
cbx550f
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 112
Location: Ontario, Canada

PostPosted: Fri Jan 25, 2013 5:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
letchideslandes
Apprentice
Apprentice


Joined: 21 Nov 2004
Posts: 197
Location: Landes France

PostPosted: Fri Jan 25, 2013 8:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
cbx550f
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 112
Location: Ontario, Canada

PostPosted: Fri Jan 25, 2013 8:43 pm    Post subject: Reply with quote

Try remerging oftpd with USE=-ipv6 maybe?
_________________
I think, therefore I am wrong.
Back to top
View user's profile Send private message
letchideslandes
Apprentice
Apprentice


Joined: 21 Nov 2004
Posts: 197
Location: Landes France

PostPosted: Fri Jan 25, 2013 9:55 pm    Post subject: Reply with quote

I don't have support for ipv6 in kernel and USE="-ipv6" in globals use flags.
Back to top
View user's profile Send private message
letchideslandes
Apprentice
Apprentice


Joined: 21 Nov 2004
Posts: 197
Location: Landes France

PostPosted: Fri Jan 25, 2013 10:27 pm    Post subject: Reply with quote

I compiled the kernel with ipv6, oftpd without ipv6 support, and it works now.
I think to make a bug report
Back to top
View user's profile Send private message
cbx550f
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 112
Location: Ontario, Canada

PostPosted: Fri Jan 25, 2013 10:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum