AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Proftpd onAIX 6.1

    Posted Mon May 11, 2009 11:58 PM

    Originally posted by: credfemo


    Hello.
    I'm running Proftpd on AIX 6.1 (from AIX toolbox). Everything's running well, but... In order for Passive Mode to work, I need to have ftpd and proftpd lines uncommented in /etc/inetd.conf

    If I run lssrc -t ftp, only proftpd shows up as running. I thought ftpd was not necessary for proftpd to work.

    Oh, and if I manually start proftpd (not from inetd) then all is good. Meaning that ftpd is not necessary for passive mode to work.

    Any ideas ?


  • 2.  Re: Proftpd on AIX 6.1

    Posted Tue May 12, 2009 11:02 AM

    Originally posted by: credfemo


    Update:
    The problem occurs only when I do stopsrc -t ftp, startsrc -t ftp. Then the ftpd line gets uncommented. But if I stop proftpd (stopsrc -t ftp), then comment out the ftpd line and the run refresh -s inetd, then proftpd works fine.

    So I guess the solution is to stop proftpd with stopsrc -t ftp, then restart it with refresh-s inetd.

    ;-)

    CF


  • 3.  Re: Proftpd onAIX 6.1

    Posted Tue May 12, 2009 11:24 AM

    Originally posted by: tony.evans


    Not sure about your specific problem, but inetd and SRC shouldn't interact.

    If a daemon is configured to be running in inetd, then it should be started from startsrc.

    inetd will launch the daemon as required.

    Some daemons run as a constant process which forks (i.e. under SRC control) and some are launched by a listening process (inetd). Sounds like you've got both of them and they're conflicting.


  • 4.  Re: Proftpd onAIX 6.1

    Posted Tue May 12, 2009 11:25 AM

    Originally posted by: tony.evans


    grr, no edit mode.

    "then it should NOT be started from startsrc."