什么是 orradiag_<user>文件夹?

what is oradiag_lt;usergt; folder?(什么是 orradiag_lt;usergt;文件夹?)
本文介绍了什么是 orradiag_<user>文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装 Zend 框架后,我在我的 Linux 文件夹层次结构中看到了这些.

I see these in the my Linux folder hierarchy after installing the Zend Framework.

/oradiag_root/
/user/myuser/oradiag_myuser/
/user/myuser/oradiag_root/

这个名字让我想起了甲骨文.但是我没有找到任何有关此的官方文档.

This name reminds me of Oracle. But I did not find any official documentation about this.

我没有安装任何 Oracle 服务器.这是怎么回事?

I didn't install any Oracle server. What's going on here?

推荐答案

我从来没有在我的系统上安装过 Oracle,也不知道为什么这些目录一直被创建,但我终于设法阻止它们再次出现.这是它的完成方式.

I never installed Oracle on my system and don't know why these directories kept being created, but I finally managed to stop them from reappearing. Here's how it's done.

首先,前往:

cd ~/odiag_<用户名>/diag/clients/user_<用户名>/host_*/trace/

然后

head sqlnet.log

您应该会看到一条错误消息,抱怨目录不存在用于 r/w.对我来说,它是 /usr/lib/log.我创建了它抱怨的目录并删除了 odiag_<username> 目录,只是让它稍后重新出现;但是,sqlnet.log 文件现在抱怨不同的目录.

You should see an error message complaining about a directory not existing for r/w. For me, it was /usr/lib/log. I created the directory it was complaining about and deleted the oradiag_<username> directory, only to have it reappear later; however, the sqlnet.log file was now complaining about a different directory.

我重复了几次创建目录的过程,直到目录最终停止出现.在您的情况下,目录可能不同,但这是为我解决的问题:

I repeated this process of creating directories a few times until the directory finally stopped appearing. In your case, the directories may be different, but here's what solved it for me:

sudo mkdir /usr/lib/log/diag/clients
sudo chmod 777 /usr/lib/log/diag/clients

显然,只有 clients 目录需要是 777.

Only the clients directory needs to be 777, apparently.

现在只需清除当前出现的 odiag_ 目录.他们不应该再次为您弹出.

Now just wipe out the oradiag_<username> directories wherever they currently appear. They shouldn't pop up for you again.

如果您好奇,以下是最终写入丢失"目录的内容:

In case you're curious, here's what finally ended up being written to that "missing" directory:

mike@mike-ubuntu:/usr/lib/log/diag/clients$ ll -a
total 8
drwxrwxrwx 2 root root 4096 2011-08-24 10:34 .
drwxr-xr-x 3 root root 4096 2011-08-24 10:34 ..

太棒了.

这篇关于什么是 orradiag_&lt;user&gt;文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

SQL to Generate Periodic Snapshots from Transactions Table(用于从事务表生成定期快照的SQL)
MyBatis support for multiple databases(MyBatis支持多个数据库)
Oracle 12c SQL: Missing column Headers in result(Oracle 12c SQL:结果中缺少列标题)
SQL query to find the number of customers who shopped for 3 consecutive days in month of January 2020(查询2020年1月连续购物3天的客户数量)
How to get top 10 data weekly (This week, Previous week, Last month, 2 months ago, 3 month ago)(如何每周获取前十大数据(本周、前一周、上个月、2个月前、3个月前))
Select the latest record for an Id per day - Oracle pl sql(选择每天ID的最新记录-Oracle pl SQL)