Thanks for your response, Simon.
I checked the directory, and it didn't exist.
I tred to re-make it by myself, and one.pid can be re-generated, but the lock file still disappear.
It shows:
Error: Cannot start oned, opening lock file /var/lock/one/one
I tried to rebuild a blank lock file named one, unfortunately it didn't work.
Any guide?
Jeff

于 2012年11月19日 11:14, Simon Boulet 写道:

Hi Jeff,

On Nov 18, 2012 9:37 PM, "任英杰" <re...@neusoft.com <mailto:re...@neusoft.com>> wrote:
>
> hi all,
> I met across a poweroff accidentally, when I restart one daemon, error
> occurs:
>
> $ one start
> /usr/bin/one: line 141: /var/run/one/oned.pid: No such file or directory
> /usr/bin/one: line 154: /var/run/one/sched.pid: No such file or directory
> Error: Cannot start oned, opening lock file /var/lock/one/one
> cat: /var/run/one/oned.pid: No such file or directory
> cat: /var/run/one/sched.pid: No such file or directory
>

Does the /var/run/one directory exists?

Simon


---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. ---------------------------------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to