Help - pure-ftpd-mysql does not start

Discussion in 'Installation/Configuration' started by phall472, Jan 7, 2010.

  1. phall472

    phall472 New Member

    Last edited: Jan 8, 2010
  2. falko

    falko Super Moderator ISPConfig Developer

    What are the outputs of
    Code:
    netstat -tap
    and
    Code:
    ps aux | grep pure
    ?
     
  3. phall472

    phall472 New Member

    Hello

    Here is netstat -tap:

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 localhost:mysql *:* LISTEN 1623/mysqld
    tcp 0 0 unknown.altushos:domain *:* LISTEN 3238/named
    tcp 0 0 hosted-by.altush:domain *:* LISTEN 3238/named
    tcp 0 0 localhost:domain *:* LISTEN 3238/named
    tcp 0 0 *:ssh *:* LISTEN 3113/sshd
    tcp 0 0 localhost:953 *:* LISTEN 3238/named
    tcp 0 0 localhost:smtp *:* LISTEN 1972/exim4
    tcp 0 52 hosted-by.altushost:ssh d24-235-190-156.h:53924 ESTABLISHED 3348/0
    tcp6 0 0 [::]:www [::]:* LISTEN 2015/apache2
    tcp6 0 0 [::]:domain [::]:* LISTEN 3238/named
    tcp6 0 0 [::]:ssh [::]:* LISTEN 3113/sshd
    tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 3238/named
    tcp6 0 0 hosted-by.altushost:www 81-174-29-42.stati:1294 FIN_WAIT2 -
    tcp6 0 0 hosted-by.altushost:www 81-174-29-42.stati:4698 TIME_WAIT -
    tcp6 0 0 hosted-by.altushost:www 81-174-29-42.stati:1083 TIME_WAIT -
    tcp6 0 0 hosted-by.altushost:www 81-174-29-42.stati:4619 TIME_WAIT -
    tcp6 0 0 hosted-by.altushost:www 81-174-29-42.stati:1179 TIME_WAIT -
    tcp6 0 0 hosted-by.altushost:www 81-174-29-42.stati:4277 TIME_WAIT -
    tcp6 0 0 hosted-by.altushost:www 81-174-29-42.stati:4838 TIME_WAIT -
    tcp6 0 0 hosted-by.altushost:www 81-174-29-42.stati:4506 TIME_WAIT -


    And here is ps aux | grep pure

    (root@T102)-(~) $ ps aux | grep pure
    root 3364 0.0 0.0 3320 656 pts/0 S+ 16:30 0:00 grep pure
    (root@T102)-(~) $

    Thank you
     
  4. phall472

    phall472 New Member

    Hello

    I have been able to solve my problem.

    In the tutorial http://www.howtoforge.org/virtual-hosting-with-pureftpd-mysql-on-debian-lenny
    on page 2 it says:
    "Next, we modify /etc/inetd.conf and comment out the ftp line:

    [...]
    #:STANDARD: These are standard services.
    #ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper
    [...]"

    I did not notice that there were 2 identical lines:
    "#:STANDARD: These are standard services.
    #Ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper
    #ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper
    "

    So I just commented out one line, not both.

    After waiting all day I decided to uninstall pure-ftpd-mysql and start over. When I noticed the 2 lines I commented the second line out. When I tried to restart pure-ftpd-mysql, EUREKA it started up!!!

    I have everything working as it should.

    Thank you
     

Share This Page