×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

只在HP UX 发生的奇怪问题,那位给个建议?

运行
curl -v -0 http://www.google.ca
* About to connect() to www.google.ca:80
Pid 15602 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz.
Segmentation fault (core dumped)

环境是
HP-UX Pender B.11.11 U 9000/785 2016223922 unlimited-user license

在windows 和solaris执行都很正常,只在HP上才发生,而且没有好的解决方法.

网上搜到的解决方法一般有两种:
1. 去掉补丁PHCO_26124. 我用swlist没有看到这个补丁,swremove也没找到此补丁;
2. 修改核心参数maxssiz. 此方式需要编译内核.这台机子数据很多,不太敢下手(是否是在/etc/conf/master.d/core-hpux修改).

几个问题请教:
1. 那里可以找到UX 11.11的最新补丁集?
2. 编译内核危险吗?别搞死了恢复不了就麻烦了.
3. 那位达人碰到过此问题并且有解决方案?

非常感谢!
Report

Replies, comments and Discussions:

  • 工作学习 / 专业技术讨论 / 只在HP UX 发生的奇怪问题,那位给个建议?
    运行
    curl -v -0 http://www.google.ca
    * About to connect() to www.google.ca:80
    Pid 15602 received a SIGSEGV for stack growth failure.
    Possible causes: insufficient memory or swap space,
    or stack size exceeded maxssiz.
    Segmentation fault (core dumped)

    环境是
    HP-UX Pender B.11.11 U 9000/785 2016223922 unlimited-user license

    在windows 和solaris执行都很正常,只在HP上才发生,而且没有好的解决方法.

    网上搜到的解决方法一般有两种:
    1. 去掉补丁PHCO_26124. 我用swlist没有看到这个补丁,swremove也没找到此补丁;
    2. 修改核心参数maxssiz. 此方式需要编译内核.这台机子数据很多,不太敢下手(是否是在/etc/conf/master.d/core-hpux修改).

    几个问题请教:
    1. 那里可以找到UX 11.11的最新补丁集?
    2. 编译内核危险吗?别搞死了恢复不了就麻烦了.
    3. 那位达人碰到过此问题并且有解决方案?

    非常感谢!
    • 还有,我不知道怎么编译内核啊,谁知道?
    • 请进
      1. 那里可以找到UX 11.11的最新补丁集?
      在www.itrc.hp.com里面下载,需要注册

      2. 编译内核危险吗?别搞死了恢复不了就麻烦了.
      用sam来做比较保险。做之前先用tape做一个make_tape_recovery就不用怕

      3. 那位达人碰到过此问题并且有解决方案?
      你有root吗?跑个vgscan看看?还有swapinfo,如果有glance,再跑个glance -m
      • 1. 已经注册,明天下载安装后再来汇报(是否下载最近的一个版本就可以?)。 2. 没有tape。能否做一个象ghost那样的镜像做备份? 3. 没有glance. 哪里有免费的下载?其他状态明天奉上。 非常感谢。有什么建议请不吝赐教。
        • 1. yes. 2. no. 3. free的试用版在software.hp.com有,用glance做关键字搜索
      • vgscan和swapinfo的结果,c0t0d0设备好象有问题
        本文发表在 rolia.net 枫下论坛[root@Pender /]#
        [root@Pender /]# vgscan -p -v
        vgscan: The physical volume "/dev/dsk/c3t5d0" is already recorded in the "/etc/lvmtab" file.
        vgscan: The physical volume "/dev/dsk/c3t6d0" is already recorded in the "/etc/lvmtab" file.
        Couldn't stat physical volume "/dev/dsk/c0t0d0":
        Invalid argument


        /dev/vg00
        /dev/dsk/c3t5d0
        /dev/dsk/c3t6d0


        [root@Pender /]# vgscan -v
        vgscan: The physical volume "/dev/dsk/c3t5d0" is already recorded in the "/etc/lvmtab" file.
        vgscan: The physical volume "/dev/dsk/c3t6d0" is already recorded in the "/etc/lvmtab" file.
        Couldn't stat physical volume "/dev/dsk/c0t0d0":
        Invalid argument


        /dev/vg00
        /dev/dsk/c3t5d0
        /dev/dsk/c3t6d0


        Scan of Physical Volumes Complete.
        [root@Pender /]#
        [root@Pender /]# vgdisplay
        --- Volume groups ---
        VG Name /dev/vg00
        VG Write Access read/write
        VG Status available
        Max LV 255
        Cur LV 11
        Open LV 11
        Max PV 16
        Cur PV 2
        Act PV 2
        Max PE per PV 4350
        VGDA 4
        PE Size (Mbytes) 8
        Total PE 6510
        Alloc PE 5393
        Free PE 1117
        Total PVG 0
        Total Spare PVs 0
        Total Spare PVs in use 0

        [root@Pender /]# vgdisplay -v
        --- Volume groups ---
        VG Name /dev/vg00
        VG Write Access read/write
        VG Status available
        Max LV 255
        Cur LV 11
        Open LV 11
        Max PV 16
        Cur PV 2
        Act PV 2
        Max PE per PV 4350
        VGDA 4
        PE Size (Mbytes) 8
        Total PE 6510
        Alloc PE 5393
        Free PE 1117
        Total PVG 0
        Total Spare PVs 0
        Total Spare PVs in use 0

        --- Logical volumes ---
        LV Name /dev/vg00/lvol1
        LV Status available/syncd
        LV Size (Mbytes) 304
        Current LE 38
        Allocated PE 38
        Used PV 1

        LV Name /dev/vg00/lvol2
        LV Status available/syncd
        LV Size (Mbytes) 2048
        Current LE 256
        Allocated PE 256
        Used PV 1

        LV Name /dev/vg00/lvol3
        LV Status available/syncd
        LV Size (Mbytes) 200
        Current LE 25
        Allocated PE 25
        Used PV 1

        LV Name /dev/vg00/lvol4
        LV Status available/syncd
        LV Size (Mbytes) 200
        Current LE 25
        Allocated PE 25
        Used PV 1

        LV Name /dev/vg00/lvol5
        LV Status available/syncd
        LV Size (Mbytes) 32
        Current LE 4
        Allocated PE 4
        Used PV 1

        LV Name /dev/vg00/lvol6
        LV Status available/syncd
        LV Size (Mbytes) 1560
        Current LE 195
        Allocated PE 195
        Used PV 1

        LV Name /dev/vg00/lvol7
        LV Status available/syncd
        LV Size (Mbytes) 2248
        Current LE 281
        Allocated PE 281
        Used PV 1

        LV Name /dev/vg00/lvol8
        LV Status available/syncd
        LV Size (Mbytes) 2552
        Current LE 319
        Allocated PE 319
        Used PV 1

        LV Name /dev/vg00/lvol9
        LV Status available/syncd
        LV Size (Mbytes) 2000
        Current LE 250
        Allocated PE 250
        Used PV 1

        LV Name /dev/vg00/lvol10
        LV Status available/syncd
        LV Size (Mbytes) 10000
        Current LE 1250
        Allocated PE 1250
        Used PV 1

        LV Name /dev/vg00/lvol11
        LV Status available/syncd
        LV Size (Mbytes) 22000
        Current LE 2750
        Allocated PE 2750
        Used PV 2


        --- Physical volumes ---
        PV Name /dev/dsk/c3t6d0
        PV Status available
        Total PE 4340
        Free PE 0
        Autoswitch On

        PV Name /dev/dsk/c3t5d0
        PV Status available
        Total PE 2170
        Free PE 1117
        Autoswitch On


        [root@Pender /]#
        [root@Pender /]#更多精彩文章及讨论,请光临枫下论坛 rolia.net
        • c0t0d0应该关系不大。你strings -a /etc/lvmtab看看它在不在?还有ioscan -fnCdisk,看看在不在,是不是NO_HW。还没看见你的swapinfo output
      • 非常感谢,已经解决.其实是软件包未装全呼,重装了openssl,libicon,zlib,libidn,curl等一堆东西后就okay了.总之,非常感谢,以后还要多请教.
        • u r welcome. 解决问题就好,其实我也没帮上什么忙 :-)