LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2014, 09:37 PM   #1
nad4
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Rep: Reputation: 0
Sendmail Failed to stop


My sendmail failed to send email,
when i was updating the time

Quote:
from sendmail.cf

# time zone handling:
# if undefined, use system default
# if defined but null, use TZ envariable passed in
# if defined and non-null, use that info
#O TimeZoneSpec=

from sendmail.mc:

define(`confTIME_ZONE', `PST8PDT')dnl
Then i restart the services
Quote:
service sendmail restart
Quote:
[root@mail ~]# service sendmail stop
Shutting down sendmail: [ OK ]
Shutting down sm-client: [FAILED]

***************************************

[root@mail ~]# tail /var/log/messages
Feb 26 18:55:01 mail crond(pam_unix)[1723]: session opened for user test by (uid=0)
Feb 26 18:55:01 mail crond(pam_unix)[1723]: session closed for user test
Feb 26 18:56:01 mail crond(pam_unix)[1730]: session opened for user test by (uid=0)
Feb 26 18:56:01 mail crond(pam_unix)[1730]: session closed for user test
Feb 26 18:57:01 mail crond(pam_unix)[1739]: session opened for user test by (uid=0)
Feb 26 18:57:01 mail crond(pam_unix)[1739]: session closed for user test
Feb 26 18:57:48 mail sendmail: sendmail shutdown succeeded
Feb 26 18:57:48 mail sendmail: sm-client shutdown failed


***************************************

[root@mail ~]# tail /var/log/maillog

Feb 26 18:59:41 mail sendmail[1856]: alias database /etc/aliases rebuilt by root
Feb 26 18:59:41 mail sendmail[1856]: /etc/aliases: 94 aliases, longest 71 bytes, 1399 bytes total
Feb 26 18:59:41 mail sendmail[1861]: starting daemon (8.13.1): SMTP+queueing@01:00:00
Feb 26 18:59:41 mail sendmail[1861]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot listen: Address already in use
Feb 26 18:59:41 mail sendmail[1861]: daemon MTA: problem creating SMTP socket
Feb 26 18:59:41 mail sm-msp-queue[1871]: starting daemon (8.13.1): queueing@01:00:00
i think the error occurs when i edit the sendmail.cf and sendmail.mc are still running.

i just follow this steps. but still i cannot send.
 
Old 03-09-2014, 11:50 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Quote:
Originally Posted by nad4 View Post
Code:
Feb 26 18:59:41 mail sendmail[1861]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot listen: Address already in use
Kill the process and ensure it's dead before starting it again.


Quote:
Originally Posted by nad4 View Post
Code:
Feb 26 18:55:01 mail crond(pam_unix)[1723]: session opened for user test by (uid=0)
Please do not create a user called "test" on 'net-facing systems. It makes no sense (you can test stuff with any unprivileged user) plus it almost often implies sloppy security as in way too weak credentials and forgetting to restrict access, disable and remove the account afterwards.


Quote:
Originally Posted by nad4 View Post
i just follow this steps.
Please note that thread was from a decade ago and never saw any replies.


//NTLB
 
Old 03-10-2014, 09:18 PM   #3
nad4
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the reply, noted all your advice. thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to stop Sendmail loading ZC1 Linux - General 1 05-13-2006 09:56 AM
how to stop spam:sendmail nabil Linux - General 6 10-21-2002 10:44 AM
how to stop spam:sendmail nabil Linux - General 3 09-10-2002 07:17 PM
How to start and stop sendmail? AMDPwred Linux - General 4 03-12-2002 12:48 PM
How to Stop Spamming in Sendmail johnlee Linux - Security 1 10-29-2001 11:28 AM


All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration