Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Changing the Global Database Name Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • All About oracle password and security from metalink Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • OEM-Commnds Oracle
  • Running select from V$ views from remote server Linux/Unix
  • MYSQL and Oracle Comparison for Oracle DBA MYSQL
  • Important Script Method for tuning Oracle
  • chk_space_SID.ksh Linux/Unix
  • Unix split command to split files Linux/Unix
  • dbms_job.submit example Oracle
  • Updated LCK.SQL file. Oracle
  • 10g oem configuration Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database 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

  • age_alert.ksh aging out alert.log Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • checking connectivity between two servers Linux/Unix
  • Guide to Linux System Command Mastery Linux/Unix
  • Finding last recovered file on DR and remove all chanracters before any “/” 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • scripts to take listener.log backup Linux/Unix
  • plan10g.sql Oracle
  • Rename Oracle Instance Name Oracle
  • Mutating Table Error while using database trigger Oracle
  • Recovering lost SYS password Oracle
  • Good links for x$ tables in oracle. Oracle
  • Good Site for Oracle Internals Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme