Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Fedora 11 box that serves as a FTP server that I have inherited, my problem is that I can’t find what process/program or daemon that’s hosting the FTP service or where it is configured
It doesn’t seem to be running any of the standard FTP servers the only ftp reference I have is a process that runs in the kernel called “nf_conntrack_ftp”
How can I find what application is hosting my FTP service?
It typically won't be a configuration file that you need to change - you'll find that the java application deployed on Tomcat has an FTP server embedded into it (using one of the Java FTP API's available) - thus you'll need to consider if you want to leave the application running or not? Or reverse engineer the application (if you have the source code).
I do have the source code and can now comfirm that the FTP server is running as part of the Java application. Ok so I am getting near to what my real problem is, the FTP service does not seem to be working in both active and passive modes after a reboot. it seems to reverts to using passive mode only wich is a problem for users using windows FTP command line for batch processing.
I know its probably a long shot but does anyone have any ideas? I think it may have something to do with running a kernal process.
is there any possibility of runnng scp on that server ?
Well he's running some form of java based integrated FTP service, why would a standalone SSHD instance be an acceptable replacement? it's not compatible with FTP at all.
I know its probably a long shot but does anyone have any ideas? I think it may have something to do with running a kernal process.
More than likely you'll have to modify the code. Its been a while since I coded up FTP in Java; from what I can remember; depending on the API you're using; there's a parameter for setting Active/Passive FTP.
I suggest you do is Google something like "FTP Commons Java Mode" - alternately you could post the source here and I can try to help if I can.
Well he's running some form of java based integrated FTP service, why would a standalone SSHD instance be an acceptable replacement? it's not compatible with FTP at all.
my point was not to use the deprecated ftp service but instead use scp which is easier to implement as well as encrypted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.