XAMPP: Another FTP daemon is already running

Problems with the Linux version of XAMPP, questions, comments, and anything related.

XAMPP: Another FTP daemon is already running

Postby frperalta1 » 01. November 2005 18:22

I am running FC4 on my server and SELinux is disabled. I can't start ProFTP because I get the following error message.

XAMPP: Another FTP daemon is already running

I have run the command ps -aux but I cannot seem to find any process that mentions an FTP program.

The program was running fine until yesterday when I restarted the server.

Any ideas what I can do to get ProFTP running again.

By the way, XAMPP is a super package! Keep up the great work!
frperalta1
 
Posts: 4
Joined: 22. July 2005 15:20

Postby deepsurfer » 01. November 2005 19:29

try this to find out the programm...

Code: Select all
netstat -a -n -p |grep ':21'

normaly now a line come up with information of a process-id of the programm that use port 21.
you can kill at this point the process or then

Code: Select all
ps -aux |grep xxxx    (xxx = process id that come in netstat search)

normaly you see more Information of the programm that use port 21 and you can try to stop it with Unix-commands (e.g. /etc/init.d/programmname stop)
chirio Deep
Wie sagte einst der MCP aus Tron auf dem Bildschirm zu schreiben Pflegte
" ... end of communication ... "
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian

Postby frperalta1 » 03. November 2005 20:53

Thanks for getting back to me!

I typed in your suggestions and received the following responses:

#netstat -a -n -p |grep ':21'

tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1960/xinetd

# ps aux |grep 1960

root 1960 0.0 0.1 2180 912 ? Ss Nov01 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 16481 0.0 0.1 3768 672 pts/5 R+ 14:42 0:00 grep 1960

It seems my xinetd process is causing the problem. If I stop this xinetd process, will it affect other parts of my server as I am not sure but doesn't xinetd control access to other ports like http, https, imap, imaps, etc?

Any guidance will be greatly appreciated.

Thank you
frperalta1
 
Posts: 4
Joined: 22. July 2005 15:20

Postby Wiedmann » 03. November 2005 21:19

Any guidance will be greatly appreciated.

"man xinetd" or "man xinetd.conf"

but doesn't xinetd control access to other ports like http, https, imap, imaps, etc?

Right, the xinetd controls serveral ports/daemons. Read the manpage how to disable ftp in the conf file.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests