Find the answer to your Linux question:
Results 1 to 7 of 7
Hi. I got a red hat installation running named . The problem started about 3 and a half months ago. It was working fine since forever. Now, it's all working ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User sheds's Avatar
    Join Date
    Nov 2004
    Location
    ??????????
    Posts
    342

    Red Hat stalling


    Hi. I got a red hat installation running named. The problem started about 3 and a half months ago. It was working fine since forever. Now, it's all working slow and that causes, i think, named to stop resolving. I have cleared logs in /var/log to see if it's a disk full problem, so far, i don't think thats the MAIN problem. I also ran top, and to my surprise, there's a process called 'sendmail' that appears like 20 times in the same window when running top. I researched about sendmail, but the info is just not near enough for me to troubleshoot.

    Another interesting thing is that maillog is still getting filled by messages regarding sendmail. I stopped the service using this steps:
    # service sendmail stop
    # chkconfig --level 12345 sendmail off
    I would think that the second step there would stop the service from running, but somehow it is still being invoked by another. At least that's what it seems. So, what i would like to do next is to figure out why is it still running as some kind of background job. I guess it's running as a bg job, taking into account that sendmail does not appear in the list when typing the 'top' command.

  2. #2
    Linux User
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    401
    Probably another service is configured to send an email on certain situations...
    ...sendmail was doing its job, so you must find the program sending all that emails.

    You can start stoping some service, for exluding some...

    Now I ask you: why you run named and sendmail?
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (http://counter.li.org)

  3. #3
    Linux User sheds's Avatar
    Join Date
    Nov 2004
    Location
    ??????????
    Posts
    342
    I didn't put sendmail to work. Um, only named is supposed to be working on that server. I don't see the reason why sendmail should be sending all that junk. Let me put the maillog lines there so you can have a look at what it's doing.

    Oct 28 10:55:01 TSERVR10 sendmail[21493]: k9SGt1tM021493: from=root, size=775, class=0, nrcpts=1, msgid=<200610281655.k9SGt1tM021493@localhost.local domain>, relay=root@localhost
    Oct 28 10:55:01 TSERVR10 sendmail[21493]: k9SGt1tM021493: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30242, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Oct 28 10:55:07 TSERVR10 sendmail[21505]: k9SGt78Q021505: from=root, size=284, class=0, nrcpts=1, msgid=<200610281655.k9SGt78Q021505@localhost.local domain>, relay=root@localhost
    Oct 28 10:55:07 TSERVR10 sendmail[21505]: k9SGt78Q021505: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30245, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Oct 28 10:56:00 TSERVR10 sendmail[21515]: k9SGu0ph021515: from=root, size=775, class=0, nrcpts=1, msgid=<200610281656.k9SGu0ph021515@localhost.local domain>, relay=root@localhost
    Oct 28 10:56:00 TSERVR10 sendmail[21515]: k9SGu0ph021515: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30242, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

    That's a small sample of what i see in /var/log/maillog. Hope it helps you out.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    401
    Probably sendmail is not configured, so it logs all that stuffs...

    Deferred: Connection refused by [127.0.0.1]

    Apart that, named try to notify abnormal situation sending email to the root@localhost, and this cause the logs...

    I'm not helping you much. But you have 2 possibilities:
    - setup sendmail (difficoult task, but it can be easy for local mail) for reading what named wants say... and correct situation
    - understand directly named problem...

    Now... why don't uninstall sendmail?
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (http://counter.li.org)

  6. #5
    Linux User sheds's Avatar
    Join Date
    Nov 2004
    Location
    ??????????
    Posts
    342
    Because i don't know what repercusions it may have on the system. I really don't want to mess it up, not now because i just fixed, if i can say that. I would be easier and i already know the command line instructions to do so, but i think it's better to know exactly how to configure and find out why is it logging like crazy.

  7. #6
    Linux Newbie
    Join Date
    Oct 2004
    Posts
    114

    Smile

    http://www.experts-exchange.com/Netw..._20907624.html

    Perhaps something wrong with Sendmail setting or Firewall setting.

  8. #7
    Linux User sheds's Avatar
    Join Date
    Nov 2004
    Location
    ??????????
    Posts
    342
    That experts_exchange requires you to create an account there so you can view the solutions. Nice........... not!!!!!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •