LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-25-2004, 10:15 PM   #1
silverback011
LQ Newbie
 
Registered: Apr 2004
Location: Florida USA
Posts: 23

Rep: Reputation: 15
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.
 
Old 11-25-2004, 10:54 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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
 
Old 11-26-2004, 07:02 AM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 11-26-2004, 08:56 AM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Also: http://www.linuxquestions.org/questi...hreadid=258598
 
Old 11-26-2004, 10:41 AM   #5
silverback011
LQ Newbie
 
Registered: Apr 2004
Location: Florida USA
Posts: 23

Original Poster
Rep: Reputation: 15
'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.
 
Old 11-26-2004, 12:57 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 11-28-2004, 08:05 AM   #7
silverback011
LQ Newbie
 
Registered: Apr 2004
Location: Florida USA
Posts: 23

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
login takes long time doorman007 Linux - Software 2 04-25-2005 01:56 AM
long login time tekmorph Linux - Newbie 6 12-02-2004 05:42 PM
Mandrake 10.1 - long waiting before login Belegdol Mandriva 15 11-17-2004 08:27 AM
Word too long error at login arobic Linux - Newbie 1 08-19-2003 08:40 AM
Why does it take so long to login remotely lek2k Linux - General 1 06-25-2002 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration