Logs for Server Processes
This article explains how to generate logs for server processes.
If you are experiencing system out of memory
errors, you need to provide the support team with the log files for the server processes for the time period when the problem occurred.
Prerequisites
You must have enough free disk space for the logs. For more information, see EXAsupport.
Procedure
The following examples use the c4 and confd_client command-line tools in a Linux terminal. For more information about these tools, see Exasol Deployment Tool (c4) and ConfD.
-
Connect to EXAClusterOS (COS) on the cluster using
c4 connect -t <DEPLOYMENT>[.<NODE>]/cos
. For example:If you do not specify a node, c4 will connect to the first active node in the deployment.
For more information about how to use
c4 connect
, see How to use c4. -
To find the name of the database, use the ConfD job db_list. For example:
-
To create a server process log, use the EXAsupport tool with the option
-x3
. Specify the start date (-s
) and end date (-t
) using the formatYYYY-MM-DD
. For example:If the log file was successfully created, you will see the following message containing the file name:
- Use CTRL+D or type
exit
to disconnect from COS. -
Copy the log file to your local computer by connecting to COS and using the
cat
command:Example:
Verification
To verify that the log was successfully copied, use the ls
command in the target folder on your local machine.
Example