LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-10-2012, 05:40 AM   #1
samuelgz
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
Unhappy Missing library file error message while running restorecon command


I was trying to run the "restorecon" command to configure httpd. But I'm receiving the message below. How do I fix that? How do I add a lib file if it is missing??

restorecon: error while loading shared libraries: libselinux.so.1: failed to map segment from shared object: Permission denied
 
Old 11-11-2012, 08:59 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493

Rep: Reputation: Disabled
Permission denied is your clue, looks like you have the lib but have permissions problem.
You might try running it as root, if that is safe to do, check the man page. (man restorecon)

Last edited by fatmac; 11-11-2012 at 09:00 AM.
 
  


Reply



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
vncpasswd command giving a missing shared object file error analog_match Linux - Newbie 1 01-31-2012 11:50 PM
restorecon command not found zhaidoudou123 Linux - Software 6 01-14-2012 06:51 AM
library missing:No such file or directory error(all files and paths are set properly venky.kv Linux - Newbie 3 03-09-2009 10:49 AM
Error message: windows 2000 could not start because the following file is missing... fedora_os General 1 09-14-2004 10:58 PM
linux command error message bash: /usr/bin/find: No such file or directory sundaram123 Linux - General 8 04-02-2002 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:24 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
Open Source Consulting | Domain Registration