LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-10-2007, 11:34 AM   #1
X98
LQ Newbie
 
Registered: May 2007
Posts: 1

Rep: Reputation: 0
Programs fail to load


Hi, I've recently installed Fedora Core 6 and the installation went smoothly, I got Yum working fine and began trying to install a few programs - namely ones to play mp3 files.

I tried Amarok initially, and I got that installed. However, when I clicked on it from the menu, it would appear in the bottom panel saying "Amarok Loading" and it would do this for about 20 seconds, before disappearing. Suffice to say, nothing opened.

The same happened with Real Player, and also, I've just noticed with the ATI Catalyst Control Center.

If I try to start Amarok from the Konsole, I get:

Code:
$ amarokapp
amarokapp: error while loading shared libraries: /usr/lib/xorg/libGL.so.1: cannot restore segment prot after reloc: Permission denied
Likewise, with Real Player, I get the following:

Code:
$ realplay
/usr/local/RealPlayer/realplay.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
(I believe these are the right commands to start them - please correct me if I'm wrong).
Because of the nature of the problem, I wondered if they're somehow related?

Any help appreciated.






EDIT

Solved. I thought I'd just add how here in case anyone else had the same problem. Apparently it's a SELinux problem. You need to disable SELinux by su, then issueing the following command:

/usr/sbin/setenforce 0

All worked again fine after that.

Last edited by X98; 05-10-2007 at 12:34 PM.
 
Old 05-13-2007, 09:00 AM   #2
Brad.Scalio@noaa.gov
Member
 
Registered: Jan 2007
Location: Washington DC
Distribution: RedHat & spins ... Fedora, CentOS, Mandriva
Posts: 82

Rep: Reputation: 15
SELinux Rant

Quote:
Originally Posted by X98
EDIT

Solved. I thought I'd just add how here in case anyone else had the same problem. Apparently it's a SELinux problem. You need to disable SELinux by su, then issueing the following command:

/usr/sbin/setenforce 0

All worked again fine after that.

Glad you got it working, but disabling selinux isn't the :right: solution, it does work, but it is like taking a sledgehammer to a nail ... you can get things done easier with a hammer ...

Code:
# semanage fcontext -l | grep real
you'll see the security context file_type that the executable is suppose to be ... if you selinux installed properly, after you run the app, if it fails on an "avc{getattr}" problem within selinux it will output a good message into either messages or the audit log if you are using that package ... and using setroubleshootd

I wasn't a big selinux fan before 2.6.18 ... they spent a lot of time getting it manageable, and once you understand it, it really isn't that bad

A quick and dirty is to just make a local policy for all the errors you are getting on applications from the daemon inside the messages logfile:

Code:
        # audit2allow -m local -l -i /var/log/messages > local.te
	# checkmodule -M -m -o local.mod local.te
	# semodule_package -o local.pp -m local.mod
	# semodule -i local.pp
Lastly just make sure no booleans need to be set:

Code:
# getsebool -a | grep real
anyway, sorry to beat a dead horse --- xmms works really well for mp3s as well, and there isn't any conflict within selinux as a default ... also folks like xine too .. and banshee

brad
 
  


Reply

Tags
amarok, player, real


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
window managers fail to load on Suse 9.2 TheOneAndOnlySM Linux - General 0 02-11-2005 11:02 PM
some modules fail to load after apt-get upgrade m_yates Debian 2 12-04-2004 08:12 AM
NIC fail to load/detect/config Darkman_2099 Linux - Hardware 7 12-07-2003 01:45 AM
My SuSE Firewall in CD fail to load chchua Linux - Security 2 10-09-2003 08:46 PM
WineX (possibly) causes other programs to fail TACD Linux - General 4 08-31-2003 08:00 PM


All times are GMT -5. The time now is 09:10 AM.

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