LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 11-15-2016, 06:28 AM   #1
yogsal
LQ Newbie
 
Registered: Nov 2016
Posts: 6

Rep: Reputation: Disabled
Question 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
 
Old 11-15-2016, 10:59 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
Reboot. Check for error lights on the disks. Boot from live CD and fsck the partitions.
 
Old 11-15-2016, 11:54 AM   #3
yogsal
LQ Newbie
 
Registered: Nov 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
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?
 
Old 11-15-2016, 12:30 PM   #4
hazel
Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 522

Rep: Reputation: 230Reputation: 230Reputation: 230
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.
Old 11-15-2016, 02:28 PM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
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.
 
Old 11-15-2016, 03:56 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
"Input/output error" means something is wrong with the filesystem/disk/hardware. The timing is probably coincidental.
 
1 members found this post helpful.
Old 11-15-2016, 09:11 PM   #7
yogsal
LQ Newbie
 
Registered: Nov 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-15-2016, 09:24 PM   #8
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
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.
 
Old 11-16-2016, 12:39 AM   #9
yogsal
LQ Newbie
 
Registered: Nov 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Question 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,
 
Old 11-16-2016, 12:40 AM   #10
yogsal
LQ Newbie
 
Registered: Nov 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
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)
 
Old 11-16-2016, 02:14 AM   #11
hazel
Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 522

Rep: Reputation: 230Reputation: 230Reputation: 230
Quote:
Originally Posted by yogsal View Post
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.
 
Old 11-16-2016, 05:24 AM   #12
yogsal
LQ Newbie
 
Registered: Nov 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Question

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,
 
Old 11-16-2016, 06:44 AM   #13
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
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.
 
Old 11-16-2016, 09:31 AM   #14
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Quote:
Originally Posted by yogsal View Post
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.
  


Reply


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
error while loading shared libraries: libgda-4.0.so.4: cannot open shared object file mahesh1234 Linux - Newbie 2 10-23-2013 12:06 AM
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: vswapnasr@gmail.com Linux - Software 1 05-04-2013 07:49 AM
[SOLVED] error while loading shared libraries: libacl.so.1: cannot open shared object file: fl0 Slackware 4 03-22-2013 04:32 AM
top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared objec ramesh_india2020 Linux - Newbie 6 07-29-2010 02:49 PM
error while loading shared libraries: libhid.so.0: cannot open shared object file: No misungs Linux - Software 4 06-10-2009 01:05 PM


All times are GMT -5. The time now is 08:34 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration