Want to set up Teamviewer within Oracle Linux

Hi,
when i try to set up the version of Teamviewer for Red Hat from this place
http://www.teamviewer.com/en/download/index.aspx
I have got this problem
Missing Dependency: libSM(x86-32) is needed by package teamviewer6-6.0.9258-1.i386 (/teamviewer_linux)
Missing Dependency: libXtst(x86-32) is needed by package teamviewer6-6.0.9258-1.i386 (/teamviewer_linux)
Missing Dependency: libXfixes(x86-32) is needed by package teamviewer6-6.0.9258-1.i386 (/teamviewer_linux)
Missing Dependency: libXrender(x86-32) is needed by package teamviewer6-6.0.9258-1.i386 (/teamviewer_linux)
Missing Dependency: libXdamage(x86-32) is needed by package teamviewer6-6.0.9258-1.i386 (/teamviewer_linux)
Missing Dependency: alsa-lib(x86-32) is needed by package teamviewer6-6.0.9258-1.i386 (/teamviewer_linux)
Missing Dependency: zlib(x86-32) is needed by package teamviewer6-6.0.9258-1.i386 (/teamviewer_linux)
Missing Dependency: glibc(x86-32) >= 2.7 is needed by package teamviewer6-6.0.9258-1.i386 (/teamviewer_linux)
Missing Dependency: freetype(x86-32) is needed by package teamviewer6-6.0.9258-1.i386 (/teamviewer_linux)
Missing Dependency: libXext(x86-32) is needed by package teamviewer6-6.0.9258-1.i386 (/teamviewer_linux)
any advice?
Thanks & Best Regards,
HuaMin

Many thanks.
I have set up that but when i used another normal user to run Teamviewer 5, i have got this alert.
And the Teamviewer session ID can't be generated
Summary:
SELinux is preventing TeamViewer.exe from loading
/opt/teamviewer/teamviewer/5/wine/lib/wine/shlwapi.dll.so which requires text
relocation.
Detailed Description:
The TeamViewer.exe application attempted to load
/opt/teamviewer/teamviewer/5/wine/lib/wine/shlwapi.dll.so which requires text
relocation. This is a potential security problem. Most libraries do not need
this permission. Libraries are sometimes coded incorrectly and request this
permission. The SELinux Memory Protection Tests
(http://people.redhat.com/drepper/selinux-mem.html) web page explains how to
remove this requirement. You can configure SELinux temporarily to allow
/opt/teamviewer/teamviewer/5/wine/lib/wine/shlwapi.dll.so to use relocation as a
workaround, until the library is fixed. Please file a bug report
(http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.
Allowing Access:
If you trust /opt/teamviewer/teamviewer/5/wine/lib/wine/shlwapi.dll.so to run
correctly, you can change the file context to textrel_shlib_t. "chcon -t
textrel_shlib_t '/opt/teamviewer/teamviewer/5/wine/lib/wine/shlwapi.dll.so'" You
must also change the default file context files on the system in order to
preserve them even on a full relabel. "semanage fcontext -a -t textrel_shlib_t
'/opt/teamviewer/teamviewer/5/wine/lib/wine/shlwapi.dll.so'"
The following command will allow this access:
chcon -t textrel_shlib_t '/opt/teamviewer/teamviewer/5/wine/lib/wine/shlwapi.dll.so'
Additional Information:
Source Context user_u:system_r:unconfined_t
Target Context system_u:object_r:lib_t
Target Objects /opt/teamviewer/teamviewer/5/wine/lib/wine/shlwapi
.dll.so [ file ]
Source wineboot.exe
Source Path /opt/teamviewer/teamviewer/5/wine/bin/wine-
preloader
Port <Unknown>
Host localhost.localdomain
Source RPM Packages teamviewer5-5.0.8888-1
Target RPM Packages teamviewer5-5.0.8888-1
Policy RPM selinux-policy-2.4.6-316.el5
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name allow_execmod
Host Name localhost.localdomain
Platform Linux localhost.localdomain 2.6.18-274.el5xen #1
SMP Mon Jul 25 14:18:39 EDT 2011 i686 i686
Alert Count 23
First Seen Thu 26 Jan 2012 02:26:20 PM CST
Last Seen Fri 27 Jan 2012 03:04:37 PM CST
Local ID c0c7c31b-448f-4b2a-bf5b-3440650e3590
Line Numbers
Raw Audit Messages
host=localhost.localdomain type=AVC msg=audit(1327647877.471:167): avc: denied { execmod } for pid=5208 comm="TeamViewer.exe" path="/opt/teamviewer/teamviewer/5/wine/lib/wine/shlwapi.dll.so" dev=dm-0 ino=524620 scontext=user_u:system_r:unconfined_t:s0 tcontext=system_u:object_r:lib_t:s0 tclass=file
host=localhost.localdomain type=SYSCALL msg=audit(1327647877.471:167): arch=40000003 syscall=125 success=no exit=-13 a0=6873d000 a1=1000 a2=7 a3=6873d000 items=0 ppid=1 pid=5208 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=7 comm="TeamViewer.exe" exe="/opt/teamviewer/teamviewer/5/wine/bin/wine-preloader" subj=user_u:system_r:unconfined_t:s0 key=(null)
Thanks & Best Regards,
HuaMin

Similar Messages

  • How to compile Oracle Linux source?

    I accidentally downloaded source DVD "Oracle Linux Release 5 Update 2 source - DVD" instead of installable ISO image. Is there anyway I can compile it to make bootable ISO image?
    I tried to search this forum as well as other places but couldn't find any information hence thought of opening a thread before I proceed to download correct file which will again take 10+ hrs with my Internet speed :(
    Any help is highly appreciated. Also I need to know which packages are required to be installed for compiling the source if at all that is possible. I am using Ubuntu 11.10 Desktop.
    Thanks in advance for any help and hope to get a reply soon :) I need to urgently install Oracle 11gR2 on it.
    Edited by: user6582219 on Apr 12, 2012 1:10 AM
    While browsing the forum for any possible solution I came to a thread that discuss installation of a package oracle-rdbms-server-11gR2-preinstall. When searched through search engine I came to know about recent certification Oracle 11gR2 on Oracle Linux 6, here is the link https://blogs.oracle.com/linux/entry/announcing_oracle_database_11g_r2
    https://blogs.oracle.com/linux/entry/announcing_oracle_database_11g_r2
    Thing is I already have Oracle Linux 6 Update 2 (the latest) installed on my machine in dual boot mode so I dropped the idea of installing version 5.2. As per the documentation 11gR2 was not certified earlier on Linux 6.2 so I thought of installing 5.2 but it is not necessary now.
    I would still appreciate if someone could answer my question just for knowing the procedure compiling source. May be it can help someone else trying to achieve this.
    I have another couple of important questions and need guidance from the experts over here. I am not sure if it is appropriate to open a new thread but for now I am posting them here.
    Before proceeding here are my environment details:
    Machine: x86 32 bit with 2 GB RAM/250 GB HD.
    OS: Kubuntu 11.10 Desktop and Oracle Linux 6 Update 2 in dual boot mode.
    Here are my partition details for your reference but as I am planning to do the installation from the scratch following new ideal scheme you can jump to last paragraph following the line "*********************************" for my questions.
    Unfortunately my partition plan went wrong and here is what I have now:
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x3d5ba9e1
    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 1002047 500000 83 Linux
    /dev/sda2 151525080 361253654 104864287+ 7 HPFS/NTFS/exFAT
    /dev/sda4 1003518 151001087 74998785 5 Extended
    /dev/sda5 1003520 7002111 2999296 82 Linux swap / Solaris
    /dev/sda6 7004160 11001855 1998848 83 Linux
    /dev/sda7 11003904 51001343 19998720 83 Linux
    /dev/sda8 51003392 110041087 29518848 83 Linux
    Partition table entries are not in disk order
    /dev/sda1 here is /tmp, /dev/sda2 is my data partition, I have separate /home / (root) partition for Kubuntu and remianing around 20 GB in extended partition is used for Oracle Linux 6.2 with default Oracle suggested LVM partition. I also have separate /boot for Kubuntu and I chose not to install grub while installing Oracle Linux. I later modified grub.cfg to add entries for Oracle Linux and now I can boot both OSs successfully.
    My issue now is I cannot extend 20 GB space (in extended partition) that I have given to Oracle though I have around 40 GB space available. This is because I alreay have 4 primary partitions (one for /boot others for "data" and one extended partition). So I have to make primary partition out of free space and install Oracle in a single partition without following recommended partition layout scheme.
    Now I want to do the installation of both the OS from the scratch and really need an advice on partition layout scheme. Here is summary of what I wan to achieve:
    1. Keep the "data" partition (primary) intact and carve an ideal partition layout for both the OS with separate /boot, /tmp, /home, swap (and may be for /usr???). Also may be I can share swap?
    2. How do I go about using LVM and is it recommended for this case? What would be ideal locations for each partitions and sizes? I already used 100 GB for "data" so now I want to keep 60 GB for Oracle Linux (and Oracle DB for which I will again make few sub-partitions) and remaining will be for Kubuntu.
    Well, I am not sure if this is the right place to ask these questions but since I can see very knowlegeable top contributors here that are willing to help novice users I thought of posting these questions.
    I would really really appreciate if someone can provide me rough draft of partition scheme in my case considering the sub-partitions needed for Oracle DB. I went thorugh number of forums and documentations to come up with solutuion and finally thought of getting help after much confusion.
    I really need to carefully plan this time because it's third time I am doing reinstallation from the scratch because of poor plan I followed previously.
    Thank you very much in advance and please let me know in case more information is needed from my side.
    Regards,
    Ramesh

    I accidentally downloaded source DVD "Oracle Linux Release 5 Update 2 source - DVD" instead of installable ISO image. Is there anyway I can compile it to make bootable ISO image?Google will be your best friend for such a question, for instance, "Creating a Custom centos Linux bootable ISO Image". There is no need to duplicate the effort. I recommend you download the correct installation DVD, e.g. 5.8
    Thing is I already have Oracle Linux 6 Update 2 (the latest) installed on my machine in dual boot mode so I dropped the idea of installing version 5.2. As per the documentation 11gR2 was not certified earlier on Linux 6.2 so I thought of installing 5.2 but it is not necessary now.So you don't need to install 5.2 anymore, but you want the information how to compile a installation DVD from the 5.2 source anyway?!
    I have another couple of important questions and need guidance from the experts over here. I am not sure if it is appropriate to open a new thread but for now I am posting them here.Questions may be important for you, but not necessarily for others. No one will complain if you create a new thread for particular questions or subjects. It is better to separate your topics and questions rather than creating a multi-mega thread, which does little to help anyone else but you. It means more work on your end, but it will be easier for anyone to participate or answer your questions, and it will allow you to better award answers.
    Regarding your partitioning questions: It is generally difficult to address such topics in a forum. You are asking for a book of information. My advice is to drop the old fashioned concepts of dual or triple boot options and install Oracle VirtualBox instead. It will make all of these questions obsolete and you can use whatever defaults when installing your virtual machine guest OS. Its a far more superior way of dealing with multiple operating systems on one and the same computer.
    I am using Ubuntu 11.10 Desktop.
    I need to urgently install Oracle 11gR2 on it.For what it's worth, if you can combine the two source below you should be able to install and run 11gR2 on Ubuntu 11.10.
    Install Oracle 11gR2 on Ubuntu Linux 11.04 (64-bit) Howto
    Install Oracle 11gR2 on Ubuntu Linux 11.04 (64-bit) Howto
    Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
    Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
    However, check out VirtualBox.

  • Oracle Linux VM setting time wrong on boot

    I have a newly built Oracle Linux 5.7 vm running on OVM 3.0.3. Every time it boots the clock goes back 6 hours. I have the vm set up to use ntp which is successfully getting time from ntp pool servers. The OVM servers are configured to get their time from OVM manager.
    I am in Eastern time which is 5 hours behind UTC so I don't think it is confusion between EST and UTC since the clock is losing 6 hours.
    The OVM users guide advises to set "xen.independent_wallclock = 1" in /etc/sysctl.conf, but does not specify if this is done on the OVM servers or the guest vms. I have it set this way in both environments right now, but this behavior remains the same whether the setting is 0 or 1.
    The Linux guest has been fully updated from ULN and has the oracle-validated packages installed.
    The oracle-validated package updated the kernel boot parameters to include "clocksource=pit nohpet noptimer".
    Any ideas?
    Thx

    I was confused, too, until I set BIOS clocks (RTC) on my 2 servers to UTC time and installed both servers with "Server uses UTC" option enabled and same timezone, during OVM setup.
    Also make sure OVM manager has correct RTC, time zone, utc settings BEFORE starting up OVM servers, as this also might get you in trouble.
    To ensure bios clock (RTC) is set corretly on OVM servers, do - after tweaking /dev/rtc ("ln -s /dev/rtc0 /dev/rtc" in 3.0.3) make sure you have correct system time on server and issue "hwclock --systohc".
    When everything is fine (at the end) you should configure/check ntpd is running everywhere - check this link http://blogs.oracle.com/virtualization/entry/configuring_ntp_services_for_oracle.
    If even after this you will experience trouble with domU times- configure nptd also in all domUs, but remember to first set in every domU independence of dom0 time - "echo 1 > /proc/sys/xen/independent_wallclock".
    :j

  • Want to install Oracle Linux Rel.6 and have a graphical interface

    After reading:
    Does Oracle Linux Rel.6 have graphical capabilities
    How do you install the GUI for Oracle Linux Rel 6?

    Dude wrote:
    I'm glad you did not take my remark to call you a Linux enthusiast in bad way. It certainly was not meant to be a bad comment, but it's was probably silly of me to make such a remark anyway. I do not take personally offence easily in a forum like this. No, if you want to offend me, post poor code and claim it as the best thing since slice bread. ;-)
    I guess I strive to be liberal, but by definition I don't think I really fit into any political wing.Likewise. Find politics a necessary evil to keep abreast of - such as the election in the US.
    Back to Linux and your example, I have used such interfaces for many years too. Unfortunately we often have to use what is provided. However, the reason for the text interface is no longer valid, unless your input device is only a text based terminal.Not as much the input device - heck, pure tty devices are pretty much a thing of the past. It is about the complexity of the infrastructure between you and the device you need to administer. And about the task you need to perform.
    The connectivity can mean being unable to run a GUI - due to performance, firewalls, router configurations and so on. The task at hand could very well be easily done, using the relevant o/s commands via a command line interface.
    I think there is nothing against a GUI app that runs on your PC to sends appropriate commands to a text interface over a slow serial link, apart from the effort that is required to interact with errors, etc.Much more complex than that. A terminal server is usually used - and it attaches to the serial/RS232 connections of multiple devices that need to be administered. It will typically reside on a separate management network too, and not on the local company/corporate intranet.
    So for you to access a device to administer, you need an open firewall to the management network to reach the management server that handles the serial console connection for the device you want to administer. You need a valid o/s account on that terminal server. You need to use ssh to access the command line of that terminal server. You need to enter the relevant command that will attach your ssh session to the RS232 console connection to the device to administer.
    There is no GUI app on your side that can not only automagically do all this for you, but also provide you with GUI admin widgets to send commands to the remote device. Even if that remote device being sysadmin'ed is Linux, different distros and different versions of the same distros, means different commands, variances in command line parameters for such commands, and so on.
    A sysadmin that cannot deal with such situations, and need a GUI as a crutch to administer a device.. I for one will not call that person a sysadmin. I would call the person incompetent instead. Harsh views perhaps, but being sysadmin is an unforgiving job. A mistake, or inability to access a device and fix it using the bare minimum, could result in severe financial loss for the company.

  • How to set widescreen for the guest OS (Oracle Linux 5) in Oracle VM 4.1.12

    Hi all
    I have got a concert about how to set the guest system(Oracle Linux5) to use widescreen? appreciate whatever you can help!
    Thanks,

    You're looking for the VirtualBox forums. https://forums.virtualbox.org/
    This forum is for discussion of Oracle VM Server.

  • Help with setting up LDAP Client on Oracle Linux 6.4

    Hi,
    I'm having problems getting my Oracle Linux server setup as a ldap client and hoping someone can find where I'm going wrong. We have Oracle/Sun Directory Server 7 with Solaris ldap clients already setup with ssl. We are also using crypt for storing passwords. Here are the steps I have done on the Linux server.
    yum install -y openldap openldap-clients nss-pam-ldapd pam_ldap
    Edited the line FORCELEGACY=no to yes in /etc/sysconfig/authconfig
    Copied the CA certs to /etc/openldap/cacerts
    Ran: authconfig updateall enableldap enableldapauth ldapserver=zldap1.<domain> ldapbasedn="o=<domain>,o=isp" enableldaptls --enableldapstarttls
    Changed pam_password md5 to crypt in /etc/pam_ldap.conf
    Restarted /etc/init.d/nslcd and also tried rebooting.
    I'm seeing the following errors in messages:
    May 21 08:50:01 ryolinux nslcd[1261]: [c79ea8] ldap_start_tls_s() failed: Connect error (uri="ldap://zldap1.<domain>/")
    May 21 08:50:01 ryolinux nslcd[1261]: [c79ea8] failed to bind to LDAP server ldap://zldap1.<domain>/: Connect error
    May 21 08:50:01 ryolinux nslcd[1261]: [c79ea8] no available LDAP server found
    Here is what my /etc/openldap/ldap.conf file looks like:
    TLS_CACERTDIR /etc/openldap/cacerts
    TLS_REQCERT allow
    URI ldap://zldap1.<domain>/
    BASE o=<domain>,o=isp
    Any help would be appreciated.
    Thanks

    Copy cacerts to /etc/openldap/cacerts
    yum install -y openldap ldap-clients nss-pam-ldapd pam_ldap authconfig sssd
    authconfig enablesssd enablesssdauth enablelocauthorize update
    authconfig updateall enableldap enableldapauth ldapserver=zldap1.<domain> ldapbasedn="o=<domain>,o=isp" enableldaptls --enableldapstarttls
    Add line to /etc/sssd/sssd.conf "ldap_tls_reqcert = allow"
    Change /etc/pam_ldap.conf line:
    pam_password md5 --> pam_password crypt
    service sssd restart

  • Oracle Linux Exam Help!

    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 SSH

    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 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.

  • I want to set log_archive _start paramtere true after instance start up. af

    i want to set log_archive _start paramtere true after instance start up. after setting database in archive log mode . How                                                                                                                                                                                                                                                   

    everything OK with you ?
    1. . can we use single listner for oracle 9i & 10g which is i
    Posted on: Mar 15, 2008 6:01 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    2. how can i change max data file paramtere which is use in create database sc
    Posted on: Mar 15, 2008 6:10 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    3. how see the globle name of database
    Posted on: Mar 15, 2008 6:28 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    4. how sga use if i execute select * from emp whree empid=111;
    Posted on: Mar 15, 2008 6:19 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    5. how u see how many database are on ur linux box & how many start or stop
    Posted on: Mar 15, 2008 6:03 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    6. i want to set log_archive _start paramtere true after instance start up. af
    Posted on: Mar 15, 2008 6:12 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    7. if i dont specify the log file in export but export complete with warning
    Posted on: Mar 15, 2008 6:13 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    8. if ur database crash u have only export of database how u create database f
    Posted on: Mar 15, 2008 6:14 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    9. is it possible to take export of close database
    Posted on: Mar 15, 2008 6:13 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    10. is it possible we can define the path of control file backup by creating a
    Posted on: Mar 15, 2008 6:20 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    11. Re: how we see versions of component those install with oracle
    Posted on: Mar 15, 2008 6:36 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    12. row chaning how u eliminate
    Posted on: Mar 15, 2008 6:23 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    13. Some inter view Questions Please give prefect answer help me
    Posted on: Mar 9, 2008 10:32 AM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    14. ur database size is 100gb when u take export eport dmp sixe is 90gb but ur
    Posted on: Mar 15, 2008 6:00 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    15. ur mount point have not more space and ur system table space is full how u
    Posted on: Mar 15, 2008 6:06 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    16. ur temprory tablespace full . how u resize or increase size of file .
    Posted on: Mar 15, 2008 6:04 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    17. user say ur database is slow how u slove this how identified reasons
    Posted on: Mar 15, 2008 6:17 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    18. what is diffrence when u install 9i and 10g on linux. which feature provide
    Posted on: Mar 15, 2008 6:08 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    19. what is facture block
    Posted on: Mar 15, 2008 6:11 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    20. what is grid . how grid work. is it possible grid in 9i . how
    Posted on: Mar 15, 2008 6:25 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    21. what is pre reqiest of rman implementation
    Posted on: Mar 15, 2008 6:15 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    22. what is process of patching on linux & windows
    Posted on: Mar 15, 2008 6:16 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    23. what is steps of cloning
    Posted on: Mar 15, 2008 6:24 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    24. when u install oracle where the oracle installation inventory information s
    Posted on: Mar 15, 2008 6:07 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    25. which type of joins we can see in tkprof information
    Posted on: Mar 15, 2008 6:22 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread
    26. why r we not use tablespce begin backup with read only tablespace
    Posted on: Mar 15, 2008 6:18 PM, by user: aditi -- Relevance: 100% -- Show all results within this thread

  • Silent install of oracle 11.2.0.1.0 on oracle linux 6.4  64 bit edition

    Hello,
    What files do I need to alter to install oracle 11gR2 {11.2.0.1.0}[1] rdbms ontop of a local install of oracle linux 6.4 64 bit edition ?
    I want to do the install in silent mode from the command line.
    -oracle linux 6.4 installed and updated with the latest patches.
    Thanks Glenn
    [1]
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    linux.x64_11gR2_database_1of2.zip
    linux.x64_11gR2_database_2of2.zip

    please find below link, it is having step by step oracle 11g installtion on oracle linux5
    please fallow up to Installation ..dont invoke directly ./runInstaller.
    go to unzip directory..u may find respance folder in taht edit.rsp file as per the your requirement.
    please post .rsp paramters details..will guide you what needs to be set....if know the parameters...edit it and save ...then execute below
    go to runInstaller having folder..the execute below cmd.
    ./runInstaller -silent -responseFile /u01/Disk1/responce/rsp11g.rsp DECLINE_SECURITY_UPDATES=true
    http://www.oracle-base.com/articles/11g/oracle-db-11gr2-installation-on-oracle-linux-5.php

  • Setting max heap in Oracle JVM

    Hello -
    I'm having a problem with a Java stored procedure running out of heap memory in Oracle 10g running Java 1.4.
    Normally (running Java in a standard context) I would just modify the -Xmx with a higher value, but for the life of me I can't figure out how to do it in a stored procedure context.
    I have browsed Google and I have browsed the Oracle JVM installation stuff, all to no avail.
    Can anyone help me with how to set my max heap size, or verify that it's impossible? I have taken all of the standard Oracle memory parameters (JAVA_POOL, UGA/PGA/SGA limits) out of the picture by jacking them up and keeping an eye on memory values up to the point that the procedure fails (at ~700m), so I'm pretty sure that this is my problem.
    So far I have looked at:
    Config files
    Config tables
    DB parameters
    I haven't been able to find anything remotely related to JVM option configuration in any of the above.
    It is worth noting that I ran across another forum where someone was wanting to set their minimum heap size, and they were told that it was not possible. I'm just having trouble believing that it's the same story with something as critical as max heap size.
    Much obliged for any help.
    Thanks,
    Annaka

    From Metalink Note 466112.1:
    Applies to:
    Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 10.2.0.3
    This problem can occur on any platform.
    Symptoms
    When attempting to execute a java class that works fine in a stand alone JVM, fails with Oracle JVM with the following error:
    ERROR
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.OutOfMemoryError
    ORA-06512: at "IDS_SYS.POD", line 3
    Cause
    The MaxMemorySize was set 256M (the default values) where the JSO needs memory more than 256 MB to run.
    This can be checked as following:
    SQL> create or replace function getMaxMemorySize return number
    2 is language java name
    3 'oracle.aurora.vm.OracleRuntime.getMaxMemorySize() returns long';
    4 /
    Function created.
    SQL> select getMaxMemorySize from dual;
    GETMAXMEMORYSIZE
    268435456
    After increasing the MaxMemorySize to a larger value(1 GB), the problem was fixed
    Solution
    Please increase the MaxMemorySize to a larger values(i.e. 1GB), this can be done as following:
    SQL> create or replace function setMaxMemorySize(num number) return number
    2 is language java name
    3 'oracle.aurora.vm.OracleRuntime.setMaxMemorySize(long) returns long';
    4 /
    Function created.
    SQL> select setMaxMemorySize(1024*1024*1024) from dual;
    SETMAXMEMORYSIZE(1024*1024*1024)
    Then you can check if the value is set correctly using the following:
    SQL> select getMaxMemorySize from dual;
    GETMAXMEMORYSIZE
    1073741824
    In my case I had to set the parameter within a job's the session.
    bye
    TPD
    Edited by: TPD on Sep 23, 2008 4:27 PM - tags added

  • Issue connecting to a second instance on a Oracle Linux Box.

    Hi all. I have the following scenario.
    - Two Oracle versions and instances on the same box (10g Rel2 and 11g Rel2).
    - Due to lack of disk space i installed 11g on another ORACLE_BASE / ORACLE_HOME:
    - Initial enviroment (10g):
    [oracle@VM1 ~]$ echo $ORACLE_BASE
    /home/oracle/app
    [oracle@VM1 ~]$ echo $ORACLE_HOME
    /home/oracle/app/OraDb10g
    [oracle@VM1 ~]$ echo $ORACLE_SID
    BETA
    [oracle@VM1 ~]$ echo $PATH
    /home/oracle/app/OraDb10g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    - 11g related values:
    [oracle@VM1 oracle]$ echo $ORACLE_BASE
    /u01/oracle
    [oracle@VM1 oracle]$ echo $ORACLE_HOME
    /u01/oracle/Oradb11g
    [oracle@VM1 oracle]$ echo $ORACLE_SID
    ALFA
    [oracle@VM1 oracle]$ echo $PATH
    /u01/oracle/Oradb11g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    [oracle@VM1 oracle]$
    Both databases are running including :
    - listener 1521 for 10g and 1525 for 11g-
    *10g:*
    [oracle@VM1 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-JAN-2013 06:42:27
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1521*)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date 04-JAN-2013 05:25:12
    Uptime 0 days 1 hr. 17 min. 14 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/app/OraDb10g/network/admin/listener.ora
    Listener Log File /home/oracle/app/OraDb10g/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "*BETA.azucarera_rioturbio.com.ve*" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "BETAXDB.azucarera_rioturbio.com.ve" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "BETA_XPT.azucarera_rioturbio.com.ve" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@VM1 ~]$
    *11g:*
    [oracle@VM1 oracle]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-JAN-2013 06:43:25
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1525*)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 04-JAN-2013 05:23:02
    Uptime 0 days 1 hr. 20 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/oracle/Oradb11g/network/admin/listener.ora
    Listener Log File /u01/oracle/diag/tnslsnr/VM1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1525)))
    Services Summary...
    Service "*ALFA.rioturbio.com.ve*" has 1 instance(s).
    Instance "ALFA", status READY, has 1 handler(s) for this service...
    Service "ALFAXDB.rioturbio.com.ve" has 1 instance(s).
    Instance "ALFA", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@VM1 oracle]$
    - Instances and Enterprise Manager Database Control:
    *10g:*
    [oracle@VM1 ~]$ emctl status dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://VM1.rioturbio.com.ve:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory /home/oracle/app/OraDb10g/VM1.rioturbio.com.ve_BETA/sysman/log
    [oracle@VM1 ~]$
    *11g:*
    [oracle@VM1 oracle]$ emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://VM1.rioturbio.com.ve:5500/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    Logs are generated in directory /u01/oracle/Oradb11g/VM1.rioturbio.com.ve_ALFA/sysman/log
    [oracle@VM1 oracle]$
    The problem happen when i try to access the 11g instance using sqlplus:
    [oracle@VM1 oracle]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:46:55 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> show sga
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL>
    or
    [oracle@VM1 oracle]$ sqlplus system/Oradba11g
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:47:43 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name:
    However when access is performed using a TNS service connection it works....!
    See:
    [oracle@VM1 oracle]$ sqlplus system/Oradba11g@alfa
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:48:48 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    SQL> show sga
    Total System Global Area 1043886080 bytes
    Fixed Size 2219952 bytes
    Variable Size 620757072 bytes
    Database Buffers 415236096 bytes
    Redo Buffers 5672960 bytes
    SQL>
    Which seems to be the problem here? Why can't i connect to the 11g instance using sqlplus?. I don't think it is related to enviroment since access can be done using local naming service.
    Please help ...!
    PD: i did not replace scripts on /usr/local/bin when installing 11g.

    myluism wrote:
    Hi all. I have the following scenario.
    See embedded comments below
    - Two Oracle versions and instances on the same box (10g Rel2 and 11g Rel2).
    - Due to lack of disk space i installed 11g on another ORACLE_BASE / ORACLE_HOME:
    - Initial enviroment (10g):
    [oracle@VM1 ~]$ echo $ORACLE_BASE
    /home/oracle/app
    [oracle@VM1 ~]$ echo $ORACLE_HOME
    /home/oracle/app/OraDb10g
    [oracle@VM1 ~]$ echo $ORACLE_SID
    BETA
    [oracle@VM1 ~]$ echo $PATH
    /home/oracle/app/OraDb10g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    - 11g related values:
    [oracle@VM1 oracle]$ echo $ORACLE_BASE
    /u01/oracle
    [oracle@VM1 oracle]$ echo $ORACLE_HOME
    /u01/oracle/Oradb11g
    [oracle@VM1 oracle]$ echo $ORACLE_SID
    ALFA
    [oracle@VM1 oracle]$ echo $PATH
    /u01/oracle/Oradb11g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    [oracle@VM1 oracle]$
    Both databases are running including :
    - listener 1521 for 10g and 1525 for 11g-
    An unnecessary complication that achieves nothing. A single listener, using the default name LISTENER and the default port 1521 is quite capable of -- WAS DESIGNED TO -- service multiple database instances of multiple versions running from multiple homes. In a multi-version environment, you'll want to use the listener from the highest version.
    *10g:*
    [oracle@VM1 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-JAN-2013 06:42:27
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1521*)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date 04-JAN-2013 05:25:12
    Uptime 0 days 1 hr. 17 min. 14 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/app/OraDb10g/network/admin/listener.ora
    Listener Log File /home/oracle/app/OraDb10g/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "*BETA.azucarera_rioturbio.com.ve*" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "BETAXDB.azucarera_rioturbio.com.ve" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "BETA_XPT.azucarera_rioturbio.com.ve" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@VM1 ~]$
    *11g:*
    [oracle@VM1 oracle]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-JAN-2013 06:43:25
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1525*)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 04-JAN-2013 05:23:02
    Uptime 0 days 1 hr. 20 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/oracle/Oradb11g/network/admin/listener.ora
    Listener Log File /u01/oracle/diag/tnslsnr/VM1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1525)))
    Services Summary...
    Service "*ALFA.rioturbio.com.ve*" has 1 instance(s).
    Instance "ALFA", status READY, has 1 handler(s) for this service...
    Service "ALFAXDB.rioturbio.com.ve" has 1 instance(s).
    Instance "ALFA", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@VM1 oracle]$
    - Instances and Enterprise Manager Database Control:
    *10g:*
    [oracle@VM1 ~]$ emctl status dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://VM1.rioturbio.com.ve:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory /home/oracle/app/OraDb10g/VM1.rioturbio.com.ve_BETA/sysman/log
    [oracle@VM1 ~]$
    *11g:*
    [oracle@VM1 oracle]$ emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://VM1.rioturbio.com.ve:5500/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    Logs are generated in directory /u01/oracle/Oradb11g/VM1.rioturbio.com.ve_ALFA/sysman/log
    [oracle@VM1 oracle]$
    The problem happen when i try to access the 11g instance using sqlplus:
    [oracle@VM1 oracle]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:46:55 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    What was the setting of ORACLE_SID when you did this?
    SQL> show sga
    ORA-01034: ORACLE not availablewell, of course you get ORACLE not available. It already told you "Connected to an idle instance" . There is no running instance of the current value of ORACLE_SID.
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL>
    or
    [oracle@VM1 oracle]$ sqlplus system/Oradba11g
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:47:43 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name:
    However when access is performed using a TNS service connection it works....!
    Because when you connect with TNS, you are no longer dependent on the current setting of $ORACLE_SID.
    See:
    [oracle@VM1 oracle]$ sqlplus system/Oradba11g@alfa
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:48:48 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    SQL> show sga
    Total System Global Area 1043886080 bytes
    Fixed Size 2219952 bytes
    Variable Size 620757072 bytes
    Database Buffers 415236096 bytes
    Redo Buffers 5672960 bytes
    SQL>
    Which seems to be the problem here? Why can't i connect to the 11g instance using sqlplus?. I don't think it is related to enviroment since access can be done using local naming service.Regardless of what you think, It is absolutely, 100% related to your environment settings.
    >
    Please help ...!repeat your above demo, but with this modification
    id
    cat /etc/oratab
    env |grep ORA | sort
    echo $PATH
    sqlplus / as sysdbaIn a multi-db environment, you need to always set your environment before trying to work with any database. The easiest way is to use the oracle utility 'oraenv'
    oracle:orcl$ . oraenv
    ORACLE_SID = [orcl] ? dwsbx
    The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 is /u01/app/oracle
    oracle:dwsbx$ echo $ORACLE_SID
    dwsbx
    oracle:dwsbx$Notice the command is 'dot space oraenv'
    >
    PD: i did not replace scripts on /usr/local/bin when installing 11g.

  • Compiling VMtools on Oracle Linux 6.2 gives errors

    I am trying to compile the vmtools on a Oracle Linux 6.2 VMware installation. I'm getting strange compilation errors on all the vmtools. Log pasted below.
    I have found thread VMware Tools and Oracle Linux Howto and followed the items in there with no help and no change.
    yum -y install kernel-headers is all up to date
    yum -y install kernel-devel is all up to date
    Here are the issues I see:
    1. Compiling the shared folder says linux/smp_lock.h does not exist, and then fails with SPIN_LOCK_UNLOCKED undeclared and unknow field `get_sb'
    2. The network device driver fails in vmxnet.c
    3. The vmblock module fails in dentry.c
    4. The communication service fails in vmci_drv.c
    5. The VM communication interface fails in vmci_drv.c
    6. The X configuration is skipped because there are "no drivers for X.ora version: 7.9.6" (see the bottom of the log below).
    start of pasted log
    ========================================================
    [root@vdev-oem bin]# ./vmware-config-tools.pl
    Initializing...
    Stopping VMware Tools services in the virtual machine:
    Guest operating system daemon: [  OK  ]
    Virtual Printing daemon: [  OK  ]
    Unmounting HGFS shares: [  OK  ]
    Guest filesystem driver: [  OK  ]
    The module vmmemctl has already been installed on this system by another
    installer or package and will not be modified by this installer. Use the flag
    --clobber-kernel-modules=vmmemctl to override.
    Before you can compile modules, you need to have the following installed...
    make
    gcc
    kernel headers of the running kernel
    Searching for GCC...
    Detected GCC binary at "/usr/bin/gcc".
    The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
    Would you like to change it? [no]
    Searching for a valid kernel header path...
    Detected the kernel headers of the running kernel at
    "/lib/modules/2.6.39-200.24.1.el6uek.x86_64/build/include".
    The path "/lib/modules/2.6.39-200.24.1.el6uek.x86_64/build/include" appears to
    be a valid path to the kernel headers of the running kernel.
    Would you like to change it? [no]
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmhgfs-only'
    make -C /lib/modules/2.6.39-200.24.1.el6uek.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/kernels/2.6.39-200.24.1.el6uek.x86_64'
    CC [M] /tmp/vmware-root/modules/vmhgfs-only/backdoor.o
    CC [M] /tmp/vmware-root/modules/vmhgfs-only/backdoorGcc64.o
    CC [M] /tmp/vmware-root/modules/vmhgfs-only/bdhandler.o
    CC [M] /tmp/vmware-root/modules/vmhgfs-only/cpName.o
    CC [M] /tmp/vmware-root/modules/vmhgfs-only/cpNameLinux.o
    CC [M] /tmp/vmware-root/modules/vmhgfs-only/cpNameLite.o
    CC [M] /tmp/vmware-root/modules/vmhgfs-only/dentry.o
    CC [M] /tmp/vmware-root/modules/vmhgfs-only/dir.o
    CC [M] /tmp/vmware-root/modules/vmhgfs-only/file.o
    /tmp/vmware-root/modules/vmhgfs-only/file.c:120: warning: initialization from incompatible pointer type
    CC [M] /tmp/vmware-root/modules/vmhgfs-only/filesystem.o
    /tmp/vmware-root/modules/vmhgfs-only/filesystem.c:48:28: error: linux/smp_lock.h: No such file or directory
    /tmp/vmware-root/modules/vmhgfs-only/filesystem.c:72: error: âSPIN_LOCK_UNLOCKEDâ undeclared here (not in a function)
    /tmp/vmware-root/modules/vmhgfs-only/filesystem.c:137: error: unknown field âget_sbâ specified in initializer
    /tmp/vmware-root/modules/vmhgfs-only/filesystem.c:137: warning: initialization from incompatible pointer type
    /tmp/vmware-root/modules/vmhgfs-only/filesystem.c: In function âHgfsGetSbâ:
    /tmp/vmware-root/modules/vmhgfs-only/filesystem.c:493: error: implicit declaration of function âget_sb_nodevâ
    make[2]: *** [tmp/vmware-root/modules/vmhgfs-only/filesystem.o] Error 1
    make[1]: *** [_module_/tmp/vmware-root/modules/vmhgfs-only] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.39-200.24.1.el6uek.x86_64'
    make: *** [vmhgfs.ko] Error 2
    make: Leaving directory `/tmp/vmware-root/modules/vmhgfs-only'
    The filesystem driver (vmhgfs module) is used only for the shared folder
    feature. The rest of the software provided by VMware Tools is designed to work
    independently of this feature.
    If you wish to have the shared folders feature, you can install the driver by
    running vmware-config-tools.pl again after making sure that gcc, binutils, make
    and the kernel sources for your running kernel are installed on your machine.
    These packages are available on your distribution's installation CD.
    [ Press Enter key to continue ]
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmxnet-only'
    make -C /lib/modules/2.6.39-200.24.1.el6uek.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/kernels/2.6.39-200.24.1.el6uek.x86_64'
    CC [M] /tmp/vmware-root/modules/vmxnet-only/vmxnet.o
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function âvmxnet_probe_deviceâ:
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1007: error: âvmxnet_change_mtuâ undeclared (first use in this function)
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1007: error: (Each undeclared identifier is reported only once
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1007: error: for each function it appears in.)
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function âvmxnet_load_multicastâ:
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2915: error: âstruct net_deviceâ has no member named âmc_listâ
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2925: error: âstruct net_deviceâ has no member named âmc_countâ
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2926: error: dereferencing pointer to incomplete type
    /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2927: error: dereferencing pointer to incomplete type
    make[2]: *** [tmp/vmware-root/modules/vmxnet-only/vmxnet.o] Error 1
    make[1]: *** [_module_/tmp/vmware-root/modules/vmxnet-only] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.39-200.24.1.el6uek.x86_64'
    make: *** [vmxnet.ko] Error 2
    make: Leaving directory `/tmp/vmware-root/modules/vmxnet-only'
    The fast network device driver (vmxnet module) is used only for our fast
    networking interface. The rest of the software provided by VMware Tools is
    designed to work independently of this feature.
    If you wish to have the fast network driver enabled, you can install the driver
    by running vmware-config-tools.pl again after making sure that gcc, binutils,
    make and the kernel sources for your running kernel are installed on your
    machine. These packages are available on your distribution's installation CD.
    [ Press Enter key to continue ]
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmblock-only'
    make -C /lib/modules/2.6.39-200.24.1.el6uek.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/kernels/2.6.39-200.24.1.el6uek.x86_64'
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/block.o
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/control.o
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/dbllnklst.o
    CC [M] /tmp/vmware-root/modules/vmblock-only/linux/dentry.o
    /tmp/vmware-root/modules/vmblock-only/linux/dentry.c: In function âDentryOpRevalidateâ:
    /tmp/vmware-root/modules/vmblock-only/linux/dentry.c:107: error: implicit declaration of function âpath_lookupâ
    make[2]: *** [tmp/vmware-root/modules/vmblock-only/linux/dentry.o] Error 1
    make[1]: *** [_module_/tmp/vmware-root/modules/vmblock-only] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.39-200.24.1.el6uek.x86_64'
    make: *** [vmblock.ko] Error 2
    make: Leaving directory `/tmp/vmware-root/modules/vmblock-only'
    The vmblock module enables dragging or copying files from within a host and
    dropping or pasting them onto your guest (host to guest drag and drop and file
    copy/paste). The rest of the software provided by VMware Tools is designed to
    work independently of this feature (including guest to host drag and drop and
    file copy/paste).
    If you would like the host to guest drag and drop and file copy/paste features,
    you can install the driver by running vmware-config-tools.pl again after making
    sure that gcc, binutils, make and the kernel sources for your running kernel
    are installed on your machine. These packages are available on your
    distribution's installation CD.
    [ Press Enter key to continue ]
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmci-only'
    make -C /lib/modules/2.6.39-200.24.1.el6uek.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/kernels/2.6.39-200.24.1.el6uek.x86_64'
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciDatagram.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciEvent.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciGuestKernelIf.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciKernelIf.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciProcess.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciQueuePair.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciUtil.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmci_drv.o
    /tmp/vmware-root/modules/vmci-only/vmci_drv.c:91: error: unknown field âioctlâ specified in initializer
    /tmp/vmware-root/modules/vmci-only/vmci_drv.c:91: warning: initialization from incompatible pointer type
    /tmp/vmware-root/modules/vmci-only/vmci_drv.c: In function âvmci_initâ:
    /tmp/vmware-root/modules/vmci-only/vmci_drv.c:151: error: implicit declaration of function âinit_MUTEXâ
    make[2]: *** [tmp/vmware-root/modules/vmci-only/vmci_drv.o] Error 1
    make[1]: *** [_module_/tmp/vmware-root/modules/vmci-only] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.39-200.24.1.el6uek.x86_64'
    make: *** [vmci.ko] Error 2
    make: Leaving directory `/tmp/vmware-root/modules/vmci-only'
    The communication service is used in addition to the standard communication
    between the guest and the host. The rest of the software provided by VMware
    Tools is designed to work independently of this feature.
    If you wish to have the VMCI feature, you can install the driver by running
    vmware-config-tools.pl again after making sure that gcc, binutils, make and the
    kernel sources for your running kernel are installed on your machine. These
    packages are available on your distribution's installation CD.
    [ Press Enter key to continue ]
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmci-only'
    make -C /lib/modules/2.6.39-200.24.1.el6uek.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/kernels/2.6.39-200.24.1.el6uek.x86_64'
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciDatagram.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciEvent.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciGuestKernelIf.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciKernelIf.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciProcess.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciQueuePair.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmciUtil.o
    CC [M] /tmp/vmware-root/modules/vmci-only/vmci_drv.o
    /tmp/vmware-root/modules/vmci-only/vmci_drv.c:91: error: unknown field âioctlâ specified in initializer
    /tmp/vmware-root/modules/vmci-only/vmci_drv.c:91: warning: initialization from incompatible pointer type
    /tmp/vmware-root/modules/vmci-only/vmci_drv.c: In function âvmci_initâ:
    /tmp/vmware-root/modules/vmci-only/vmci_drv.c:151: error: implicit declaration of function âinit_MUTEXâ
    make[2]: *** [tmp/vmware-root/modules/vmci-only/vmci_drv.o] Error 1
    make[1]: *** [_module_/tmp/vmware-root/modules/vmci-only] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.39-200.24.1.el6uek.x86_64'
    make: *** [vmci.ko] Error 2
    make: Leaving directory `/tmp/vmware-root/modules/vmci-only'
    The VM communication interface socket family is used in conjunction with the VM
    communication interface to provide a new communication path among guests and
    host. The rest of this software provided by VMware Tools is designed to work
    independently of this feature. If you wish to have the VSOCK feature you can
    install the driver by running vmware-config-tools.pl again after making sure
    that gcc, binutils, make and the kernel sources for your running kernel are
    installed on your machine. These packages are available on your distribution's
    installation CD.
    [ Press the Enter key to continue.]
    The module vmxnet3 has already been installed on this system by another
    installer or package and will not be modified by this installer. Use the flag
    --clobber-kernel-modules=vmxnet3 to override.
    The module pvscsi has already been installed on this system by another
    installer or package and will not be modified by this installer. Use the flag
    --clobber-kernel-modules=pvscsi to override.
    Detected X.org version 7.9.6.
    No drivers for X.org version: 7.9.6.
    Skipping X configuration because X drivers are not included.
    Creating a new initrd boot image for the kernel.
    Starting VMware Tools services in the virtual machine:
    Switching to guest configuration: [  OK  ]
    Guest operating system daemon: [  OK  ]
    Virtual Printing daemon: [  OK  ]
    The configuration of VMware Tools 8.3.2 build-257589 for Linux for this running
    kernel completed successfully.
    You must restart your X session before any mouse or graphics changes take
    effect.
    You can now run VMware Tools by invoking the following command:
    "/usr/bin/vmware-toolbox" during an X server session.
    To enable advanced X features (e.g., guest resolution fit, drag and drop, and
    file and text copy/paste), you will need to do one (or more) of the following:
    1. Manually start /usr/bin/vmware-user
    2. Log out and log back into your desktop session; and,
    3. Restart your X session.
    Enjoy,
    --the VMware team                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Actually, I did exactly that:
    yum -y install gcc
    yum -y install kernel-uek-devel-`uname -r`
    yum -y install kernel-uek-headers-`uname -r`
    The headers with the uname gave an error that the headers do not exist. The others ran fine.
    I did:
    yum -y install kernel-uek-headers
    and that worked.
    However, NONE of this changed the errors - they were exactly the same before and after. The problem is still not resolved.
    However, I did try a different approach. I found the VMware Operating System Packages (OSPs) through the following link: http://www.vmware.com/download/packages.html. I installed that, and it seemed to work fine.
    The problem that we had, which was the original reason why I wanted to have the VMware tools, was that the disk was sized too small and I thought with the tools we could resize the disk. It didn't work, we could not edit the size in the VMware console. So we ended up blowing away that VM and are in the process of recreating it at a larger size. I'll take a snapshot of the state before the OSP install so I can test the compile version in case someone posts something useful here.

  • NUMA is disabled in Oracle Linux

    Hello
    referring to the latest Oracle Linux 6
    https://blogs.oracle.com/linux/entry/oracle_rdbms_server_11gr2_pre
    This package (as also the previous oracle-validated rpm) sets the numa=off in kernel boot (even when using Oracle UEK, not just Red Hat kernel)
    Assuming the latest Oracle RDBMS, i.e. 11g R2, 11.2.0.3 on X86_64 bit-bit Oracle Linux 5.x and 6.x
    Can anyone point me to the position re Oracle 11g R2 support of NUMA on Intel/AMD based servers ?
    Many thanks.

    yurib wrote:
    Hello
    referring to the latest Oracle Linux 6
    https://blogs.oracle.com/linux/entry/oracle_rdbms_server_11gr2_pre
    This package (as also the previous oracle-validated rpm) sets the numa=off in kernel boot (even when using Oracle UEK, not just Red Hat kernel)
    Assuming the latest Oracle RDBMS, i.e. 11g R2, 11.2.0.3 on X86_64 bit-bit Oracle Linux 5.x and 6.x
    Can anyone point me to the position re Oracle 11g R2 support of NUMA on Intel/AMD based servers ?
    Many thanks.NUMA is by default is disable from 11gR2 database versions. I.e enableNUMA_support=FALSE is by default from 11.2 database even if NUMA is configured from hardware/os level. Oracle recommends to do complete test n planning before going in production with NUMA enabled at database and os level.
    If you still want to enable NUMA in your database from 11.2, follow below note. For check NUMA support at hardware and OS level you need to check with your vendor.
    Enable Oracle NUMA support with Oracle Server Version 11.2.0.1 [ID 864633.1]
    Also see
    Oracle NUMA Usage Recommendation [ID 759565.1]

  • Oracle Linux 6.2 restarts randomly

    Hi all,
    I'm having problems with Oracle Linux server i recently set up.
    I'm running Oracle Linux 6.2 with UEK2 (2.6.39-100.7.1.el6uek.x86_64) and all latest updates from public yum server on VMware eSX 4.1i & VMWare tools installed.
    I've been noticing that when I'm connected with SSH to my server I randomly get an error that the connection is lost and all connected sessions fail. It all happens so quickly that I can not check via console if the server really rebooted.
    But the data from last reboot command is kinda strange - output bellow.
    How it's possible that all last three uptimes are being incremented at once?
    Is the server really restarting or is there any timeout on ssh sessions or what is the problem here?
    What can I check more?
    [oracle@server ~]$ last reboot
    reboot   system boot  2.6.39-100.7.1.e Thu May 24 08:44 - 09:21 ( *00:36* )
    reboot system boot 2.6.39-100.7.1.e Wed May 23 09:44 - 09:21 ( *23:36* )
    reboot system boot 2.6.39-100.7.1.e Wed May 23 09:36 - 09:21 ( *23:44* )
    reboot system boot 2.6.32-300.25.1. Tue May 22 08:52 - 09:36 (1+00:44)
    reboot system boot 2.6.32-300.3.1.e Mon May 21 14:53 - 08:50 (17:56)
    reboot system boot 2.6.32-300.3.1.e Mon May 21 14:40 - 14:52 (00:12)
    wtmp begins Mon May 21 14:40:40 2012
    [oracle@server ~]$ last reboot
    reboot   system boot  2.6.39-100.7.1.e Thu May 24 08:44 - 09:22 ( *00:37* )
    reboot system boot 2.6.39-100.7.1.e Wed May 23 09:44 - 09:22 ( *23:38* )
    reboot system boot 2.6.39-100.7.1.e Wed May 23 09:36 - 09:22 ( *23:45* )
    reboot system boot 2.6.32-300.25.1. Tue May 22 08:52 - 09:36 (1+00:44)
    reboot system boot 2.6.32-300.3.1.e Mon May 21 14:53 - 08:50 (17:56)
    reboot system boot 2.6.32-300.3.1.e Mon May 21 14:40 - 14:52 (00:12)
    [oracle@server ~]$ last reboot
    reboot   system boot  2.6.39-100.7.1.e Thu May 24 08:44 - 09:30 ( *00:45* )
    reboot system boot 2.6.39-100.7.1.e Wed May 23 09:44 - 09:30 ( *23:46* )
    reboot system boot 2.6.39-100.7.1.e Wed May 23 09:36 - 09:30 ( *23:53* )
    reboot system boot 2.6.32-300.25.1. Tue May 22 08:52 - 09:36 (1+00:44)
    reboot system boot 2.6.32-300.3.1.e Mon May 21 14:53 - 08:50 (17:56)
    reboot system boot 2.6.32-300.3.1.e Mon May 21 14:40 - 14:52 (00:12)
    Also the time in /var/log/messages matches the time of last reboot:
    May 23 13:09:30 server yum[3290]: Installed: libstdc++-devel-4.4.6-3.el6.x86_64
    May 23 13:09:31 server yum[3290]: Installed: gcc-c++-4.4.6-3.el6.x86_64
    May 23 13:09:39 server yum[3290]: Installed: compat-libstdc++-33-3.2.3-69.el6.x86_64
    May 23 13:09:39 server yum[3290]: Installed: libaio-devel-0.3.107-10.el6.x86_64
    May 23 13:09:39 server yum[3290]: Installed: ksh-20100621-12.el6_2.1.x86_64
    May 23 13:09:39 server yum[3290]: Installed: compat-libcap1-1.10-1.x86_64
    May 23 13:09:42 server yum[3290]: Installed: oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
    May 24 08:27:44 server NetworkManager[1676]: <error> [1337840864.540142] [nm-manager.c:1360] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of nam
    e 'org.freedesktop.NetworkManagerUserSettings': no such name
    May 24 08:27:44 server rtkit-daemon[2579]: Sucessfully made thread 9387 of process 9387 (/usr/bin/pulseaudio) owned by '42' high priority at nice level -11.
    May 24 08:27:44 server gdm-simple-greeter[9378]: Gtk-WARNING: gtkwidget.c:5460: widget not within a GtkWindow
    May 24 08:27:51 server NetworkManager[1676]: <error> [1337840871.373588] [nm-manager.c:1360] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of nam
    e 'org.freedesktop.NetworkManagerUserSettings': no such name
    May 24 08:27:51 server NetworkManager[1676]: <error> [1337840871.430706] [nm-manager.c:1360] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of nam
    e 'org.freedesktop.NetworkManagerUserSettings': no such name
    May 24 08:27:51 server seahorse-daemon[9442]: init gpgme version 1.1.8
    May 24 08:27:51 server rtkit-daemon[2579]: Sucessfully made thread 9461 of process 9461 (/usr/bin/pulseaudio) owned by '101' high priority at nice level -11.
    May 24 08:28:01 server NetworkManager[1676]: <error> [1337840881.970501] [nm-manager.c:1360] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of nam
    e 'org.freedesktop.NetworkManagerUserSettings': no such name
    May 24 08:28:02 server gdm-simple-greeter[9597]: Gtk-WARNING: gtkwidget.c:5460: widget not within a GtkWindow
    May 24 08:45:01 server kernel: imklog 4.6.2, log source = /proc/kmsg started.
    May 24 08:45:01 server rsyslogd: [origin software="rsyslogd" swVersion="4.6.2" x-pid="1710" x-info="http://www.rsyslog.com"] (re)start
    May 24 08:45:01 server kernel: Initializing cgroup subsys cpuset
    May 24 08:45:01 server kernel: Initializing cgroup subsys cpu
    May 24 08:45:01 server kernel: Linux version 2.6.39-100.7.1.el6uek.x86_64 ([email protected]) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Wed Ma
    y 16 04:04:37 EDT 2012
    May 24 08:45:01 server kernel: Command line: ro root=/dev/mapper/vg00-lvol4 rd_LVM_LV=vg00/lvol_swap rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb rd
    LVMLV=vg00/lvol4 KEYBOARDTYPE=pc KEYTABLE=slovene rd_NO_DM numa=off
    May 24 08:45:01 server kernel: Disabled fast string operations
    May 24 08:45:01 server kernel: BIOS-provided physical RAM map:
    May 24 08:45:01 server kernel: BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
    May 24 08:45:01 server kernel: BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
    May 24 08:45:01 server kernel: BIOS-e820: 00000000000ca000 - 00000000000cc000 (reserved)
    May 24 08:45:01 server kernel: BIOS-e820: 00000000000dc000 - 00000000000e4000 (reserved)
    May 24 08:45:01 server kernel: BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
    May 24 08:45:01 server kernel: BIOS-e820: 0000000000100000 - 00000000bfef0000 (usable)
    May 24 08:45:01 server kernel: BIOS-e820: 00000000bfef0000 - 00000000bfeff000 (ACPI data)
    May 24 08:45:01 server kernel: BIOS-e820: 00000000bfeff000 - 00000000bff00000 (ACPI NVS)
    May 24 08:45:01 server kernel: BIOS-e820: 00000000bff00000 - 00000000c0000000 (usable)
    May 24 08:45:01 server kernel: BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
    May 24 08:45:01 server kernel: BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
    May 24 08:45:01 server kernel: BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
    May 24 08:45:01 server kernel: BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
    May 24 08:45:01 server kernel: BIOS-e820: 0000000100000000 - 0000000240000000 (usable)
    May 24 08:45:01 server kernel: NX (Execute Disable) protection: active
    May 24 08:45:01 server kernel: DMI present.
    May 24 08:45:01 server kernel: Hypervisor detected: VMware
    May 24 08:45:01 server kernel: No AGP bridge found
    May 24 08:45:01 server kernel: last_pfn = 0x240000 max_arch_pfn = 0x400000000
    May 24 08:45:01 server kernel: x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106
    May 24 08:45:01 server kernel: total RAM covered: 8192M
    May 24 08:45:01 server kernel: Found optimal setting for mtrr clean up
    May 24 08:45:01 server kernel: gran_size: 64K chunk_size: 64K num_reg: 4 lose cover RAM: 0G
    May 24 08:45:01 server kernel: x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106
    May 24 08:45:01 server kernel: last_pfn = 0xc0000 max_arch_pfn = 0x400000000
    May 24 08:45:01 server kernel: found SMP MP-table at [ffff8800000f69b0] f69b0
    May 24 08:45:01 server kernel: init_memory_mapping: 0000000000000000-00000000c0000000
    May 24 08:45:01 server kernel: init_memory_mapping: 0000000100000000-0000000240000000
    May 24 08:45:01 server kernel: RAMDISK: 370bc000 - 37ff0000
    May 24 08:45:01 server kernel: ACPI: RSDP 00000000000f6940 00024 (v02 PTLTD )
    May 24 08:45:01 server kernel: ACPI: XSDT 00000000bfef07f3 0004C (v01 INTEL 440BX 06040000 VMW 01324272)
    May 24 08:45:01 server kernel: ACPI: FACP 00000000bfefee98 000F4 (v04 INTEL 440BX 06040000 PTL 000F4240)
    May 24 08:45:01 server kernel: ACPI: DSDT 00000000bfef09e1 0E4B7 (v01 PTLTD Custom 06040000 MSFT 03000001)
    May 24 08:45:01 server kernel: ACPI: FACS 00000000bfefffc0 00040
    May 24 08:45:01 server kernel: ACPI: BOOT 00000000bfef09b9 00028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001)
    May 24 08:45:01 server kernel: ACPI: APIC 00000000bfef095b 0005E (v01 PTLTD ? APIC 06040000 LTP 00000000)
    May 24 08:45:01 server kernel: ACPI: MCFG 00000000bfef091f 0003C (v01 PTLTD $PCITBL$ 06040000 LTP 00000001)
    May 24 08:45:01 server kernel: ACPI: SRAT 00000000bfef0877 000A8 (v02 VMWARE MEMPLUG 06040000 VMW 00000001)
    May 24 08:45:01 server kernel: NUMA turned off
    May 24 08:45:01 server kernel: Faking a node at 0000000000000000-0000000240000000
    May 24 08:45:01 server kernel: Initmem setup node 0 0000000000000000-0000000240000000
    May 24 08:45:01 server kernel: NODE_DATA [000000023ffec000 - 000000023fffffff]
    May 24 08:45:01 server kernel: Zone PFN ranges:
    May 24 08:45:01 server kernel: DMA 0x00000010 -> 0x00001000
    May 24 08:45:01 server kernel: DMA32 0x00001000 -> 0x00100000
    May 24 08:45:01 server kernel: Normal 0x00100000 -> 0x00240000
    May 24 08:45:01 server kernel: Movable zone start PFN for each node
    May 24 08:45:01 server kernel: early_node_map[4] active PFN ranges
    May 24 08:45:01 server kernel: 0: 0x00000010 -> 0x0000009f
    May 24 08:45:01 server kernel: 0: 0x00000100 -> 0x000bfef0
    May 24 08:45:01 server kernel: 0: 0x000bff00 -> 0x000c0000
    May 24 08:45:01 server kernel: 0: 0x00100000 -> 0x00240000
    May 24 08:45:01 server kernel: ACPI: PM-Timer IO Port: 0x1008
    May 24 08:45:01 server kernel: ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    May 24 08:45:01 server kernel: ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    May 24 08:45:01 server kernel: ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    May 24 08:45:01 server kernel: ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    May 24 08:45:01 server kernel: ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
    May 24 08:45:01 server kernel: IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
    Can please somebody help? What can I do?
    Tnx
    Edited by: 936419 on May 24, 2012 12:46 AM

    Just found errors on VMware host:
    24.5.2012 8:44:35
         Warning message from *****: Insufficient video RAM. The maximum resolution of the
         virtual machine will be limited to 1176x885. To use the configured maximum resolution of
         2560x1600, increase the amount of video RAM allocated to this virtual machine by setting
         svga.vramSize="16384000" in the virtual machine's configuration file.
    24.5.2012 8:44:36     
         This virtual machine reset by HA. Reason: VMware Tools heartbeat failure. A screenshot is saved
         at /vmfs/volumes/4daedaa1-6b086480-d8df-f4ce467f2841/vcloud/vcloud-screenshot-1.png
    24.5.2012 8:44:47
         Alarm 'Virtual machine high availability error' changed from Gray to Gray
    24.5.2012 8:44:47
         Alarm 'Virtual machine high availability error' on vcloud triggered an action
    24.5.2012 8:44:47
         Alarm 'Virtual machine high availability error': an SNMP trap was sent
    I have to check with VMware admin where exactly is the problem.

  • Oracle Linux 6 and Oracle DB for ERP System

    All,
    I have a few questions about using Oracle Linux 6 and the Oracle Database for our ERP Server. We are using a System that run off of Appache httpd and Tomcat and connects to an Oracle Database. We currently are running as a hardware installed server, with Oracle Linux 5 and 10gR2. We are looking to migrate to a Virtual environment as we run VMWare for all our other Servers and services. I have started the install of a development/test system. I wanted to install Oracle Enterprise Linux 6 x86_64 along with either 10gR2 or 11gR2. I noticed that 10gR2 was not certified on OEL6 hence why the thought of moving to 11gR2. The one issue I have is the ERP system is not a x86_64 system is there any way of running 32 bit apps on a 64bit OEL install? I would need to compile a few small 32bit C code programs so would need 32bit libs to compile against. Any support would be greatly appreciated. I know that OEL has an i386 install but I also know that the x86_64 has more support for Oracle DB.
    P.S.
    Our ERP System is programmed via a small company that does not certify anything. They have taken the approach if it works it works (not happy with this but it is what it is). So the main issue is I need to get Appache Httpd, Tomcat running along with ability to compile a few small 32bit apps.
    Edited by: Rever75 on May 7, 2012 1:45 PM

    x86-64 is an extension of the x86 32-bit CISC instruction set. The 64-bit extension provides support for long mode to address larger virtual and physical address spaces.
    You can generally run 32-bit applications on a x86_64 bit CPU and a x86_64 kernel, provided you have the appropriate i386 libraries installed. When you install Oracle 11gR2 11.2.0.1 for x86_64, appropriate i386 libraries are a prerequisite.
    Since x86 on a x86_64 CPU is still hardware, there will be no performance penalty to run 32-bit application. Btw, you cannot run 64-bit applications using a i386 kernel. The only exception I know is Mac OS X.

Maybe you are looking for