Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • Oracle vs MYSQL Architecture differences (For DBAs) MYSQL
  • Good notes on Oracle Events Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • How to analyze statspack or AWR report. Oracle
  • database trigger failing Oracle
  • grep multuple patterns Linux/Unix
  • Read CSV file using PySpark Python/PySpark
  • Deleting first line and lastline of a file using sed Linux/Unix
  • To find explain plan for a statement that occurred in past. Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • Histogram information Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle

Important Solaris Commands

Posted on 28-Sep-2005 By Admin No Comments on Important Solaris Commands

(*) To determine the size of the configured swap space, enter the following command:

/usr/sbin/swap -s

(*) To determine whether the system architecture is 64-bit, enter the following command:

/bin/isainfo -kv

This command should return the following output. If you do not see the expected output, you cannot install the 64-bit Oracle software on this system.

64-bit sparcv9 kernel modules

(*) To determine which version of Solaris is installed, enter the following command:

# uname -r

5.8

(*) To determine whether the required packages are installed, enter a command similar to the following:

# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms

SUNWsprot SUNWsprox SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs

SUNWxwfnt

(*) To determine whether an operating system patch is installed, enter a command similar to the following:

# /usr/sbin/patchadd -p | grep patch_number

If an operating system patch is not installed, download it from the following Web site and install it:

http://sunsolve.sun.com

(*) To determine whether the oinstall and dba groups exist, enter the following commands:

# grep oinstall /etc/group

# grep dba /etc/group

(*) If necessary, enter the following commands to create the oinstall and dba groups:

# /usr/sbin/groupadd oinstall

# /usr/sbin/groupadd dba

(*) To determine whether the oracle user exists and belongs to the correct groups, enter the following command:

# id -a oracle

If the oracle user exists, this command displays information about the groups to which the user belongs. The output should be similar to the following, indicating that oinstall is the primary group and dba is a secondary group:

uid=502(oracle) gid=502(oinstall) groups=502(oinstall),503(dba)

(*) Changing group of user.

If the oracle user exists, but its primary group is not oinstall or it is not a member of the dba group, enter the following command:

# /usr/sbin/usermod -g oinstall -G dba oracle

(*) If the oracle user does not exist, enter the following command to create it:

# /usr/sbin/useradd -g oinstall -G dba oracle

This command creates the oracle user and specifies:

– oinstall as the primary group

– dba as the secondary group

(*) To set the password.

# passwd oracle

(*) kernel parameters

/etc/system has all kernel parameters defined there.

(*) To reboot the server.

Enter a command similar to the following to reboot the system:

# /usr/sbin/reboot

(*) The configuration assistants configure several Web-based applications, including Oracle Enterprise Manager Database Control. This screen displays the

URLs configured for these applications. Make a note of the URLs used. The port numbers used in these URLs are also recorded in the following file:

$ORACLE_HOME/install/portlist.ini

Linux/Unix, shell

Post navigation

Previous Post: SYSOPER Mystery
Next Post: Oracle 10g Installation/Applying Patches Tips

Related Posts

  • How to remove blank lines using vi editor command Linux/Unix
  • To see mem usage and CPU usage system wide. Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • replace alphabets using sed Linux/Unix
  • Find Command Linux/Unix
  • scp with ssh2 Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Jai Shree Ram Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Rman Notes -1 Oracle
  • move_arch_files.ksh Linux/Unix
  • Physical Standby switchover with session active Oracle
  • How to know current SID Oracle
  • Configure ssh authentications for RAC Oracle
  • Checking SQL Server Version SQL Server

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme