Solaris

Issues pertaining to Sun Solaris Operating System.

Disable ICMP timestamp response

Description:

Self-signed SSL Certificates in Web Server 6.1

Disabling TRACE in Sun Java System Web Server

Disabling TRACE in Sun Java System Web Server 7.0

In Sun Java System Web Server 7.0 or Sun ONE Web Server 6.1, comment the TRACE service in obj.conf.
#Service method="TRACE" fn="service-trace"

For releases prior to Sun ONE Web Server 6.1:

<Client method="TRACE">
AuthTrans fn="set-variable"
remove-headers="transfer-encoding"

NFS-mount “Permission denied” error

NFS is a relatively uncomplicated functionality of any Unix system. However, from time to time you are bound to run in the “permission denied” error while trying to NFS-mount a filesystem. Everything seems to be shared correctly and, yet, the “permission denied” error persists. Here are a few things you may want to do to resolve the problem.

First, the correct syntax for sharing and mounting filesystems. Solaris 8 is used in this example.

Solaris - How to Configure a VLAN

  1. Assume the Primary Administrator role, or become superuser.

    The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. Determine the types of interfaces in use on your system.

Configuring a Solaris 10 vlan

Setting up vlan tagging on an interface in solaris 10 is as simple as plumbing an interface.
Eg. to setup the e1000g0 interface for the vlan with id ‘2′, execute the following command.

# ifconfig e1000g2000 plumb

The interface name is the concatenation of the interface name + vlan id * 100 + interface id

e1000g0 vlan 2 = e1000g + 200 + 0 = e1000g2000

You’ll probably want to make this persistant across reboots as well, so you’ll need to create the /etc/hostname.if file

Vi - Backspace And Vi Working On Live Cd

To setup your enviroment once you are boot into the live cd in Soalris you will need to use the following commad so that backspace and vi will work correctly:

# TERM=xterm; export TERM

Directory listing in Sun Java System Web Server 7.0

Been getting a lot of questions about directory listing in Sun Java System Web Server 7.0

I have setup a Sun Java System Web Sever 7.0. I am not able see directory contents. I get a popup saying "Authentication Required". Under "Content Handling"->"General"->"Directory Listing", I tried setting "Listing Type" to 'Fancy' & 'Simple'.  But that did not help (I saved and re-deployed the server instance).

Here is the solution. Check in obj.conf configuration file if "index-common" service SAF is present:

Sun Java System Web Server - Redirects That Include A Query String

If you have three old URIs for which you wish to return 301 redirects back to the client like the following:

http://xyz.com/page.jsp?type=a
http://xyz.com/page.jsp?type=b
http://xyz.com/page.jsp

And you would like them to respectively send redirects to these URIs:

Syndicate content