CentOS 5 :: Sendmail Takes Too Long To Start During Boot
Dec 28, 2010
It takes a few minutes to start during boot and I just did a fresh install in a virtual machine. Haven't touched sendmail so it has default config. Someone told me it could be a DNS issue, but I can do DNS lookups and navigate the web well.
I am running Centos 5.3. I ran no updates, performed no installs, nor changed any configuration immediately prior to this issue. My problem is this: when I run the command startx (default runlevel 3), it is a long time (5-10 minutes) before Gnome startx, and once it does start applications will not run. Also, when I try to use sudo (from any environment, even ssh), it is a long time (5-10) before the command is executed.
I cannot say for sure, but it seems like this is an intermittent problem. Sometimes X takes a long time to start, but once it starts it will launch programs. Sometimes X takes a long time to launch, but once it starts it will only launch certain programs. Though presently X always takes a long time to start, and I cannot successfully launch any programs.
A while back a had a similar problem to this (x taking long time to start, sudo taking long time to execute) and it ended up being a DNS problem. Unfortunately, I cannot remember exactly what it was and I stupidly did not document it. Maybe this is also DNS related, I don't know.
I don't know what log files to look at for problems with X, Gnome, and sudo taking a long time to start.
I'm having trouble with Vim in any terminal emulator I use. I have a link (vi) to vim. Occasionally it will take very long to load, whether I use 'vi' or 'vi file'. Before, if I could I would restart X, and then it would load instantly again, but I waited this time and it did load, after a minute or so. Is this a problem with X or vim?
When I log into an Xfce session, the splash screen indicates the "starting window manager" step with a busy cursor for about 10 seconds or more. Mind you this is a 2.8 GHz Core 2 Duo machine.I have tried logging out, mv-ing ~/.config/xfce4 from a tty console, and logging back in, but the problem persists.I am running Xfce 220.127.116.11 from squeeze.
After I installed a new hard drive, when I booted up into Ubuntu, it would give me this error: "failed command: WRITE DMA". So I tried the workarounds and I guess it just covered the log with the Boot Splash, now it's taking a long time just to boot up.
I recently changed my computer so it would auto boot into Ubuntu, but if I hold down the shift key, I can bring up the GRUB menu so I can choose Windows in the rare times I use it[URL]Anyway, I noticed that when I did that, it actually took longer to boot. I timed it today and it took 45 seconds from the time I pressed the power button to get to the login screen! My friend uses Linux a lot and says even with Ubuntu (which he thinks is "too slow") it shouldn't take that long.
Now I use mutt to manage the mail list. But when I start to mutt, it takes a long time (about 1~2 minutes) to load all the mail list, about 20 thousands mail. I don't know why it takes such a long time.
I installed bootchart and uploaded an image of my latest boot on imageshack: [URL] but I do not know really how to interpret it. Bare in mind that I did not use to have this problem while running Karmic...back then the OS started twice as faster as it does now after the update (now it takes at least 75 seconds to boot) .
It's been a while since this problem started. I have an Acer Aspire 4720z laptop with Ubuntu 10.10 installed. My laptop takes a whole damn 1.5 minutes to boot up and login (measured according to bootchart; I have auto-login enabled) (The majority of this 1.5 minutes is taken up after boot up, so it might indicate a problem with Xorg.)I don't know whether this is relevant, but when I boot up, a message gets displayed: "ata4.01: failed to resume link (SControl 0)". Also, this problem started right around the time I upgraded from Lucid to Maverick, so it could be some problem with my upgrade.find the source of this issue.ATTACHED: bootchart image from last login.boot.log:
Code: fsck from util-linux-ng 2.17.2 udevd: can not read '/etc/udev/rules.d/z80_user.rules'
I use openSuse 11.xx and all was going fine until yesterday. When booting up now, I can't connect to the internet any more. I takes much longer to boot now as if openSuse tries to look for something that disappeared or got corrupt. All started with the latest safety update.
I've setup vsftpd correctly and it's running fine with local users (in the same LAN). However, when remote users wanna login to the server, it takes more than 1 minute to get in. Users do can login from remote. It just took too long. (It prompted for the username and password very fast.) Since the server is behind a router, I did configure the port forwarding for TCP 20-21. The centos version is 5.3. The vsftpd is v2.0.5.
I recently broke down in the face of morbid curiosity and clicked that little version update button. it seems to run flawlessly (after i uninstalled the pesky touchpad) but it takes a long time to boot up now. at least a full minute. is this normal?
I will add also that it said my version of grub had been modified (which i dont remember doing, but may have) so i told it to leave the current one in place.
I have installed "open-SUSE 11.4" on a "500GB Free Agent External Hard Drive". I didn't have any problem in booting since last week that I booted it from my laptop. Also I did it before several times from then when I try to boot it e.g. from an "Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz" PC the time between loading INITRD and starting boot sequence messages lasts nearly 30 minutes!(i didn't actually measure it but it take a long time in the same order). after starting boot sequence which is showed on monitor everything looks normal. e.g copy of files would be done by speeds between 2MB/s to 30 MB/s depending on the targets.I used to use the external hard derive to boot from different laptops and PC's from start but I didn't have such a problem anytime.
Hardware: Toshiba NB200 with Atom 280 & 2GB, 160 GB HD Everything works great except the boot time. My default boot is F11 & when the system starts in "yuk" Windows it only takes a few seconds! but when I start in F11 it takes 15 - 20 minutes for it to start. No error messages, nothing in dmesg, standard configuration. The same system with Win XP & F10 worked fine?
This is kind of cross post from the 10.10 beta forum, but since that thread went by without a solution, forum (and thread) are locked and this problem still exists, I'll try again.
When I reboot my machine, it seems to go pretty quickly. However looking at the log it seems that most everything is running after about 8.6 seconds, and then USB starts loading up. The first log entry regarding USB comes at 32 seconds, second one at 62 seconds. The keyboard starts working at 84 seconds and the mouse at 166 seconds.
Note, this same system was running 9.10, 10.4 and various other distros I tested without such problems...
I've removed all hubs, everything is directly connected to the computer. code...
I changed the host name on this CentOS 5.5 machine but whenever I reboot the machine the startup pauses at the point of starting sendmail for several minutes and then eventually moves on. What could be causing this?
Got some speed problems with my backup script, need to save 250GB data (28 network-shares (20 user homefolders included) - each one gets an own zip; approx. 100'000 files)Backupdata are stored on our nas that is embedded with mount -t cifs -o user,pw //networkadress /yet/another/backup/folderPacking process takes about 60! hours (on an intel xeon 3.0 GHz RHEL4 system) - connected via 100mbit networkzip -r /yet/another/backup/folder/asdf.zip /home/asdf/Is there a way to speed up this whole process? Saving via tar.gz instead of ziping?
I booted fedora from an live cd not i have a problem when i want to install fedora formatting is taking vey long its already busy for 1 hour and this is te second time im trying to install fedora does it need to take this long ? I've got an unexpected fault for the second time and pressed debug but nothing is happening keeps formatting.
I am having a problem with a slow wake up from the hibernate in karmic with gnome.My desktop has 2GB of ram and 4GB of swap.m doing standard hibernate from the menu.Hibernation takes 44s, which I can live with for now. But wake up measured from grub boot menu to unlock dialog takes 2m 47s. I think it's reasonable to expect it to take less than a minute.
I am running Ubuntu 10.04 Lucid, and it works perfectly.However, since last week (probably after some update), the gnome menu bar takes much longer to appear when I login. After it appears, it works just fine.To clarify, I turn on the system, login, the desktop background image and icons appear, and only after about 30 seconds the upper and lower gnome menu bars appear (a week ago all of it loaded almost instantly).
So as the title says shutdown time takes unusually long. Upwards of 4-6 minutes. I'm used to my linux systems taking about 10 seconds to shutdown, 20 tops. In fact this problem seemed to stem from the natty release because I didn't have this issue with the betas or 10.10....
It seems the longer I use my laptop the longer it takes to shutdown. When I do a quick task like a file backup the shutdown takes 10seconds or so, but if I open up a browser and start surfing for a few hours it takes more like 5 minutes.
I have just got some new sheet music; and I was wondering why it takes so long to print from Document viewer. I have a lexmark optra e312 which is connected to a windows network, and other programs seem to work just fine, but this one prints slowly whenever I:connect it to my computer directlyreinstall the printerreinstall ubuntu, even to other variantsMaybe someone could suggest another document viewer? I need to view .pdf, .ps, and .djvu as well as a few others if possible
I did used the Alien-Arena yesterday as usual and did work fine from start to finish! When I launch it today, it is taking about 4 minutes to load the main screen. I did a reinstall and with no success! Completely removed it with synaptic and reinstall... but the problem still remains! Something went wrong and I can't figure out what
After upgrading to a 64-bit Ubuntu 11.04, I have found that it takes a lot longer to open any browsers such as Firefox, Google Chrome or Opera. Does anyone know why? I thought 64 bit Ubuntu should be faster than the 32 bit version. Nevertheless, I see no difference besides the browser problem mentioned above.
I'm running Ubuntu 9.10 and Windows XP on my system. After installing Ubuntu, it boots normally about once, and then the next time I try to boot, I have to wait a few minutes with it saying "GRUB Loading." I have read other threads about this that say that it is clearly a GRUB2 problem, and something about Windows overwriting something with the MBR; although I haven't booted into windows once in the process of installing Ubuntu (multiple times) or afterward. GRUB version 1.97~beta4.
I am having a problem with sendmail. Using a php script the process that 30 seconds to send. I have googled the symptoms and have changed sendmail.cf ==> Timeout.ident=0 and configured /etc/hosts properly. I'm using Fedora 11 and 12, same issue.