LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Very long boot and login (https://www.linuxquestions.org/questions/mandriva-30/very-long-boot-and-login-259357/)

silverback011 11-25-2004 09:15 PM

Very long boot and login
 
For some reason it takes a long time for me to boot up. Around 4 minutes (I time it) after the last message passes the screen and the GUI login comes up.

Originally I thought this was related to my graphics driver since I just zapped the ATI driver I had installed. However, I changed my /etc/inittab to boot into run level 3 to see if the problem remained. Well it did. I got to the login prompt when I enter my username and password it hangs for a long time. I forgot to time it. However, I can change to another virtual terminal and log in just fine. Eventually it lets me log in on the tty1 and works fine after that.

X works fine after I get to the kdm prompt.

I have no idea where to start looking for this problem or how to troubleshoot it.

Any help appreciated.

mjrich 11-25-2004 09:54 PM

Is this under Freebsd or Mandrake ? Anyway, have a close look at the messages at boot up - if it's a new install, it might be set to probe for non-existant hardware or dhcp servers. Most of these are easily surmounted by adding options to your menu.lst (grub) or lilo.conf (lilo) though there are other ways to achieve the same effect.

Cheers,

mj

opjose 11-26-2004 06:02 AM

If you have installed NIS for authentication, logins and bootups can take FOREVER as there may be no NIS server on your network to authenticate against.

opjose 11-26-2004 07:56 AM

Also: http://www.linuxquestions.org/questi...hreadid=258598

silverback011 11-26-2004 09:41 AM

'opjose' thanks for that thread post. I was not able to turn that up on a search. Wrong key words.

Turns out I had the same problem as the guy in that post. It was related to CUPS. I disabled it on startup and it booted up in a normal period of time.

Now, how am I going to print? I need CUPS to use the printer right? I am pretty ignorant when it comes to the printing portion of linux/unix. It is not that important to me as long as it works. I would like to get some use out of my printer.

'mjrich' I fixed my Distribution. I triple boot. So I just put the first one that popped into my head. I use BSD for most of my work. The rest of the family uses linux, except for games hence M$ and triple boot.

Thanks to everyone for their help/suggestions. I truly do appreciate it.

opjose 11-26-2004 11:57 AM

You can use cups.

The problem is that cups cannot resolve either itself or remove hostnames.

Just make sure you add the machine's own name and that of any remote computers and printer sharing devices to /etc/hosts and then it should run.

silverback011 11-28-2004 07:05 AM

I guess I am dense I don't get it.

I understand that it is looking for a host. I just don't see why there is a problem. It worked fine before the upgrade to 10.1, and I have not changed anything networking wise.

My setup is pretty simple. I use cable internet which is connected to a company provided modem and then a switch router, then to my PC. I use DHCP to get my IP.

I have went through the logs and have not found any error messages regarding not being able to find a connection. Then to make things more confusing, when I type cupsd at the command line after booting up with CUPS disabled for start up it executes fine and I can connect to the interface via localhost:631. Also, my printer works again.



$ echo $HOSTNAME
localhost


$ cat /etc/hosts
127.0.0.1 localhost

$ uname -a
Linux localhost 2.6.8.1-12mdksmp #1 SMP Fri Oct 1 11:24:45 CEST 2004 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz unknown GNU/Linux


All times are GMT -5. The time now is 10:01 AM.