Howdy,
If ever somebody here might have encountered this, the rpm -qa commands just
stuck for ages on my box ( honestly this is rhel 3 box).
I done rebuilding already the /var/lib/rpm/__db* as per KB article but to no
avail.
Any additional hints what's to look for?
One thing I notice w/c I think is weird is that we I losf the process of rpm
-qa that's freezing, it's looking somewhere instead of /var/lib/rpm/ I
supposed.
[root@server1 root]# ps aux | grep rpm
root 10385 0.0 0.0 50788 1860 ? S Aug22 0:00
/usr/lib/rpm/rpmq -q --all
[root@server1 root]# lsof -p 10385
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
rpmq 10385 root cwd DIR 8,3 4096 295489 /root
rpmq 10385 root rtd DIR 8,3 4096 2 /
rpmq 10385 root txt REG 8,3 15672 1920708 /usr/lib/rpm/rpmq
rpmq 10385 root mem REG 8,3 104436 558147 /lib64/ld-2.3.2.so
rpmq 10385 root mem REG 0,56 16384 4804488
/mounted/etc/rpmdb/__db.001 (filer:/vol/v_s02/apps/sss)
rpmq 10385 root mem REG 8,3 151168 1297631
/usr/lib64/librpmbuild-4.2.so
rpmq 10385 root mem REG 8,3 327352 1297057 /usr/lib64/librpm-
4.2.so
rpmq 10385 root mem REG 8,3 1025504 1296970 /usr/lib64/librpmdb-
4.2.so
rpmq 10385 root mem REG 8,3 194208 1298156 /usr/lib64/librpmio-
4.2.so
rpmq 10385 root mem REG 8,3 31880 1296910
/usr/lib64/libpopt.so.0.0.0
rpmq 10385 root mem REG 8,3 69616 1297628 /usr/lib64/libelf-
0.94.1.so
rpmq 10385 root mem REG 8,3 130096 1296872
/usr/lib64/libbeecrypt.so.6.1.0
rpmq 10385 root mem REG 8,3 54072 3151883
/lib64/tls/librtkaio-2.3.2.so
rpmq 10385 root mem REG 8,3 99685 3151880
/lib64/tls/libpthread-0.60.so
rpmq 10385 root mem REG 8,3 58472 1296920
/usr/lib64/libz.so.1.1.4
rpmq 10385 root mem REG 8,3 59280 1296873
/usr/lib64/libbz2.so.1.0.2
rpmq 10385 root mem REG 8,3 1562351 3151959 /lib64/tls/libc-
2.3.2.so
rpmq 10385 root mem REG 8,3 32148976 3431399
/usr/lib/locale/locale-archive
rpmq 10385 root mem REG 0,56 1318912 4804489
/mounted/etc/rpmdb/__db.002 (filer:/vol/v_s02/apps/sss)
rpmq 10385 root mem REG 0,56 663552 4804490
/mounted/etc/rpmdb/__db.003 (filer:/vol/v_s02/apps/sss)
rpmq 10385 root 0u CHR 136,7 9 /dev/pts/7
rpmq 10385 root 1u CHR 136,7 9 /dev/pts/7
rpmq 10385 root 2u CHR 136,7 9 /dev/pts/7
rpmq 10385 root 3r REG 0,56 74817536 10338659
/mounted/etc/rpmdb/Packages (filer:/vol/v_s02/apps/sss)
Rgds,
jbt