Oinstall group permissions under Oracle Linux
Hello,
From what I understand according to the Oracle 11gR2 installation documentation, the purpose of the "oinstall" group is to have an additional OS group that can maintain the Oracle software installation beside the "oracle" user.
The instructions outline to set the mount point of the Oracle installation to owner "oracle" and group "oinstall" with full privileges for owner and group, except world (775). Any other user who belongs to the OSDBA (dba) group will only need read and execute permissions on the Oracle home directory.
The "orainstRoot.sh" post installation script then sets permissions 770 on the oraInventory directory to remove world access and set read, write and execute for owner and group.
But what why are the privileges for the Oracle home set to 755? How can I maintain the software using the "oinstall" group if it does not have write privileges? If I need to patch the software using the Oracle user account, what can I do with the "oinstall" group?
Thanks and kind regards.
i think I can answer the question myself. There could be different oracle home installations, each with a different oracle user/owner like "oracle_prod1" and "oracle_prod2", but both users must be able to read/write the shared oraInventory, in which case both users must have read and write access to the oraInventory directory, hence the oinstall group.
Similar Messages
-
Gnome automount and media.repo under Oracle Linux 6.3
Hello,
I experiencing a strange behavior testing the following under Oracle Linux 6.3 (x86-64-bit) UEK2 with all latest updates. I selected the Gnome desktop packages using the "customize now" ratio button when installing the OS
* Log in to a graphical shell such as GNOME
* Insert addition media disk into the computer
* Observe the media is mounted by the session
* Wait a couple of seconds
* Observe the /etc/yum.repos.d/packagekit-media.repo now exists
The above is explained in more details at http://people.redhat.com/rhughes/media-repo.txt
I don't know what the "addition media disk" is, but inserted the Oracle Linux 6.3 x86_64 binary distribution DVD, which also has media.repo file in the root directory. And btw, I'm using VirtualBox and the DVD is an .iso disk image.
I'm experiencing the following:
Gnome automount works and automatically opens the DVD when inserted.
It does not create the /etc/yum.repos.d/packagekit-media.repo file.
It actually does create the named repo file, but only after one waits about 15 minutes. Perhaps this has anything to do with gpk-update-icon, but when run manually it hangs.
With the packagekit-media.repo file finally created. The gpk-application however complains: "The group list was invalid".
I know how to create a yum configuration file pointing to a local repository, which is also coverd in the Oracle Linux 6.3 distribution readme. I just wonder about the problem. Th automatic business with the media.repo file seems broken and useless. I did one more test using the original RHEL kernel which, as expected, did not make a difference.
Does anyone know more about it?
Thanks!I cannot create an SR, but I did some more tests creating my own DVD, playing with the info in the media.repo file. It seems matching the mediaid and .discinfo information alone doesn't fix it.
Actually some of the stuff is explained in the link I already used: http://people.redhat.com/rhughes/media-repo.txt. The problem seems that it doesn't work as advertised.
It takes exactly 15 min. before the system (gnome) automatically copies the media.repo file from DVD to /etc/packagekit-media.repo. If the file already exists it gets overwritten.
I think it might be a good idea to make an entry in the media.repo file on the DVD, such as:
baseurl=file:///media/<disklabel>
skip_if_unavailable=True
Then when inserting the DVD under gnome it would not be necessary to create a yum repository configuration file to use the DVD. The 15 min. delay will have to be fixed, which is only supposed to take a couple of seconds.
Edited by: Dude on Aug 27, 2012 5:51 PM -
How to install GCC and DKMS on Oracle Linux?
Hello,
I am a newbie to Oracle Linux. I installed Oracle Linux on a virtual machine using Oracle VirtualBox. Now I need to install the packages DKMS and GCC in order to share drives between the host and the ghost.
Here is what is happening:
# yum install dkms
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing paskage install arguments
No Match for afgument: dkms
Nothing to do
Please, advice what to do.
Thanks in advance.Here is what you need to install under Oracle Linux or Red Hat Enterprise Linux to install the VirtualBox Guest Additions:
<pre>yum -y install gcc kernel-uek-devel-$(uname -r)</pre>
The packages are available from the Oracle public yum repository as already mentioned, or on the installation DVD in the server directory. -
Oracle 11gR2 certification for Oracle Linux 6
Hello,
According to Oracle documentation, database certification and support for Oracle 11gR2 under Oracle Linux starts with 11.2.0.3.
I was wondering if this might have anything to do with the i386 software prerequisites. Speaking of Oracle 11gR2 x86_64, the need for i386 libraries was removed with 11gR2 11.2.0.2. Or in other words, one can go straight to 11.2.0.2 without the need to install any 32-bit libraries.
Under Oracle Linux 5 x86_64, the "oracle-validated" package triggers the installation of several i386 packages. Under Oracle Linux 6 x86_64, the oracle-rdbms-server-11gr2-preinstall package uses x86_64 only. Under Oracle Linux 6, i386 changed to i686.
For what it's worth, I have installed Oracle 11gR2 database 11.2.0.1 under Oracle Linux 6.1 to 6.3, both x86_64, simply by using the oracle-rdbms-server-11gr2-preinstall package, and so far have not noticed any problems. Is there some information available, why 11.2.0.1 (x86_64) should not be used or is not certified for Oracle Linux 6 (x86_64)?
Thanks.I was afraid of that. Since the question is Oracle Linux 6 specific, I thought I'd try my luck here, thinking that if I get an answer, then probably here. Maybe it was not very realistic to get an answer anyway.
For what it's worth. Using "oracle-validated" under Oracle Linux 5, and "oracle-rdbms-server-11gR2-preinstall" under Oracle Linux 6, I was able to install Oracle 11gR2 11.2.0.1 just fine, both platforms x86_64 and 32-bit. I have not found any operational issues yet and it seems to run perfectly well.
The only trouble I had was with Grid Infrastructure 11.2.0.1, and here 11.2.0.3 is indeed required for it to install. I made a custom patch, just a few lines and after that 11.2.0.1, both x86_64 and 32-bit installed just fine and is fully operational.
I'm though I could post the patch. I guess it might make those people happy who do not have access to Oracle support and download 11.2.0.3. The patch will allow them to use the 11gR2 OTN version and install it under Oracle Linux 6. It won't be certified, but it is good enough for the purpose of education.
I'm closing the thread. -
Hi all,
We are in the process of building our new enterprise environment and tried to install the following:
Oracle Linux 6.0
Grid Infrastructure 11.2.0.2
ASM
OCFS2
Oracle RDBMS 11.2.0.2
Installation of Grid Infrastructure failed on Oracle Linux 6.0 and 5.6 as well. Is it because it's not yet certified for these Oracle Linux versions? Where can we find compatibility matrixes or certification information to find out which versions do work together? Been trying to find them with no success.
Thanks for any help!Dude wrote:
I have recently installed Oracle 11.2.0.2 including ASM, which also installs Grid infrastructure under Oracle Linux 5.6 (default UEK kernel) without any problems. I installed the oracle-validated package prior to the Oracle installation.OEL 5.6 and 11.2..02 Grid Infrastructure installation (for x86_64) failed in our case. Have opened a SR several weeks ago for it, but no resolution. We since reverted back to OEL 5.5 for building and running this specific RAC.
There's also errors in OEL 5.6's Infiniband s/w stack. The openibd service fails to apply errata correctly because the o/s command used has since changed command line parameters. My guess is that testing happened solely on new h/w where this errata did not have to be applied, thus were not tested. Also, this service failed to start the srp_daemon (is critical for making sure that the storage layer works each and every time and does not cause stale connections that lead to command rejections from the storage server after a reboot of a RAC node)
I not only had to fix the openibd service to correctly apply the errata, but also write a separate srpd service that dealt with starting up and shutting down the srp_daemon.
Not very impressed with OEL 5.6 at all and it will be unlikely that we'll use it. And it raises a lot of concern whether OEL 6 would be a robust enough o/s for running our RAC systems. -
Hi all,
I installed Oracle Linux Server 6.3 selecting "software Development System" (java 1.6.0 comes with it).
but I need to use Java 1.7
So I downloaded jdk-7u10-linux-x64.rpm
when I try to install it, I get the following error.
Unpacking JAR files...
rt.jar...
Error: Could not open input file: /usr/java/jre1.7.0_10/lib/rt.pack
jsse.jar...
Error: Could not open input file: /usr/java/jre1.7.0_10/lib/jsse.pack
charsets.jar...
Error: Could not open input file: /usr/java/jre1.7.0_10/lib/charsets.pack
localedata.jar...
Error: Could not open input file: /usr/java/jre1.7.0_10/lib/ext/localedata.pack
I can't uninstall java 1.6 because other rpm uses it.
Can someone tell me what the "proper" way to install Oracle Linux and Java 1.7 should be?
OR is there a Oracle Linux Server 6.4 coming out soon with Java 1.7 as its default package set ;-)
thanks in advance,
c.w.You can ignore the errors. The files named in the error lines do not exist in the rpm package, but are there as .jar files
The following works under Oracle Linux 6.3 x86_64 (and probably other versions).
1. Open the following URL in a web browser on your PC:
<pre>
http://www.oracle.com/technetwork/java/javase/downloads/index.html
</pre>
2. Click the JDK download button, accept the license agreement and download the JDE rpm package.
3. Copy the following file to your Oracle Linux server (SFTP):
<pre>
jdk-7u10-linux-x64.rpm
</pre>
4. Login as root and use the YUM utility to install the RPM package.
<pre>
# yum install ./jdk-7u10-linux-x64.rpm
</pre>
5. Register the new installed java version, then change your default Java:
<pre>
# alternatives --install /usr/bin/java java /usr/java/jdk1.7.0_10/bin/java 2
# alternatives --config java
</pre>
Display your default Java version:
<pre>
# java -version
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
</pre> -
why we are creartinng uid=500(oracle) gid=500(oinstall) groups=501(dba), UID is 500
any reason for this . please answer oracle gurus.
i important that the UID and the GID of user oracle are identical to that of the other RAC nodes. This information can be obtained using the following command:
[oracle@oradb1 oracle]$ id oracle
uid=500(oracle) gid=500(oinstall) groups=501(dba), 502(oper)user8680248 wrote:
why we are creartinng uid=500(oracle) gid=500(oinstall) groups=501(dba), UID is 500
any reason for this . please answer oracle gurus.Because. Literally ... just because.
By convention, it should be above 100. By Red Hat community decision, the starting UID/GID has been moved from 100 to 500, to avoid accidental overlaps with 'system admin' accounts.
BUT, the Oracle owner is a system-like account. It could legitimately be under 500.
There is no magic to the number, other than the auto-increment tool that is provided in many of the commercial Linux variants start there. There is no Oracle dependency. There is only convention.
You should discuss this with your system administrator and come up with a number that is comfortable. If that means talking to yourself, all the easier. -
Wrong initial group for Oracle Linux account
Hi,
Before I install the Oracle database 11.2.0.1 in Linux server 2.6.39-400.209.1.el6uek.x86_64, I created the following groups oinstall, dba, oper, and asmadmin.
groupadd oinstall # required from training
groupadd dba # required from training
groupadd oper # and group asmdba, asmoper from training
groupadd asmadmin # optional from training
I made a mistake when I created Oracle user account. I created it with dba as initial group“ useradd -g dba -G oinstall,oper,asmadmin oracle”, instead of “useradd -g oinstall -G dba,oper,asmadmin oracle”
After all I installed Oracle database, now I have concerns and questions. Should I use usermod to update the Oracle user account to oinstall as initial group or just leave it alone?
If I now do “usermod –g oinstall –G dba,oper,asmadmin oracle”, will it break anything, any impact to the database?You are obviously using Oracle Linux and the Oracle UEK2 kernel. In this case you can save yourself a lot of trouble by simply using:
su - root
yum install oracle-rdbms-server-11gr2-preinstall
The above will fetch and install all software prerequisites, setup the oracle account and groups and configure necessary kernel parameters. Then simply run the Oracle installer.
P.S. The primary group is automatically assigned to files created by the account. To use dba instead of oinstall it is ok as long as you do not need to create any account to install or update the Oracle software without having sysdba access other then the oracle account. -
When i installing oracle, after copying the files, it telled me "install successfully" , but when it in the procedure: "Linking Oracle9i Database 9.2.0.1.0", it stop and auto exit.
But I think i should have installed finish. So I try to start it. As below:
sqlplus /nolog
SQL> connect / as sysdba
ERROR:
ORA-09925: Unable to create audit trail file
Linux Error: 2: No such file or directory
Additional information: 9925
ORA-01031: insufficient privileges
How can I start it?
Is that because I hadn't set the value of "/proc/sys/kernel/sem" before I install oracle? It's original value is "250 3200 32 128", I don't know what it should be under Redhat Linux 8.0.
Can anybody help me?
thanks.I followed the directions here
http://www.puschitz.com/OracleOnLinux.shtml
Using this I was able to get 9201 installed on both SuSE8.1 and RedHat8.0.
On RH8, You have to hand modify the ins_ctx.mk per his instructions and up the value in /proc/sys/kernel/shmmax per his instructions. I did not hit the binutils issue. Other failures are probably missing rpms, as he describes. -
HOW I WAS ABLE TO GET ORACLE/LINUX RUNNING
Just like some (or should I say most) of you, it took me pains
(one week at that) to get 8i EE running on Linux.
Here is how I was able to get it up and running:
Environment:
* RedHat 6.0
* Linux kernel 2.2.12
* Blackdown JRE (not JDK) 1.1.6v5
* Mem: 128MB
Create the linux account 'oracle' and make the account a member
of the 'dba' group. The 8i docs contradicts itself saying that
'oracle' should be a member of the 'oinstall' group in one place,
but later on says that 'oracle' should be a member of the 'dba'
group in other places. (In the 8.0.5 installation, 'oracle' is a
member of the 'dba' group, so just follow this tradition).
I have 2 linux machines. Because the machine where I am
installing 8i has several other purposes, I ran X on another
machine and have the OUI display on that other machine, but the
OUI ran on the machine where I installed 8i.
From the host running X, I set "xhost +182.212.1.32" (this is
the IP address of the host where I am installing 8i), telnetted
to the host where 8i will be installed, logged in as 'oracle',
did a 'su', mounted the CDROM, exited from root (thereby going
back to the oracle account), did a "DISPLAY=182.212.1.200:0.0;
export DISPLAY", "cd /mnt/cdrom", and then did ran the installer
"./runInstaller".
If you did not make 'oracle' a member of 'dba', OUI will say "You
are not a member of the 'dba' group.... blah ...." and will ask
you the linux group for OSDBA and OSOPER.
If you DID make 'oracle' a member of the 'dba' group, you will
not get this prompt at all, and you will be asked to specify the
linux group that will be responsible for installing/upgrading
oracle. Specify the group 'oinstall' in this prompt. Basically,
this prompt will 'chgrp oinstall' the directory
'$ORACLE_BASE/oraInventory'.
Cotinue with the installation. You will be prompted to run a
script under the /tmp/oracle/oraInstroot.sh directory as root.
Continuing, I specifed a custom install. After almost completing
the installation, you will be prompted to run the 'root.sh' under
$ORACLE_HOME as root. Note that this script is not executable, so
either "chmod 744 root.sh;./root.sh" or "sh ./root.sh".
At this point, db config assistant will run, but gave me an
exception, something like "JNLSException: No character sets
found." This error was not fatal as it did allowed me to
continue. (Note that I tried setting ORA_NLS33 and NLS_LANG, but
I still had this exception. However, I have not tried downloading
i18n-1.1.6-v5-glibc-x86.tar.bz2 from blackdown. But I do not know
if that will help.). I did not continue with dbassist but exited,
and exited OUI. The reason was that, after telling dbassist to
save to scripts, it cannot even save the scripts!!
Now run dbassist again ("cd $ORACLE_HOME/bin; ./dbassit"). You
will again get the message "JNSLException: No characters found".
I specified an OLTP database. Later on, you will be asked if you
want to use shared server processes (MTS) or dedicated server
processes. At this point, specify dedicated server processes.
(Note: this is important. More on this later).
The SYSTEM datafile need not be initially 175MB. I had mine set
to 75MB.
When prompted if you want to create the db now or save to
scripts, specify save to scripts, and exit dbassist.
Now "cd $ORACLE_HOME/install". The main script (which is
sqlSID.sh --- replace SID with the value of ORACLE_SID), will
simply run other scripts.
Instead of running the main script, run each of the scripts
(that the main scripts was supposed to call) manually in the
order specified by the main scripts. This will help you later on
point out the specific script which may have problems.
The first script will start the instance and create the
database.
Run that first script.
Now here lies the importance of specifying "dedicated server
processes" instead of "shared server processes". If you specified
"dedicated server processes", the db should now be created, and
the script will exit without errors. If you specified "shared
server processes (MTS)", the instance will be mounted but you
will get the message "ORA-01012: not logged on". The db will
therefore not be created. I believe the following quote from the
docs (not included with the linux 8i EE CD, but included
witht he nt 8i EE CD) says it all:
=================================================================
===========
Restricted Operations of the Multi-Threaded Server
Certain administrative activities cannot be performed while
connected to a
dispatcher process, including shutting down or starting an
instance and
media recovery. An error message is issued if you attempt to
perform these
activities while connected to a dispatcher process.
These activities are typically performed when connected with
administrator
privileges. When you want to connect with administrator
privileges in a
system configured with multi-threaded servers, you must state in
your connect
string that you want to use a dedicated server process
(SRVR=DEDICATED) instead of a dispatcher process.
Additional Information:
See your Oracle operating-system-specific
documentation or the Net8
Administrator's Guide for the proper connect
string syntax.
=================================================================
=========
From the above, you should be able to create a db using "shared
server processes (MTS)" from scratch (instead of creating a db
using "dedicated server process" and then later on changing to
MTS), by modifying your tnsnames.ora file. However, I have not
done this.
Now run the remaining scripts that the main script was supposed
to call. The only other problem I had with the scripts was the
last script (the one with SIDjava.sh). I had a problem with the
redo logs, and I got an "end of communication error" in the
middle of the execution of the last script. I have to run this
last script twice to make sure it worked.
I believe the reason for the problem with the last script was
related to what I found out later on, that all the rollback
segments were OFFLINE (except that rbs in SYSTEM)!!!
So probably it is best that, after running the first script, take
the rollback segments online, before continuing with the other
scripts.
After running the scripts and the database created, I then
applied te 8.1.5.0.1 patch, shutting down the database first.
(Run svrmgrl, connect internal, shutdown;)
However, after applying the patch, and starting the database
again, I still get 8.1.5.0.0 and not 8.1.5.0.1 when loggin
in using sqlplus or svrmgrl. Maybe the patch should be applied
first BEFORE creating the db???
Okay, now I have it running for 3 days now. However, I get this
error in my alert files:
OER 536879337 in Load Indicator : Error Code = 570716328 !
... when the instance is mounted, and
Load Indicator not supported by OS
.... several times.
I have not been able to solve these remaining issues.
John Salvo
nullThis should get you started. I can point you to many places, but
http://en.wikipedia.org/wiki/Verizon_FiOS
Pasive Optical Network. Most customers really don't need to know all the nuts and bolts.
http://en.wikipedia.org/wiki/BPON
GOOD LINK Anti-Phish. I never viewed this list. Cool.
http://www.dslreports.com/faq/16637
Optical Network Terminal (ONT) is a type of NID used with fiber-to-the-premises applications.
Various models used.I had one of the first ONT 610X, I now have 612. I also believe they use Motorola ONTs?
http://en.wikipedia.org/wiki/Optical_Network_Terminal#Optical_network_terminals -
Hello!
I will kindly ask for your honest opinions as I want to study for an Oracle Linux exam and I need to get the below indicated topics covered, but unfortunately I could not find a book to cover them all (as I did for Oracle 11g).
Please help me locate a book, two or how many are necessary to help me study for the exam and cover the following topics:
Thank you all!
Installing Enterprise Linux
Install Enterprise Linux on any supported architecture.
Create partitions, software RAID and LVM storage configurations.
Select Packages for Installation.
PC Hardware & Linux
Get detailed information about all PCI & USB devices that are connected to a Linux system
Identify, load, unload and configure kernel modules
Tune the running kernel using the /proc/ filesystem
Post-Install System Configuration
Set and maintain the system clock with date, hwclock and NTP
Install, update and remove RPM packages with the rpm & yum commands
Configure printers with CUPS
Create and use Kickstart files for automated, hands-off installations
Boot Process & SysV Init
Configure the GRUB boot loader
Manage SysV Init scripts, including customizing files under the /etc/sysconfig/ directory to tune SysV Init scripts
Configure and use SysV runlevels
Shutdown & reboot Linux systems
User/Group Administration and NFS
Describe and apply the User Private Group scheme
Create, delete and configure user and system accounts
Create, delete and configure groups
Customize the PAM configuration
Configure and control access to su and sudo
Configure Linux systems to use centralized authentication and user information stores for system logins
Implement a file server to share files with NFS v3 & v4
Configure the automounter (autofs) allowing un-privileged users to mount filesystems on-demand
Filesystem Administration
Work with device nodes and udev
Partition hard drives after installation
Create and tune filesystems
Mount filesystem, including persistent configuration in the /etc/fstab file
Create, manage and tune swap devices
Configure, manage, assign and maintain quotas on filesystems
Create, use and remove File Access Control Lists (FACLs)
LVM & Raid
Configure Logical Volume Manager volume groups and logical volumes
Create and use software RAID devices
Grow and shrink logical volumes and the filesystems on them
Use LVM snapshots to create consistent, reliable backups
Task Automation & Process Accounting
Use the at & batch facilities to run one-time tasks
Manage cron jobs for recurring tasks, both system-wide and per-user
Configure syslog for central system logging
View, manage and kill running processes
Monitor system and application logs on a daily basis with logwatch
Configure process accounting and examine the resulting logs
Limiting and measuring resource usage (ulimit, pam, sar, vmstat, iostat)
Client Networking
Configure TCP/IP networking on Linux systems
Configure static routing on a Linux system
Aggregate multiple network links into a single interface via the bonding driver's Etherchannel and 802.3ad support
Configure a Linux system to participate in multiple VLANs on a managed switch via 802.1q frame tagging
Configure and maintain a DHCP server
Using networking diagnostics tool (ping,arp,ethtool)
Enterprise Linux Fundamentals
What is Linux?
Identify the origins of UNIX and how Linux is related to UNIX
Describe the major goals of the Free Software Foundation and the GNU project
List key elements of a Linux distribution and name several distributions
List several standards that apply to Linux
Describe the basic mechanisms that make UNIX so powerful
Multi User Concepts
Describe the differences between the administrative (root) user and normal user accounts and explain when each should be used
Log into the system
Switch between accounts using the 'su' command
Use basic commands to gather information about the system
Use system help facilities to learn about commands and their options.
The Linux File System
List the standard system directories and explain what type of files are contained in each
Navigate the file system
Explain standard POSIX file permissions including special permissions such as the SUID, SGID and Sticky bits on both files and directories
Change permissions of files
Explain how file ownership (user: group) relates to file permissions
Change ownership of files
Describe how the User Private Group (UPG) scheme works and the problem it solves
Manipulating Files
Be able to create, delete, copy, move and rename files and directories
Describe the various types of files that can be stored on UNIX and Linux file systems
Explain hard links and symbolic links, their pros & cons and when & where they can or can not be used
Identify the type of content of any file
View the contents of both text-based and binary files
Search the file system for files and directories with specific properties
Text Processing
Search inside of files for specified information
Perform file editing, sorting, cutting & merging text files from the command linee
Shell Basics
Understand the varied roles the command shell plays in everyday UNIX/Linux usage
Pipe several commands together to perform more complex and useful processing
Use file redirection on the command line
Create and use shell and environment variables to configure and control the operation of the system, the command shell and programs
Use and escape special characters when they are used on the command line
Regular Expressions Construct regular expressions for matching text patterns
Archiving and Compression
Use tar & cpio to create archives and extract files from them
Compress and decompress files using the UNIX compress, GNU gzip, bzip2 and zip formats
Text Editing
Use simple text editors like pico and nano
Perform basic and intermediate text editing functions efficiently with vi & Vim
Perform basic and intermediate text editing functions with GNU Emacs
Command Shells
List the history and relationships of the various popular shell implementations available on UNIX and Linux systems
Identify and switch between the various shell implementations
Customize the command prompt on Bourne and BASH shells
Use command line history, command completion, aliases and command line editing
Customize command shell operation system wide and for individual users
Introduction to Shell Scripting
Process arguments passed into a shell script
Get input from the user of a shell script
Generate formatted output from a shell script
Perform tasks conditionally using if, case and while loops in a shell script
Perform repeated actions over a set of values with for loops on the command line and within shell scripts
Do math in a shell script
Process Management and Job Control
Describe the differences between process and threads
Find and control running programs with ps, top, kill, and nice
Use the jobs, fg and bg commands to view and access several tasks at once on a single shell
Use the screen command to run several programs and disconnect from running programs on remote systems
Messaging
Send local messages with the write and wall commands
Use talk and ytalk to chat with other users
Send and read email with the mail and pine commands
The Secure Shell
Configure the ssh client and sshd server programs securely
Establish secure, remote connections to other systems
Use SSH's key-based authentication
Managing Software
Find and download software via FTP & HTTP with text & graphical client programs like wget, lftp, links, Konqueror and Mozilla Firefox
Install binary programs in RPM packages
List software already installed on the system with RPM
Compile and install software from source releases
Compile and install software from a source RPM (SRPM or .src.rpm) package
Printing
Use CUPS to connect to available local and network printers
Use various commands to process and convert files in preparation for printing
Send jobs to a printer
Monitor and remove print jobs
Mounting FileSystems and Managing Removable Media
Use the mount command
Access NFS and SMB filesystems over the network
Use autofs for on-demand mounting of filesystems without root privileges
X Window System
Start the graphical environment manually
Select different desktop environments
Launch graphical applications
Use Linux as an X terminal
Customize the graphical environment and auto-start applications at login and X startup
Securely tunnel remote graphical applications through SSHHello!
I will kindly ask for your honest opinions as I want to study for an Oracle Linux exam and I need to get the below indicated topics covered, but unfortunately I could not find a book to cover them all (as I did for Oracle 11g).
Please help me locate a book, two or how many are necessary to help me study for the exam and cover the following topics:
Thank you all!
Installing Enterprise Linux
Install Enterprise Linux on any supported architecture.
Create partitions, software RAID and LVM storage configurations.
Select Packages for Installation.
PC Hardware & Linux
Get detailed information about all PCI & USB devices that are connected to a Linux system
Identify, load, unload and configure kernel modules
Tune the running kernel using the /proc/ filesystem
Post-Install System Configuration
Set and maintain the system clock with date, hwclock and NTP
Install, update and remove RPM packages with the rpm & yum commands
Configure printers with CUPS
Create and use Kickstart files for automated, hands-off installations
Boot Process & SysV Init
Configure the GRUB boot loader
Manage SysV Init scripts, including customizing files under the /etc/sysconfig/ directory to tune SysV Init scripts
Configure and use SysV runlevels
Shutdown & reboot Linux systems
User/Group Administration and NFS
Describe and apply the User Private Group scheme
Create, delete and configure user and system accounts
Create, delete and configure groups
Customize the PAM configuration
Configure and control access to su and sudo
Configure Linux systems to use centralized authentication and user information stores for system logins
Implement a file server to share files with NFS v3 & v4
Configure the automounter (autofs) allowing un-privileged users to mount filesystems on-demand
Filesystem Administration
Work with device nodes and udev
Partition hard drives after installation
Create and tune filesystems
Mount filesystem, including persistent configuration in the /etc/fstab file
Create, manage and tune swap devices
Configure, manage, assign and maintain quotas on filesystems
Create, use and remove File Access Control Lists (FACLs)
LVM & Raid
Configure Logical Volume Manager volume groups and logical volumes
Create and use software RAID devices
Grow and shrink logical volumes and the filesystems on them
Use LVM snapshots to create consistent, reliable backups
Task Automation & Process Accounting
Use the at & batch facilities to run one-time tasks
Manage cron jobs for recurring tasks, both system-wide and per-user
Configure syslog for central system logging
View, manage and kill running processes
Monitor system and application logs on a daily basis with logwatch
Configure process accounting and examine the resulting logs
Limiting and measuring resource usage (ulimit, pam, sar, vmstat, iostat)
Client Networking
Configure TCP/IP networking on Linux systems
Configure static routing on a Linux system
Aggregate multiple network links into a single interface via the bonding driver's Etherchannel and 802.3ad support
Configure a Linux system to participate in multiple VLANs on a managed switch via 802.1q frame tagging
Configure and maintain a DHCP server
Using networking diagnostics tool (ping,arp,ethtool)
Enterprise Linux Fundamentals
What is Linux?
Identify the origins of UNIX and how Linux is related to UNIX
Describe the major goals of the Free Software Foundation and the GNU project
List key elements of a Linux distribution and name several distributions
List several standards that apply to Linux
Describe the basic mechanisms that make UNIX so powerful
Multi User Concepts
Describe the differences between the administrative (root) user and normal user accounts and explain when each should be used
Log into the system
Switch between accounts using the 'su' command
Use basic commands to gather information about the system
Use system help facilities to learn about commands and their options.
The Linux File System
List the standard system directories and explain what type of files are contained in each
Navigate the file system
Explain standard POSIX file permissions including special permissions such as the SUID, SGID and Sticky bits on both files and directories
Change permissions of files
Explain how file ownership (user: group) relates to file permissions
Change ownership of files
Describe how the User Private Group (UPG) scheme works and the problem it solves
Manipulating Files
Be able to create, delete, copy, move and rename files and directories
Describe the various types of files that can be stored on UNIX and Linux file systems
Explain hard links and symbolic links, their pros & cons and when & where they can or can not be used
Identify the type of content of any file
View the contents of both text-based and binary files
Search the file system for files and directories with specific properties
Text Processing
Search inside of files for specified information
Perform file editing, sorting, cutting & merging text files from the command linee
Shell Basics
Understand the varied roles the command shell plays in everyday UNIX/Linux usage
Pipe several commands together to perform more complex and useful processing
Use file redirection on the command line
Create and use shell and environment variables to configure and control the operation of the system, the command shell and programs
Use and escape special characters when they are used on the command line
Regular Expressions
Construct regular expressions for matching text patterns
Archiving and Compression
Use tar & cpio to create archives and extract files from them
Compress and decompress files using the UNIX compress, GNU gzip, bzip2 and zip formats
Text Editing
Use simple text editors like pico and nano
Perform basic and intermediate text editing functions efficiently with vi & Vim
Perform basic and intermediate text editing functions with GNU Emacs
Command Shells
List the history and relationships of the various popular shell implementations available on UNIX and Linux systems
Identify and switch between the various shell implementations
Customize the command prompt on Bourne and BASH shells
Use command line history, command completion, aliases and command line editing
Customize command shell operation system wide and for individual users
Introduction to Shell Scripting
Process arguments passed into a shell script
Get input from the user of a shell script
Generate formatted output from a shell script
Perform tasks conditionally using if, case and while loops in a shell script
Perform repeated actions over a set of values with for loops on the command line and within shell scripts
Do math in a shell script
Process Management and Job Control
Describe the differences between process and threads
Find and control running programs with ps, top, kill, and nice
Use the jobs, fg and bg commands to view and access several tasks at once on a single shell
Use the screen command to run several programs and disconnect from running programs on remote systems
Messaging
Send local messages with the write and wall commands
Use talk and ytalk to chat with other users
Send and read email with the mail and pine commands
The Secure Shell
Configure the ssh client and sshd server programs securely
Establish secure, remote connections to other systems
Use SSH's key-based authentication
Managing Software
Find and download software via FTP & HTTP with text & graphical client programs like wget, lftp, links, Konqueror and Mozilla Firefox
Install binary programs in RPM packages
List software already installed on the system with RPM
Compile and install software from source releases
Compile and install software from a source RPM (SRPM or .src.rpm) package
Printing
Use CUPS to connect to available local and network printers
Use various commands to process and convert files in preparation for printing
Send jobs to a printer
Monitor and remove print jobs
Mounting FileSystems and Managing Removable Media
Use the mount command
Access NFS and SMB filesystems over the network
Use autofs for on-demand mounting of filesystems without root privileges
X Window System
Start the graphical environment manually
Select different desktop environments
Launch graphical applications
Use Linux as an X terminal
Customize the graphical environment and auto-start applications at login and X startup
Securely tunnel remote graphical applications through SSH
How about posting this question in the Certification Forum
Since Oracle Linux is based on Red Hat Enterprise Linux, you can use and search "RHEL books". There should some. -
File Permissions on Oracle Directories for other Operating System Users
Hi,
I am trying to export the table data to flat file using a pl/sql function using UTL_FILE package and directories created using 'CREATE DIRECTORY' command. The function is called from a stored procedure which in-turn is called from a Java program using JDBC and the Java process runs as different operating system user. The problem for me is the file exported is being written as 'ORACLE' user with 'OINSTALL' group and '-rw-r--r--' linux file permissions. When I try to read this exported file from the java program it throws me a file access error.
I would like to know if we can specify any additional parameters either in
1) Database parameter file
2) UTIL_FILE.FOPEN function
3) CREATE DIRECTORY command
so that the files written to the DIRECTORY have a read write access.Since you attempting to read the file from Java, you are constrained by the OS.
Write a stored proc to read the file, since PL/SQL does have the correct permissions to read/write to files.
P; -
How to install ASM instance in oracle linux 6.1
Hi,
I have installed oracle linux 6 and upgraded to oracle linux 6.1 (32 bit) for testing purpose.
here is details of some commands
[root@rac2 ~]# uname -a
Linux rac2.test 2.6.32-131.0.15.el6.i686 #1 SMP Fri May 20 15:00:01 EDT 2011 i68 6 i686 i386 GNU/Linux
[root@rac2 ~]# modprobe -l | grep oracle ####No output####
[root@rac2 ~]# rpm -qa| grep oracleasm ####No output####
[root@rac2 ~]# modprobe /etc/oracleasm
FATAL: Module /etc/oracleasm not found.
Please suggest me, do i have to download any other package for enable oracle asm.Hi,
I have done these setup and still i am not able to create disk in asm. i have created partition with fdisk with name sdd2,sde2,sdf2
here is the output of few command--
[root@rac2 ~]# uname -r
2.6.32-100.34.1.el6uek.i686
[root@rac2 ~]# rpm -qa | grep oracle*
oracle-logos-60.0.11-9.el6.noarch
oraclelinux-release-notes-6Server-5.i686
oraclelinux-release-6Server-1.0.2.i686
oracleasm-support-2.1.5-1.el6.i686
[root@rac2 ~]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface [oracle]:
Default group to own the driver interface [oinstall]:
Start Oracle ASM library driver on boot (y/n) [y]:
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]
[root@rac2 ~]# /etc/init.d/oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@rac2 ~]# ls -la /dev/sd*
brw-rw----. 1 root disk 8, 0 Sep 14 15:57 /dev/sda
brw-rw----. 1 root disk 8, 1 Sep 14 15:58 /dev/sda1
brw-rw----. 1 root disk 8, 2 Sep 14 15:57 /dev/sda2
brw-rw----. 1 root disk 8, 16 Sep 14 15:57 /dev/sdb
brw-rw----. 1 root disk 8, 17 Sep 14 15:58 /dev/sdb1
brw-rw----. 1 root disk 8, 48 Sep 14 16:14 /dev/sdd
brw-rw----. 1 root disk 8, 50 Sep 14 16:14 /dev/sdd2
brw-rw----. 1 root disk 8, 64 Sep 14 16:14 /dev/sde
brw-rw----. 1 root disk 8, 66 Sep 14 16:14 /dev/sde2
brw-rw----. 1 root disk 8, 80 Sep 14 16:14 /dev/sdf
brw-rw----. 1 root disk 8, 82 Sep 14 16:14 /dev/sdf2
[root@rac2 ~]# /etc/init.d/oracleasm createdisk ASM01 /dev/sdd2
Marking disk "ASM01" as an ASM disk: [FAILED]
[root@rac2 ~]#
[root@rac2 ~]# tail -20 /var/log/oracleasm
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Disk "ASM01" does not exist or is not instantiated
Writing disk header: done
Instantiating disk: oracleasm-instantiate-disk: Unable to create ASM disk "ASM01": Permission denied
failed
Clearing disk header: done
[root@rac2 ~]#
I have tried to find out solution but did not get anything in google.
Please suggest if any solution or may be i missed some setup.
Ram -
[Oracle Linux 6.3] Impossible to configure ASMlib
Hi,
[root@ahmed-ol6 sf_Softs]# uname -a
Linux ahmed-ol6 2.6.32-279.19.1.el6.i686 #1 SMP Tue Dec 18 15:04:25 PST 2012 i686 i686 i386 GNU/Linux
[root@ahmed-ol6 oracle]# cat /etc/oracle-release
Oracle Linux Server release 6.3
[root@ahmed-ol6 sf_Softs]# cat /proc/partitions
major minor #blocks name
8 0 17337344 sda
8 1 512000 sda1
8 2 16824320 sda2
8 16 1048576 sdb
8 17 1044193 sdb1
8 32 1048576 sdc
8 33 1044193 sdc1
8 48 1048576 sdd
8 49 1044193 sdd1
8 64 1048576 sde
8 65 1044193 sde1
8 80 2097152 sdf
8 81 2096451 sdf1
8 96 2097152 sdg
8 97 2096451 sdg1
253 0 11612160 dm-0
253 1 5210112 dm-1
[root@ahmed-ol6 oracle]# rpm -qa | grep oracleasm
oracleasmlib-2.0.4-1.el6.i686
oracleasm-support-2.1.5-1.el6.i686
[root@ahmed-ol6 sf_Softs]# oracleasm configure -i
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface [oracle]:
Default group to own the driver interface [oinstall]:
Start Oracle ASM library driver on boot (y/n) [y]:
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
[root@ahmed-ol6 sf_Softs]# oracleasm init
Loading module "oracleasm": failed
Unable to load module "oracleasm"
[root@ahmed-ol6 sf_Softs]# service oracleasm restart
Dropping Oracle ASMLib disks: [ OK ]
Shutting down the Oracle ASMLib driver: [ OK ]
Initializing the Oracle ASMLib driver: [FAILED]Can someone help me to understand what's going on here?
I have installed the package found on OTN here:
[http://www.oracle.com/technetwork/server-storage/linux/asmlib/ol6-1709075.html]
I've understood that the OracleASM kernel driver is no longer needed in OL6 because it's included in the kernel.
So what's the problem?
Thanks for helpingDude wrote:
ASMlib is not mandatory, but makes managing ASM devices easier to manage and provides a more efficient I/O path. Some of it is negotiable, however, I think your negative experience with the product in the past is NO good reason to advice how obsolete or useless ASMlib was. Because, sorry, it isn't. Please do the research.
The reason why oracle ASMlib is included and supported only by the Oracle UEK kernel is not to force people to use Oracle Linux, but due to Red Hat. Oracle was obviously forced to support Oracle kernel modules only for their own kernel, for very good reasons. Red Hat officially said "Yes, we undercut Oracle with hidden Linux patches".
http://www.channelregister.co.uk/2011/03/04/red_hat_twarts_oracle_and_novell_with_change_to_source_code_packaging
Edited by: Dude on Jan 23, 2013 5:53 PMSo for those of us that do not use UEK, whether or not to use ASMLib is really not an option. If it is not supported, I would hate to "force" install it and have something go wrong on my production servers. So, whether or not I do the "research", the fact it will not be supported on RHEL6 only enforces my opinion does it not? -
Poor SSD disk IO speed in Oracle Linux 6.3 (Windows migration)
Hello,
I am trying to migrate from Windows to Oracle Linux, but I'm seeing very poor disk IO speeds. It's probably a tuning thing, but I'm relatively new to Oracle Linux and could use some detailed advice.
I took one physical server and migrated it from Windows 2008R2 to Oracle Linux 6.3 while maintaing the same Oracle version (11.2.0.3 Enterprise with ASM) and the same hardware (quad CPU 48 core HP DL585 G7 with 128GB RAM, 7 LSI 9200-8e HBAs, 28 Samsung SSD Drives). Disk IO performance, as measured using Oracle IO Calibration, was ~7,800MB/Second and 440K IOPS under windows but fell to ~2,400MB/Second and 250K IOPS under Linux.
Oracle Linux and the DB were installed using default values. The Oracle tools seem to have done a great job setting all of the obvious IO tuning parameters like the scheduler, but I figure that there are other important IO-related OS or DB parameters and that I have failed to configure the system properly.
My goal for the migration is sequential read IO speed and I would have bet money that Linux would provide better performance than Windows. I still think that it should. What basic IO tuning should I do for Oracle Linux using ASM and SSD drives?
Thank you!
Some details:
Oracle DB 11.2.0.3 enterprise installed via the GUI with the "Data Warehousing" template
ASM - single disk group, 28 SSD disks, AU=4MB
Oracle memory: Automatic memory management, 64GB allocated
Non-default Oracle params: filesystemio_options=setall, disk_asynch_io=true
Edited by: 975524 on Dec 7, 2012 8:56 AMThanks "dude" for the advice. Unfortunately, I am still seeing low IO speeds.
The default scheduler for OEL 6.3 with the DB pre-install package is deadline, which seemed like a far better choice than CFS. Based on your advice, I tried noop this morning and got the same results. I also tested with and without hugepages and saw only a small difference - at least in IO speed - I did not test overall DB performance. Lastly, I understand the /dev/shm issue, but even with the default configuration I'm getting 64MB allocated to Oracle, which is far more than is needed to test sequential IO - in fact I can get better results by using less RAM.
To answer your questions, I am testing using Oracle IO Calibration, which is an IO testing feature of the Oracle DB that is similar to the standalone Oracle Orion tool. I also performed a few tests using IOMeter, but found that the Linux version of that product was not giving me consistent data. The overall trend was the same however - IO on the Linux version far lower than the same hardware running Windows. The system is functioning very well, so I assume that everything has been installed correctly, but I do not think that it was installed optimally - thus my cry for help.
I am so surprised that Linux is showing slow IO!
Edited by: 975524 on Dec 7, 2012 9:22 AM
Maybe you are looking for
-
Application Server not getting Started..
Hi Experts I have recently installed the AS preview version. up till installation every thing was fine. but when starting the server i am waiting for the start up its still not up from last night. What things i should check..? or what might be the pr
-
Flat monitor not seen by input HDMI on TV
My sharp aquos 42" flat panel TV does not "see" my computer in the input (HDMI) of the selector options. It's a few years old so it does not have VGA connections on it thus the use of the cable. I have a Mac PPC G5 with a nvida 9600 video card.. tha
-
What is the safe movie downloader fro mac book pro ?
I really want to download some movies to my laptop (Mac Book Pro w/ Retina Display) but i really don't know where and mac book compatible. I know there's a Hulu, NetFlix.. but i don't want to pay for that.. I just want to download. so please help me.
-
Print preview screen always appears in IW38 while printing order.
Hi Experts, I have a user who always gets a print preview screen while printing orders from orders list page in IW38 T-Code. Now we have tried to set his printer as default in SU3 T-Code, Also we have selected the Print Immediately Option, In additi
-
Test stand crashes: "test stand has detected that your script debugging"
05-01-201203:18 PM Hi everyone. I am setting up a new installation of Test stand and writing my first sequence with an existing sequence of legacy code. When I run the sequence and stop on the call to the DLL, and then step into the dll and I get thi