Lately I’ve been playing with Enterprise Manager Grid Control 10.2.0.4 on OEL 4.4 (I’ll upgrade this to 10.2.0.5 soon) and I’ve had a couple of product presentation and demo focusing on the Database Enterprise Management, well among all the packs under this Grid Control “Area” the hottest are the Configuration Management and Data Masking.
…While clicking around the huge monitoring tool I’ve reached the page of “Targets -> Hosts -> Administration”…that happens to be part of the Oracle Management Pack for Linux and noticed it was not working and says it needs the “Yast wrapper available at oss.oracle.com” hmm maybe not the exact message but it lead me to download this file http://oss.oracle.com/projects/yast/dist/files/el4/20070117/yast_el4_x86_32.tar which is a port of Yast to Oracle Enterprise Linux. COOL!
Well Yast (Yet another Setup Tool) is a pretty comprehensive tool which allows you to install software, configure hardware, set up networks and servers, and more…
But I’m a RedHat guy and I’m used to the way I manually do all these stuffs using the native utilities. (So even if I have this cool tool installed on my machine maybe I will not be able to use it :p )
Here’s the step by step guide to get that cool thing running:
1) Install EMGC Release 4
2) Download YAST plugin at http://oss.oracle.com/projects/yast
3) Untar and install the plugin, see below
[root@emgc1 yast_el4_x86_32]# ./install.sh Now checking the necessary rpms........... Checking alsa-lib ....... found Checking alsa-utils ....... found Checking ash ....... found Checking beecrypt ....... found Checking bind-utils ....... found Checking bzip2-libs ....... found Checking compat-libstdc++-33 ....... found Checking cracklib ....... found Checking cups-libs ....... found Checking curl ....... found Checking e2fsprogs ....... found Checking elfutils-libelf ....... found Checking filesystem ....... found Checking glibc ....... found Checking glibc-common ....... found Checking gzip ....... found Checking hdparm ....... found Checking info ....... found Checking initscripts ....... found Checking krb5-libs ....... found Checking libgcc ....... found Checking libidn ....... found Checking libselinux ....... found Checking libstdc++ ....... found Checking libxml2 ....... found Checking logrotate ....... found Checking ncurses ....... found Checking net-tools ....... found Checking openldap ....... found Checking openssl ....... found Checking parted ....... found Checking pciutils ....... found Checking perl ....... found Checking perl-Digest-SHA1 ....... found Checking popt ....... found Checking python ....... found Checking qt ....... found Checking rhpl ....... found Checking rpm ....... found Checking rpm-libs ....... found Checking sysfsutils ....... found Checking zlib ....... found Now checking the necessary tools........... Checking /bin/bash ....... found Checking /bin/ln ....... found Checking /bin/mktemp ....... found Checking /bin/rm ....... found Checking /bin/sed ....... found Checking /bin/sh ....... found Checking /sbin/ldconfig ....... found Checking /usr/bin/env ....... found Checking /usr/bin/find ....... found Checking /usr/bin/host ....... found Checking /usr/bin/perl ....... found Checking /usr/bin/python ....... found Checking /usr/bin/xargs ....... found Checking /usr/sbin/lsof ....... found Environment is OK. Now begin installing yast......... Preparing... ########################################### [100%] 1:fillup ########################################### [100%] Preparing... ########################################### [100%] 1:aaa_base ########################################### [100%] Updating etc/sysconfig/language... Updating etc/sysconfig/backup... Updating etc/sysconfig/boot... Updating etc/sysconfig/displaymanager... Updating etc/sysconfig/kernel... Updating etc/sysconfig/suseconfig... Updating etc/sysconfig/clock... Updating etc/sysconfig/proxy... Updating etc/sysconfig/windowmanager... Updating etc/sysconfig/sysctl... Updating etc/sysconfig/java... Updating etc/sysconfig/mail... Updating etc/sysconfig/ide... Updating etc/sysconfig/cron... Updating etc/sysconfig/news... Preparing... ########################################### [100%] 1:liby2util ########################################### [100%] Preparing... ########################################### [100%] 1:netcat ########################################### [100%] Preparing... ########################################### [100%] 1:libxcrypt ########################################### [100%] Preparing... ########################################### [100%] 1:insserv ########################################### [100%] Preparing... ########################################### [100%] 1:hwinfo ########################################### [100%] Preparing... ########################################### [100%] 1:testutf8 ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-packagemanager ########################################### [100%] Updating etc/sysconfig/onlineupdate... Preparing... ########################################### [100%] 1:yast2-core ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-qt ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-theme-Linux ########################################### [100%] Preparing... ########################################### [100%] 1:perl-Config-Crontab ########################################### [100%] Preparing... ########################################### [100%] 1:yast2 ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-ncurses ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-control-center ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-x11 ########################################### [100%] Preparing... ########################################### [100%] 1:perl-gettext ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-perl-bindings ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-country ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-mail-aliases ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-mouse ########################################### [100%] Preparing... ########################################### [100%] 1:ldapcpplib ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-ldap ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-online-update ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-xml ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-transfer ########################################### [100%] Preparing... ########################################### [100%] 1:autoyast2-installation ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-packager ########################################### [ 9%] 2:yast2-pam ########################################### [ 18%] 3:yast2-storage ########################################### [ 27%] 4:yast2-bootloader ########################################### [ 36%] Updating etc/sysconfig/bootloader... 5:yast2-security ########################################### [ 45%] 6:yast2-network ########################################### [ 55%] 7:yast2-inetd ########################################### [ 64%] 8:yast2-ldap-client ########################################### [ 73%] Updating etc/sysconfig/ldap... 9:yast2-users ########################################### [ 82%] 10:yast2-installation ########################################### [ 91%] 11:yast2-update ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-sysconfig ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-tune ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-powertweak ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-runlevel ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-sound ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-bg ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-bs ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-cs ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-cy ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-da ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-de ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-el_GR ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-en_GB ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-en_US ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-es ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-fi ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-fr ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-hu ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-it ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-ja ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-ko ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-lt ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-nb ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-nl ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-pl ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-pt_BR ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-ro ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-ru ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-sk ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-sl_SI ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-sv ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-tr ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-zh_CN ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-trans-zh_TW ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-nis-client ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-firewall ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-http-server ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-mail ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-kerberos-client ########################################### [100%] Preparing... ########################################### [100%] 1:perl-Parse-RecDescent ########################################### [100%] Preparing... ########################################### [100%] 1:perl-X500-DN ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-ldap-server ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-nfs-client ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-nfs-server ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-ntp-client ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-samba-client ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-printer ########################################### [100%] Preparing... ########################################### [100%] 1:perl-Digest-MD4 ########################################### [100%] Preparing... ########################################### [100%] 1:perl-Crypt-SmbHash ########################################### [100%] Preparing... ########################################### [100%] 1:nmbstatus ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-samba-server ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-tftp-server ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-support ########################################### [100%] Preparing... ########################################### [100%] 1:xmset ########################################### [100%] Preparing... ########################################### [100%] 1:powertweak ########################################### [100%] Preparing... ########################################### [100%] 1:powertweak-extra ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-dns-server ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-dhcp-server ########################################### [100%] Preparing... ########################################### [100%] 1:yast2-nis-server ########################################### [100%] Preparing... ########################################### [100%] 1:yast-EM ########################################### [100%] Finished. Use /sbin/yast or /sbin/yast2 to start it |
.
4) Once installed Yast could be invoked in three ways:
On Enterprise Manager Grid Control go to “Targets -> Hosts -> Administration”

.


Hello..
i have oracle enterprise linux 5 installed on my PC. i’ve installed Oracle 11gR2, in the enterprise manager when i press administration tab it gave the same message as you have given above.
but when i start installing yast it gave me the output like below..
Now checking the necessary rpms………..
Checking dbus ……. found
Checking hal ……. found
Checking perl ……. found
Checking coreutils ……. found
Checking curl ……. found
Checking unzip ……. found
Checking tar ……. found
Checking gzip ……. found
Checking glibc-common ……. found
Checking initscripts ……. found
Checking cracklib ……. found
Checking perl-Digest-SHA1 ……. found
Checking boost ……. found
Now checking the necessary tools………..
Checking /bin/bash ……. found
Checking /bin/ln ……. found
Checking /bin/mktemp ……. found
Checking /bin/rm ……. found
Checking /bin/sed ……. found
Checking /bin/sh ……. found
Checking /sbin/ldconfig ……. found
Checking /usr/bin/env ……. found
Checking /usr/bin/find ……. found
Checking /usr/bin/host ……. found
Checking /usr/bin/perl ……. found
Checking /usr/bin/python ……. found
Checking /usr/bin/xargs ……. found
Checking /usr/sbin/lsof ……. found
Environment is OK. Now begin installing yast………
Preparing… ########################################### [100%]
1:liby2util ########################################### [100%]
Preparing… ########################################### [100%]
1:blocxx ########################################### [100%]
Preparing… ########################################### [100%]
1:libxcrypt ########################################### [100%]
Preparing… ########################################### [100%]
1:testutf8 ########################################### [100%]
Preparing… ########################################### [100%]
1:yast2-core ########################################### [100%]
Preparing… ########################################### [100%]
1:hwinfo ########################################### [100%]
Preparing… ########################################### [100%]
1:yast2-hardware-detectio########################################### [100%]
Error: Installing packages libzypp-*.rpm Failed!
Error: Installing packages yast2-pkg-bindings-*.rpm Failed!
Error: Installing packages yast2-2.*.rpm Failed!
Error: Installing packages yast2-network-*.rpm Failed!
Preparing… ########################################### [100%]
1:perl-Parse-RecDescent ########################################### [100%]
Preparing… ########################################### [100%]
1:perl-gettext ########################################### [100%]
Preparing… ########################################### [100%]
1:perl-X500-DN ########################################### [100%]
Error: Installing packages yast2-pam-*.rpm Failed!
Error: Installing packages yast2-mail-aliases-*.rpm yast2-perl-bindings-*.rpm yast2-security-*.rpm yast2-ldap-client-*.rpm yast2-country-*.rpm yast2-installation-*.rpm yast2-users-*.rpm Failed!
Error: Installing packages yast2-nfs-client-*.rpm Failed!
Error: Installing packages yast2-runlevel-*.rpm Failed!
Error: Installing packages yast2-ncurses-*.rpm Failed!
Error: Installing packages yast2-EM-*.rpm Failed!
Some errors in installation, Please refer to /tmp/yast_install_2011-01-28-11:09.log
Any idea how to solve this issue..?????
waiting for your kind response
Hmm.. interesting.. can you mail me the /tmp/yast_install_2011-01-28-11:09.log ?
it’s karlarao@gmail.com
have you tried manually installing the following RPMs using Yum?
Error: Installing packages libzypp-*.rpm Failed!
Error: Installing packages yast2-pkg-bindings-*.rpm Failed!
Error: Installing packages yast2-2.*.rpm Failed!
Error: Installing packages yast2-network-*.rpm Failed!
but let me see the log first..
I’ve mailed you the log file..
I’ve tried installing one of theses packages using rpm and it displayed a long list of dependencies……
well i don’t now how i can use yum to install these packages…!!
Looking at the log, you are having dependency issues. It’s a dependency hell.
I suggest you use Yum. Don’t worry it’s not really complicated.. just read on the following links and do your own tests around the tool
http://yum.baseurl.org
http://docs.fedoraproject.org/en-US/index.html
Also I have documented some usage of Yum here
http://karlarao.tiddlyspot.com/#Yum
It’s a collection of quick guides on how to use Yum on the following scenarios:
- Using a custom repo
- Using DVD as a repo
- Using YUM and httpd
- Using up2date
- Enable/Disable Yum
Maybe you can try to setup the Yum first, there is a public repo of OEL you can use.. or you can setup your local repo. Then re-execute the yast tool, if it uses the Yum then it should be fine.. if not, you can manually install the RPMs using Yum.
hello,
i’ve tried to use yum to install the packages.
bt when i try any yum command it just stuck at the following output..
”
Gathering header information file(s) from server(s)
Server: Red Hat Linux 5 – i386 – Base
”
and cursor keeps blinking..what should i do to fix it..???
after reinstalling yum it displays something like this..
“http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml: [Errno 12] Timeout:
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i386. Please verify its path and try again
”
Now what should i do..???;/
This is connecting to the Adobe repo..
are you using a custom repo?
can you do
ls -l /etc/yum.repos.d/