Chinaunix首页 | 论坛 | 博客
  • 博客访问: 24604
  • 博文数量: 3
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 35
  • 用 户 组: 普通用户
  • 注册时间: 2013-07-24 12:25
文章分类
文章存档

2015年(1)

2014年(2)

我的朋友

分类: 虚拟化

2014-08-16 09:08:31

1.>ONE_AUTH file not found

[root@V-test one]# find / -name one_auth
/var/lib/one/.one/one_auth
解决方法:
[root@V-test one]# export ONE_AUTH="/var/lib/one/.one/one_auth"

2.>centos 6.4网桥设置失败报错如下:

原网卡eth0: Connection activation failed: Master connection not found or invalid
bridge网卡br0:Conncetion activation failed: Failed to determine connection’s virtual interface name

解决方法:
[root@V-test one]# chkconfig NetworkManager off  
[root@V-test one]# chkconfig –-levels 35 network on  
[root@V-test one]# /etc/init.d/NetworkManager stop  
[root@V-test one]# /etc/init.d/network restart  

3.>[root@V-test one]# onedatastore update 1

Editor not defined
这是因为如下原因,CentOS默认vi位置是/bin/vi
[root@V-test one]# grep -i editor_path= /usr/lib/one/ruby/cli/one_helper.rb
EDITOR_PATH='/usr/bin/vi'

解决方法:
[root@V-test one]# ln -s /bin/vi /usr/bin/vi

4.>[root@open1 ~]# onedatastore list 

/usr/lib/one/ruby/opennebula/client.rb:117:in `initialize': ONE_AUTH file not present (RuntimeError)
        from /usr/lib/one/ruby/cli/one_helper.rb:373:in `new'
        from /usr/lib/one/ruby/cli/one_helper.rb:373:in `get_client'
        from /usr/lib/one/ruby/cli/one_helper.rb:431:in `set_client'
        from /usr/bin/onedatastore:41
        from /usr/lib/one/ruby/cli/command_parser.rb:445:in `call'
        from /usr/lib/one/ruby/cli/command_parser.rb:445:in `run'
        from /usr/lib/one/ruby/cli/command_parser.rb:76:in `initialize'
        from /usr/bin/onedatastore:34:in `new'
        from /usr/bin/onedatastore:34

解决方法:
[root@nebula ~]# vi  /root/.bash_profile 
export ONE_AUTH=/var/lib/one/.one/one_auth

5.>[E]: [UserPoolInfo] User couldn't be authenticated, aborting call.

解决方法:
[root@open1 lib]# /usr/share/one/install_gems sunstone
阅读(2739) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:github常用操作

给主人留下些什么吧!~~