Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't Log In!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
kramer2718
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2006
Posts: 78

PostPosted: Wed Jun 14, 2006 5:24 am    Post subject: Can't Log In! Reply with quote

I was working in a framebuffer. I emerged gnome (emerge -DuN gnome) when I got the message that said that I had to download java direct from Sun's website.

I switched to another framebuffer and tried to log in to use links. I typed in 'root' for the login and got this error:

Code:
/etc/host.conf:  line 24: bad command: mdns off


I changed mdns to 'on' in host.conf but got the error:

Code:
/etc/host.conf:  line 24: bad command: mdns off


when I typed in user name.

Then I commented out that line entirely. Then when I typed in my login it just kicked me back to asking for login again.

This is a new Gentoo installation and I'm pretty new to Gentoo. I don't really know what config files affect log in.

/etc/host.conf:

Code:
# /etc/host.conf:
# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/2.3.4/host.conf,v 1.2 2004/11/24 05:31:58 vapier Exp $

# The  file /etc/host.conf contains configuration information specific to
# the resolver library.  It should contain one configuration keyword  per
# line,  followed by appropriate configuration information.  The keywords
# recognized are order, trim, mdns, multi, nospoof, spoof, and reorder.



# This keyword specifies how host lookups are to be performed. It
# should be followed by one or more lookup methods, separated by
# commas.  Valid methods are bind, hosts, and nis.
#
order hosts, bind


# Valid values are on and off. If set to on, the resolv+ library treats
# the .local top level domain as link-local domain and sends multicast
# DNS requests to the multicast address 224.0.0.251 port 5353 instead
# of normal DNS requests. If you already use the .local domain in your
# nameserver configuration you will have to switch this option off.
#
#mdns off


# Valid  values are on and off.  If set to on, the resolv+ library
# will return all valid addresses for a host that appears  in  the
# /etc/hosts  file,  instead  of  only  the first.  This is off by
# default, as it may cause a substantial performance loss at sites
# with large hosts files.
#
multi off


/etc/make.conf:

Code:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"


GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.mirrors.pair.com/ http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://gentoo.llarian.net/pub/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.cs.lewisu.edu/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ ftp://mirror.usu.edu/mirrors/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.wwc.edu/pub/mirrors/ftp.gentoo.org http://mirror.clarkson.edu/pub/distributions/gentoo/ "

SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="mmx 3dnow X a52 aac acpi aim alsa apm arts audiofile bash-completion bzip2 cdparanoia cdr cjk crypt doc dts dv dvd dvdr emacs emul-linux-x86 encode examples exif fbcon ffmpeg fftw flac ftp gb gif ginac glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 hal hardened hardenedphp icq imagemagick imap ipv6 jabber java javascript jikes jpeg jpeg2k -kde -qt libwww mad mbox memlimit mhash mime mmap mng motif mozilla mp3 mpeg mpi msn multilib nas ncurses nptl nsplugin odbc offensive ogg oggvorbis openal opengl osc oss pcre pdf perl png posix quicktime radius readline samba sdl smartcard sockets socks5 spell ssl sse sse2 svg svga symlink tcltk theora threads tiff truetype unicode usb v4l vcd videos vorbis wxwindows xine xml xmms xpm xsl xv xvid yahoo zlib"



Oh yeah the other weird thing is that when I tried to login it said:

Code:
This is gloria.unknown_domain


but I set my domain to be kramerica as follows:

/etc/hosts
Code:
127.0.0.1 gloria.kramerica gloria localhost


I'm not sure if this is the only thing that has to be done to set up a domain name or if it has anything to do with my current issue. I haven't really edited many of the other config files much.

Any help will be appreciated. I will be happy to post other config files if it helps diagnose the issue.

Thanks.
_________________
God save us from His followers.
Back to top
View user's profile Send private message
FranZ
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 212
Location: Enschede, Holland

PostPosted: Wed Jun 14, 2006 5:43 am    Post subject: Reply with quote

Try this thread: bad command 'mdns'off'.

To set your hostname, you have to edit /etc/conf.d/hostname, likewise for domainname.
_________________
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

Ask Smart Questions
Back to top
View user's profile Send private message
selig
Guru
Guru


Joined: 31 Jul 2005
Posts: 425
Location: Prague, Czech Republic

PostPosted: Wed Jun 14, 2006 8:25 am    Post subject: Reply with quote

This is caused by upgrading the system, you should run "etc-update" and update all configuration files as necessary. Otherwise you can end up with an unusable system. My current host.conf:

Code:

# /etc/host.conf:
# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/2.3.6/host.conf,v 1.1 2006/02/21 23:35:21 vapier Exp $

# The  file /etc/host.conf contains configuration information specific to
# the resolver library.  It should contain one configuration keyword  per
# line,  followed by appropriate configuration information.  The keywords
# recognized are order, trim, mdns, multi, nospoof, spoof, and reorder.



# This keyword specifies how host lookups are to be performed. It
# should be followed by one or more lookup methods, separated by
# commas.  Valid methods are bind, hosts, and nis.
#
order hosts, bind


# Valid  values are on and off.  If set to on, the resolv+ library
# will return all valid addresses for a host that appears  in  the
# /etc/hosts  file,  instead  of  only  the first.  This is off by
# default, as it may cause a substantial performance loss at sites
# with large hosts files.
#
multi off
Back to top
View user's profile Send private message
kramer2718
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2006
Posts: 78

PostPosted: Thu Jun 15, 2006 3:43 am    Post subject: Didn't work Reply with quote

That didn't work at all. I had to shut my machine down. I thought that I could boot using the live cd and fix this, but after I did that, I kept getting this crazy error:

/usr/bin/pythin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

even though I hadn't touced the /usr directory.

I'm going to wipe my root partition and start over.
_________________
God save us from His followers.
Back to top
View user's profile Send private message
FranZ
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 212
Location: Enschede, Holland

PostPosted: Thu Jun 15, 2006 6:18 am    Post subject: Reply with quote

Try running revdep-rebuild first. You probably have some broken dependancies.

If you don't have that yet, emerge gentoolkit first.
_________________
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

Ask Smart Questions
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4726
Location: Angra do Heroísmo (PT)

PostPosted: Fri Aug 11, 2006 4:56 pm    Post subject: Reply with quote

Moved from Other Things Gentoo to Duplicate Threads.

[mod]Moved this thread to DT in favour of this one for the login issue, of this one for the mdns issue and of this one for the python issue.[/mod]
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum