Results 1 to 7 of 7

Thread: Find all FTP packages

  1. #1
    Join Date
    Jul 2009
    Posts
    188

    Find all FTP packages

    Hello ,
    I installed pure-ftpd and put a virtual user until this point there was no error. By cons when I decided to start the server it gave me an error
    Code:
    debian: / etc # pure-ftpd
    Unable to start a standalone server: Address already in use
    Then with the use of the command USIS it said there was a problem to use this since I already tried to install another FTP without success. So I think the ftp address is already used or the process and that pure-ftpd can not boot. How to know that ftp work? order to remove FTP. I was looking for whether that prevents pure-ftpd start otherwise there would not be a log somewhere. I tried the following
    Code:
    debian: / etc # dpkg - list '* ftp'
    I do not know I am right or not? or am I completely off the plate ? Thanks in advance.

  2. #2
    Join Date
    May 2008
    Posts
    4,570

    Re: Find all FTP packages

    Hi
    You can see what process is listening on port 21 (ftp) with the following command.
    Code:
    # lsof -i: 21
    To issue this command first you have to be the root user. Think this may help you. If any problem do post back.

  3. #3
    Join Date
    Jul 2009
    Posts
    188

    Re: Find all FTP packages

    Hi
    As you said I issue the following command
    # lsof -i: 21
    This was the result I got
    Code:
     debian: / etc # lsof-i: 21
    CMD PID USER SIZE NODE
    inetd 1584 root 4u IPv4 3254 TCP *: ftp
    Please not that port 21 from my router is on open. Now, any advice on this.

  4. #4
    Join Date
    May 2008
    Posts
    4,570

    Re: Find all FTP packages

    Hello
    FTP service is run by the super daemon inetd. You can look in / etc / inetd.conf if this service is uncommented. To disable it you can put it in comment and restart the inetd for the changes to take effect. Then you run again lsof command to make sure that port 21 is no longer used. Any more problems do post back.

  5. #5
    Join Date
    Jul 2009
    Posts
    188

    Re: Find all FTP packages

    Hi
    Output of / etc / inetd.conf:
    Code:
    debian: / etc # vi / etc / inetd.conf
    # / Etc / inetd.conf: see inetd (8) for further information.
    # Internet superserver configuration database
    # Lines starting with "#: LABEL:" Gold "# # <OFF>" should not
    # Be changed unless you know what you are doing!
    # If you want to disable an entry so it is not touched during
    # Package updates just comment it out with a single '#' character.
    # Packages should modify this file by using update-inetd (8)
    # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
    #: INTERNAL: Internal services
    # discard stream tcp nowait root internal
    # discard dgram udp wait root internal
    # daytime stream tcp nowait root internal
    # time stream tcp nowait root internal
    #: STANDARD: These are standard services.
    ftp stream tcp nowait root / usr / sbin / tcpd / usr / sbin / proftpd
    I did not find the line uncommented. I have not tried to comment the line and restart it. I think there is a risk in doing that. Any advice.

  6. #6
    Join Date
    May 2008
    Posts
    4,570

    Re: Find all FTP packages

    Hello
    I have not tried to comment the line and restart it. I think there is a risk in doing that.
    Yes you can surely comment the line. There is no risk in that. You have already installed proftpd as ftp service so if you want to use pure-ftpd proftpd must be disabled. This will surely work. Try it.

  7. #7
    Join Date
    Jul 2009
    Posts
    188

    Re: Find all FTP packages

    Hi
    There is no problem now when I issue this command.
    Code:
    # lsof-i: 21
    Every thing is working fine now, and it is giving the desired result what I want. Thanks for your help.

Similar Threads

  1. How to get rid of add on packages on Tata Sky DTH
    By Madri in forum India BroadBand
    Replies: 3
    Last Post: 30-06-2012, 04:11 PM
  2. Airtel DTH and its Packages
    By Cade in forum India BroadBand
    Replies: 6
    Last Post: 05-05-2010, 11:19 PM
  3. Install all .deb packages from CD
    By Amy Adams in forum Operating Systems
    Replies: 5
    Last Post: 19-03-2010, 11:27 AM
  4. How to find list of installed packages in Ubuntu
    By Croulet in forum Operating Systems
    Replies: 3
    Last Post: 08-07-2009, 04:38 PM
  5. Using MSI setup packages
    By Beneficence in forum Windows Software
    Replies: 3
    Last Post: 16-03-2009, 10:57 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,259,383.70431 seconds with 17 queries