sendmail hangs on boot?
OK, this is random. Second time booting into 2.4.21 , and when it comes time to "Starting Sendmail: " it just hangs. This is totally random, i don't even use sendmail. I tried it with all my other kernels, including 2.4.20-8 and it STILL hung. So I'm guessing it's definitely a problem with sendmail itself.
What do i do? i hardly even know what it does, although it is important if were a server, which I'm not--yet. In any case i still want it working so i dont hafta go into interactive mode whenver i boot to say NO to the start sendmail? prompt. Recompile? Reinstall? panic and run through the streets? |
Well if your not running an email server I'd suggest using chkconfig to disable sendmail on startup.
|
Sounds like it may have a problem resolving the domain name you've provided but beyond that, admirable as it is, red hat's one stop fully integrated solution seems to be throwing up niggling things like this time and time again. Advice above applies.
|
oh, i get it. I fooled around with my hostname and now it won't work. IS there a config file to change so that sendmail will accept the hostname martinman instead of just localhost?
|
you should always have localhost in the hosts file. Hence the lines
# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost you can put martinman in there too. |
so how would the martinman entry look?
127.0.0.1 martinman martinman underneath the localhost stuff? and THEN how would i get my main hostname to be martinman, put that ontop of the localhost stuff? Like, i want to see the text "Changing hostname to martinman [ O K ]" on boot, yet i still want to keep the localhost entry in there....how? |
that would do for the hosts file.
127.0.0.1 martinman localhost.localdomain localhost If you want it to be the hostname add this to /etc/sysconfig/network HOSTNAME=martinman.whateverdomain |
ok, thanks for clearing that up. btw, do i HAVE to add the ".whateverdomain" to it in the network file ?
|
All times are GMT -5. The time now is 01:18 PM. |