[one-users] Power is off accidentally, one daemon cant start
任英杰
renyj at neusoft.com
Sun Nov 18 19:58:45 PST 2012
hi Simon,
I also re-make the directory /var/lock/one, and set the ownership/group
to oneadmin:cloud.
It works, and I can start one daemon.
But command onehost shows that some hosts are in error status.
I enable them ,but Frontend still can't monitor hosts.
Thanks
Jeff
于 2012年11月19日 11:21, 任英杰 写道:
> 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, "任英杰" <renyj at neusoft.com
>> <mailto:renyj at 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.
---------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121119/87765fd4/attachment-0002.htm>
More information about the Users
mailing list