LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-11-2008, 05:24 PM   #1
Romac34
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
Talking Processes blocking APT get and FTP


Hello everybody,

All of a sudden APT get doesnt work on my Debian webserver anymore and I cant log in with ftp on my sites. The hosting company told me that certain processes were locking APT get and a dpkg-configure is blocking FTP access. I killed the processes they talked about but I dont know where to find and end that dpkg-configure. Can anyone enlighten me?
I wanted to post this in the newby section but since it is so specificly server related I thought it would end up here anyway.
 
Old 07-04-2008, 03:21 PM   #2
trevelluk
Member
 
Registered: Nov 2003
Location: Bristol, UK
Distribution: Debian Lenny, Gentoo (at work)
Posts: 388

Rep: Reputation: 32
You could try
Code:
ps aux | grep dpkg-configure
which will list all of the running processes with dpkg-configure in the name. The second column is the process ID, which you can then try to kill.

There's also a "killall" command which kills every process with a particular name, so in your case:
Code:
killall dpkg-configure
Also, in case you didn't know, then both kill and killall accept the parameter "-9" which will force kill the relevant process(es). This should only really be used as a last resort though, as the affected process will not be given any opportunity to shut down nicely, clean up temporary files and so on.

As a final point, do you know which package caused APT and dpkg to get in this state. If it happens repeatedly for no apparent reason, it might be worth filing a bug against the package.

Hope this helps!
 
Old 07-07-2008, 02:02 AM   #3
Romac34
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks

Thanks,

In the end my provider helped me out so thing are running now.

Regards,

Robert
 
  


Reply



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
apt-get error blocking all new packages and upgrades hedpe Linux - Software 2 11-16-2007 12:02 AM
e2fsprogs blocking apt-get nalmeth Debian 21 12-01-2005 10:36 AM
IPFW rules for blocking ftp ????? Atrocity *BSD 1 06-22-2004 09:45 AM
ftp port blocking tarak4u Linux - Networking 4 09-22-2003 04:48 AM
Shorewall blocking ftp wingcom Linux - Newbie 0 07-20-2003 04:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:46 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
Open Source Consulting | Domain Registration