首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

奇怪的master_peer启动有关问题

2012-09-28 
奇怪的master_peer启动问题这几天在suse10下面配置oracle的enterprise manager的时候,master peer起不来,

奇怪的master_peer启动问题

这几天在suse10下面配置oracle的enterprise manager的时候,master peer起不来,在rhel3下面一点问题都没有
起来的时候出错:

    1. stat:/opt/oracle/product/9.2.0/network/snmp/peer?#?gdb?master_peer?core ??
    2. GNU?gdb?6.6??
    3. Copyright?(C)?2006?Free?Software?Foundation,?Inc. ??
    4. GDB?is?free?software,?covered?by?the?GNU?General?Public?License,?and?you?are ??
    5. welcome?to?change?it?and/or?distribute?copies?of?it?under?certain?conditions. ??
    6. Type?"show?copying"?to?see?the?conditions. ??
    7. There?is?absolutely?no?warranty?for?GDB.??Type?"show?warranty"?for?details. ??
    8. This?GDB?was?configured?as?"i586-suse-linux"... ??
    9. Using?host?libthread_db?library?"/lib/libthread_db.so.1". ??
    10. ??
    11. warning:?Can't?read?pathname?for?load?map:?Input/output?error. ??
    12. Reading?symbols?from?/lib/libc.so.6...done. ??
    13. Loaded?symbols?for?/lib/libc.so.6??
    14. Reading?symbols?from?/lib/ld-linux.so.2...done. ??
    15. Loaded?symbols?for?/lib/ld-linux.so.2??
    16. Reading?symbols?from?/lib/libnss_files.so.2...done. ??
    17. Loaded?symbols?for?/lib/libnss_files.so.2??
    18. Reading?symbols?from?/lib/libgcc_s.so.1...done. ??
    19. Loaded?symbols?for?/lib/libgcc_s.so.1??
    20. Core?was?generated?by?`./master_peer?CONFIG.master?NOV'. ??
    21. Program?terminated?with?signal?6,?Aborted. ??
    22. #0??0xffffe410?in?__kernel_vsyscall?() ??
    23. (gdb)?where ??
    24. #0??0xffffe410?in?__kernel_vsyscall?() ??
    25. #1??0xb7e058d0?in?raise?()?from?/lib/libc.so.6??
    26. #2??0xb7e06ff3?in?abort?()?from?/lib/libc.so.6??
    27. #3??0xb7e3b32b?in?__libc_message?()?from?/lib/libc.so.6??
    28. #4??0xb7e40cb1?in?malloc_printerr?()?from?/lib/libc.so.6??
    29. #5??0xb7e42314?in?free?()?from?/lib/libc.so.6??
    30. #6??0x0805cd09?in?mgmt_term_env?() ??
    31. #7??0x0804e120?in?agent_shutdown?() ??
    32. #8??0x0804b275?in?main?() ??
    33. (gdb)? ??

    进程起来的时候怎么调用了agent_shutdown 函数?

    master_peer.out显示错误:

  1. Setup?select/poll?problem:?Bad?file?descriptor ??
  2. ./master_peer:?error?processing?configuration

    在metalink下找到一个文章,需要设置把ulimit -n 2048,尝试设置成2048,还是不行,实在没办法,推出crt登陆,直接进root下,再尝试启动master_peer,居然起来了

    观察了一下,直接进root的时候ulimit -n的值是1024,而进oracle后再su到root的话,ulimit -n的值是65536,原来问题真的出在open files上面,metalink还是对的,只是suse10下面要设置1024才行,rhel3上面设置成8192都没问题

    是跟操作系统内核还是什么有关?这个open files参数起什么影响?

热点排行