James Elliott
August 28th, 2010, 12:40 PM
Hey there,
Have had issues with my 10.4 Server regularly. I believe it's something that I've done wrong in some of the hosts settings or the like. When I try and login to the server, especially on startup, I get messages saying the login attempt timed out after 60 seconds and when I login via ssh it boots me from the connection after about 60 seconds of trying to login.
It's after entering the password so it's something to do with authentication most likely. Any help would be appreciated. I think the issue is with my /etc/hosts file as I said before. Hostname is blackbox and it's only meant to be a local network server.
/etc/hosts file:
127.0.0.1 localhost.localdomain localhost
192.168.1.5 blackbox.localdomain blackbox
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts/etc/resolv.conf file (added):
nameserver 127.0.0.1
nameserver 192.168.1.5 #localhost
nameserver 192.168.1.1 #router
nameserver xxx.xx.xxx.xx #ISP1
nameserver xxx.xx.xxx.xx #ISP2
domain localdomain
/etc/log/syslog file:
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'T.ARIN.NET/AAAA/IN': 2001:dc3::35#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'W.ARIN.NET/AAAA/IN': 2001:503:a83e::2:30#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'Y.ARIN.NET/AAAA/IN': 2001:503:231d::2:30#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'Z.ARIN.NET/AAAA/IN': 2001:500:13::108#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'Z.ARIN.NET/AAAA/IN': 2001:500:31::108#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving '65.1.168.192.in-addr.arpa/PTR/IN': 2001:500:13::63#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'm3.nstld.com/AAAA/IN': 2001:503:a83e::2:31#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'm3.nstld.com/AAAA/IN': 2001:503:83eb::2:31#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'T.ARIN.NET/A/IN': 2001:500:3::42#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/A/IN': 2001:503:c27::2:30#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-2.iana.org/A/IN': 2001:503:c27::2:30#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/AAAA/IN': 2001:7fd::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-2.iana.org/AAAA/IN': 2001:7fd::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-2.iana.org/A/IN': 2001:7fd::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/A/IN': 2001:500:b::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/A/IN': 2001:500:e::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/A/IN': 2001:500:40::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/A/IN': 2001:500:c::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/A/IN': 2001:500:48::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-2.iana.org/AAAA/IN': 2001:500:f::1#53
Aug 28 18:00:31 blackbox named[948]: client 127.0.0.1#45155: RFC 1918 response from Internet for 65.1.168.192.in-addr.arpa/etc/log/auth.log file:
Aug 28 17:59:40 blackbox sshd[1094]: Server listening on :: port 22.
Aug 28 18:00:49 blackbox perl: pam_winbind(webmin:auth): internal module error (retval = PAM_AUTHINFO_UNAVAIL(9), user = 'root')
Aug 28 18:00:51 blackbox webmin[1069]: Webmin starting
/etc/log/debug.log file:
Aug 28 17:59:39 blackbox sshd[813]: Server listening on 0.0.0.0 port 22.
Aug 28 17:59:39 blackbox sshd[813]: Server listening on :: port 22.
Aug 28 17:59:40 blackbox sshd[813]: Received signal 15; terminating.
Aug 28 17:59:40 blackbox perl: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root
Aug 28 17:59:40 blackbox perl: pam_winbind(webmin:auth): getting password (0x00000388)
Aug 28 17:59:40 blackbox perl: pam_winbind(webmin:auth): pam_get_item returned a password
Aug 28 17:59:40 blackbox sshd[1094]: Server listening on 0.0.0.0 port 22.
Aug 28 17:59:40 blackbox sshd[1094]: Server listening on :: port 22.
Aug 28 18:00:49 blackbox perl: pam_winbind(webmin:auth): internal module error (retval = PAM_AUTHINFO_UNAVAIL(9), user = 'root')
Aug 28 18:00:51 blackbox webmin[1069]: Webmin starting/etc/log/kern.log file is attatched.
Have had issues with my 10.4 Server regularly. I believe it's something that I've done wrong in some of the hosts settings or the like. When I try and login to the server, especially on startup, I get messages saying the login attempt timed out after 60 seconds and when I login via ssh it boots me from the connection after about 60 seconds of trying to login.
It's after entering the password so it's something to do with authentication most likely. Any help would be appreciated. I think the issue is with my /etc/hosts file as I said before. Hostname is blackbox and it's only meant to be a local network server.
/etc/hosts file:
127.0.0.1 localhost.localdomain localhost
192.168.1.5 blackbox.localdomain blackbox
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts/etc/resolv.conf file (added):
nameserver 127.0.0.1
nameserver 192.168.1.5 #localhost
nameserver 192.168.1.1 #router
nameserver xxx.xx.xxx.xx #ISP1
nameserver xxx.xx.xxx.xx #ISP2
domain localdomain
/etc/log/syslog file:
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'T.ARIN.NET/AAAA/IN': 2001:dc3::35#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'W.ARIN.NET/AAAA/IN': 2001:503:a83e::2:30#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'Y.ARIN.NET/AAAA/IN': 2001:503:231d::2:30#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'Z.ARIN.NET/AAAA/IN': 2001:500:13::108#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'Z.ARIN.NET/AAAA/IN': 2001:500:31::108#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving '65.1.168.192.in-addr.arpa/PTR/IN': 2001:500:13::63#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'm3.nstld.com/AAAA/IN': 2001:503:a83e::2:31#53
Aug 28 18:00:29 blackbox named[948]: error (network unreachable) resolving 'm3.nstld.com/AAAA/IN': 2001:503:83eb::2:31#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'T.ARIN.NET/A/IN': 2001:500:3::42#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/A/IN': 2001:503:c27::2:30#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-2.iana.org/A/IN': 2001:503:c27::2:30#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/AAAA/IN': 2001:7fd::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-2.iana.org/AAAA/IN': 2001:7fd::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-2.iana.org/A/IN': 2001:7fd::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/A/IN': 2001:500:b::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/A/IN': 2001:500:e::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/A/IN': 2001:500:40::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/A/IN': 2001:500:c::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-1.iana.org/A/IN': 2001:500:48::1#53
Aug 28 18:00:30 blackbox named[948]: error (network unreachable) resolving 'blackhole-2.iana.org/AAAA/IN': 2001:500:f::1#53
Aug 28 18:00:31 blackbox named[948]: client 127.0.0.1#45155: RFC 1918 response from Internet for 65.1.168.192.in-addr.arpa/etc/log/auth.log file:
Aug 28 17:59:40 blackbox sshd[1094]: Server listening on :: port 22.
Aug 28 18:00:49 blackbox perl: pam_winbind(webmin:auth): internal module error (retval = PAM_AUTHINFO_UNAVAIL(9), user = 'root')
Aug 28 18:00:51 blackbox webmin[1069]: Webmin starting
/etc/log/debug.log file:
Aug 28 17:59:39 blackbox sshd[813]: Server listening on 0.0.0.0 port 22.
Aug 28 17:59:39 blackbox sshd[813]: Server listening on :: port 22.
Aug 28 17:59:40 blackbox sshd[813]: Received signal 15; terminating.
Aug 28 17:59:40 blackbox perl: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root
Aug 28 17:59:40 blackbox perl: pam_winbind(webmin:auth): getting password (0x00000388)
Aug 28 17:59:40 blackbox perl: pam_winbind(webmin:auth): pam_get_item returned a password
Aug 28 17:59:40 blackbox sshd[1094]: Server listening on 0.0.0.0 port 22.
Aug 28 17:59:40 blackbox sshd[1094]: Server listening on :: port 22.
Aug 28 18:00:49 blackbox perl: pam_winbind(webmin:auth): internal module error (retval = PAM_AUTHINFO_UNAVAIL(9), user = 'root')
Aug 28 18:00:51 blackbox webmin[1069]: Webmin starting/etc/log/kern.log file is attatched.