由 liangdx 在 08-07-2003 14:13 发表:
Dns server cann't boot
below is /var/log/messages information:
Couldn't open pid file '/var/run/named.pid': permission denied
ls /var/run/named.pid
not this file
Pls help thanks. 
由 欧可侠 在 08-07-2003 17:15 发表:
错误提示无法打开named.pid,或者是权限不够。
RH的named.pid文件位于
/var/run/named/named.pid 而不是
/var/run/named.pid
改变路径,重新启动。问题解决.
如果你喜欢电脑绘图, 试用一下免费图形处理软件
----中文Pixia (http://www.delta-opt.com/pixia/)
由 Snoopy 在 08-07-2003 17:16 发表:
named.pid是什么东西来的?
我建好dns没听过这个也??
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 欧可侠 在 08-07-2003 17:24 发表:
> quote:
>
> * * *
>
> 最初由 pinksnoopy 发表
>
> **named.pid是什么东西来的?
>
>
>
> 我建好dns没听过这个也?? **
>
> * * *
Linux的内核2.2.x会出现搂住的bug.
/var/run/中的PID为扩展名的文件是说明该程序在系统中运行状况的文件。
Process ID?
作个实验:
输入以下命令: ps -aux|more 察看 named的运行参数PID.
然后 cat /var/run/named/named.pid 看看两者的数字是否一样。 
如果你喜欢电脑绘图, 试用一下免费图形处理软件
----中文Pixia (http://www.delta-opt.com/pixia/)
由 Snoopy 在 08-07-2003 17:30 发表:
作个实验:
输入以下命令: ps -aux|more 察看 named的运行参数PID.
然后 cat /var/run/named/named.pid 看看两者的数字是否一样
如果一样代表着什么呢?模糊,,,,,
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 欧可侠 在 08-07-2003 17:35 发表:
> quote:
>
> * * *
>
> 最初由 pinksnoopy 发表
>
> **作个实验:
>
> 输入以下命令: ps -aux|more 察看 named的运行参数PID.
>
> 然后 cat /var/run/named/named.pid 看看两者的数字是否一样
>
>
>
> 如果一样代表着什么呢?模糊,,,,, **
>
> * * *
如果一样就对了。不一样就出大事了。
代表 named.pid这个文件就是named这个程序在系统中运行时的PID,就是这么简单。呵呵。
如果你喜欢电脑绘图, 试用一下免费图形处理软件
----中文Pixia (http://www.delta-opt.com/pixia/)
由 Snoopy 在 08-07-2003 17:36 发表:
如果不一样可以理解成两个不同进程吗???更模糊了,,`
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 欧可侠 在 08-07-2003 17:42 发表:
> quote:
>
> * * *
>
> 最初由 pinksnoopy 发表
>
> 如果不一样可以理解成两个不同进程吗???更模糊了,,`
>
> * * *
似乎一个daemon只能有一个pid,但是进程可以有很多。例如apache.会有很多进程,httpd.pid的pid只有一个。
如果你喜欢电脑绘图, 试用一下免费图形处理软件
----中文Pixia (http://www.delta-opt.com/pixia/)
由 Snoopy 在 08-07-2003 17:46 发表:
** < **