[one-users] The STAT flag of Host is Error.

Tuan Le Doan tuan.fetk52 at gmail.com
Wed Oct 3 00:43:14 PDT 2012


Hi CyD,

This is the output:

[oneadmin at centoshost Desktop]$ ls -lArth /var/lib/one/.ssh/config
-rw-rw-r--. 1 oneadmin oneadmin 33 Sep 24 15:35 /var/lib/one/.ssh/config

Do you know how can i do to fix it?

Thanks.
2012/10/3 Duverne, Cyrille <cyrille.duverne at euranova.eu>

> Hello Tuan,
>
> Could you send the output of : " ls -lArth /var/lib/one/.ssh/config "
>
> I suspect you didn't chown -R the directory.
>
> Kind regards
> CyD
>
> Blog : http://blog.cduverne.com
> Twitter : @CydsWorld
>
> "Imagination is more important than Knowledge"
> Albert Einstein
>
>
>
> Mercredi 03/10/2012 à 6:58 Tuan Le Doan a écrit:
>
>
> Dear all,
>
>
> I have installed Opennebula 3.6 and KVM successful on single machine
> (CentOS 6.3).
>
> But when I add host and run “onehost list” command, the state of host is
> error.
>
> I checked the log file and saw “Bad owner or permisions on
> /var/lib/one/.ssh/config” message.
>
>
> So I think my error is the password less connection to host was lost.
>
> I tried to change permission of /var/lib/one to oneadmin user with “sudo
> chown oneadmin:oneadmin /var/lib/one” but it’s still error.
>
> I couldn’t create SSH key for oneadmin because of “Bad owner or permisions
> on /var/lib/one/.ssh/config” error.
>
>
> Anyone can help me to fix it?
>
>
> Regards.
>
> --
> *Le Doan Tuan-----------------------------------------------------*
> Undergraduate Student of School of Electronics & Telecommunications.
> Hanoi University of Science & Technology
> Tel    : +84 987 248 215
> Yahoo: ledoantuan1
> Skype: ledoantuan1
>
>


-- 
*Le Doan Tuan-----------------------------------------------------*
Undergraduate Student of School of Electronics & Telecommunications.
Hanoi University of Science & Technology
Tel    : +84 987 248 215
Yahoo: ledoantuan1
Skype: ledoantuan1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121003/5e2f984c/attachment-0002.htm>


More information about the Users mailing list