1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> 2<HTML> 3<HEAD> 4 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21"> 5 <TITLE>bftpd documentation: FAQ</TITLE> 6 <LINK HREF="bftpddoc-en-5.html" REL=next> 7 <LINK HREF="bftpddoc-en-3.html" REL=previous> 8 <LINK HREF="bftpddoc-en.html#toc4" REL=contents> 9</HEAD> 10<BODY> 11<A HREF="bftpddoc-en-5.html">Next</A> 12<A HREF="bftpddoc-en-3.html">Previous</A> 13<A HREF="bftpddoc-en.html#toc4">Contents</A> 14<HR> 15<H2><A NAME="s4">4.</A> <A HREF="bftpddoc-en.html#toc4">FAQ</A></H2> 16 17<H2><A NAME="ss4.1">4.1</A> <A HREF="bftpddoc-en.html#toc4.1">Problems while compiling</A> 18</H2> 19 20<H3>I can't compile bftpd</H3> 21 22<P>Let me know. Please tell me what architecture and operating system you are using, and give me the output of the complete compilation process (configure and make). I don't get a lot of mail, so I'll try to answer your questions. If I don't reply, I have almost certainly forgotten your mail, so please send it again :)</P> 23<H3>There are strange warnings</H3> 24 25<P>It is likely that compiling bftpd on a platform I haven't tested may give you some warnings. Even if it compiles successfully and runs without crashing, please tell me, as compiler warnings <EM>can</EM> cause problems which are not obvious.</P> 26<H3>Make tells me I can't use wtmp</H3> 27 28<P>You are probably running Solaris. As I don't have access to a Solaris computer, I have never been able to test the wtmp functions in it. If you get a warning like this and you don't know what wtmp is, just don't care, else help me to fix the error.</P> 29<H2><A NAME="ss4.2">4.2</A> <A HREF="bftpddoc-en.html#toc4.2">Problems when trying to run it</A> 30</H2> 31 32<H3>I get a warning like "Could not get peer IP address."</H3> 33 34<P>You have started bftpd on the console. If you want to run it as a standalone server, you have to invoke it with the "-d" option. If you have set it up as an inetd server, you can test it with: 35<BLOCKQUOTE><CODE> 36<PRE> 37hostname:~$ ftp localhost 38</PRE> 39</CODE></BLOCKQUOTE> 40</P> 41<H3>I get an error like "Bind failed: Address already in use."</H3> 42 43<P>This error means that another process has bound itself to the port you want to run bftpd on. You can set this port in bftpd.conf with the option PORT in the global structure. It defaults to 21. If you have not changed that, you probably forgot to turn off your old FTP server. Look in /etc/inetd.conf and in "ps auxwww | grep ftp".</P> 44<H2><A NAME="ss4.3">4.3</A> <A HREF="bftpddoc-en.html#toc4.3">Problems during the FTP sessions</A> 45</H2> 46 47<H3>I get an error like "500 Unknown command: 'foo'"</H3> 48 49<P>Your client has sent a command to the server which it didn't understand. This is my fault, unless you have written a really inexistent command. Please check your command for typographic errors and report the error to me if you are sure that the command was right.</P> 50<H3>The session terminates with a 421 error</H3> 51 52<P>If you try to log in with a wrong password, bftpd will terminate the connection. If you already had logged in before the error appeared, or the error appeared before you could log in, it definitely is a bug. Please tell me everything about it.</P> 53<H2><A NAME="ss4.4">4.4</A> <A HREF="bftpddoc-en.html#toc4.4">Miscellaneous</A> 54</H2> 55 56<H3>How does the on-the-fly compression work?</H3> 57 58<P>Let's say you have a directory called foo. Even if there is no file called foo.tar.gz, you can RETR this file over FTP and it will contain the contents of the directory foo, tar-gzipped. You can also RETR the following files: 59<UL> 60<LI>dirname.tar</LI> 61<LI>filename.gz</LI> 62</UL> 63 64If you want to use this, you must compile it in (see the installation section).</P> 65<H3>My options for an anonymous user don't work</H3> 66 67<P>If you have a structure with an ALIAS=... in it, you mustn't put any more options in it. Instead, put them into the structure the alias points to.</P> 68<H3>Why is there so little documentation?</H3> 69 70<P>The answer is simple, nobody has written anything :)<BR> 71I never know what to write, so if you have any idea of how to improve the documentation, please tell me. The same applies to translations of documentation. If you want to contribute something, just do it, but <EM>please</EM> care about typographic errors and grammar.</P> 72<HR> 73<A HREF="bftpddoc-en-5.html">Next</A> 74<A HREF="bftpddoc-en-3.html">Previous</A> 75<A HREF="bftpddoc-en.html#toc4">Contents</A> 76</BODY> 77</HTML> 78