Sun Java System Access Manager Policy Agent 2.2 Guide for Sun Java System Web Proxy Server 4.0

Solaris Systems: Troubleshooting Symptoms in Agent for Sun Java System Web Proxy Server 4.0

This section includes various problems you might encounter on Solaris systems. The explanation of the problem is followed by possible solutions.

Solaris Systems: Troubleshooting Symptom 1

Symptom: Cannot install the web agent after a previous installation has been removed.

The following is an example message that is displayed when you run the web agent installation program:

Launching installer... Sun Java(tm) System; Access Manager Policy Agent for Sun Java System Proxy Server 4.0 is installed. Please refer to installation manual to configure this agent for another web server instance or uninstall it before installing another agent.

Possible Causes:

Possible Solutions: Performing the following troubleshooting activities might resolve the issue:


Note –

Make a backup copy of productregistry file before you make changes.


Remove the web agent entry in this file. This entry starts with the following lines:


<compid>SUNWampxy4
  <compversion>2.2
          <uniquename>SUNWampxy4</uniquename>
          <vendor></vendor>
          <compinstance>1
                  <parent>Agent for Sun Java(tm) System Web Proxy Server 4.0
                          <instance>1
                                  <version>2.2</version>
                          </instance>
                  </parent>
                  <comptype>COMPONENT</comptype>
                  <location>/opt/pr22</location>
                  <dependent>
                          <compref>Agent for Sun Java(tm) System Web Proxy Server 4.0
                                  <instance>1
                                          <version>2.2</version>
                                  </instance>
                          </compref>
                  </dependent>
                  <data>
                          <key>pkgs
                                  <value>SUNWampxy4</value>
                          </key>
                  </data>
          </compinstance>
  </compversion>
</compid>
<compid>Agent for Sun Java(tm) System Web Proxy Server 4.0
  <compversion>2.2
          <uniquename>Agent for Sun Java(tm) System Web Proxy Server 4.0</uniquename>
          <vendor></vendor>
          <compinstance>1
                  <parent>Sun Java(tm) System Access Manager Policy Agent
                          <instance>6
                                  <version>2.2</version>
                          </instance>
                  </parent>
                  <children>
                          <compref>SUNWampxy4
                                  <instance>1
                                          <version>2.2</version>
                                  </instance>
                          </compref>
                  </children>
                  <comptype>FEATURE</comptype>
                  <location>/opt/pr22</location>
                  <dependent>
                          <compref>Sun Java(tm) System Access Manager Policy Agent
                                  <instance>6
                                          <version>2.2</version>
                                  </instance>
                          </compref>
                  </dependent>
                  <required>
                          <compref>SUNWampxy4
                                  <instance>1
                                          <version>2.2</version>
                                  </instance>
                          </compref>
                  </required>
          </compinstance>
  </compversion>
</compid>

Solaris Systems: Troubleshooting Symptom 2

Symptom: The uninstallation program does not remove entries from the agent’s web container.

Possible Causes: Another instance of the web agent exists that was configured using the configuration script.

Possible Solution: Remove all the instances of the web agent using the unconfig script before running the uninstallation program.

Solaris Systems: Troubleshooting Symptom 3

Symptom: The browser goes into a loop for approximately a minute before displaying an access-denied page.

Possible Cause: The user tries to access a resource for which a policy with a time condition has been set and the time on the web agent host and the Access Manager host are not in sync.

Possible Solution: Login as root and run the command rdate hostname to synchronize the time on both the hosts.

Solaris Systems: Troubleshooting Symptom 4

Symptom: Policies are not enforced when using Agent for Sun Java System Web Proxy Server 4.0.

Possible Cause: URL mapping is inaccurate. More specifically, the resource names for setting policies are not the URLs qualified as “URL prefix” (from the client) in the Sun Java System Web Proxy Server 4.0 administration console.

Possible Solution: Ensure that each resource name used for setting policies matches a URL prefix as listed in the Sun Java System Web Proxy Server 4.0 administration console.

Solaris Systems: Troubleshooting Symptom 5

Symptom: When a user attempts to access a resource using Internet Explorer as the browser, access is denied.

Possible Cause: Internet Explorer overrides the port number of the web agent with the Access Manager port number. In such cases, the agent log file lists the URL that is being evaluated. The port number for that URL is incorrect.

Possible Solution: You can ensure this problem does not occur by setting the following property in the web agent AMAgent.properties configuration file to true as shown:

com.sun.am.policy.agents.config.override_port = true