Citrix Systems 4.2 Switch User Manual


 
Chapter 22. Troubleshooting
254
22.1.6.1. Permissions
Consider the following:
The root admin can delete or archive one or multiple alerts or events.
The domain admin or end user can delete or archive one or multiple events.
22.1.6.2. Procedure
1. Log in as administrator to the CloudPlatform UI.
2. In the left navigation, click Events.
3. Perform either of the following:
To archive events, click Archive Events, and specify event type and date.
To archive events, click Delete Events, and specify event type and date.
4. Click OK.
22.2. Working with Server Logs
The CloudPlatform Management Server logs all web site, middle tier, and database activities for
diagnostics purposes in /var/log/cloudstack/management/. The CloudPlatform logs a variety of error
messages. We recommend this command to find the problematic output in the Management Server
log:.
Note
When copying and pasting a command, be sure the command has pasted as a single line before
executing. Some document viewers may introduce unwanted line breaks in copied text.
grep -i -E 'exception|unable|fail|invalid|leak|warn|error' /var/log/cloudstack/
management/management-server.log
The CloudPlatform processes requests with a Job ID. If you find an error in the logs and you are
interested in debugging the issue you can grep for this job ID in the management server log. For
example, suppose that you find the following ERROR message:
2010-10-04 13:49:32,595 ERROR [cloud.vm.UserVmManagerImpl] (Job-Executor-11:job-1076)
Unable to find any host for [User|i-8-42-VM-untagged]
Note that the job ID is 1076. You can track back the events relating to job 1076 with the following grep:
grep "job-1076)" management-server.log
The CloudPlatform Agent Server logs its activities in /var/log/cloudstack/agent/.