VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

Enabling and Configuring Linux Core Dump

Details

If an issue occurs during conversion with Converter Standalone server and agent for Linux, you can check the Linux core dump file or send it to support for error analysis. As Linux core dump is disabled by default, you must enable it on the system where Converter Standalone server for Linux runs.

Solution

To enable the Linux core dump:
  1. In the /etc/profile file, replace ulimit -S -c 0 > /dev/null 2>&1 with the following: ulimit -c unlimited >/dev/null 2>&1
  2. In the /etc/init.d/functions file, replace ulimit -S -c 0 >/dev/null 2>&1 with the following: ulimit -S -c ${DAEMON_COREFILE_LIMIT:-0} >/dev/null 2>&1
  3. In the /etc/sysconfig/init file, enable core dumping globally by adding the following line: DAEMON_COREFILE_LIMIT='unlimited'
  4. To enable core dumping for specific deamons, add the following line in the /etc/sysconfig/$daemon file: DAEMON_COREFILE_LIMIT='unlimited'
  5. (Optional) Enable core dumping for SUID programs:
    1. Run the following command: echo 1 > /proc/sys/kernel/suid_dumpable
    2. Add the following lines in the /etc/sysctl.conf file:
      • kernel.suid_dumpable = 1
      • kernel,core_uses_pid = 1
    3. Reload the settings in /etc/sysctl.conf by running the following command: sysctl -p
To configure the directory in which to save the core dump files:
  1. Browse to /etc/vmware-converter/ and open the following configuration files in a text editor:
    • Open converter-server.xml to configure the core dump location for Converter Standalone server.
    • Open converter-agent.xml to configure the core dump location for Converter Standalone agent.
    • Open converter-client.xml to configure the core dump location for Converter Standalone client.
  2. In the configuration file, uncomment the directory element.
  3. Edit the path in the directory element to point to the location where you want to save the core dump files, and save the changes to the xml file.
  4. Restart the configured Converter Standalone component:
    • Restart the Converter Server process by running /etc/init.d/vmware-converter restart.
    • Find the Converter Agent process by running ps -axu|grep "converter-agent.xml" and terminate it. The Converter Standalone agent starts automatically the next time you initiate a conversion task.
    • Close and then open the Converter Standalone application to restart Converter Standalone client.
    Alternatively, instead of restarting Converter Standalone processes, you can reboot the system to make the changes to the configuration files take effect.

Keywords

conversion logs; Linux conversion; error details

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   
Actions