Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


LinkBack Search this Thread
Old 03-01-2010, 05:59 AM   #1
LQ Newbie
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Unhappy Proftpd hangs during boot - Debian Lenny

Hi, I have a new Debian Lenny installation which starts proftpd at startup.

After restarting the machine, proftpd hangs without any error messages. I cannot access a shell because the boot sequence hasn't been completed so i cannot provide any logs or disable proftpd from starting.

Can anyone help with a solution or have any ideas how to get into my server without it being able to boot properly?
Old 03-01-2010, 07:17 AM   #2
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 271

Rep: Reputation: 38
At the grub bootloader, boot to single user (add a 1 to the end of the kernel boot string) and use Debian's init management tools to stop Proftpd from loading in the default runlevel. Then boot as normal and try to start Proftp manually to see what messages it yields.
Old 03-02-2010, 03:36 AM   #3
LQ Newbie
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
thanks dudydoo
Old 03-02-2010, 03:44 AM   #4
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 4,822

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
Some distro specific information in follow up to Dudydoo's instructions:

There should be an entry in the grub menu to allow you to boot into single user mode.

Once booted you can disable proftpd from automatically starting with:
update-rc.d -f proftpd disable


Last edited by evo2; 03-02-2010 at 03:57 AM. Reason: Forgot "-f" flag.
Old 03-02-2010, 09:24 AM   #5
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 271

Rep: Reputation: 38
Ah! Thanks evo2, I couldn't remember the actual command off the top of my head.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Setting Up ProFTPd + TLS On Debian Lenny LXer Syndicated Linux News 0 07-30-2009 10:20 AM
proftpd on Debian Lenny w. Netgear wgr614, cannot connect in passive mode Count Zero Linux - Server 5 04-19-2009 04:32 AM
failed to mount /root on boot after upgrade to lenny: boot hangs MrInept Debian 7 10-29-2008 10:21 AM
Boot from Raid Debian Lenny pliqui Debian 9 11-22-2007 11:17 AM
boot hangs after loading proftpd tenitech Slackware 2 01-17-2004 08:43 PM

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration