Sendmail problems solved, Now settings changing on reboot.

Ken Schweigert yellowdog-general@lists.terrasoftsolutions.com
Tue Aug 6 13:37:01 2002


On Tue, Aug 06, 2002 at 02:36:11PM -0400, Paul Guba wrote:
> OK I figured it out its not a sendmail problem at all.  When I start or 
> restart the system the DNS setting revert back to the original settings 
> when I configured the machine.  The server is now running as a DNS so I 
> changed the settings to 127.0.0.1 and 192.168.2.3.  These get lost each 
> time the machine restarts.  I stopped named and sendmail changed to the 
> correct setting and restarted named and sendmail and all is well.  So 
> the new question is why is this happening?  Today I changed the setting 
> in K,system,network window.  Where is the actual text file that contain 
> this info?  Why would it be changing on restart?

Check the contents of your /etc/sysconfig/network-scripts/ifcfg-eth0 and
see if you have entries for DNS1= and/or DNS2=.  If they have values,
remove them and just put them in /etc/resolv.conf  This one bit me once
and I wasted more time than I care to admit tracking it down.

HTH

-ken

> 
> > I have had sendmail working nicely for many months.  Recently I had to 
> > shutdown the server due to power outages.  There is a battery backup 
> > and I was there to preform an graceful shutdown.  When I restarted the 
> > localhost dns settings had changed.  I reset that but I found that 
> > sendmail is no longer working.  It will send mail to localhost but 
> > nothing outside server and relay does not work.  DNS seems fine and all 
> > other services working as well Http, Ftp, Ssh.  In the mail log there 
> > is this message " NOQUEUE: [66.114.66.188] did not issue 
> > MAIL/EXPN/VRFY/ETRN during connection to MTA"
> > Any ideas?
> >
> > System is:
> > 8500 G3 400
> > YDL 2.1 stock kernel and package.
> > Older version I know but was working very smoothly.
> >
> > P Guba
> >
> > _______________________________________________
> > yellowdog-general mailing list
> > yellowdog-general@lists.terrasoftsolutions.com
> > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> >
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> 

-- 
-Ken Schweigert, Padawan Network Administrator
Byte Productions, LLC
http://www.byte-productions.com