Solaris tips(I)

  • stop cacao process

root@felix1 [/] # cacaoadm stop

  • stop desktop process

root@felix1 [/] # svcs -a | grep graphical
online         Sep_18   svc:/application/graphical-login/cde-login:default
root@felix1 [/] # svcadm disable cde-login
root@felix1 [/] # svcs -a | grep graphical
disabled       18:08:37 svc:/application/graphical-login/cde-login:default

  • check the WWN

fcinfo hba-port | grep WWN

  • swupna.jar process

edit /usr/dt/config/Xsession.d/1001.swupnot to comment out the line and kill the process

  • force send mails in queue

/usr/lib/sendmail -q -v

  • route -p xxx writes to /etc/inet/static_route
  • privilege to capture packet on bge

chmod 666 /dev/bge

  • enable mpxio in Solaris 10 for 3par 7200

add configuration to /kernel/drv/scsi_vhci.conf

 device-type-scsi-options-list =
“3PARdata”, “symmetric-option”;

symmetric-option = 0x1000000;

use /usr/sbin/stmsboot -e to enable multi-pathing
  • checksum and md5

digest -v -a md5 a.tar

cksum a.tar
digest -v -a sha1 a.tar
  • show mac address by ilom

show /SYS/MB/NET0

  • dbm map “Alias0”: missing map file /etc/mail/aliases

under /etc/mail,

# makemap hash aliases.db < /etc/mail/aliases
  • Solaris 10 language package installation
1 prepare language packages.
All language packages locate in /mountpath/Solaris_10/Product/ of Solaris DVD.
You can either mount an OS iso or nfs source from other servers.
2 list languages which have been installed already
# locale –a
3 install language packages
# localeadm –a korean  -d /cdrom/cdrom0/Solaris_10/Product install Korean
# localeadm –a zh_CN –d /cdrom/cdrom0/Solaris_10/Product install simplified Chinese
Log file is /var/sadm/install/logs/localeadmin_install.2014-01-28
locale/region name is zh_cn
Warning! You have chosen the zh_CN locale rather than a region to install.
This locale is part of the Simplified Chinese region. If you choose to continue, all of the locales in this region will be installed.
Do you wish to continue? [y/n]: y
Adding packages for Simplified Chinese (china)
Region china will be installed.
It takes a few minutes to finish the installation.
4 list languages installed on server
bash-3.2# locale -a

One thought on “Solaris tips(I)

Leave a Reply

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