什么是oradiag_< user>夹? [英] what is oradiag_<user> folder?

查看:5015
本文介绍了什么是oradiag_< user>夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

此名称提醒我的Oracle。但是我没有找到关于这个的官方文档。



我没有安装任何Oracle服务器。

解决方案

我从来没有在我的系统上安装Oracle,不知道为什么这些目录不断被创建,我终于设法阻止他们再次出现。以下是如何完成。



首先,转到:



cd〜/ oradiag_< username> / diag / clients / user_< username> / host _ * / trace /



然后



head sqlnet.log



您应该会看到一个错误消息,抱怨一个目录不存在r / w。对我来说,它是 / usr / lib / log 。我创建了它正在抱怨的目录,并删除了 oradiag_< username> 目录,只有以后再次出现;然而,sqlnet.log文件现在抱怨不同的目录。



我重复了几次创建目录的过程,直到目录终止停止显示。在你的情况下,目录可能不同,但这是为我解决的:

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

显然,只有客户端目录需要为777。



现在只需将 oradiag_< username> 目录,无论他们目前在哪里出现。他们不应该再次弹出来。



如果你好奇,最后最后写到那个丢失的目录:

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

辉煌。


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.

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

解决方案

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.

First, head over to:

cd ~/oradiag_<username>/diag/clients/user_<username>/host_*/trace/

and then

head 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

Only the clients directory needs to be 777, apparently.

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 ..

Brilliant.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆