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.
|
|
06-11-2017, 01:44 PM
|
#1
|
LQ Newbie
Registered: Jun 2017
Posts: 21
Rep:
|
yum start install process and then hangs - Oracle UEK 6.9 (RHEL)
.. please help fix yum working on Oracle UEK 6.9
> sudo yum install couchdb
Setting up Install Process
public_ol6_UEK_latest 680/680
.. then nothing, so open another terminal..
> ps aux | grep yum
S+ sudo yum install couchdb
R+ /usr/bin/python /usr/bin/yum install couchdb
... I think R+ means make coffee and try again ...
> ps aux | grep yum
S+ sudo yum install couchdb
D+ /usr/bin/python /usr/bin/yum install couchdb
... I think D+ means post online and ask for help ...
|
|
|
06-12-2017, 07:03 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,189
|
Quote:
Originally Posted by Panicked
.. please help fix yum working on Oracle UEK 6.9
> sudo yum install couchdb
Setting up Install Process
public_ol6_UEK_latest 680/680
.. then nothing, so open another terminal..
> ps aux | grep yum
S+ sudo yum install couchdb
R+ /usr/bin/python /usr/bin/yum install couchdb
... I think R+ means make coffee and try again ...
> ps aux | grep yum
S+ sudo yum install couchdb
D+ /usr/bin/python /usr/bin/yum install couchdb
... I think D+ means post online and ask for help ...
|
I actually think that D+ means "Call Oracle Support and ask them, since you're paying for Oracle Linux" (RIGHT?)
But in this case, the D, S, and R can be found by reading the man page on the ps command:
Code:
PROCESS STATE CODES
D uninterruptible sleep (usually IO)
R runnable (on run queue)
S sleeping
T traced or stopped
Z a defunct ("zombie") process
That said, how long did you wait? Have you tried running the package installer from the GUI, to see what it's doing? Did you change/modify anything recently? Things like this are fairly dependent on python...modify that lately? Can you install any other packages? Some basic diagnostics to try:
"yum --verbose --noplugins" info and "yum clean all" are two good ones to start with. And are you having Internet issues??
|
|
|
06-12-2017, 05:37 PM
|
#3
|
LQ Newbie
Registered: Jun 2017
Posts: 21
Original Poster
Rep:
|
Oracle Linux is free without support, which makes it comparable to CentOS. What is the difference between (D+) 'uninterruptable sleep' and a coma?
It is a clean install. I do not have Internet issues. I left it running for hours and it did not unfreeze, which is to be expected of a D+.
Tried this desperate trouble shooting:
1. Added Fedora EPEL* repos and yum sensibly read those, but yum continued to freeze when reading the Oracle repos.
2. Removed Oracle repos, and yum no longer freezes, but this is hardly a solution.
* Fedora orphaned the CouchDB package in the EPEL repo 6 weeks ago
Last edited by Panicked; 06-12-2017 at 05:45 PM.
|
|
|
06-12-2017, 07:39 PM
|
#4
|
Moderator
Registered: Mar 2008
Posts: 22,128
|
Did you update system just after you installed it?
Thoughts only.
Then I'd wonder why your system is unable to either find the correct Oracle linux repo's or why the default repos are wrong. I think I messed up an odd cd install that didn't place any repos in yum one time.
Using Fedora repos is way less than a fix. A test only. I think you know that.
Last edited by jefro; 06-12-2017 at 08:45 PM.
|
|
|
06-12-2017, 08:01 PM
|
#5
|
LQ Newbie
Registered: Jun 2017
Posts: 21
Original Poster
Rep:
|
Cannot remember doing yum update, but maybe it froze and I forgot?! :/
Obviously a system wide update is important for security, but I do not know how not doing it could cause errors? I really hope skipping the update was not the cause of error because I have now spent a whole evening compiling various new whizbangs on CentOS7 instead.
Maybe OL7 is good, but first effort with OL6 was off-putting.
Last edited by Panicked; 06-12-2017 at 08:19 PM.
|
|
|
06-12-2017, 08:23 PM
|
#6
|
LQ Veteran
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.4
Posts: 5,806
|
Maybe the Oracle repos are down? Just a thought...
|
|
|
06-12-2017, 08:46 PM
|
#7
|
Moderator
Registered: Mar 2008
Posts: 22,128
|
I think I ran Oracle linux in a VM. Seemed good.
|
|
|
06-12-2017, 11:32 PM
|
#8
|
LQ Veteran
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.4
Posts: 5,806
|
Quote:
Originally Posted by jefro
I think I ran Oracle linux in a VM. Seemed good.
|
I meant the yum repositories --or some glitch with them re: couchdb -- some temporary-ish condition.
Mightn't provide some information about that to the OP?
Again, just thinkin' out loud...
|
|
|
06-13-2017, 06:20 AM
|
#9
|
LQ Newbie
Registered: Jun 2017
Posts: 21
Original Poster
Rep:
|
Every option I tried resulted in yum turning D+, except clean. D+ does not release the yum lock so I was regularly sending a kill -9 PID and deleting the yum lock file.
The only unusual detail about the install was running the UEK 6.x on a VM with VT-x disabled, but I do not think this could impact yum.
Now running CentOS 7.x with VT-x enabled and yum is fine, but couchdb was not in their repo, so ended up compiling source anyway! This kind of computer usage is very inefficient and makes me wish I studied something else.
Last edited by Panicked; 06-13-2017 at 06:31 AM.
|
|
|
All times are GMT -5. The time now is 07:12 PM.
|
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
|
|