容器技术交流

 找回密码
 立即注册
查看: 5649|回复: 7

阿里云安装lum失败,提示pgsql错误。求诊断。谢谢

[复制链接]
发表于 2012-7-21 16:00:02 | 显示全部楼层 |阅读模式
本帖最后由 ivan_li 于 2012-7-21 16:01 编辑


购买了阿里云经济A型云服务器。按照lum的一键安装输入了 wget http://down.zijidelu.org/zijidelu_install.sh; chmod 740 zijidelu_install.sh; ./zijidelu_install.sh -y

第一次出现下图情况:


然后按照帖子修改
http://www.zijidelu.org/forum.php?mod=viewthread&tid=46904
1.修改 vim /etc/yum.conf
2.exclude=kernel*  取消这个*号
3.yum update


修改后,就出现一下情况。
图1  大图链接:http://photo.blog.sina.com.cn/photo/a00ae96dgc55242e6fd46


图2  大图链接:http://photo.blog.sina.com.cn/photo/a00ae96dgc5524300e86d


图3  大图链接:http://photo.blog.sina.com.cn/photo/a00ae96dgfb5369cec682


这3个图片是连续的。


求各位诊断一下和寻求解决方案。谢谢!
发表于 2012-7-21 16:11:12 | 显示全部楼层
你不要引用其它站点的图片,无法查看!
发表于 2012-7-22 09:11:48 | 显示全部楼层
你用的系统是不是红帽子。如果还不行,可以联系我。我安装过很多次,要具体看一下是怎么回事。

有时与源有关系,或者是DNS,或者有些组件没有安装。
发表于 2012-7-22 20:01:48 | 显示全部楼层
make[1]: Entering y `/home/wo/zijidelu_install/LuNamp/soft/postgresql-9.1.1/src'
/usr/local/make/bin/make -C port install
make[2]: Entering y `/home/wo/zijidelu_install/LuNamp/soft/postgresql-9.1.1/src/port'
/usr/local/make/bin/make -C ../backend submake-errcodes
make[3]: Entering y `/home/wo/zijidelu_install/LuNamp/soft/postgresql-9.1.1/src/backend'
make[3]: *** No rule to make target `utils/errcodes.txt', needed by `utils/errcodes.h'.  Stop.
make[3]: Leaving y `/home/wo/zijidelu_install/LuNamp/soft/postgresql-9.1.1/src/backend'
make[2]: *** [submake-errcodes] Error 2
make[2]: Leaving y `/home/wo/zijidelu_install/LuNamp/soft/postgresql-9.1.1/src/port'
make[1]: *** [install-port-recurse] Error 2
make[1]: Leaving y `/home/wo/zijidelu_install/LuNamp/soft/postgresql-9.1.1/src'
make: *** [install-src-recurse] Error 2
groupadd: group 'postgres' already exists
useradd: user 'postgres' already exists
sh: /usr/local/pgsql/bin/initdb: not found
sh: /usr/local/pgsql/bin/pg_ctl: not found
sh: /usr/local/pgsql/bin/pg_ctl: not found
./pgsql/pgsql.sh: 71: /usr/local/pgsql/bin/createdb: not found

PgSQL数据导入不成功,可能是数据库没启动,或者是PgSQL没安装成功,请重装一次试试!
PgSQL data was not imported!



PgSQL 安装不成功!停止安装LuNamp2.5
PgSQL is not installed! Stop to install .

=======================================

是不是这个错误?
发表于 2012-7-22 20:12:38 | 显示全部楼层
用rpm
发表于 2012-7-22 21:51:14 | 显示全部楼层
Debian 的。测试各种没办法了。不知道需要哪些环境。没办法了。

只要下载个 centos
 楼主| 发表于 2012-7-26 12:17:46 | 显示全部楼层
谢谢爱洞的热心帮助。已经安装成功
发表于 2012-7-29 02:59:34 | 显示全部楼层
我记得是去掉 -y 然后手动回车安装成功的  linode上也是这样
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-14 23:52 , Processed in 0.041472 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表