Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle 12c in Linux CentOS 7

krchatJun 20 2015 — edited Jun 24 2015

I set Oracle database in computer under Linux CentOS 7. I create use as oracle with a group which is called oinstall.

I can login in Linux system using name - oracle, but I couldn't find this user when I open system application "Users and groups". Is this user (oracle) specific?

I use Desktop Environment - Mate with Mozo packet - fork of Gnome  alacarte and use yumex as useful utility for maintenance updates and other services of OS.

But I have only under user oracle some problems like this:

oracle@centos7 ~]$ mozo
Traceback (most recent call last):
  File "/usr/bin/mozo", line 36, in <module>
    main()
  File "/usr/bin/mozo", line 32, in main
    app = MainWindow(datadir, version, sys.argv)
  File "/usr/lib/python2.7/site-packages/Mozo/MainWindow.py", line 48, in __init__
    self.editor = MenuEditor()
  File "/usr/lib/python2.7/site-packages/Mozo/MenuEditor.py", line 36, in __init__
    self.__loadMenus()
  File "/usr/lib/python2.7/site-packages/Mozo/MenuEditor.py", line 46, in __loadMenus
    self.applications.dom = xml.dom.minidom.parseString(util.getUserMenuXml(self.applications.tree))
  File "/usr/lib64/python2.7/xml/dom/minidom.py", line 1930, in parseString
    from xml.dom import expatbuilder
  File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 32, in <module>
    from xml.parsers import expat
  File "/usr/lib64/python2.7/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: /usr/lib64/python2.7/lib-dynload/pyexpat.so: undefined symbol: XML_SetHashSalt
[oracle@centos7 ~]$ yumex
Traceback (most recent call last):
  File "/usr/bin/yumex", line 25, in <module>
    from yumexgui import YumexApplication
  File "/usr/lib/python2.7/site-packages/yumexgui/__init__.py", line 34, in <module>
    from yumexgui.gui import Notebook, PackageInfo, CompletedEntry, StatusIcon
  File "/usr/lib/python2.7/site-packages/yumexgui/gui.py", line 32, in <module>
    from yumexbase.constants import *
  File "/usr/lib/python2.7/site-packages/yumexbase/constants.py", line 35, in <module>
    from yum.constants import *
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 96, in <module>
    from yum.drpm import DeltaInfo, DeltaPackage
  File "/usr/lib/python2.7/site-packages/yum/drpm.py", line 27, in <module>
    from xml.etree.cElementTree import iterparse
  File "/usr/lib64/python2.7/xml/etree/cElementTree.py", line 3, in <module>
    from _elementtree import *
ImportError: PyCapsule_Import could not import module "pyexpat"
[oracle@centos7 ~]$
I made it: useradd -u 501 -g oinstall -G dba,oper oracle
This post has been answered by Billy Verreynne on Jun 24 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 22 2015
Added on Jun 20 2015
30 comments
4,919 views