FTP Server
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? Thanks |
if your ftp service is LISTENING TCP Port 21 (by default), i guess you can try this command:
#by root lsof -nPi |grep 21 |
netstat -plnt will hsow what process is listening on what port.
|
Java Tomcat
|Thanks Guys
it seems that Java is hosting the FTP server tcp 0 0 :::8021 :::* LISTEN 1622/java I know that the server is hosting java/Tomcat now just need to know where the configuration files are? |
Hi,
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). |
Ok thanks that's a great help,
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. thanks |
is there any possibility of runnng scp on that server ?
|
Quote:
|
Quote:
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. |
Quote:
just a suggestion. |
All times are GMT -5. The time now is 05:05 PM. |