Solved

help sendmail stopped working

Posted on 2000-03-16
4
212 Views
Last Modified: 2010-03-18
Recently we had to run fcsk on one of your drives and now sendmail does not seem to want to run.

When i try to telnet to port 25 it says connection refused, when I try and get the status this is what I get:

students.canadorec.on.ca: [~/sendmail-8.9.3] {36} /etc/rc.d/init.d/sendmail status
sendmail dead but subsys locked

any ideas how to fix it or where to look, is there a log file somewhere?
0
Comment
Question by:tsingy
4 Comments
 

Expert Comment

by:owld
ID: 2626518
Just do it:
#rm /var/lock/subsys/sendmail
#rm /var/run/sendmail.pid
#/etc/rc.d/init.d/sendmail restart

Hope this help.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2626531
Why don't you just try runing sendmail from the command line and see what it complains about (and tell me what it says). Try "/usr/lib/sendmail -bd -q1h". Also you want to check the syslog messages in /var/log/messages for errors.
0
 
LVL 2

Accepted Solution

by:
mapc earned 200 total points
ID: 2631918
First check in /var/log/maillog (it's generally in linux)
Otherwise edit /etc/syslog.conf and add there:
mail.debug /var/log/maillog
touch /var/log/maillog
(or mail.info)
if it's solaris, then change log to adm.
Then kill -1 pid-of-syslog
After that try /etc/init.d/sendmail stop
/etc/init.d/sendmail start for solaris
of /etc/rc.d/init.d/sendmail stop
/etc/rc.d/init.d/sendmail start on linux like redhat.
Then, go back to /var/log/maillog and see what it says.
Perhaps some of the files is damaged.
It will give you some clue.
and, do what owld said, it doesn't hurt.
0
 
LVL 1

Expert Comment

by:Sokka
ID: 2646251
This could be due to file corruption:-

1. put ps aux to see the staus of the process(telnetd) SW S- Sleeping and W- swapped out
2. if telnetd daemon is not there just check mingetty are running
3.then try to restart the telnetd process
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now