Updated on 2022-12-08 GMT+08:00

ALM-12041 Permission of Key Files Is Abnormal

Description

The system checks the permission, users, and user groups of key directories or files every hour. This alarm is generated if any of these is abnormal.

This alarm is cleared after the problem that causes abnormal permission, users, or user groups is solved.

Attribute

Alarm ID

Alarm Severity

Auto Clear

12041

Major

Yes

Parameters

Parameter

Description

ServiceName

Specifies the service for which the alarm is generated.

RoleName

Specifies the role for which the alarm is generated.

HostName

Specifies the host for which the alarm is generated.

PathName

Specifies the file path or file name.

Impact on the System

System functions are unavailable.

Possible Causes

The user has manually modified the file permission, user information, or user groups, or the system has experienced an unexpected power-off.

Procedure

  1. Check the file permission.

    1. Go to the MRS cluster details page and choose Alarms.
    2. In the details of the alarm, query the HostName (name of the alarmed host) and PathName (path or name of the involved file).
    3. Log in to the alarmed node.
    4. Run the ll PathName command to query the current user, permission, and user group of the file or path.
    5. Go to the ${BIGDATA_HOME}/nodeagent/etc/agent/autocheck directory and run the vi keyfile command. Search for the name of the involved file and query the correct permission of the file.
    6. Compare the actual permission of the file with the permission obtained in 1.e. If they are different, change the actual permission, user information, and user group to the correct values.
    7. Wait until the next system check is complete and check whether the alarm is cleared.
      • If yes, no further action is required.
      • If no, go to 2.

  2. Collect fault information.

    1. On MRS Manager, choose System > Export Log.
    2. Contact the O&M personnel and send the collected logs.

Related Information

N/A