ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Large mysql error log

book

Article ID: 240523

calendar_today

Updated On:

Products

DX NetOps

Issue/Introduction

The /opt/CA/MySql/data/hostname.err log has grown large, can this be trimmed?

Environment

Release : 21.2

Component : PM Portal Administration

Resolution

1) Stop the Netops Portal services including mysql:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/21-2/administrating/restart-ca-performance-management-component-services/restart-performance-center.html

2) Move the log file to a new name:

mv hostname.err hostname.err.orig

3) Start the services starting with mysql:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/21-2/administrating/restart-ca-performance-management-component-services/restart-performance-center.html

It should create a new hostname.err log file.