Archive

Archive for January 3, 2012

Free RAM

January 3, 2012 Leave a comment

check Total physical memory:

# prtdiag -v | grep Memory

# prtconf | grep Memory

check Free physical Memory:

# top (if available)

# sar -r 5 10
Free Memory=freemen*8 (pagesize=8k)

# vmstat 5 10
Free Memory = free

For swap:

# swap -s
# swap -l

Categories: Sys

Common issues

January 3, 2012 Leave a comment

Common Installation Errors

1. Unable to convert from “UTF-8” to “646” for NLS!
Solution: Install SUNWuiu8 package.

2. Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<< Some requirement checks failed. You must fulfill these requirements before continuing with the installation,at which time they will be rechecked.
Solution(s):
1. Install SUNWxwplt package
2. Set DISPLAY variable
3. Execute xhost + on target (set in DISPLAY) computer

3. Exception in thread “main” java.lang.UnsatisfiedLinkError:
… libmawt.so: ld.so.1: java: fatal: libXm.so.4: open failed: No such file or directory

Solution: Install the SUNWmfrun package.

4. Can’t load ‘/usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/Sun/Solaris/Project/Project.so’ for module Sun::Solaris::Project: ld.so.1: perl: fatal: libpool.so.1: open failed: No such file or directory at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/DynaLoader.pm line 230. at /usr/sbin/projadd line 19 Compilation failed in require at /usr/sbin/projadd line 19. BEGIN failed–compilation aborted at /usr/sbin/projadd line 19.
Solution: Install the SUNWpool SUNWpoolr packages.

5. UX: useradd: ERROR: Unable to create the home directory: No such file or directory.

  • Create specified directory where home directory will be located. In example for /export/home/oracle home you need to execute “mkdir -p /export/home” directory.
  • Or:

# userdel user1

# useradd -m user1
6. UX: useradd: ERROR: Unable to create the home directory: Operation not applicable.
If you have been specified /home/oracle (or any directory under /home) check /etc/auto_home for relevant entry (See the Pre-Instalation Tasks – Create oracle User Account).

7. # pkg install SUNWi1of SUNWxwfnt
Creating Planpkg: The following pattern(s) did not match any packages in the current catalog.
Try relaxing the pattern, refreshing and/or examining the catalogs:
SUNWi1of
SUNWxwfnt

Solution: None available. These two packages are not present in repository. Ignore errors during OUI prerequisites check (Oracle will be working fine).

8. [INS-13001] Environment does meet minimum requirements. Are you sure you want to continue?
Solution: If you are installing 11.2.0.1.0 version (this version doesn’t know Solaris 11) you can answer “Yes” or if you have access to My Oracle Support you can download 11.2.0.2.0 version (patch nr: 10098816) and install it directly.

Categories: Troubleshoot

xhost unable to open display ” “

January 3, 2012 Leave a comment

Issue:

xhost unable to open display ” ”

xhost unable to open display “:0.0”

Resolved:

1. Directly log in on the GUI as oracle

2. $ echo $DISPLAY

:.0

3. $ xhost servername1

 

Categories: Troubleshoot

GUI blank issue

January 3, 2012 Leave a comment

Issue:

System started, but no GUI to log in, only the blank screen.

Checked system log at /var/adm/messages:

JanĀ  3 12:32:56 solaris11 syslog[1087]: [ID 883141 daemon.crit] Frame 27: /usr/lib/gdm-simple-greeter’_start+0x7d [0x806a64d]

Resolved:

1. Remote log in via ssh

2. Enter command:

# svcadm restart gdm

3. Go back to the console, the GUI appear.

 

Categories: Troubleshoot