LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 05-31-2008, 02:51 PM   #1
sarajevo
Member
 
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228
Blog Entries: 1

Rep: Reputation: 31
Killing all remainig processes ....failed during debian/lenny shutdown process.


Hi,

I hope someone had similar problem. I googled for it but without success. On my laptop I have installed Debian-Lenny. Less or more all works but I have some strange problem. When I did shutdown -h now, init 0, ....the system starts to shutdown till I see the following.

" Asking all remaining processes to terminate
Killing all remainig processes ....failed ( in RED )
Stopping portmap deamons ...
" and here hungs. I need to reset machine in order to shutdown it.

I looked in var/log/messages|daenon.log|kern.log but could not to find something as hint for problem solution.
Installation is classical, and on my previous laptops I had not similar error. Laptop is HP Compaq 6510b

Any suggestion is welcome, because this is preatty annoying.
Bellow is output of some commands.

cat /etc/debian_version
lenny/sid

cat /etc/issue
Debian GNU/Linux lenny/sid \n \l

# lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
02:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b6)
02:04.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 02)
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
18:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
 
Old 05-31-2008, 03:12 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,578

Rep: Reputation: 186Reputation: 186
Quote:
Originally Posted by sarajevo View Post
When I did shutdown -h now, init 0, ....the system starts to shutdown till I see the following.

" Asking all remaining processes to terminate
Killing all remainig processes ....failed ( in RED )
Stopping portmap deamons ...
" and here hungs. I need to reset machine in order to shutdown it.
As an experiment you might kill the portmap daemon just before you issue the shutdown command. Maybe that will tell you why portmap seems to hang when shutdown tries to stop portmap.

---------------------
Steve Stites

P.S. Another possibility is that shutdown is stopping daemons in the wrong order. Do you have any RPC daemons running? If so you might try killing the RPC daemons, then kill portmap, and then issue shutdown.

Last edited by jailbait; 05-31-2008 at 03:15 PM.
 
Old 05-31-2008, 03:20 PM   #3
sarajevo
Member
 
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Hi,
I did ps | aux grep portmap ....

then

kill -p PORTMAP_ID

did

init 0

and had the same error.

ps aux | grep rpc
statd 1969 0.0 0.0 1892 720 ? Ss 23:16 0:00 /sbin/rpc.statd
root 3129 0.0 0.0 3852 704 pts/0 R+ 23:18 0:00 grep rpc


Thank you for answer.
 
Old 05-31-2008, 03:33 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,578

Rep: Reputation: 186Reputation: 186
Quote:
Originally Posted by sarajevo View Post
Hi,
I did ps | aux grep portmap ....

then

kill -p PORTMAP_ID

did

init 0

and had the same error.
I am a little confused by your answer. Do you mean that shutdown hung after the same message?

" Asking all remaining processes to terminate
Killing all remainig processes ....failed ( in RED )
Stopping portmap deamons ...

What messages did you get when you killed portmap?

-------------------
Steve Stites
 
Old 05-31-2008, 03:37 PM   #5
sarajevo
Member
 
Registered: Apr 2005
Distribution: Debian, OpenBSD,Fedora,RedHat
Posts: 228
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Sorry for confusing answer.

After killing portmap deamon, and doing init 0, I got the same error as before. Nothing changed with killing portmap, the same error remained.

Reg+Thx

PS : I spent a lot of time on this problem, and google search did not gave some answer, similar problem people had.
 
Old 08-27-2008, 06:30 PM   #6
stella h
LQ Newbie
 
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
same problem!

also have installed lenny and got the same error message!
 
Old 09-26-2008, 01:06 AM   #7
kagashe
LQ Newbie
 
Registered: Sep 2005
Distribution: Ubuntu 7.10
Posts: 16

Rep: Reputation: 0
If you wait for longer period the system shuts down without hard reset.

kagashe
 
Old 12-11-2008, 08:26 PM   #8
andymosi
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
portmap problem debian lenny linux

Hi,
I have had several problems with portmap on debian lenny.
Running it all alone under 2.6.21 kernel works almost fine.
Except that after some network devices are started and some ports were used, the portmap is not stoppable as a daemon.
/etc/init.d/portmap stop
If the daemon takes "longer" to stop, that`s not a feature, that`s a bug.
Killing is possible.
That solves the problem.
Portmap is needed by nfs-common package. I would delete it if not necessary.

Another issue:
Emacs / slime / swank-clojure

If portmap is running, this setup does not work, the slime tries to connect to swank-clojure and "cannot find the server".

After stopping/killing portmap, everything works fine.
My guess is, that the portmap package is a little outdated.
Anybody knows more, how to remove it and keep the dependencies (nfs???)

Thanx, best regards,
mosi
 
  


Reply

Tags
debian, lenny, portmap, reboot


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
KDE offers no shutdown options on Debian Lenny sonichedgehog Linux - Desktop 7 01-22-2008 02:09 PM
Killing processes hongman Linux - Newbie 3 02-28-2005 06:27 PM
killing processes adriaanbw Linux - Software 3 05-24-2003 11:46 PM
Setting and killing processes? KendersPlace Linux - Newbie 3 03-15-2003 08:37 PM
Vm: Killing Processes tbhebe Linux - General 3 03-07-2002 10:51 AM


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

Main Menu
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