My Notepad

  • My Linux Notes
  • My Grid Notes
  • To do List
  • Thursday, December 15, 2005

     
    Staring very slow at sending mail and sm-client

    The system starting up process took me ages suddently. The system hangs at "enabling swap space" for at least 2 mins, but after that, everything looks fine.
    First, modify kernel parameters to disable the graphic booting and reboot.
    Now I found that the actuall hanging starting up processes are "sending mail" and "sm-client",which probably are caused by DNS resolving.

    You can wait untill the system started up, or just login by ssh from another PC, because the kernel and sshd processes are started already.
    more /var/log/maillog
    you can see the reason clearly from the log, the reason is your domain name can't be resolved.

    Resolutions:
    need to modify following two files,
    in /etc/hosts,
    127.0.0.1 localhost.localdomain localhost
    127.0.0.1 goblin.localdomain goblin

    in /etc/sysconfig/network

    NETWORKING=yes
    HOSTNAME=goblin.localdomain

    Comments: Post a Comment



    << Home

    Archives

    December 2005   January 2006   February 2006   April 2006   May 2006   June 2006   July 2006   November 2006   February 2007   May 2007   June 2007   November 2007   February 2008   March 2008   April 2008   August 2008   December 2008   March 2009   April 2009   May 2009   June 2009   October 2009   November 2009   December 2009   May 2013  

    This page is powered by Blogger. Isn't yours?