Fixed: Ubuntu Startup slows down at Starting Mail Transport Agent (MTA) sendmail
https://www.zyxware.com/sites/default/files/styles/user_image/public/pictures/zyxlogo.png?itok=J9t-ZEoU
BY webmaster
11 years ago
Technical-Solution
1 comments comment

If you install sendmail on your desktop and have not configured your system correctly you will very likely come across this problem. Ubuntu boot up slows down considerably and stops for a long time at the "Starting Mail Transport Agent (MTA) sendmail" line. This is because sendmail is trying to resolve your host and times out failing to do so. You can fix this problem easily by making a few changes in to yours hosts file.

Edit /etc/hosts and /etc/hostname

sudo gedit /etc/hosts /etc/hostname

Suppose your hostname found in /etc/hostname is zyxware01 and you do not have a static IP then this is how your /etc/hosts should be minimally.

127.0.0.1 localhost.localdomain localhost
127.0.1.1 zyxware01.localdomain zyxware01

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

If you have a static IP you can replace 127.0.1.1 with your static IP. If you have your intranet configured with local domain name then you can replace the localdomain with your intranet domain name.

Before you make this setting changes if you verify the /var/log/mail.log and /var/log/mail.err you will see errors like the following.

Aug 21 19:00:04 zyxware01 sm-msp-queue[15538]: My unqualified host name (zyxware01) unknown; sleeping for retry
Aug 21 19:01:05 zyxware01 sm-msp-queue[15538]: unable to qualify my own domain name (zyxware01) -- using short name

Once you make the changes you can try rebooting the system and verify that MTA startup time has increased dramatically. Also you can verify that the mail.err and mail.log does not have the errors anymore

As a general tip, when you face problems during bootup, edit from grub menu and take out the quiet and splash kernel parameters to see actual bootup messages where the problem happens. Also make sure you verify dmesg and /var/log/messages to see the full log after you boot into the system.


RELATED ARTICLE

/themes/custom/zyxpro_light/images/placeholder.png
close

on 04th April 2007 / by webmaster
Linux is the epitome of the FLOSS model. Technical Solution Linux installation Leave a reply Your email address will not be published. Required fields are marked * Dewey J. Corl (not verified) access_time 27 Sep 2020 - 17:10 Linux is not ready for the general public! (I am a Ubuntu user). For proof, 1. try to simply print labels on a Dymo label printer. It takes a LOT of work to get to the ease of label printing already available in Windows and Mac. 2. try syncing a modern Palm based PDA. Yes, jpilot and others will sync the main data, but pictures and midi files do not get transferred without a lot of extra setup. These are examples of applications that are not ready for the general public. Since an operating system only supports applications, Linux is not ready to be a common desktop for the general public. While we are waiting for the applications to catch up, keep up the good work!! Anoop John (not verified) access_time 27 Sep 2020 - 17:10 Dewey Yes you may be right. But these are not applications that a common man would use. A common man would use one of these applications - Internet browser, Chat Client, Email Client, Document Writer, Presentation Creator, Spreadsheet Editor, Movie Viewer, Music Player, CD/DVD Writer. Both examples you cited are more specific applications that only a small percentage of the whole population uses. It will take time before those hardware vendors identify the need from their perspective to address the Linux community. Krishnadas (not verified) access_time 27 Sep 2020 - 17:10 Dear Mr Anoop, Thank you very much for the free installation of LINUX done in my PC. I am getting immersed in the LINUX and seeing the versatility. To my surprise, I am able to read one of my old backup CD(wherein lot of my valuable file exist) done in DIRECT CD wizard (a custom cd writing software of Easy Cd creator in WIN98) which could not be read in XP. Installation of old version of easycd creator/direct cd program was not possible in XP. I thought that possible i lost all data. Very pleasant start! Srikanth N. S. (not verified) access_time 27 Sep 2020 - 17:10 Hi Anoop, My friend is thrilled with Ubuntu. One of his grouses with windows was that after OS installation, everything else is to be installed separately which is a real headache. WHereas if u install Linux, everything is installed as a package and he is thrilled to bits! Let linux installation spread in Trivandrum and your service in this direction is highly appreciated. Kepp up the good work Regards. PDA Freak (not verified) access_time 27 Sep 2020 - 17:10 Is it possible to install linux on a packardbell notebook ? Pagination Current page 1 Page 2 Next page Next › Last page Last » Add new comment
Leave a reply
Your email address will not be published. Required fields are marked *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

author-image

Cool! you just saved me some time, it worked exactly as you said...