Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-15-2016, 06:28 AM
|
#1
|
LQ Newbie
Registered: Nov 2016
Posts: 6
Rep:
|
ls: error while loading shared libraries: libacl.so.1:
Hi,
We have RHEL 4 update 4 running on IBM Server.
Recently i upgraded Database from 9.2.0.6 to 9.2.0.8.
After the upgrade was over ( which was sucessfull ) ,i started getting errors for ls command thru out the server
[oratst@tatasons lib]$ ls
ls: error while loading shared libraries: libacl.so.1: cannot open shared object file: Input/output error
Can someone help ? This is Urgent !!
Regards
|
|
|
11-15-2016, 10:59 AM
|
#2
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
Reboot. Check for error lights on the disks. Boot from live CD and fsck the partitions.
|
|
1 members found this post helpful.
|
11-15-2016, 11:54 AM
|
#3
|
LQ Newbie
Registered: Nov 2016
Posts: 6
Original Poster
Rep:
|
Oracle patch
Thanks for reply, however since this problem has coincided with the Oracle patch application, perhaps Oracle patch removed this library file?
Can a Linux admin recover this lost file?
|
|
|
11-15-2016, 12:30 PM
|
#4
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,110
|
The library belongs to the acl package. You could try reinstalling acl with yum.
Last edited by hazel; 11-15-2016 at 12:31 PM.
|
|
1 members found this post helpful.
|
11-15-2016, 02:28 PM
|
#5
|
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908
|
It looks like it is time to upgrade your system. RHEL 4 has been out of maintenance for quite a while- about 4 years out of date.
|
|
|
11-15-2016, 03:56 PM
|
#6
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
"Input/output error" means something is wrong with the filesystem/disk/hardware. The timing is probably coincidental.
|
|
1 members found this post helpful.
|
11-15-2016, 09:11 PM
|
#7
|
LQ Newbie
Registered: Nov 2016
Posts: 6
Original Poster
Rep:
|
Commands to reinstall all package
Thanks hazel
Can you give me the command to reinstall all package?
All is already installed.
It seems only that particular file is missing.
|
|
|
11-15-2016, 09:24 PM
|
#8
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep:
|
Did you pay attention to the I/O error? Not only your OS is outdated, your hard drive may be dying, too. I'd have a closer look at this issue before it is too late.
|
|
|
11-16-2016, 12:39 AM
|
#9
|
LQ Newbie
Registered: Nov 2016
Posts: 6
Original Poster
Rep:
|
Finding replacement for libacl.so.1
We have planned for an upgrade of Rhel 4 to OEL 7.
However till that time , we have to live with Rhel.
Our h/w is 8 years old , so a h/w upgrade also is in pipeline.
We have asked for linux Admin to have a look.
However apart from ls command , many other commands are working properly.
If there was a Disk error , none of the commands would have worked.
This seems more like a case of a particular library getting erased , and affecting only those commands which are using that shared lib.
I have checked that the ACL shared lib is installed in this Linux.
However the physical file is missing for sure.
So can we rectify this ? We have a production server ( where things are fine ) , and this file is present over there.
Regards,
|
|
|
11-16-2016, 12:40 AM
|
#10
|
LQ Newbie
Registered: Nov 2016
Posts: 6
Original Poster
Rep:
|
ldd command output
[oratst@tatasons ~]$ ldd /bin/ls
/lib/libcwait.so (0x0058f000)
librt.so.1 => /lib/tls/librt.so.1 (0x00a65000)
libacl.so.1 => not found ************************************> see here
libselinux.so.1 => /lib/libselinux.so.1 (0x003b7000)
libc.so.6 => /lib/tls/libc.so.6 (0x00123000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0036c000)
/lib/ld-linux.so.2 (0x00105000)
|
|
|
11-16-2016, 02:14 AM
|
#11
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,110
|
Quote:
Originally Posted by yogsal
Thanks hazel
Can you give me the command to reinstall all package?
All is already installed.
It seems only that particular file is missing.
|
Become root, then type yum remove acl followed by yum install acl
You could have found that out by yourself by reading the yum man page.
|
|
|
11-16-2016, 05:24 AM
|
#12
|
LQ Newbie
Registered: Nov 2016
Posts: 6
Original Poster
Rep:
|
Hazel ,
Thanks for the update.
Actually i am an Oracle Dba , i am not confident on Linux admin ( even if i read the manual).
It seems easy to fire those 2 commands.
however seems i can't find yum
[root@tatasons ~]# yum
-bash: yum: command not found
Regards,
|
|
|
11-16-2016, 06:44 AM
|
#13
|
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908
|
You might have some trouble finding repositories for RHEL 4.
I'm not sure yum was installed by default on RHEL 4 either (but it might depend on which release). I find that it was not available for 4.0, but was ported to 4.9 so it depends on how uptodate the release is as to whether a historical repository will have it.
I found this discussion on installing yum on a 4.0 saying it wasn't available until it was backported to 4.7/4.8/4.9, but still recommended using "uptodate".
http://www.linuxquestions.org/questi...nually-928888/
I looked at http://www.pramberger.at/peter/servi...ository/rhel4/ as a historical repository for RHEL 4... and didn't find yum there either.
You may have to manually search for the rpm package you want to get the "missing" file - but it should be on your install disk, or in the above archived repository (or another one).
Last edited by jpollard; 11-16-2016 at 07:02 AM.
|
|
|
11-16-2016, 09:31 AM
|
#14
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep:
|
Quote:
Originally Posted by yogsal
However apart from ls command , many other commands are working properly.
If there was a Disk error , none of the commands would have worked.
|
Oh dear.
|
|
1 members found this post helpful.
|
01-17-2017, 11:37 AM
|
#15
|
Member
Registered: Feb 2012
Location: Buenos Aires, Argentina
Distribution: Debian, Suse, Mandrake,
Posts: 92
Rep:
|
Hi. żDo you erase link libacl.so.1? Sometimes libacl.so or libacl.so.0 (or so.1) is a link to the file libacl.so.1.x.x. When you update the system, may be erased the link and cant put a new one. Or the link continue and the system erase old library and dont change the link.
Another problem may be a diferent 'ls' which need so.1.x.x but the system have so.0.x.x or s.2.x.x
Take a look at the /lib and /usr/lib directories. Sometimes special libraries files were on special directories under /lib/i486 /lib/i686 or /lib/i486-linux-gnu , etc.
Have a nice day.
|
|
|
All times are GMT -5. The time now is 12:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|