免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1348 | 回复: 6
打印 上一主题 下一主题

内核问题还是PostgreSQL脚本的问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-09-10 11:33 |只看该作者 |倒序浏览
  1. freebsd# su -l pgsql -c initdb
  2. The files belonging to this database system will be owned by user "pgsql".
  3. This user must also own the server process.

  4. The database cluster will be initialized with locale C.

  5. creating directory /usr/local/pgsql/data... ok
  6. creating directory /usr/local/pgsql/data/base... ok
  7. creating directory /usr/local/pgsql/data/global... ok
  8. creating directory /usr/local/pgsql/data/pg_xlog... ok
  9. creating directory /usr/local/pgsql/data/pg_clog... ok
  10. creating template1 database in /usr/local/pgsql/data/base/1... Bad system call (
  11. core dumped)

  12. initdb failed.
  13. Removing /usr/local/pgsql/data.
  14. freebsd#

  15. freebsd /kernel: cmd postgres pid 772 tried to use non-present SYSVESM
复制代码


该怎么办,请高人指点,谢谢。

论坛徽章:
5
荣誉会员
日期:2011-11-23 16:44:17CU大牛徽章
日期:2013-09-18 15:15:15CU大牛徽章
日期:2013-09-18 15:15:45未羊
日期:2014-02-25 14:37:19射手座
日期:2014-12-26 22:55:37
2 [报告]
发表于 2003-09-10 14:42 |只看该作者

内核问题还是PostgreSQL脚本的问题?

Bad system call!!!
这么夸张,你cvsup了内核?
那个版本的内核?

论坛徽章:
0
3 [报告]
发表于 2003-09-10 17:35 |只看该作者

内核问题还是PostgreSQL脚本的问题?

原帖由 "wolfop" 发表:
Bad system call!!!
这么夸张,你cvsup了内核?
那个版本的内核?
   

FB 4.8啊,后来听人讲不要更新(不稳定?),可是那个时候我已经更新了,晕啊,怎么办,怎么办?我是说我的PostgreSQL怎么办?

论坛徽章:
0
4 [报告]
发表于 2003-09-10 17:40 |只看该作者

内核问题还是PostgreSQL脚本的问题?

再更新一次
后面又做过修补了

论坛徽章:
0
5 [报告]
发表于 2003-09-10 18:38 |只看该作者

内核问题还是PostgreSQL脚本的问题?

原帖由 "jedi-k" 发表:
再更新一次
后面又做过修补了
   

知道我上次花了多长时间吗,从早上一直弄到晚上十一点,唉~,既然只能这样那就重来吧

论坛徽章:
0
6 [报告]
发表于 2003-09-10 21:49 |只看该作者

内核问题还是PostgreSQL脚本的问题?

真的是内核的问题,编缉/boot/defaults/loader.conf,恢复为原来的内核,PostgreSQL initdb成功。

最终我还是打算再做一次内核编译,可能是我把内核的什么东东禁止了,具体是什么不清楚。


参考:zyme的贴子
……
http://chinaunix.net/forum/viewt ... &highlight=内核

论坛徽章:
0
7 [报告]
发表于 2003-09-11 09:20 |只看该作者

内核问题还是PostgreSQL脚本的问题?

原帖由 "孔" 发表:

该怎么办,请高人指点,谢谢。
   

options          SYSVSHM             #SYSV-style shared memory
This option provides for System V shared memory. The most common use of this is the XSHM extension in X, which many graphics-intensive programs will automatically take advantage of for extra speed. If you use X, you will definitely want to include this.

options          SYSVSEM             #SYSV-style semaphores
Support for System V semaphores. Less commonly used but only adds a few hundred bytes to the kernel.

options          SYSVMSG             #SYSV-style message queues
Support for System V messages. Again, only adds a few hundred bytes to the kernel.


特别感谢PostgreSQL中文站站长laser的帮助。
www.pgsqldb.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP