Announcement

Collapse
No announcement yet.

Indentify currently running web servers and stop them

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Indentify currently running web servers and stop them

    Hi,

    Hi,

    I installed lamp in kubuntu 8.1. When i started the server, mysql started but for apache and FTP, it says that someother servers are already running.[didnt mention any name..]

    How do i stop them and setup apache as the default localserver.??

    Thank You

    #2
    Re: Indentify currently running web servers and stop them

    Thanuja,

    please give some more details about what you mean by "installed lamp". Usually LAMP means "linux, apache, mySQL and PHP". No ftp there. Also, there is nothing like "lamp server" to run. Regarding eg. apache - there are also other web servers. If you have installed one of them previously for some reason, apache probably will refuse to start. Same about ftp server - but still that is only guess.

    To find what server is running you may use "lsof" command. If not available in your system, install "lsof" package with:
    Code:
    sudo apt-get install lsof
    Then you run
    Code:
    lsof | grep TCP
    and this should give you several lines of output. Look for line like this:

    vsftpd 1074 root 3u IPv4 4950 0t0 TCP *:ftp (LISTEN)

    which means, that process with PID 1074 is listening to port 21 (FTP).
    Same for http:

    apache2 2052 root 4u IPv6 7454 0t0 TCP *:www (LISTEN)

    That are examples of course...

    Comment

    Working...
    X