首先,我在ubuntu终端上使用ssh登录到我的应用程序。
然后尝试使用sudo apt-get install beanstalkd安装它。
但结果是:
test.rhcloud.com 123]\> sudo apt-get install beanstalkd
bash: /usr/bin/sudo: Permission denied然后,我发现我应该使用yum命令来安装软件包,因此尝试了以下方法,并得到了如下结果:
test.rhcloud.com 123]\> su -c 'yum install beanstalkd'
bash: /bin/su: Permission denied也尝试过这样做:
test.rhcloud.com 123]\> yum install beanstalkd
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:
Error: rpmdb open failed使用yum的任何命令都会导致相同的错误。
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:
Error: rpmdb open failed我在我的Laravel 4.2应用程序中使用Beanstalkd队列。
发布于 2016-05-04 19:06:48
您无法将软件包安装到openshift设备上,您最好的机会是:
此外,beanstalkd是一个必须安装在主机上的工作队列,这非常不幸,因为您不能在openshift平台上的其他设备上运行它。
https://stackoverflow.com/questions/37018106
复制相似问题