none
安装centos虚拟机后,root用户不断收到prelink异常信息邮件 RRS feed

  • 问题

  • 从虚拟机库中选择centos6.5映像新建虚拟机,其中身份验证选择“提供密码”,区域选择“中国北部”,其他选项均为默认选项,虚拟机创建成功后,发现root用户不断收到系统异常邮件(/var/spool/mail/root),邮件内容为:

    From root@shadowthing.localdomain  Fri Jul  4 14:17:14 2014
    Return-Path: <root@shadowthing.localdomain>
    X-Original-To: root
    Delivered-To: root@shadowthing.localdomain
    Received: by shadowthing.localdomain (Postfix, from userid 0)
            id 6763B2056A; Fri,  4 Jul 2014 14:17:14 +0000 (UTC)
    From: Anacron <root@shadowthing.localdomain>
    To: root@shadowthing.localdomain
    Content-Type: text/plain; charset="ANSI_X3.4-1968"
    Subject: Anacron job 'cron.daily' on shadowthing
    Message-Id: <20140704141714.6763B2056A@shadowthing.localdomain>
    Date: Fri,  4 Jul 2014 14:17:14 +0000 (UTC)

    /etc/cron.daily/prelink:

    /etc/cron.daily/prelink: line 47:  3890 Segmentation fault      (core dumped) /usr/sbin/prelink -av $PRELINK_OPTS >> /var/log/prelink/prelink.log 2>&1

    From user@localhost.localdomain  Fri Jul  4 14:19:19 2014
    Return-Path: <user@localhost.localdomain>
    X-Original-To: root@localhost
    Delivered-To: root@localhost.localdomain
    Received: by shadowthing.localdomain (Postfix, from userid 0)
            id 058CA205AE; Fri,  4 Jul 2014 14:19:18 +0000 (UTC)
    Date: Fri, 04 Jul 2014 14:19:18 +0000
    From: user@localhost.localdomain
    To: root@localhost.localdomain
    Subject: [abrt] full crash report
    Message-ID: <53b6b7e6.haJ0apibmq5mN94l%user@localhost>
    User-Agent: Heirloom mailx 12.4 7/29/08
    MIME-Version: 1.0
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    abrt_version:   2.0.8
    cgroup:
    cmdline:        /usr/sbin/prelink -av -mR
    executable:     /usr/sbin/prelink
    kernel:         2.6.32-431.17.1.el6.x86_64
    last_occurrence: 1404483433
    pid:            3890
    pwd:            /
    time:           Fri 04 Jul 2014 02:17:13 PM UTC
    uid:            0
    username:       root

    sosreport.tar.xz: Binary file, 877652 bytes

    environ:
    :SHELL=/bin/sh
    :MAILTO=root
    :USER=root
    :PATH=/sbin:/bin:/usr/sbin:/usr/bin
    :PWD=/
    :LANG=en_US.UTF-8
    :HOME=/
    :SHLVL=6
    :START_HOURS_RANGE=3
    :LOGNAME=root
    :RANDOM_DELAY=45
    :_=/usr/sbin/prelink

    limits:
    :Limit                     Soft Limit           Hard Limit           Units
    :Max cpu time              unlimited            unlimited            seconds
    :Max file size             unlimited            unlimited            bytes
    :Max data size             unlimited            unlimited            bytes
    :Max stack size            10485760             unlimited            bytes
    :Max core file size        0                    unlimited            bytes
    :Max resident set          unlimited            unlimited            bytes
    :Max processes             26393                26393                processes
    :Max open files            1024                 4096                 files
    :Max locked memory         65536                65536                bytes
    :Max address space         unlimited            unlimited            bytes
    :Max file locks            unlimited            unlimited            locks
    :Max pending signals       26393                26393                signals
    :Max msgqueue size         819200               819200               bytes
    :Max nice priority         0                    0
    :Max realtime priority     0                    0
    :Max realtime timeout      unlimited            unlimited            us

    maps:
    :00400000-0053d000 r-xp 00000000 08:01 799182                             /usr/sbin/prelink
    :0073c000-0073f000 rw-p 0013c000 08:01 799182                             /usr/sbin/prelink
    :0073f000-00747000 rw-p 00000000 00:00 0
    :7fff4a394000-7fff4a3a9000 rw-p 00000000 00:00 0                          [stack]
    :7fff4a3ff000-7fff4a400000 r-xp 00000000 00:00 0                          [vdso]
    :ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

    open_fds:
    :0:/dev/null
    :pos:   0
    :flags: 0100000
    :1:/var/log/prelink/prelink.log
    :pos:   0
    :flags: 0102001
    :2:/var/log/prelink/prelink.log
    :pos:   0
    :flags: 0102001

    From user@localhost.localdomain  Fri Jul  4 14:20:04 2014
    Return-Path: <user@localhost.localdomain>
    X-Original-To: root@localhost
    Delivered-To: root@localhost.localdomain
    Received: by shadowthing.localdomain (Postfix, from userid 0)
            id 7D264205B2; Fri,  4 Jul 2014 14:20:04 +0000 (UTC)
    Date: Fri, 04 Jul 2014 14:20:04 +0000
    From: user@localhost.localdomain
    To: root@localhost.localdomain
    Subject: [abrt] full crash report
    Message-ID: <53b6b814.CMt/9I1K8S2BTXYe%user@localhost>
    User-Agent: Heirloom mailx 12.4 7/29/08
    MIME-Version: 1.0
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    abrt_version:   2.0.8
    cgroup:
    cmdline:        prelink -y /lib64/security/pam_krb5/pam_krb5_storetmp
    executable:     /usr/sbin/prelink
    kernel:         2.6.32-431.17.1.el6.x86_64
    last_occurrence: 1404483527
    pid:            4121
    pwd:            /var/spool/abrt/ccpp-2014-07-04-14:17:13-3890
    time:           Fri 04 Jul 2014 02:18:47 PM UTC
    uid:            0
    username:       root

    sosreport.tar.xz: Binary file, 878976 bytes

    environ:
    :ABRT_VERBOSE=0
    :TERM=linux
    :REPORT_CLIENT_SLAVE=1
    :LC_ALL=C
    :PATH=/sbin:/usr/sbin:/bin:/usr/bin
    :_=/bin/rpm
    :runlevel=3
    :RUNLEVEL=3
    :PWD=/var/spool/abrt/ccpp-2014-07-04-14:17:13-3890
    :LANGSH_SOURCED=1
    :LANG=en_US.UTF-8
    :previous=N
    :PREVLEVEL=N
    :ABRT_SYSLOG=1
    :CONSOLETYPE=serial
    :SHLVL=5
    :DUMP_DIR=/var/spool/abrt/ccpp-2014-07-04-14:17:13-3890
    :UPSTART_INSTANCE=
    :UPSTART_EVENTS=runlevel
    :EVENT=post-create
    :UPSTART_JOB=rc

    limits:
    :Limit                     Soft Limit           Hard Limit           Units
    :Max cpu time              unlimited            unlimited            seconds
    :Max file size             unlimited            unlimited            bytes
    :Max data size             unlimited            unlimited            bytes
    :Max stack size            10485760             unlimited            bytes
    :Max core file size        0                    unlimited            bytes
    :Max resident set          unlimited            unlimited            bytes
    :Max processes             26393                26393                processes
    :Max open files            1024                 4096                 files
    :Max locked memory         65536                65536                bytes
    :Max address space         unlimited            unlimited            bytes
    :Max file locks            unlimited            unlimited            locks
    :Max pending signals       26393                26393                signals
    :Max msgqueue size         819200               819200               bytes
    :Max nice priority         0                    0
    :Max realtime priority     0                    0
    :Max realtime timeout      unlimited            unlimited            us

    maps:
    :00400000-0053d000 r-xp 00000000 08:01 799182                             /usr/sbin/prelink
    :0073c000-0073f000 rw-p 0013c000 08:01 799182                             /usr/sbin/prelink
    :0073f000-00747000 rw-p 00000000 00:00 0
    :7fff96366000-7fff9637b000 rw-p 00000000 00:00 0                          [stack]
    :7fff963ff000-7fff96400000 r-xp 00000000 00:00 0                          [vdso]
    :ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

    open_fds:
    :0:pipe:[16163]
    :pos:   0
    :flags: 00
    :1:pipe:[21120]
    :pos:   0
    :flags: 01
    :2:pipe:[21109]
    :pos:   0
    :flags: 01

    From user@localhost.localdomain  Fri Jul  4 14:20:49 2014
    Return-Path: <user@localhost.localdomain>
    X-Original-To: root@localhost
    Delivered-To: root@localhost.localdomain
    Received: by shadowthing.localdomain (Postfix, from userid 0)
            id 8FF4E205B2; Fri,  4 Jul 2014 14:20:49 +0000 (UTC)
    Date: Fri, 04 Jul 2014 14:20:49 +0000
    From: user@localhost.localdomain
    To: root@localhost.localdomain
    Subject: [abrt] full crash report
    Message-ID: <53b6b841.1+IO+tvvIQ1j+kdt%user@localhost>
    User-Agent: Heirloom mailx 12.4 7/29/08
    MIME-Version: 1.0
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    abrt_version:   2.0.8
    cgroup:
    cmdline:        prelink -y /usr/lib64/perl5/CORE/libperl.so
    executable:     /usr/sbin/prelink
    kernel:         2.6.32-431.17.1.el6.x86_64
    last_occurrence: 1404483547
    pid:            4147
    pwd:            /var/spool/abrt/ccpp-2014-07-04-14:17:13-3890
    time:           Fri 04 Jul 2014 02:19:07 PM UTC
    uid:            0
    username:       root

    sosreport.tar.xz: Binary file, 879612 bytes

    environ:
    :ABRT_VERBOSE=0
    :TERM=linux
    :REPORT_CLIENT_SLAVE=1
    :LC_ALL=C
    :PATH=/sbin:/usr/sbin:/bin:/usr/bin
    :_=/bin/rpm
    :runlevel=3
    :RUNLEVEL=3
    :PWD=/var/spool/abrt/ccpp-2014-07-04-14:17:13-3890
    :LANGSH_SOURCED=1
    :LANG=en_US.UTF-8
    :previous=N
    :PREVLEVEL=N
    :ABRT_SYSLOG=1
    :CONSOLETYPE=serial
    :SHLVL=5
    :DUMP_DIR=/var/spool/abrt/ccpp-2014-07-04-14:17:13-3890
    :UPSTART_INSTANCE=
    :UPSTART_EVENTS=runlevel
    :EVENT=post-create
    :UPSTART_JOB=rc

    limits:
    :Limit                     Soft Limit           Hard Limit           Units
    :Max cpu time              unlimited            unlimited            seconds
    :Max file size             unlimited            unlimited            bytes
    :Max data size             unlimited            unlimited            bytes
    :Max stack size            10485760             unlimited            bytes
    :Max core file size        0                    unlimited            bytes
    :Max resident set          unlimited            unlimited            bytes
    :Max processes             26393                26393                processes
    :Max open files            1024                 4096                 files
    :Max locked memory         65536                65536                bytes
    :Max address space         unlimited            unlimited            bytes
    :Max file locks            unlimited            unlimited            locks
    :Max pending signals       26393                26393                signals
    :Max msgqueue size         819200               819200               bytes
    :Max nice priority         0                    0
    :Max realtime priority     0                    0
    :Max realtime timeout      unlimited            unlimited            us

    maps:
    :00400000-0053d000 r-xp 00000000 08:01 799182                             /usr/sbin/prelink
    :0073c000-0073f000 rw-p 0013c000 08:01 799182                             /usr/sbin/prelink
    :0073f000-00747000 rw-p 00000000 00:00 0
    :7fff7da7d000-7fff7da92000 rw-p 00000000 00:00 0                          [stack]
    :7fff7db56000-7fff7db57000 r-xp 00000000 00:00 0                          [vdso]
    :ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

    open_fds:
    :0:pipe:[16163]
    :pos:   0
    :flags: 00
    :1:pipe:[21441]
    :pos:   0
    :flags: 01
    :2:pipe:[21430]
    :pos:   0
    :flags: 01

    ....

    此后的异常信息全部为:

    ....

    cmdline:        prelink -y /lib64/security/pam_krb5/pam_krb5_storetmp
    executable:     /usr/sbin/prelink

    ...

    出现问题前没有对系统进行任何修改,历史操作命令为:

        1  ll /var/spool/mail/
        2  sudo reboot
        3  ll /var/spool/mail/
        4  sudo tail -f /var/spool/mail/root 
        5  history 
        6  ll /var/spool/mail/
        7  ll -h /var/spool/mail/root 
        8  sudo vi /var/spool/mail/root 
        9  history 

    已经尝试多次,每次都会出现同样的问题,快疯掉了@!

    2014年7月4日 17:39

答案

全部回复