InomHitta mer dokumentationSupportresurser som ingår | Ladda ner denna bok i PDF (1621 KB)
Appendix C Debugging Delegated AdministratorYou can obtain log information for Delegated Administrator by examining log files generated by the Delegated Administrator components, by the Web container to which Delegated Administrator has been deployed, and by Directory Server and Access Manager. This appendix includes the following topics: Debugging the Command-Line UtilitiesTo debug the Delegated Administrator utility (commadmin), you can print debug messages in the client by using the -v option with the commadmin command. Delegated Administrator Console LogThe Delegated Administrator console creates a runtime log file:
You can specify your own log file by editing a log properties file named logger.properties.
|
commadmin debug log -D paul -n sesta.com -w bolton \ -t on -f /tmp/debug.log |
The preceding command would log Debug servlet messages to the following path and file:
/tmp/debug.log
The log can only be created in the /tmp/ or /var/tmp/ directory.
Whenever you restart the Web container, you must run the commadmin debug log command again.
You can debug Delegated Administrator further by examining the server logs generated by your Web container.
Web Server 6.x maintains access and error logs, located in the following path:
web_server6_base/https-host.domain/logs
where
web_server6_base is the path where Web Server 6.x software is installed. For example: /opt/SUNWwbsvr.
host.domain is the host and domain name of the machine where Web Server 6.x is running.
Web Server 7.x maintains access and error logs, located in the following path:
web_server7_config_base/https-host.domain/logs
where
web_server7_config_base is the path where Web Server 7.x configuration and log files are installed. For example: /var/opt/SUNWwbsvr7.
host.domain is the host and domain name of the machine where Web Server 7.x is running.
Application Server 7.x maintains access and error logs, located in the following path:
/application_server7_base/domains/domain1/server1/logs
where
application_server7_base is the path where Application Server 7.x software is installed.
Application Server 8.x maintains access and error logs, located in the following paths.
Server log:
/application_server8_base/domains/domain1/logs
Access log:
/application_server8_base/domains/domain1/logs/access/server_access_log
where
application_server8_base is the path where Application Server 8.x software is installed.
You can debug Delegated Administrator further by examining the logs generated by Directory Server and Access Manager.
Directory Server maintains access and error logs, located in the following path:
/var/opt/mps/serverroot/slapd-hostname/logs
where
hostnameis the name of the machine where Directory Server is running.
Access Manager maintains log files in the following paths:
/var/opt/SUNWam/debug
The preceding path contains the amProfile and amAuth logs.
/var/opt/SUNWam/logs
The preceding path contains the amAdmin.access and amAdmin.error logs.