Archive for the ‘Solaris’ Category

WARNING: Could not find all the required OS utilities in the $PATH. Please review the checks above

September 21st, 2014, posted in Oracle, Solaris
Share

WARNING: Could not find all the required OS utilities in the $PATH.
Please review the checks above

Oracle,Oracle Clonning,Oracle,Warning,Cannot Find Path, perl adcfgclone.pl appsTier,perl adcfgclone.pl dbTier,Clone warning,Oracle help,Oracle Issue,Oracle Warning,

Issue :

bash-3.00$ perl adcfgclone.pl dbTier

Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA

Oracle Applications Rapid Clone

Version 12.0.0

adcfgclone Version 120.20.12000000.12

Enter the APPS password :

Checking for make…
Unable to locate ‘make’ utility in path
Checking for ld…
Unable to locate ‘ld’ utility in path
Checking for ar…
Unable to locate ‘ar’ utility in path
Unable to locate all utilities with system path.
PATH = /clone/apps/apps_st/comn/clone/bin/../jre/bin:/usr/bin:

WARNING: Could not find all the required OS utilities in the $PATH. Please review the checks above


Solution:
Please set perl and perl5lib than use below command and retry issue
export PATH=/usr/ccs/bin:$PATH

Share

Sun Advanced Lights Out Manager system controller (ALOM SC) – ALOM Logs Commands

June 16th, 2014, posted in Oracle, Solaris, TEChNoLoGY
Share

ALOM Logs Commands,ALOM Logs, Sun System,Sun Fire T2000,Sun Fire V445,Sun Fire, Sun Fire System,ALMO,ALOM Logs,ALOM Log,ALOM command,Log Command,V445_Console,ALOM V445_Console,Sun Fire V445 Console


Sun Advanced Lights Out Manager system controller (ALOM SC)

ALOM System Controller enables you to remotely manage and administer a server.
It comes preinstalled on the machine, so as soon you plug in power cable, it works.
Yes, it uses server’s standby power, which enables you to remotely power off and on server (very useful when someone schedule power outage in remote office and you want gracefully to bring server down and after outage power it on). ALOM monitors hardware in the server, like CPU, RAM, Power supply, etc, and much more like Voltage and status of alarms. Of course, all this exercise assumes you configured ALOM’s network parameters.

Try to have dedicated management subnet for this. If you access ALOM and stay idle for 1 minute, it will switch to serial console. Or you can type console and reach serial console of remote system from your cube or home living room.

ALOM Logs Commands,ALOM Logs, Sun System,Sun Fire T2000,Sun Fire V445,Sun Fire, Sun Fire System,ALMO,ALOM Logs,ALOM Log,ALOM command,Log Command,ALOM Logs Commands,ALOM Logs, Sun System,Sun Fire T2000,Sun Fire V445,Sun Fire, Sun Fire System,ALMO,ALOM Logs,ALOM Log,ALOM command,Log Command,V445_Console,ALOM V445_Console,Sun Fire V445 Console,Hardware consoles Oracle,Hardware consoles ,Oracle,Hardware ,consoles Oracle,Sun Advanced Lights Out Manager system controller

sc> console

To go back to ALOM type #. (pound and dot)

ALOM  Commands :

showplatform [-v]

showfru

showdate

consolehistory [-v] [boot | run]

showenvironment

showusers [-g]

showsc [-v]

userpassword

showlogs [-v]

ALOM Logs Commands,ALOM Logs, Sun System,Sun Fire T2000,Sun Fire V445,Sun Fire, Sun Fire System,ALMO,ALOM Logs,ALOM Log,ALOM command,Log Command,ALOM Logs Commands,ALOM Logs, Sun System,Sun Fire T2000,Sun Fire V445,Sun Fire, Sun Fire System,ALMO,ALOM Logs,ALOM Log,ALOM command,Log Command,V445_Console,ALOM V445_Console,Sun Fire V445 Console,Hardware consoles Oracle,Hardware consoles ,Oracle,Hardware ,consoles Oracle,Sun Advanced Lights Out Manager system controller

Link : http://docs.oracle.com/cd/E19102-01/n440.srvr/817-5481-11/command_shell.html
Link : http://www.googlux.com/alom.html
Link : http://docs.oracle.com/cd/E19076-01/t2k.srvr/819-2548-14/3_Diags.html
Share

Solaris 10 on VMware Installation Complete Notes

October 19th, 2013, posted in Solaris, TEChNoLoGY
Share

vmware

Here is a compete step-by-step notes that i recorded while walking through the installation process :

Before you can start, download the latest Solaris 10 x64 ISO file from sun.com and install Vmware server from vmware.com :

1. File –> New –> Virtual Machine
2. Click Next on the first scren.
3. Click Next (i.e. Keep Typica configuration)
4. Choose “4. Sun Soaris” for Guest Operating System.
5. (Optional and only if you have a 64 bit capable machine) choose “Solaris 10 64-bit” for Version.
6. Click Next
7. (Optional) Change Location of the virtual machine by click Browse
8. Click Next
9. Choose “Use network address translation (NAT)” and click Next.
10. (Optional) If want to save a little bit of unused space at the expense of slightly slower disk acces speed, uncheck “Allocate all disk space now”
11. Double click on CD-ROM from Devices panel
12. Choose “Use ISO image”
13. Click Browse to choose the DVD ISO file you downloaded earlier.
14. (Optional) Adjust the amount of RAM and number of CPUs you want to allocate to this image.
15. Click “Power on this virtua machine”
16. Enter on BRUB menu for default “Solaris”
17. Enter 1 for “Solaris Interactive (default)”
18. Enter 0 for English. Choose a different language if you wish.
19. Click Next
20. Choose Networked and click Next
21. Choose DHCP if non of the applications you use doesn’t require static IP. Click Next.
22. Click Next (i.e. not enabe IPv6)
23. Click Next (i.e. not enable Kerberos)
24. Click Next (i.e. not eanble Name Service)
25. Click Next (i.e. Use default method to define timezone)
26. Choose your geographical location to choose a timezone and click Next.
27. Click Next (i.e. to accept the date and time)
28. Enter a root password.
29. Click Confirm to accept Selection Summary
30. Click Next
31. (Optional) Choose No for “Reboot automatically after software instalation” Since the CD-ROM was “entered” by software configuration and “eject” is better done via VMWare’s configuration. In case you were not watching when the install completed, it is probably better to let it wait for you to manualy reboot and umount CDRom via VMWare’s configuration window. Click Next and click OK on the pop-up window.
32. Click Next to accept the default Media, which is CD/DVD
33. Check Accept and click Next
34. Choose Custom Install and click Next
35. Expand North America, check “English (United States) (en_US)” and “English United States, UTF-8)(en_US.UTF-8)” and click Next
36. Choose en_US.ISO8859-1 and click Next
37. Click Next (i.e. not install extra software)
38. Click Next (i.e. keep none for no additional software through Web Start)
39. Choose Entire Group Pus OEM and click Next
40. Click Next to accept the default deisk selection
41. Click Next to accept the default disk for partition customization
42. Click Next to accept allocation of all space to Solaris
43. Click Modify to edit partition information
44. Remove slice 7 entry
45. Increase the swap size to the double the amount of RAM you allocated for Solaris in VMWare.
46. Add the remaining disk space to / and click OK
47. Click Next to continue
48. Review the configuration. If everything looks correct, click Install Now. Now you may want to take a break or do something else and check back once in a whie to check on the installation progress.
49. After installation, you should see a Reboot Now Button. Click it.
50. View –> Current View –> Summary
51. Double click on CD-ROM
52. Choose “Use a physical drive:” and click OK
53. If you get an error, just click OK. You probably don’t have a CD/DVD media in your computer at this time.
54. View –> Current View –> Console
55. Press “Enter” key to not override the system’s default NFS version 4 domain name.
56. You should see the login screen once Soalaris completed boot process. Enter root and root password to start using Solaris. Make sure you use JDS 3 by clicking on Options –> Session –> Java Destop System, Release 3 from the boot menu.

APPENDIX A: Install VMWare Tools

1. VM –> Instal VMWare Tools
2. Click install
3. Launch –> Applications –> Utilities –> Terminal
4. cp /cdrom/vmwaretoos/vmware-solaris-tools.tar.gz /tmp/
5. cd /tmp
6. gunzip vmware-solaris-tools.tar.gz
7. tar xvf vmware-solaris-tools.tar
8. cd vmware-tools-distrib
9. ./vmware-install.pl
10. Enter to accept default directory at /usr/bin
11. Enter to accept default directory at /etc
12. Enter to accept default directory at /etc/init.d
13. Enter to accept default directory at /usr/sbin
14. Enter to accept default directory at /usr/lib/vmware-tools
15. Enter to accept creating the directory
16. Enter to accept default documentation directory at /usr/share/doc/vmware-tools
17. Enter to accept creating the directory
18. Enter to accept executing /usr/bin/vmware-cofnig-tools.pl
19. Enter to accept creation of /etc/X11/xorg.conf file
20. Enter the appropriate number that represent the correct resolution for your monitor.
21. Restart X session or reboot

vmware solaris10_4

Another link for this by images is this : http://zakkiahmed.wordpress.com/2009/08/12/installing-solaris-10-on-vmware/

Share

Basic LINUX Commands That a DBA Should Know

May 26th, 2012, posted in Oracle, Solaris
Share

Basic LINUX commands that a DBA should know

groupadd
This is the command used to create new group. At OS level group is used to give and take  pivillages.
Syntax : groupadd <group name>
Ex : [root@rac5 ~]# groupadd group1
View : [root@rac5 ~]# cat /etc/group  -This command used to view which user belongs to which group.
Output: group1:x:607:

useradd
This is the command used to create a new user in a group.
Syntax : useradd -g <group name> <user name>
Ex : [root@rac5 ~]# useradd -g group1 user1

passwd
This is the command used to give password for create use or to update the password.
Syntax : passwd <user name>
Ex: [root@rac5 ~]# passwd user1
Output :
[root@rac5 ~]# Changing password for user soufir.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

date
a. This is the command used to view the current system date.
Syntax : date
Output : Wed Oct 27 21:55:36 IST 2010
b. In order to update the date we can give :
Syntax : [root@rac5 ~]# date -s “2 OCT 2010 14:00:00″  OR
[root@rac5 ~]# date –set=”27 OCT 2010 21:56:00″
Output : Sat Oct  2 14:00:00 IST 2010

cal
This command shows the calender of current year or any.
Ex : [root@rac5 ~]#  Cal
Output : [root@rac5 ~]#    October 2010
Su Mo Tu We Th Fr Sa
1  2
3  4  5  6  7  8  9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

pwd
This command is to view the present working directory.
Ex : [root@rac5 ~]# pwd
Output : [root@rac5 ~]# /root.

cd
a.This is the command used to change a directory
Ex : [oracle@rac5 ~]$ ls
authorized_keys  file   file2  oraInventory  stand.ora
authorized-keys  file1  file3  soufir
[oracle@rac5 ~]$ cd soufir
[oracle@rac5 soufir]$
b.This is used to go back to parent directory
Ex : cd ..
mkdir
This command is used for make a new directory.
Ex : mkdir dir1
rmdir
This commad is used for remove a directory.
Ex : rmdir dir1
rm -rf
This command is used to forcefully remove a direcory.
Ex : rm -fr dir1

man
This command is used to show the online manual pages of related commands
Ex : man ls

ls
This command is used to list all contents of directories
Ex : ls

ls -lt
This command is used to list lot of information about contents of directories
Ex : ls -lt
The permissions are the first 10 characters of the line (-rwxrwx—) and can be broken down as follows.
–
rwx
r–
r–
1
root
root
765
Apr 23
file.txt
File type
Owner
Group
All
Links
Owner
Group
Size
Mod date
Filename

touch

This command is used create an empty file
Ex : touch file1

cat
This command is used to create and view files of directories
Ex : cat file1
cat file1 > newfile   // owerwrite newfile with file1
cat file1 >> newfile  // append newfile the contents with file1

cp
This command is used to copy a file from one to another
Ex : cp file1 filenew

mv
This command is used to rename the name of a file to other
Ex : mv file1 filenew

su
This command is used to switch one user to other. it doesnot change the current working directory. so you cant access the /usr/sbin  directories.
Ex : su soufir

su –
This command is used to switch one user with changing current working directory.
Ex : su – soufir

*********************************************************************************************************************
Note : Please not do make backups before using these queries and also confirm them yourself or by aother means as
 well.
*********************************************************************************************************************
Share