forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
89 lines
12 KiB
HTML
89 lines
12 KiB
HTML
<a name="ALM-12041"></a><a name="ALM-12041"></a>
|
|
|
|
<h1 class="topictitle1">ALM-12041 Incorrect Permission on Key Files</h1>
|
|
<div id="body34348483"><div class="section" id="ALM-12041__s19cc37a409aa4bd694d71622ab60001a"><h4 class="sectiontitle">Description</h4><p id="ALM-12041__en-us_topic_0070543616_p31363207">The system checks whether the permission, user, and user group information about critical directories or files is normal every 5 minutes. This alarm is generated when the information is abnormal.</p>
|
|
<p id="ALM-12041__en-us_topic_0070543616_p13833415">This alarm is cleared when the information becomes normal.</p>
|
|
</div>
|
|
<div class="section" id="ALM-12041__s31a94c53b2eb49e491db76428ba8487c"><h4 class="sectiontitle">Attribute</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-12041__en-us_topic_0070543616_table46764862" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-12041__en-us_topic_0070543616_row3894347"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.1"><p id="ALM-12041__en-us_topic_0070543616_p47006691">Alarm ID</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.2"><p id="ALM-12041__en-us_topic_0070543616_p49445640">Alarm Severity</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.3"><p id="ALM-12041__en-us_topic_0070543616_p45673889">Auto Clear</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ALM-12041__en-us_topic_0070543616_row8597527"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.1 "><p id="ALM-12041__en-us_topic_0070543616_p25311057">12041</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.2 "><p id="ALM-12041__en-us_topic_0070543616_p36929719">Major</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.3 "><p id="ALM-12041__en-us_topic_0070543616_p38517299">Yes</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ALM-12041__s2c0e3cea5a70449bac745c4f6f3c5835"><h4 class="sectiontitle">Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-12041__en-us_topic_0070543616_table32893482" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-12041__en-us_topic_0070543616_row62521132"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.1"><p id="ALM-12041__en-us_topic_0070543616_p31046898">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.2"><p id="ALM-12041__en-us_topic_0070543616_p31770809">Meaning</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ALM-12041__row104888561512"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12041__p192431315431">Source</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12041__p692551319435">Specifies the cluster or system for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-12041__en-us_topic_0070543616_row23298728"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12041__en-us_topic_0070543616_p8148840">ServiceName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12041__en-us_topic_0070543616_p56076321">Specifies the service name for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-12041__en-us_topic_0070543616_row34924842"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12041__en-us_topic_0070543616_p10339914">RoleName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12041__en-us_topic_0070543616_p32226678">Specifies the role name for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-12041__en-us_topic_0070543616_row21604653"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12041__en-us_topic_0070543616_p5146455">HostName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12041__en-us_topic_0070543616_p14209730">Specifies the object (host ID) for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-12041__en-us_topic_0070543616_row60778711"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-12041__en-us_topic_0070543616_p24128582">PathName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-12041__en-us_topic_0070543616_p8258121">Specifies the path or name of the abnormal file.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ALM-12041__sa7ca1b2b65694ea7bc5f899bfb251f8f"><h4 class="sectiontitle">Impact on the System</h4><p id="ALM-12041__en-us_topic_0070543616_p64928073">System functions are unavailable.</p>
|
|
</div>
|
|
<div class="section" id="ALM-12041__s40c63dc25cc84bfc9e3241365ab0f0bd"><h4 class="sectiontitle">Possible Causes</h4><p id="ALM-12041__p1177141835411">The file permission is abnormal or the file is lost due to a user manually modified information such as the file permission, user, and user group, or the system is powered off unexpectedly.</p>
|
|
</div>
|
|
<div class="section" id="ALM-12041__s97497fe5175042fc8f02531ea6f82aa1"><h4 class="sectiontitle">Procedure</h4><p class="tableheading" id="ALM-12041__en-us_topic_0070543616_p53128798"><strong id="ALM-12041__b5076943711011">Check whether the abnormal file exists and whether the permission on the abnormal file is correct.</strong></p>
|
|
<ol id="ALM-12041__ol5738633911023"><li id="ALM-12041__li4564192111014"><span>On the FusionInsight Manager portal, choose <strong id="ALM-12041__b2744094511014">O&M > Alarm<strong id="ALM-12041__b27872374104950"> > Alarms</strong></strong>.</span></li><li id="ALM-12041__li5407306011014"><span>Check the value of <strong id="ALM-12041__b812410911014">HostName</strong> to obtain the host name involved in this alarm. Check the value of <strong id="ALM-12041__b600811711014">PathName</strong> to obtain the path or name of the abnormal file.</span></li><li id="ALM-12041__li1784176011014"><span>Log in to the node for which the alarm is generated as user <strong id="ALM-12041__b1689549811014">root</strong>. <span id="ALM-12041__text43649449460"></span></span></li><li id="ALM-12041__li2193450211014"><span>Run the <strong id="ALM-12041__b2635812011014">ll </strong><em id="ALM-12041__i3589648911014">pathName</em> command, where <em id="ALM-12041__i5463295011014">pathName</em> indicates the name of the abnormal file to obtain the user, permission, and user group information about the file or directory.</span></li><li id="ALM-12041__li1834285111014"><a name="ALM-12041__li1834285111014"></a><a name="li1834285111014"></a><span>Go to <strong id="ALM-12041__b6319279611014">${BIGDATA_HOME}/om-agent/nodeagent/etc/agent/autocheck</strong> directory. Then run the <strong id="ALM-12041__b3186425611014">vi keyfile</strong> command and search for the name of the abnormal file and check the due permission of the file.</span><p><div class="note" id="ALM-12041__note21303849111810"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ALM-12041__p32947381111823">To ensure proper configuration synchronization between the active and standby OMS servers, files, directories, and files and sub-directories in the directories configured in <strong id="ALM-12041__b28090979111823">$OMS_RUN_PATH/workspace/ha/module/hasync/plugin/conf/filesync.xml </strong>will also be monitored except files and directories in <strong id="ALM-12041__b51492227111823">keyfile</strong>. User <strong id="ALM-12041__b60776860111823">omm </strong>must have read and write permissions of files and read and execute permissions of directories.</p>
|
|
</div></div>
|
|
</p></li><li id="ALM-12041__li937595411014"><span>Compare the real-world permission of the file with the due permission obtained in <a href="#ALM-12041__li1834285111014">5</a> and correct the permission, user, and user group information for the file.</span></li><li id="ALM-12041__li75110811014"><span>Wait a hour and check whether the alarm is cleared.</span><p><ul class="subitemlist" id="ALM-12041__ul4392001111014"><li id="ALM-12041__li1727472911014">If yes, no further action is required.</li><li id="ALM-12041__li5707578411014">If no, go to <a href="#ALM-12041__li1068683211014">8</a>.</li></ul>
|
|
<div class="note" id="ALM-12041__note50974664111832"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ALM-12041__p22323065111841">If the disk partition where the cluster installation directory resides is used up, some temporary files will be generated in the program installation directory when running the <strong id="ALM-12041__b66689858111841">sed</strong> command fails. Users do not have the read, write, and execute permissions of these temporary files. The system reports an alarm indicating that permissions of temporary files are abnormal if these files are within the monitoring range of the alarm. Perform the preceding alarm handling processes to clear the alarm. Alternatively, you can directly delete the temporary files after confirming that files with abnormal permissions are temporary. The temporary file generated after a <strong id="ALM-12041__b63337813111841">sed</strong> command execution failure is similar to the following.</p>
|
|
</div></div>
|
|
<p class="subitemlist" id="ALM-12041__p132194544418"><span><img id="ALM-12041__image13221252114113" src="en-us_image_0269383855.jpg"></span></p>
|
|
</p></li></ol>
|
|
<p class="tableheading" id="ALM-12041__p5973578011014"><strong id="ALM-12041__b120539411028">Collect fault information.</strong></p>
|
|
<ol start="8" id="ALM-12041__ol6667694311030"><li id="ALM-12041__li1068683211014"><a name="ALM-12041__li1068683211014"></a><a name="li1068683211014"></a><span>On the FusionInsight Manager portal, choose <strong id="ALM-12041__b675997211014">O&M</strong> > <strong id="ALM-12041__b6083974911014">Log > Download</strong>.</span></li><li id="ALM-12041__li5465607911014"><span>Select <strong id="ALM-12041__b2907263111014">NodeAgent</strong> from the <strong id="ALM-12041__b6032708911014">Service</strong> and click <strong id="ALM-12041__b3991118545">OK</strong>.</span></li><li id="ALM-12041__li1145664103113"><span>Click <span><img id="ALM-12041__image1945644173117" src="en-us_image_0269383856.png"></span> in the upper right corner, and set <strong id="ALM-12041__b6456941173117">Start Date</strong> and <strong id="ALM-12041__b11456154113318">End Date</strong> for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click <strong id="ALM-12041__b13456164113319">Download</strong>.</span></li><li id="ALM-12041__li495644512588"><span>Contact the <span id="ALM-12041__text4614151421417">O&M personnel</span> and send the collected log information.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="ALM-12041__section1529716184534"><h4 class="sectiontitle">Alarm Clearing</h4><p id="ALM-12041__p4677152685316">After the fault is rectified, the system automatically clears this alarm.</p>
|
|
</div>
|
|
<div class="section" id="ALM-12041__se412130f5804478682e4033a07e24342"><h4 class="sectiontitle">Related Information</h4><p id="ALM-12041__en-us_topic_0070543616_p23767697">None</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1298.html">Alarm Reference (Applicable to MRS 3.x)</a></div>
|
|
</div>
|
|
</div>
|
|
|