- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Very strange problem on RH 8.0 server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 08:56 PM
07-01-2004 08:56 PM
Very strange problem on RH 8.0 server
I'm a newby on this forum so please excuse me if I'm using it not correct.
I have the strangest problem on my Linux server with RH 8.0 (2.4.20-24.8).
problem is that after the latest reboot my sendmail won't work anymore. After two days of forum browsing, I'm complete lost right now.
So I hope someone here can help.
Here are some details about the problem.
I installed the lastest sendmail version by the book. Sendmail starts normally but it can't connect to localhost.
A telnet gives the following result
[root@server mail]# telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
A netstat also shows no port 25 at all.
[root@server mail]# netstat -an | grep LISTEN
tcp 0 0 0.0.0.0:199 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
I included the sendmail.cf file, which is completely standard ,since it is a fresh install.
I already changed the Daemon Options in the sendmail.cf file, but with no results.
Hope someone can help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 09:11 PM
07-01-2004 09:11 PM
Re: Very strange problem on RH 8.0 server
To start, check the /etc/mail/access file and make sure localhost is allowed to relay mail.
Then rebuild the sendmail.cf file from macros. This is laid out on the http://www.sendmail.org site and many of my prior posts.
For diagnostics:
sendmail -v -d8 -d38 someone@some.net
type some text
.
The diagnostics will be helpful.
The service sendmail is not running, but you still should be able to send mail.
Just in case you disabled the daemon
chkconfig --level 12345 sendmail on
service sendmail start
See if it remains running.
SEP
Jerusalem
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 09:19 PM
07-01-2004 09:19 PM
Re: Very strange problem on RH 8.0 server
[root@server mail]# sendmail -v -d8 -d38 test@test.nl
blabla
.
test@test.nl... Connecting to [127.0.0.1] via relay...
test@test.nl... Deferred: Connection refused by [127.0.0.1]
I also looked in my access file which looks like this :
# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
Problem is that the sendmail service starts up nicely and runs right now. It only complains in the maillog about a refused connection.
Jul 2 11:18:14 server sm-msp-queue[9786]: i619Dk6g020390: to=s,test@hebbizz.nl, ctladdr=root (0/0), delay=1+00:04:28, xdelay=00:00:00, mailer=relay, pri=9060044, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 10:31 PM
07-01-2004 10:31 PM
Re: Very strange problem on RH 8.0 server
Did you check your sendmail service working. check with chkconfig.
netstat is showing that your sendmail is not working. It is not showing the LISTEN state on *:25 port.
Did you try to your hostname with 25. Is your sendmail working for other hostname's.
It may be the service startup problem. see the syslog and mail.log file to analyse the problem.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 10:50 PM
07-01-2004 10:50 PM
Re: Very strange problem on RH 8.0 server
Check if you have some definition that blockes connection there.
Could be iptables,hosts.deny/hosts.allow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 11:26 PM
07-01-2004 11:26 PM
Re: Very strange problem on RH 8.0 server
Jul 2 13:11:46 server sendmail[17307]: alias database /etc/mail/aliases rebuilt by root
Jul 2 13:11:46 server sendmail[17307]: /etc/mail/aliases: 53 aliases, longest 100 bytes, 1139 bytes total
Jul 2 13:11:46 server sm-msp-queue[17314]: starting daemon (8.13.0): queueing@00:30:00
Jul 2 13:11:46 server sm-msp-queue[17322]: starting daemon (8.13.0): queueing@00:30:00
When running, I do a ps -ef | grep sendmail and get this :
smmsp 17314 1 0 13:11 ? 00:00:00 sendmail: Queue runner@00:30:00
root 17322 1 0 13:11 ? 00:00:00 sendmail: Queue runner@00:30:00
root 17968 471 0 13:23 pts/2 00:00:00 grep sendmail
On my other machine there are more sendmail processes , like this.
root 30537 1 0 13:10 ? 00:00:00 sendmail: accepting connections
smmsp 30546 1 0 13:10 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 30608 30451 0 13:23 pts/0 00:00:00 grep sendmail
So I suppose the sendmail daemon is not running at all, explaining the connect failures. Well this raises the following question. Why won't sendmail startup ?
Meanwhile I also installed a version of Postfix on the system, leaving me with the same problem. very weird.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 11:53 PM
07-01-2004 11:53 PM
Re: Very strange problem on RH 8.0 server
The log file and ps command is telling that,sendmail process ID 17307 is not running.
sendmail process id is stored in /etc/mail/sendmail.pid.
I think the problem may be because of sendmail.sf file. Stop the sendmail service and analyse the sendmail.cf file.
I am not much experienced in setting sendmail.cf file. But the problem may be because of the config file.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 12:24 AM
07-02-2004 12:24 AM
Re: Very strange problem on RH 8.0 server
have gone through your sendmail.cf..
Why don't you think of defining your hostname (FQDN) in your sendmail.cf just after the Dj$w.
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 01:05 AM
07-02-2004 01:05 AM
Re: Very strange problem on RH 8.0 server
Part of the problem is that this sendmail configuration did work. I rebooted the machine last day and now it's not working anymore. This is what me frustrates so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 01:41 AM
07-02-2004 01:41 AM
Re: Very strange problem on RH 8.0 server
why don't u edit the sendmail.mc and think of recreating the sendmail.cf from the scratch. or if you have a backup of sendmail.cf, that could also help
with best wishes
Naveej