I am building a new server. It will be a temporary firewall of sorts. I am well into the config, made a lot of changes; almost ready to set it up in the target networks, but now.... The system hangs trying to start sendmail. I was thinking hard about disabling sendmail, but thought I needed it for internal functions, so did not. yet. So is there someway to get the system working so I can change something like disable sendmail? The system has no cdrom, diskette, etc. In fact the kybd/monitor require a special temp setup. Perhaps I can edit the kernel line in grub to disable something? If necessary, I can pull the drive and put it in a system that does support cdrom. That is the way I did the initial harddrive install.
At startup, you will see a message that say Press I to run in interactive mode, there you can reject starting sendmail when you are prompted. On Dec 27, 2007 10:03 AM, Robert Moskowitz <rgm at htt-consult.com> wrote:> I am building a new server. It will be a temporary firewall of sorts. > > I am well into the config, made a lot of changes; almost ready to set it > up in the target networks, but now.... > > The system hangs trying to start sendmail. I was thinking hard about > disabling sendmail, but thought I needed it for internal functions, so > did not. yet. > > So is there someway to get the system working so I can change something > like disable sendmail? > > The system has no cdrom, diskette, etc. In fact the kybd/monitor > require a special temp setup. Perhaps I can edit the kernel line in > grub to disable something? > > If necessary, I can pull the drive and put it in a system that does > support cdrom. That is the way I did the initial harddrive install. > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20071227/0a2f9fef/attachment-0002.html>
Robert Moskowitz wrote:> I am building a new server. It will be a temporary firewall of sorts. > > I am well into the config, made a lot of changes; almost ready to set it > up in the target networks, but now.... > > The system hangs trying to start sendmail. I was thinking hard about > disabling sendmail, but thought I needed it for internal functions, so > did not. yet. > > So is there someway to get the system working so I can change something > like disable sendmail?sendmail is waiting for dns resolution of its hostname/name. Fix that and it will not 'hang'. Or just wait for the dns queries to timeout (could take a while...i cannot remember...5 mins?)
Robert Moskowitz
2007-Dec-27 15:19 UTC
Solved - Re: [CentOS] boot hangs on trying to start sendmail
After a wait of about 5 min, the boot moved on to hang on sm-client. When that finally timed out, I was able to log in. The problem was indirectly DNS. When I had configured the 2nd interface (which I added in the last reboot), I included a gateway address. Then when I booted, there were two interfaces each with their gateway address. Well the second (non-existant) one was used, so no access to the DNS server. It is those beartraps you know about that get you every time. replies-lists-a1z2-centos at listmail.innovate.net wrote:> the sendmail hang is generally a dns issue -- sendmail is trying to > resolve the hostname. it will timeout past this after a bit. having > the appropriate entries in /etc/hosts should resolve this. > > > - Rick > > > ------------ Original Message ------------ > >> Date: Thursday, December 27, 2007 10:03:52 AM -0500 >> From: Robert Moskowitz <rgm at htt-consult.com> >> To: CentOS mailing list <centos at centos.org> >> Subject: [CentOS] boot hangs on trying to start sendmail >> >> I am building a new server. It will be a temporary firewall of >> sorts. >> >> I am well into the config, made a lot of changes; almost ready to >> set it up in the target networks, but now.... >> >> The system hangs trying to start sendmail. I was thinking hard >> about disabling sendmail, but thought I needed it for internal >> functions, so did not. yet. >> >> So is there someway to get the system working so I can change >> something like disable sendmail? >> >> The system has no cdrom, diskette, etc. In fact the kybd/monitor >> require a special temp setup. Perhaps I can edit the kernel line >> in grub to disable something? >> >> If necessary, I can pull the drive and put it in a system that does >> support cdrom. That is the way I did the initial harddrive install. >> >> > > > ---------- End Original Message ---------- > > >
Ed Donahue wrote:> At startup, you will see a message that say Press I to run in > interactive mode, there you can reject starting sendmail when you are > prompted.Now this is something to add to my Linux support/admin notes. THANKS!> > On Dec 27, 2007 10:03 AM, Robert Moskowitz < rgm at htt-consult.com > <mailto:rgm at htt-consult.com>> wrote: > > I am building a new server. It will be a temporary firewall of > sorts. > > I am well into the config, made a lot of changes; almost ready to > set it > up in the target networks, but now.... > > The system hangs trying to start sendmail. I was thinking hard about > disabling sendmail, but thought I needed it for internal > functions, so > did not. yet. > > So is there someway to get the system working so I can change > something > like disable sendmail? > > The system has no cdrom, diskette, etc. In fact the kybd/monitor > require a special temp setup. Perhaps I can edit the kernel line in > grub to disable something? > > If necessary, I can pull the drive and put it in a system that does > support cdrom. That is the way I did the initial harddrive install. > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org <mailto:CentOS at centos.org> > http://lists.centos.org/mailman/listinfo/centos > > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Ed Donahue wrote:> At startup, you will see a message that say Press I to run in > interactive mode, there you can reject starting sendmail when you are > prompted.Now this is something to add to my Linux support/admin notes. THANKS!> > On Dec 27, 2007 10:03 AM, Robert Moskowitz < rgm at htt-consult.com > <mailto:rgm at htt-consult.com>> wrote: > > I am building a new server. It will be a temporary firewall of > sorts. > > I am well into the config, made a lot of changes; almost ready to > set it > up in the target networks, but now.... > > The system hangs trying to start sendmail. I was thinking hard about > disabling sendmail, but thought I needed it for internal > functions, so > did not. yet. > > So is there someway to get the system working so I can change > something > like disable sendmail? > > The system has no cdrom, diskette, etc. In fact the kybd/monitor > require a special temp setup. Perhaps I can edit the kernel line in > grub to disable something? > > If necessary, I can pull the drive and put it in a system that does > support cdrom. That is the way I did the initial harddrive install. > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org <mailto:CentOS at centos.org> > http://lists.centos.org/mailman/listinfo/centos > > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Joshua Gimer wrote:> Make sure that the system has an entry for itself in /etc/hosts. This > will allow the system to boot up even if DNS is unavailable.It was there, but the host name only. Not the FQDN. I KNEW that.... Ya know, it really doesn't help knowing the insides of all those RFCs. The time sitting with Vixie, Mockapetris and others at an IETF bar. When it comes down to it, you just have to do the work and dot those Is and cross those Ts.> > Josh > > On Dec 27, 2007, at 8:29 AM, Robert Moskowitz wrote: > >> Ed Donahue wrote: >>> At startup, you will see a message that say Press I to run in >>> interactive mode, there you can reject starting sendmail when you >>> are prompted. >> Now this is something to add to my Linux support/admin notes. >> >> THANKS! >>> >>> On Dec 27, 2007 10:03 AM, Robert Moskowitz < rgm at htt-consult.com >>> <mailto:rgm at htt-consult.com>> wrote: >>> >>> I am building a new server. It will be a temporary firewall of >>> sorts. >>> >>> I am well into the config, made a lot of changes; almost ready to >>> set it >>> up in the target networks, but now.... >>> >>> The system hangs trying to start sendmail. I was thinking hard about >>> disabling sendmail, but thought I needed it for internal >>> functions, so >>> did not. yet. >>> >>> So is there someway to get the system working so I can change >>> something >>> like disable sendmail? >>> >>> The system has no cdrom, diskette, etc. In fact the kybd/monitor >>> require a special temp setup. Perhaps I can edit the kernel line in >>> grub to disable something? >>> >>> If necessary, I can pull the drive and put it in a system that does >>> support cdrom. That is the way I did the initial harddrive install. >>> >>> >>> _______________________________________________ >>> CentOS mailing list >>> CentOS at centos.org <mailto:CentOS at centos.org> >>> http://lists.centos.org/mailman/listinfo/centos >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> CentOS mailing list >>> CentOS at centos.org >>> http://lists.centos.org/mailman/listinfo/centos >>> >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> http://lists.centos.org/mailman/listinfo/centos > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >