LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 03-01-2010, 06:59 AM   #1
aliped
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, 08:17 AM   #2
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

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, 04:36 AM   #3
aliped
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
thanks dudydoo
 
Old 03-02-2010, 04:44 AM   #4
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233
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:
Code:
update-rc.d -f proftpd disable
Cheers,

Evo2.

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

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


Reply


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


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 11:20 AM
proftpd on Debian Lenny w. Netgear wgr614, cannot connect in passive mode Count Zero Linux - Server 5 04-19-2009 05:32 AM
failed to mount /root on boot after upgrade to lenny: boot hangs MrInept Debian 7 10-29-2008 11:21 AM
Boot from Raid Debian Lenny pliqui Debian 9 11-22-2007 12:17 PM
boot hangs after loading proftpd tenitech Slackware 2 01-17-2004 09:43 PM


All times are GMT -5. The time now is 04:31 AM.

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