Powered By Blogger

Thursday, June 21, 2012

Stopping and Starting Ops Center 12c

Stopping Ops Center 12c

# /opt/SUNWxvmoc/bin/proxyadm stop -wv
# /opt/SUNWxvmoc/bin/satadm stop -wv

Starting Ops Center 12c

# /opt/SUNWxvmoc/bin/satadm start -wv
# /opt/SUNWxvmoc/bin/proxyadm start -wv

Installing IDR on solaris 11

Installing IDR on solaris 11 is different from Solaris 10 (patches). They called it idr (interim diagnostic relief) indentifier on Solaris 11

Following example, I am installing idr111 on Solaris 11 server

# pkgrepo create /var/tmp/idrrepo


# cd /var/tmp

# pkgrecv -s ./idr111p5p -d /var/tmp/idrrepo '*'

# pkg set-publisher -g file:///var/tmp/idrrepo solaris

# pkg publisher ( To verify that publisher is available)

solaris (non-sticky) origin online file:///var/tmp/idrrepo/


Install the idr using following command:

# pkg install idr111


Verify the package is installed by


# pkg verify -v idr111

PACKAGE STATUS

pkg://solaris/idr111 OK

Wednesday, June 20, 2012

Error while luactivate

/usr/sbin/luactivate: /etc/lu/DelayUpdate/: cannot create

Workaround:
execute folloing:

# export BOOT_MENU_FILE="menu.lst"

Debugging issues on Solaris using truss

In original ksh terminal, find out the PID of the ksh shell:


# ps

On 2nd terminal:

# truss -faeldo locale.truss -vall -r0 -w 1,2 -p (PID of ksh shell)

In original ksh terminal:

Execute the command which is having issues

On 2nd terminal:


Tail the locale.truss or read the contents for more details




Welcome to the UNIX world