Curious SL not resolve DNS.

2012-08-13 Thread Pere Casas
Today I find a curious case, SL has a strange behavior with dns. My
terminal command:

[root@intern ~]# cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4


[root@intern ~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=44 time=62.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=44 time=74.5 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=44 time=42.6 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=44 time=66.9 ms


[root@intern ~]# ping priona.net
ping: unknown host priona.net


[root@intern ~]# nslookup priona.net
Server:8.8.8.8
Address:8.8.8.8#53
Non-authoritative answer:
Name:priona.net
Address: 146.255.96.119

[root@intern ~]# host prina.net
prina.net has address 72.47.224.79
prina.net mail is handled by 10 mail.prina.net.


[root@intern ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source   destination
Chain FORWARD (policy ACCEPT)
target prot opt source   destination
Chain OUTPUT (policy ACCEPT)
target prot opt source   destination



[root@intern ~]# cat /etc/redhat-release
Scientific Linux release 6.2 (Carbon)


[root@intern ~]# yum update
Loaded plugins: remove-with-leaves, security
http://ftp.halifax.rwth-aachen.de/scientificlinux/6.2/x86_64/os/repodata/repomd.xml:
[Errno 14] PYCURL ERROR 6 - Couldn't resolve host '
ftp.halifax.rwth-aachen.de'
Trying other mirror.
ftp://ftp.halifax.rwth-aachen.de/scientificlinux/6.2/x86_64/os/repodata/repomd.xml:
[Errno 14] PYCURL ERROR 6 - Couldn't resolve host '
ftp.halifax.rwth-aachen.de'
Trying other mirror.
http://gd.tuwien.ac.at/opsys/linux/scientific/6.2/x86_64/os/repodata/repomd.xml:
[Errno 14] PYCURL ERROR 6 - Couldn't resolve host 'gd.tuwien.ac.at'
Trying other mirror.
ftp://gd.tuwien.ac.at/opsys/linux/scientific/6.2/x86_64/os/repodata/repomd.xml:
[Errno 14] PYCURL ERROR 6 - Couldn't resolve host 'gd.tuwien.ac.at'
Trying other mirror.
http://mirror.cpsc.ucalgary.ca/mirror/scientificlinux.org/6.2/x86_64/os/repodata/repomd.xml:
[Errno 14] PYCURL ERROR 6 - Couldn't resolve host 'mirror.cpsc.ucalgary.ca
'
Trying other mirror.



Any idea?


Re: Curious SL not resolve DNS.

2012-08-13 Thread Vladimir Mosgalin
Hi Pere Casas!

 On 2012.08.13 at 11:18:16 +0200, Pere Casas wrote next:

 [root@intern ~]# ping priona.net
 ping: unknown host priona.net
 
 
 [root@intern ~]# nslookup priona.net
 Server:8.8.8.8
 Address:8.8.8.8#53
 Non-authoritative answer:
 Name:priona.net
 Address: 146.255.96.119

Unlike host, dig and nslookup, which are part of BIND suite and use BIND
resolver, ping uses system-wide resolver provided by glibc (libresolv).
They can behave differently.

First thing worth checking if you are running nscd - and if you are, its
configuration on domain name caching.
Check output of pgrep nscd - if you see number (pid), you are running
nscd.

If you are, check if advices from
http://www.eyrie.org/~eagle/notes/solaris/dns-cache.html
will help.

If you are not, well, such situation can happen, but I can't remember
any more possible reasons. At very least, you should check if your
glibc isn't broken (rpm -qV glibc will do for a check) and if
strace ping priona.net writes anything suspicious.

-- 

Vladimir


Re: Curious SL not resolve DNS.

2012-08-13 Thread Bluejay Adametz
 [root@intern ~]# cat /etc/resolv.conf
 nameserver 8.8.8.8
 nameserver 8.8.4.4
...
 [root@intern ~]# ping priona.net
 ping: unknown host priona.net

Check your /etc/nsswitch.conf file and make sure dns is included in
the hosts: line.

 - Bluejay Adametz

The best thing about the future is that it
comes one day at a time. - Abraham Lincoln

-- 


NOTICE: This message, including any attachments, is only for the use of the 
intended recipient(s) and may contain confidential and privileged information, 
or information otherwise protected from disclosure by law.  If the reader of 
this message is not the intended recipient, you are hereby notified that any 
use, disclosure, copying, dissemination or distribution of this message or any 
of its attachments is strictly prohibited.  If you received this message in 
error, please contact the sender immediately by reply email and destroy this 
message, including all attachments, and any copies thereof. 


Re: sl 6.2 can't reboot or shutdown, may something wrong with iptables

2012-08-13 Thread Connie Sieh

On Sat, 11 Aug 2012, Tuan Pengfei wrote:


--14dae9340525f877db04c6f82b7b
Content-Type: text/plain; charset=ISO-8859-1

I am sorry, i forget to give my system info:
Linux localhost.localdomain 2.6.32-220.23.1.el6.x86_64 #1 SMP Mon Jun 18
09:58:09 CDT 2012 x86_64 x86_64 x86_64 GNU/Linux
Lenovo g430
This is my first time i use sl. It runs good with rhel 6.0 slackware 13.xx
and fedora 1x these years.


On Sat, Aug 11, 2012 at 3:07 PM, Tuan Pengfei pengfeit...@gmail.com wrote:


Hello everyone, i have something worried me, my new sl 6.2 can't reboot or
shutdown, ie. can't run into level 0. The screen prints(as i remmeber ...):
stopping iptables:
 error lldpad can't connect to 
 

just like this, so i set iptables and ip6tables service off with


What setting are you using in iptables ?

  cat /etc/sysconfig/iptables

-Connie Sieh

chkconfig, yet it is resolved. it never happens. But it is not a good
solution.
Anyone here can provide a reason of this problem and a good solution?
Thanks.



--14dae9340525f877db04c6f82b7b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I am sorry, i forget to give my system info:brLinux localhost.localdomain=
2.6.32-220.23.1.el6.x86_64 #1 SMP Mon Jun 18 09:58:09 CDT 2012 x86_64 x86_=
64 x86_64 GNU/LinuxbrLenovo g430brThis is my first time i use sl. It ru=
ns good with rhel 6.0 slackware 13.xx and fedora 1x these years.br
brbrdiv class=3Dgmail_quoteOn Sat, Aug 11, 2012 at 3:07 PM, Tuan Pe=
ngfei span dir=3Dltrlt;a href=3Dmailto:pengfeit...@gmail.com; target=
=3D_blankpengfeit...@gmail.com/agt;/span wrote:brblockquote clas=
s=3Dgmail_quote style=3Dmargin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex
Hello everyone, i have something worried me, my new sl 6.2 can#39;t reboot=
or shutdown, ie. can#39;t run into level 0. The screen prints(as i remmeb=
er ...):brquot;stopping iptables:br=A0error lldpad can#39;t connect t=
o br

=A0brquot;brjust like this, so i set iptables and ip6tables servic=
e off with chkconfig, yet it is resolved. it never happens. But it is not a=
good solution.brAnyone here can provide a reason of this problem and a g=
ood solution?br

Thanks.br
/blockquote/divbr

--14dae9340525f877db04c6f82b7b--



Re: Curious SL not resolve DNS.

2012-08-13 Thread Pere Casas
Oh!
I do not remember changing this line.
This is my problem !!!

Thnks Bluejay Adametz and Vladimir Mosgalin !!



2012/8/13 Bluejay Adametz blue...@fujifilm.com

  [root@intern ~]# cat /etc/resolv.conf
  nameserver 8.8.8.8
  nameserver 8.8.4.4
 ...
  [root@intern ~]# ping priona.net
  ping: unknown host priona.net

 Check your /etc/nsswitch.conf file and make sure dns is included in
 the hosts: line.

  - Bluejay Adametz

 The best thing about the future is that it
 comes one day at a time. - Abraham Lincoln

 --


 NOTICE: This message, including any attachments, is only for the use of
 the intended recipient(s) and may contain confidential and privileged
 information, or information otherwise protected from disclosure by law.  If
 the reader of this message is not the intended recipient, you are hereby
 notified that any use, disclosure, copying, dissemination or distribution
 of this message or any of its attachments is strictly prohibited.  If you
 received this message in error, please contact the sender immediately by
 reply email and destroy this message, including all attachments, and any
 copies thereof.



Home page links 6.3 announcements to 6.2 directories.

2012-08-13 Thread Nathan
FYI, almost all of the 6.3 links on the home page of
scientificlinux.org link to 6.2 download directories.

~ Nathan


Re: [SCIENTIFIC-LINUX-USERS] Home page links 6.3 announcements to 6.2 directories.

2012-08-13 Thread Pat Riehecky

On 08/13/2012 02:30 PM, Nathan wrote:

FYI, almost all of the 6.3 links on the home page of
scientificlinux.org link to 6.2 download directories.

~ Nathan


Fixed.

The live discs are not yet available, so those links still point to 6.2.

Thanks for noticing!

Pat

--
Pat Riehecky
Scientific Linux Developer