cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 伍乙生 <wuy...@mail.sysu.edu.cn>
Subject Re: 回复: 刚安装好的cs 4.0.2用初始账号密码登录时提示用户或密码无效
Date Thu, 02 May 2013 10:34:50 GMT
谢谢!执行一下 cloud-setup-management 后,日志没有报错,能正常登陆了。

Best regards

---------------------------------
伍乙生

中山大学网络与信息技术中心
电话:(+86-20) 8403 7775
传真:(+86-20) 8403 6772
移动电话:13560175491
Email: wuyish@mail.sysu.edu.cn

地址: 广州市新港西路135号
邮编: 510275

----- 原始邮件 -----
发件人: "zanghongtu2006" <zanghongtu2006@gmail.com>
收件人: "users-cn" <users-cn@cloudstack.apache.org>
发送时间: 星期四, 2013年 5 月 02日 下午 2:30:39
主题: 回复: 刚安装好的cs 4.0.2用初始账号密码登录时提示用户或密码无效

执行一下 cloud-setup-management 试试




zanghongtu2006

发件人: 伍乙生
发送时间: 2013-05-02 12:40
收件人: users-cn
主题: 刚安装好的cs 4.0.2用初始账号密码登录时提示用户或密码无效
以下是日志:
2013-05-02 12:02:21,402 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso
in /usr/lib/cloud/common/vms/systemvm.iso
2013-05-02 12:02:21,402 DEBUG [cloud.server.ConfigurationServerImpl] (main:null) Executing:
/usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh /var/lib/cloud/management/.ssh/id_rsa.pub
/var/lib/cloud/management/.ssh/id_rsa /usr/lib/cloud/common/vms/systemvm.iso 
2013-05-02 12:02:21,465 DEBUG [cloud.server.ConfigurationServerImpl] (main:null) Exit value
is 5
2013-05-02 12:02:21,465 DEBUG [cloud.server.ConfigurationServerImpl] (main:null) sudo: no
tty present and no askpass program specifiedSorry, try again.sudo: no tty present and no askpass
program specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry,
try again.sudo: 3 incorrect password attemptsmkdir: cannot create directory `/systemvm_mnt':
Permission deniedsudo: no tty present and no askpass program specifiedSorry, try again.sudo:
no tty present and no askpass program specifiedSorry, try again.sudo: no tty present and no
askpass program specifiedSorry, try again.sudo: 3 incorrect password attemptsinjectkeys.sh:
Failed to mount original iso /usr/lib/cloud/common/vms/systemvm.isosudo: no tty present and
no askpass program specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: 3 incorrect
password attemptssudo: no tty present and no askpass program specifiedSorry, try again.sudo:
no tty present and no askpass program specifiedSorry, try again.sudo: no tty present and no
askpass program specifiedSorry, try again.sudo: 3 incorrect password attemptsinjectkeys.sh:
Failed to backup original iso /usr/lib/cloud/common/vms/systemvm.isosudo: no tty present and
no askpass program specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: 3 incorrect
password attemptssudo: no tty present and no askpass program specifiedSorry, try again.sudo:
no tty present and no askpass program specifiedSorry, try again.sudo: no tty present and no
askpass program specifiedSorry, try again.sudo: 3 incorrect password attemptsinjectkeys.sh:
Failed to copy from original iso /usr/lib/cloud/common/vms/systemvm.isosudo: no tty present
and no askpass program specifiedSorry, try again.sudo: no tty present and no askpass program
specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry, try
again.sudo: 3 incorrect password attemptssudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: no tty
present and no askpass program specifiedSorry, try again.sudo: 3 incorrect password attemptsinjectkeys.sh:
Failed to copy key /var/lib/cloud/management/.ssh/id_rsa.pub from original iso to new iso
sudo: no tty present and no askpass program specifiedSorry, try again.sudo: no tty present
and no askpass program specifiedSorry, try again.sudo: no tty present and no askpass program
specifiedSorry, try again.sudo: 3 incorrect password attemptssudo: no tty present and no askpass
program specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: 3 incorrect
password attemptsinjectkeys.sh: Failed to unmount old iso from /systemvm_mnt
2013-05-02 12:02:21,465 WARN  [cloud.server.ConfigurationServerImpl] (main:null) Failed to
inject generated public key into systemvm iso sudo: no tty present and no askpass program
specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry, try
again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: 3 incorrect
password attemptsmkdir: cannot create directory `/systemvm_mnt': Permission deniedsudo: no
tty present and no askpass program specifiedSorry, try again.sudo: no tty present and no askpass
program specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry,
try again.sudo: 3 incorrect password attemptsinjectkeys.sh: Failed to mount original iso /usr/lib/cloud/common/vms/systemvm.isosudo:
no tty present and no askpass program specifiedSorry, try again.sudo: no tty present and no
askpass program specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry,
try again.sudo: 3 incorrect password attemptssudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: no tty
present and no askpass program specifiedSorry, try again.sudo: 3 incorrect password attemptsinjectkeys.sh:
Failed to backup original iso /usr/lib/cloud/common/vms/systemvm.isosudo: no tty present and
no askpass program specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: 3 incorrect
password attemptssudo: no tty present and no askpass program specifiedSorry, try again.sudo:
no tty present and no askpass program specifiedSorry, try again.sudo: no tty present and no
askpass program specifiedSorry, try again.sudo: 3 incorrect password attemptsinjectkeys.sh:
Failed to copy from original iso /usr/lib/cloud/common/vms/systemvm.isosudo: no tty present
and no askpass program specifiedSorry, try again.sudo: no tty present and no askpass program
specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry, try
again.sudo: 3 incorrect password attemptssudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: no tty
present and no askpass program specifiedSorry, try again.sudo: 3 incorrect password attemptsinjectkeys.sh:
Failed to copy key /var/lib/cloud/management/.ssh/id_rsa.pub from original iso to new iso
sudo: no tty present and no askpass program specifiedSorry, try again.sudo: no tty present
and no askpass program specifiedSorry, try again.sudo: no tty present and no askpass program
specifiedSorry, try again.sudo: 3 incorrect password attemptssudo: no tty present and no askpass
program specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: 3 incorrect
password attemptsinjectkeys.sh: Failed to unmount old iso from /systemvm_mnt
2013-05-02 12:02:21,467 ERROR [cloud.servlet.CloudStartupServlet] (main:null) Exception starting
management server 
com.cloud.utils.exception.CloudRuntimeException: Failed to inject generated public key into
systemvm iso sudo: no tty present and no askpass program specifiedSorry, try again.sudo: no
tty present and no askpass program specifiedSorry, try again.sudo: no tty present and no askpass
program specifiedSorry, try again.sudo: 3 incorrect password attemptsmkdir: cannot create
directory `/systemvm_mnt': Permission deniedsudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: no tty
present and no askpass program specifiedSorry, try again.sudo: 3 incorrect password attemptsinjectkeys.sh:
Failed to mount original iso /usr/lib/cloud/common/vms/systemvm.isosudo: no tty present and
no askpass program specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: 3 incorrect
password attemptssudo: no tty present and no askpass program specifiedSorry, try again.sudo:
no tty present and no askpass program specifiedSorry, try again.sudo: no tty present and no
askpass program specifiedSorry, try again.sudo: 3 incorrect password attemptsinjectkeys.sh:
Failed to backup original iso /usr/lib/cloud/common/vms/systemvm.isosudo: no tty present and
no askpass program specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: 3 incorrect
password attemptssudo: no tty present and no askpass program specifiedSorry, try again.sudo:
no tty present and no askpass program specifiedSorry, try again.sudo: no tty present and no
askpass program specifiedSorry, try again.sudo: 3 incorrect password attemptsinjectkeys.sh:
Failed to copy from original iso /usr/lib/cloud/common/vms/systemvm.isosudo: no tty present
and no askpass program specifiedSorry, try again.sudo: no tty present and no askpass program
specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry, try
again.sudo: 3 incorrect password attemptssudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: no tty
present and no askpass program specifiedSorry, try again.sudo: 3 incorrect password attemptsinjectkeys.sh:
Failed to copy key /var/lib/cloud/management/.ssh/id_rsa.pub from original iso to new iso
sudo: no tty present and no askpass program specifiedSorry, try again.sudo: no tty present
and no askpass program specifiedSorry, try again.sudo: no tty present and no askpass program
specifiedSorry, try again.sudo: 3 incorrect password attemptssudo: no tty present and no askpass
program specifiedSorry, try again.sudo: no tty present and no askpass program specifiedSorry,
try again.sudo: no tty present and no askpass program specifiedSorry, try again.sudo: 3 incorrect
password attemptsinjectkeys.sh: Failed to unmount old iso from /systemvm_mnt

Mime
View raw message