Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: frustrated

  1. #1
    Join Date
    Mar 2005
    Beans
    554

    frustrated with proftpd not starting at bootup

    Just changed my server to 8.04 and i have a serious issue with proftpd. The service does not always start after a reboot. I have no idea why. When it doesn't start, i can manually restart it and it runs fine. Any ideas why it's not working every time?
    Last edited by nix4me; May 18th, 2008 at 02:27 PM.

  2. #2
    Join Date
    May 2008
    Location
    Eugene, OR, USA
    Beans
    435

    Re: frustrated

    I don't have a lot of experience with ProFTPD, but the first thing I'd do is check the logs to see if there are any error messages that might indicate what's wrong...

  3. #3
    Join Date
    Mar 2005
    Beans
    554

    Re: frustrated

    I see nothing in the logs about it. Which log should I see a failed process start?

  4. #4
    Join Date
    May 2008
    Location
    Eugene, OR, USA
    Beans
    435

    Re: frustrated

    You may see something in /var/log/messages ("grep -i proftp /var/log/messages"), but my guess is that ProFTPD has its own log files. Can you tell from looking at the ProFTPD config file where it's putting its logs?

    Alternatively, you might try:

    find /var/log -type f | xargs grep -li proftp

    The above command will give you a list of all files under /var/log that contain the string "proftp" (case-insensitive match).

  5. #5
    Join Date
    Mar 2005
    Beans
    554

    Re: frustrated

    i see nothing pertaining to a failed start. This is frustrating. A manual start works fine. Could it be that proftpd is trying to start before networkmanager has the network up?

    I see no way to switch from networkmanager to network to try it though.

  6. #6
    Join Date
    May 2008
    Location
    Eugene, OR, USA
    Beans
    435

    Thumbs down Re: frustrated

    Well, as an ugly work-around you could put something like this in /etc/rc.local:

    Code:
    # Start ProFTP if it didn't start properly at boot time
    if [ ! "`lsof -t -c proftpd`" ]; then
            /etc/init.d/proftpd start
    fi
    Still it would be better to figure out why it's bombing during the normal startup. Maybe turning up the debugging level higher?

  7. #7
    Join Date
    Mar 2005
    Beans
    554

    Re: frustrated

    Fixed. It was networkmanager. Networkmanager starts too late in the boot process and thus proftpd was starting before it, which was causing it not to start.

    I changed network to non roaming mode and all seems fine now.

  8. #8
    Join Date
    Jan 2007
    Location
    ~/SC/USA
    Beans
    1,969
    Distro
    Ubuntu

    Re: frustrated

    That dosen't seem like a fix but rather a workaround. How did you do the upgrade. I'm sure your using run level 2 (command line - runlevel). Check the etc/rc2.d folder and see if your S50proftpd link is there and that it starts with an "S" and not a "K" and in which order it runs at. Mine starts at "S50" you can change the order.

  9. #9
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: frustrated

    it is also adviced to use a descriptive topic title, that means a topic title that gives some clue about the content in the thread itself...

    a generic topic title like "noob here" or "need help" does not help at all. As you may have notices, just about everyone posting in here has some kind of a problem or issue or question

  10. #10
    Join Date
    Mar 2005
    Beans
    554

    Re: frustrated

    Quote Originally Posted by cdtech View Post
    That dosen't seem like a fix but rather a workaround. How did you do the upgrade. I'm sure your using run level 2 (command line - runlevel). Check the etc/rc2.d folder and see if your S50proftpd link is there and that it starts with an "S" and not a "K" and in which order it runs at. Mine starts at "S50" you can change the order.
    It is S50 in the rc2.d.

    All I know is that it works perfectly now since i unticked "roaming mode" in the network applet and set the configuration to DHCP.

Page 1 of 2 12 LastLast

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
  •