Dpkg hangs indefinitely
Hi,
I am working on a project in a fairly advanced ubuntu environment. The machine I am working on is part of a cluster and is running an opennms monitoring server. Since I started on this project I noticed there was a dpkg proces running in the background: Code:
root 14265 1 0 Dec08 ? 00:00:00 /usr/bin/dpkg --status-fd 24 --unpack --auto-deconfigure /var/cache/apt/archives/libsmi2ldbl_0.4.8+dfsg2-2_amd64.deb This in itself is not a problem, I assume that when the server is rebooted i t will disappear, but now every dpkg install command hangs on unpacking the package. Code:
root@opennms0302:~# apt-get install libsmi2ldbl I have yet to restart the server, but I doubt this will resolve the problem and it might not be easy to get the server up and running again in the cluster. The problem is getting critical though, because new plugins need to be installed for the OpenNMS implementation. Any suggestions are welcome, I know I gave limited information, but that is because there are no error messages thrown anywhere. |
Have you tried running it under strace so that you can see where it hangs?
Cheers, Evo2. ---------- Post added 2011-12-17 at 00:13 ---------- Have you tried running it under strace so that you can see where it hangs? Cheers, Evo2. |
Quote:
Code:
08:55:53.141345 read(21, "Unpacking replacement libsmi2ldb"..., 1024) = 39 The problem is that dpkg is waiting for some kind of I/O, but it is not receiving anything and just sits there forever. As for why it won't let me kill it, I do not know. I will continue to research the problem, but I appreciate any help I can get. ps: Thx for the suggestion Evo2. Edit: As most people having this problem seem to blame their file system, I will post my /etc/mtab: Code:
/dev/sda1 / ext4 rw,errors=remount-ro 0 0 |
From the strace it seems to be man-db related. I'm just guessing here but does man look in /cluster? Ie did you edit /etc/manpath.config to include /cluster? Also, what happens it you try to install/configure the package with /cluster unmounted?
Evo2. |
Quote:
Quote:
I think I will continue by looking for a solution to get dpkg to follow symlinks and access the cluster. |
All times are GMT -5. The time now is 05:42 PM. |