Solaris AdminSuite 3.0 Troubleshooting

This page provides solutions to common problems you may encounter while using Solaris AdminSuite 3.0 software.


Home Directory Not Created

When you add a new user, you must specify the name of the server on which the user's home directory is located. If AdminSuite cannot contact that server, you will be notified that the user was added but the home directory could not be created.

There are a few possible reasons why the home directory was not created: you may have mistyped the server name in the wizard, the server might be temporarily out of service, or AdminSuite might not be running on the server.

To create the user's home directory after you have added the user, be sure AdminSuite is running on the server, then:

  1. In User Accounts, double-click the user's name.
  2. In User Properties, click the Home Directory tab.
  3. In the Home Directory Server field, type the server name.

    Note: This field is writable only until the directory is created. Once the directory is created, the server name cannot be changed.


Mailbox Not Created

When you add a new user while managing a NIS or NIS+ domain, you must specify the name of the server on which the user's mailbox is located. (The mailbox is the file that contains the user's newly received email.) If AdminSuite cannot contact that server, you will be notified that the user was added but the mailbox could not be created.

There are a few possible reasons why the mailbox was not created: you may have mistyped the server name in the wizard, the server might be temporarily out of service, or AdminSuite might not be running on the server.

To create the user's mailbox after you have added the user, be sure AdminSuite is running on the server, then:

  1. In User Accounts, double-click the user's name.
  2. In User Properties, click the Mail tab.
  3. In the Mail Server field, type the server name.

    Note: This field is writable only until the mailbox is created. Once the mailbox is created, the server name cannot be changed.


Server/Domain Mismatch

An error message appears when you attempt to manage a domain, but the domain name and the name of the machine originally selected to manage that domain are not correctly matched.

Click Domain->Add/Delete Domain. Find the domain you attempted to log on to in the List of Domains. Is the domain name spelled correctly? Is the server name spelled correctly? Is the server the appropriate one for the domain being managed?

If the domain name or server name is incorrect (or the two are incompatible), delete the incorrect domain and add the one you want to log on to.


Server Cannot Authenticate Your Identity

There are a few reasons why the management server might be unable to authenticate the identity of a user (verify the user's identity by checking the user's name against the password):


Administrator Cannot Be Authenticated

An administrator is unable to create the home directory or mailbox for a user because the home directory or mailbox server is unable to authenticate the administrator.


Serial Port Problems

When a serial port message refers you to troubleshooting, see if there is additional information in Log Viewer, and then step through each of the following problems and solutions in succession:

If the problem persists, refer to Log Viewer and contact your Sun Microsystems support provider.


Configuring the Microsoft Windows Environment

The following three environment variables are needed for the AdminSuite client to successfully run in a Microsoft Windows environment (Windows NT, 95, or 98):
      WS
JAVA_HOME
CLASSPATH
When the AdminSuite client is installed, two files are updated with the settings for these three variables:
      admapp.bat
batchapp.bat
Each file is modified to include the following three lines at the top of each file:
      set WS=base install dir
set JAVA_HOME=java install dir - obtained from registry
set CLASSPATH=current CLASSPATH;%WS%\admswt10.jar;%WS%\jcbwt360J.jar;%WS%\swingall.jar;%JAVA_HOME%;%WS%\classes;
For example, if you use AdminSuite default settings for the base directory and for JAVA_HOME, the settings for these three variables are:
      set WS=C:\Progra~1\Sunw\Admins~1
set JAVA_HOME=C:\jdk117
set CLASSPATH=C:\Progra~1\Sunw\Admins~1\admswt10.jar;C:\Progra~1\Sunw\Admins~1\jcbwt360J.jar;C:\Progra~1\Sunw\Admins~1\swingall.jar;C:\jdk117;C:\Progra~1\Sunw\Admins~1\classes;
NOTE: The paths for the file names shown previously are converted into a short file name format. For example, C:\Program Files\Sunw\AdminSuite is converted to C:\Progra~1\Sunw\Admins~1.

If the two batch files above do not have these environment variables set, the AdminSuite client will NOT run.

NOTE: It is possible to set system variables instead of editing the batch files. It can be done either way, as long as the WS, JAVA_HOME, and CLASSPATH environment variables are set correctly when the batch files are run.


Problem Adding Multiple Users

The inability to add multiple users through the Multiple Users Wizard may indicate that AdminSuite files have been removed.

Verify that the following files are in /opt/SUNWseam/3_0/etc:
      AdminAuths.properties
AdminClient.properties
AdminServer.properties
If these files do not exist, reinstall AdminSuite.


Stopping and Restarting the AdminSuite Server

To stop and restart the AdminSuite server:

  1. As root, change to the /opt/SUNWseam/3_0/sbin directory.
  2. Type the following commands:

       ./admsvr stop
       ./admsvr start


Out-of-Memory Error

If you encounter an "OutofMemoryError" error, you will need to restart AdminSuite.

  1. Exit AdminSuite.
  2. Change to the bin directory (if you are not there already):

       cd /opt/SUNWseam/3_0/bin

  3. Restart AdminSuite:

       ./admapp &

If the procedure above is unsuccessful, exit the AdminSuite application and stop and restart the server:
  1. Exit AdminSuite.
  2. Change to the sbin directory:

       cd /opt/SUNWseam/3_0/sbin

  3. Become root and stop the AdminSuite server:

       ./admsvr stop

  4. Restart the AdminSuite server:

       ./admsvr start

  5. Exit the root user session.
  6. Change to the bin directory:

       cd /opt/SUNWseam/3_0/bin

  7. Restart AdminSuite:

       ./admapp &

Once AdminSuite is running again, consider reducing the number of User Accounts, Email Aliases, or Computers/Networks you are viewing by filtering them with the View->Filter Settings command.

Note: If you must increase the number of objects to view, you can increase the memory allocation pool. The maximum memory allocation pool for the Java Virtual Machine (VM) is 32MB by default. To increase the maximum size of the memory pool for the AdminSuite server or application, modify the memory allocation parameter for the Java VM command line in the admsvr and/or admapp startup scripts.

For example, to increase the maximum memory pool size for the AdminSuite server to 48MB:

  1. Log in as root.
  2. Edit the /opt/SUNWseam/3_0/sbin/admsvr file.
  3. Change the line:

       JAVA_FLAGS=" -mx32m "

    to

       JAVA_FLAGS=" -mx48m "

To increase the maximum memory pool size for the AdminSuite application to 48MB:
  1. Log in as root.
  2. Edit the /opt/SUNWseam/3_0/bin/admapp file.
  3. Change the line:

       JAVA_FLAGS=" -mx32m "

    to

       JAVA_FLAGS=" -mx48m "

You can increase the maximum memory pool size to more than 48MB by increasing 48 to a higher number.


AdminSuite Server Failure

If the AdminSuite server fails, multiple symptoms may appear:

To correct these problems, restart the AdminSuite server and the AdminSuite application:
  1. Close the AdminSuite application.
  2. Become root.
  3. Change to the /opt/SUNWseam/3_0/sbin directory.
  4. Restart the AdminSuite server:

       ./admsvr start

  5. Exit the root user session.
  6. Change to the /opt/SUNWseam/3_0/bin directory.
  7. Restart the AdminSuite application:

       ./admapp &