RPM search as user fails and works with root user
Hai all,
We have Linux RHEL 4 Itanium installed on 2 servers. [oracle@db1 ~]$ uname -a Linux servername 2.6.9-55.EL #1 SMP Fri Apr 20 16:30:19 EDT 2007 ia64 ia64 ia64 GNU/Linux Any clue ? Kai |
1. if you want non-root user to be able to run those rpm cmds, you'll want them IN the rpm group.
eg Code:
open("/var/lib/rpm/__db.001", O_RDWR) = -1 EACCES (Permission denied) 2. The above may also be the cause of Code:
.... libm.so.6.1 ... No such file or directory |
Thanks Chris.
1.We have the files missing in node 2 too, but the same command works fine in node 2 as non-root user Kai |
There's something seriously messed up with your rpm SW, any user should be able to
Code:
rpm -qa | grep glibc Try Code:
rpm --rebuilddb On my RHEL5 & RHEL6 systems, I'd check the /var/lib/rpm dir contents. See http://www.cyberciti.biz/tips/howto-...-database.html NB: do the rebuilddb after checking/setting owners/perms etc. BTW: you do know RHEL4 went out of regular support in Feb http://www.redhat.com/security/updates/errata/ ? |
Thanks Chris. I tried rebuilding the RPM, but issue still exists.
Kai |
So, did you add the user to the rpm group?
|
Quote:
Kai |
I guess you're going to have to slog through checking the working user against the non-working one..
Check the login files line by line, ownerships, groups, perms, acls ... |
All times are GMT -5. The time now is 08:33 AM. |