我是一名学生,正在为Apache CloudStack搭建研究环境。我在那里我需要设置数据库的设置。当我运行下面的命令它卡在"处理加密"。我试着在网上找,但没有找到任何帮助。
[root@csman /]# cloudstack-setup-databases cloud:abbas123@127.0.0.1 --deploy-as=root:nimda123
Mysql user name:cloud [ OK ]
Mysql user password:****** [ OK ]
Mysql server ip:127.0.0.1 [ OK ]
Mysql server port:3306 [ OK ]
Mysql root user name:root [ OK ]
Mysql root user password:****** [ OK ]
Checking Cloud database files ... [ OK ]
Checking local machine hostname ... [ OK ]
Checking SELinux setup ... [ OK ]
Detected local IP address as 192.168.56.12, will use as cluster management server node IP[ OK ]
Preparing /etc/cloudstack/management/db.properties [ OK ]
Applying /usr/share/cloudstack-management/setup/create-database.sql [ OK ]
Applying /usr/share/cloudstack-management/setup/create-schema.sql [ OK ]
Applying /usr/share/cloudstack-management/setup/create-database-premium.sql [ OK ]
Applying /usr/share/cloudstack-management/setup/create-schema-premium.sql [ OK ]
Applying /usr/share/cloudstack-management/setup/server-setup.sql [ OK ]
Applying /usr/share/cloudstack-management/setup/templates.sql [ OK ]
Processing encryption ... ^CTraceback (most recent call last):
File "/usr/bin/cloudstack-setup-databases", line 604, in <module>
o.run()
File "/usr/bin/cloudstack-setup-databases", line 593, in run
self.processEncryptionStuff()
File "/usr/bin/cloudstack-setup-databases", line 419, in processEncryptionStuff
encryptDBPassword()
File "/usr/bin/cloudstack-setup-databases", line 408, in encryptDBPassword
self.putDbProperty('db.cloud.password', formatEncryptResult(encrypt(dbPassword)))
File "/usr/bin/cloudstack-setup-databases", line 392, in encrypt
return runCmd(cmd).strip('rn')
File "/usr/bin/cloudstack-setup-databases", line 49, in runCmd
stdout, stderr = process.communicate()
File "/usr/lib64/python2.6/subprocess.py", line 732, in communicate
stdout, stderr = self._communicate(input, endtime)
File "/usr/lib64/python2.6/subprocess.py", line 1328, in _communicate
stdout, stderr = self._communicate_with_poll(input, endtime)
File "/usr/lib64/python2.6/subprocess.py", line 1400, in _communicate_with_poll
ready = poller.poll(self._remaining_time(endtime))
KeyboardInterrupt
如果还需要其他信息,请让我知道。我真的是新的,不知道需要做什么来解决这个问题。非常感谢您的帮助
不确定哪个配置出错了。如果你没有遵循帖子中提到的任何步骤,你可以按照以下步骤发帖吗?
http://www.cloudometry.in/2015/03/apache-cloudstack-implementation-step_96.html是否在虚拟环境中部署?