LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-10-2013, 08:09 PM   #1
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Rep: Reputation: 36
YUMEX - "error executing command as another user: not authorized"


I have:
CentOS 6
yumex-3.0.5-2.el6.noarch

When I run YUMEX, it errors out stating: "FATAL ERROR: backend not running as expected (yumex will close)"

The output behind the Fatal Error window says: "Error executing command as another user: Not authorized. This incident will be reported."

Running "yumex -d" at the command-line confirms this. So, I took all this information and poked around the etherwebz. I did find a bug at Red Hat from a year ago that matched this description, but was patched in an earlier version of YUMEX.

There are no updates for this software and I have no idea how to proceed. I need help tracking this down so I can fix this.

What can I do next?
 
Old 05-10-2013, 08:32 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you need to be root
and not only root but with the FULL root $PATH

the programs needed are in /sbin and /usr/sbin

and those folders are not included in a normal user's $PATH ( for security needs )

the command " su " will error .It is using the current normal users $PATH

You need to use " su - " ( blank space then a dash )
 
Old 05-10-2013, 09:11 PM   #3
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Original Poster
Rep: Reputation: 36
Thanks for the help.

Ok, I normally run yumex via the GUI icon. It then asks me for the root password.

When I started having this problem, I ran it as my normal user from the command-line to get more info.

When I "su -" to root using Konsole, I get "Don't run yumex as root it is unsafe (Use --root to force)". When I do force it, Yumex comes up.

I can't find any information on configuring /etc/yumex.conf or ~/.yumex.conf. I've compared config files to my Fedora 16 machine but can find no differences. How can I configure it to allow my user to run Yumex as before?
 
Old 05-10-2013, 10:36 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
seeing as fedora 16 is unsupported

and CentOS is only supporting CentOS 6.4

are you running 6.4

Code:
cat /etc/redhat-release
should output that it is 6.4

yumex-3.0.5-2 is the current in the EPEL repo
it is dated "14-May-2012 "


is the output of
Code:
/usr/bin/yumex -d
the same as this old bug report ?
https://bugzilla.redhat.com/show_bug.cgi?id=825109

as per the Cent-wiki warning
Warning:
This repo has made efforts not to replace system packages. In some cases it has endeavored to directly address CentOS compatibility but has expressly denied inter-repository compatibility as a goal. It may not mix well with other 3rd party repos. So, make SURE you are using the Priorities yum plugin if you are using EPEL ... especially if you mix its packages with those from other 3rd party repos. It should also be noted that, while EPEL may not overwrite distro packages, it may have conflicts with the CentOS extras repo which is enabled by default.

is the Priorities yum plugin installed and configured ?

from the bugzilla report
it looks like if you just use yum and update it will fix it
Code:
su -
yum update
mind you if this is CentOS 6.3 there are no updates
 
Old 05-18-2013, 05:09 PM   #5
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Original Poster
Rep: Reputation: 36
Sorry - life got in the way...

CentOS version : CentOS release 6.4 (Final)
Yumex rpm : yumex-3.0.5-2.el6.noarch
/usr/bin/yumex -d : No, the output is not the same.
Code:
Traceback (most recent call last):
    File "/usr/bin/yumex", line 25, in <module> from yumexgui import YumexApplication
    File "/usr/lib/python2.6/site-packages/yumexgui/__init__.py", line 27, in <module> import gtk
    File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module> _init()
    File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init _gtk.init_check()
RuntimeError could not open display
Priorities Yum Plugin : yum-plugin-priorities not installed

I installed yumex-plugin-priorities, but I can't find any information on configuring it.
 
  


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
invalid command name "-llType" while executing "-llType $val(ll) \ " -----error dalalami21 Linux - Software 0 03-02-2013 12:44 PM
[SOLVED] Errors executing shell script: "command not found" and "no such file or directory" eko000 Linux - Newbie 1 01-14-2011 07:54 AM
Error message "undefined symbol" when executing the command import from gasrine Linux - Software 1 11-23-2010 09:43 AM
executing a loaded module returns "command not found" error neelay1 Linux - Software 1 05-08-2006 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:58 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