PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, November 10, 2022

[FIXED] How to recreate deleted diagnostic directory for grid user (oradiag_grid)

 November 10, 2022     linux, oracle, redhat     No comments   

Issue

I deleted a diagnostic folder named "oradiag_grid" which was automatically created when the "grid" user was created (for Oracle Grid Infrastructure user). Below is the command used in creating the grid user account:

/usr/sbin/useradd -u 54331 -g oinstall -G dba,asmdba,backupdba,dgdba,kmdba,racdba grid

Below is the path of the directory that was deleted:

/home/grid/oradiag_grid

Here are the what it contains: .../oradiag_grid/diag/asmtool/user_grid/host__110

Uderneath /host__110, you get the following directories:

alert, cdump, incident, incpkg, lck, log, metadata, metadata_dgif, metadata_pv, stage, sweep, trace

I've searched but can't find an answer; is there a command to recreate this directories with it's sub-directories? I can't simply recreate it as the host_ten digit number_110 is system generated.


Solution

Grid Control should create the directory structure automatically when needed. So as long as /home/grid is writable by root and grid users, the directory should be created.



Answered By - Fat P
Answer Checked By - Willingham (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing