LinuxQuestions.org
Review your favorite Linux distribution.
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 06-11-2017, 01:44 PM   #1
Panicked
LQ Newbie
 
Registered: Jun 2017
Posts: 21

Rep: Reputation: Disabled
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 ...
 
Old 06-12-2017, 07:03 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,189

Rep: Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068
Quote:
Originally Posted by Panicked View Post
.. 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??
 
Old 06-12-2017, 05:37 PM   #3
Panicked
LQ Newbie
 
Registered: Jun 2017
Posts: 21

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-12-2017, 07:39 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,128

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
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.
 
Old 06-12-2017, 08:01 PM   #5
Panicked
LQ Newbie
 
Registered: Jun 2017
Posts: 21

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-12-2017, 08:23 PM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.4
Posts: 5,806

Rep: Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239
Maybe the Oracle repos are down? Just a thought...
 
Old 06-12-2017, 08:46 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,128

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
I think I ran Oracle linux in a VM. Seemed good.
 
Old 06-12-2017, 11:32 PM   #8
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.4
Posts: 5,806

Rep: Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239Reputation: 2239
Quote:
Originally Posted by jefro View Post
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
Code:
yum repolist
provide some information about that to the OP?

Again, just thinkin' out loud...
 
Old 06-13-2017, 06:20 AM   #9
Panicked
LQ Newbie
 
Registered: Jun 2017
Posts: 21

Original Poster
Rep: Reputation: Disabled
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.
 
  


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
Install Realtek ALC3223 drivers: X hangs on start, shutdown/reboot hangs? RatCorpseKing Slackware - Installation 1 04-27-2015 11:26 PM
[SOLVED] can't start VNC after yum install, ps hangs dsollen Linux - General 2 03-08-2013 09:43 AM
[SOLVED] RHEL 5.3 Hangs when yum, rpm or df -h is run protos78 Red Hat 3 12-10-2009 04:32 AM
Oracle eBusiness Java process hangs then dies MensaWater Linux - Software 2 07-16-2009 10:28 AM
Least Painful install of Oracle 9 on RHEL 3? colmmagoo Linux - Software 1 07-30-2004 01:28 PM

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

All times are GMT -5. The time now is 07:12 PM.

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