Solaris

Core dump analysis

Posted on

Core Dump Management on the Solaris OS By Adam Zhang, Sun Microsystems, April 2007, Updated June 2007 Abstract: Abnormal termination of a process will trigger a core dump file. A core dump file is very helpful to programmers or support engineers for determining the root cause of abnormal termination, because it provides invaluable information about […]

Oracle DB administering

Patching DST for Solaris and Oracle

Posted on

Patching DST for Solaris and Oracle 1. Solaris: 1.1. copy last tzdata from http://www.iana.org/time-zones 1.2. unpack the archive into temporary directory 1.3. as root: #zic europe this command compiles and installs updated timezone database 1.4. check that tz update applied #! /usr/bin/perl use POSIX qw(mktime),qw(strftime); # Oct 26 02:00:00 MSD 2041 $t = mktime(0,10,1,26,9,2014-1900,-1,-1,1); print […]

FreeBSD

NTP client troubleshooting

Posted on

http://support.f5.com/kb/en-us/solutions/public/10000/200/sol10240.html   Observe the output with references on the fields presented in the previous table. Example of a successful NTP peer server query If the local ntpd process can communicate or attempts to communicate with a declared NTP peer server, the output from the ntpq command appears similar to the following example: # ntpq -np remote           […]

FreeBSD

SSH forwarding where to look

Posted on

Where to look if X11 forwarding does not work   1. In /etc/ssh/sshd_config should be the options: AddressFamily inet (if the host is ipv4 only) X11Forwarding yes 2. in /etc/hosts shold be 127.0.0.1 localhost (if the host is ipv4 only) 3. try debugging ssh session: /usr/sbin/sshd -d -p 222 4. DISPLAY environment variable should be […]

FreeBSD

Multihost ssh tools

Posted on

http://www.fabfile.org/   Fabric is a Python (2.5-2.7) library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks. It provides a basic suite of operations for executing local or remote shell commands (normally or via sudo) and uploading/downloading files, as well as auxiliary functionality such as prompting the running […]

Solaris

Add or change swap partition

Posted on

SOLARIS: Add a SWAP partition https://sites.google.com/site/syscookbook/solaris/solaris-swap-add # Tested on Solaris 10 x86 32bit # Display configured swap: swap -l No swap devices configured # Configure a disk partition to add to swap format […] partition> p Current partition table (original): Total disk cylinders available: 19454 + 2 (reserved cylinders) Part      Tag    Flag     Cylinders         Size            Blocks […]

Solaris

Solaris patching FAQ

Posted on

http://www.oracle.com/technetwork/systems/articles/patch-faq-jsp-139997.html FAQ: Patching for the Solaris OS Lynne Thompson, February 2008 (Updated February 2009) This article provides answers to many questions regarding patching a system running the Solaris Operating System. General Patching Questions   Question: What are patches? Answer:The Solaris Operating System (OS) software is delivered and installed with SVR4 packages. Packages contain one or […]

Solaris

RSC commands quick reference

Posted on

http://175.193.126.47/syshbk/collections/TECHNICALINSTRUCTIONSURE/1-71-1006030.1-1.html Goal Description: RSC Commands at the rsc> prompt and from within Solaris. To get from console to rsc shell one need to enter escape sequence: ~. (tilda dot)   Solution Here is a list of rsc commands that can be used either on the RSC board, or run from within Solaris. From RSC board: […]

Solaris

Lights out manager on Solaris servers

Posted on

Sun SPARC servers may contain the following types of lights-out manager on board: ILOM/ALOM4v/ALOM/LOM/ELOM/SP or RSC http://175.193.126.47/syshbk/Systems/SunFireV490/ht.html LOM Sun Netra[TM] X1 Sun Netra[TM] T1400/1405 Sun Netra[TM] T1 AC200 Sun Netra[TM] T1 DC200 Sun Fire[TM] V100 Sun Fire[TM] V120 Sun Netra[TM] 20 Sun Netra[TM] 1280 ** Sun Netra[TM] 1290 ** Sun Fire[TM] V1280 ** Sun Fire[TM] […]

Solaris

Configuring BIND on Solaris 10

Posted on

Find BIND service: # svcs -a | grep dns Start the service if not started #svcsadm enable /network/dns/server Create configuration files: /etc/named.conf and /etc/rndc.conf named.conf: options { directory “/var/named”; }; logging { channel simple_log { file “/var/log/named/bind.log” versions 3 size 5m; severity error; print-time yes; print-severity yes; print-category yes; }; category default { simple_log; }; […]