Internet

能力更新 404

  • November 30, 2010

我得到的只是下面的錯誤。我該如何調試/可能出了什麼問題?

我不知道這是什麼時候發生的,可能就在幾天前。據我所知,系統中沒有任何變化。我唯一能想到的是我的備份磁碟空間不足。

root@z:~# aptitude update
Ign http://se.archive.ubuntu.com karmic Release.gpg
Ign http://se.archive.ubuntu.com karmic/main Translation-en_US
Ign http://se.archive.ubuntu.com karmic/restricted Translation-en_US
Ign http://se.archive.ubuntu.com karmic/universe Translation-en_US
Ign http://se.archive.ubuntu.com karmic/multiverse Translation-en_US
Ign http://se.archive.ubuntu.com karmic-updates Release.gpg
Ign http://se.archive.ubuntu.com karmic-updates/main Translation-en_US
Ign http://se.archive.ubuntu.com karmic-updates/restricted Translation-en_US
Ign http://se.archive.ubuntu.com karmic-updates/universe Translation-en_US
Ign http://se.archive.ubuntu.com karmic-updates/multiverse Translation-en_US
Ign http://se.archive.ubuntu.com karmic Release
Ign http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Ign http://se.archive.ubuntu.com karmic-updates Release
Ign http://security.ubuntu.com karmic-security Release.gpg
Ign http://security.ubuntu.com karmic-security/main Translation-en_US
Ign http://security.ubuntu.com karmic-security/restricted Translation-en_US
Ign http://security.ubuntu.com karmic-security/universe Translation-en_US
Ign http://ppa.launchpad.net karmic Release
Ign http://security.ubuntu.com karmic-security/multiverse Translation-en_US
Ign http://se.archive.ubuntu.com karmic/main Packages
Ign http://security.ubuntu.com karmic-security Release
Ign http://se.archive.ubuntu.com karmic/restricted Packages
Ign http://ppa.launchpad.net karmic/main Packages
Ign http://se.archive.ubuntu.com karmic/main Sources
Ign http://se.archive.ubuntu.com karmic/restricted Sources
Ign http://apt.bijk.com hardy Release.gpg
Ign http://apt.bijk.com hardy/main Translation-en_US
Ign http://se.archive.ubuntu.com karmic/universe Packages
Ign http://security.ubuntu.com karmic-security/main Packages
Ign http://se.archive.ubuntu.com karmic/universe Sources
Ign http://se.archive.ubuntu.com karmic/multiverse Packages
Ign http://se.archive.ubuntu.com karmic/multiverse Sources
Ign http://se.archive.ubuntu.com karmic-updates/main Packages
Ign http://apt.bijk.com hardy Release
Ign http://se.archive.ubuntu.com karmic-updates/restricted Packages
Ign http://security.ubuntu.com karmic-security/restricted Packages
Ign http://security.ubuntu.com karmic-security/main Sources
Ign http://se.archive.ubuntu.com karmic-updates/main Sources
Ign http://security.ubuntu.com karmic-security/restricted Sources
Ign http://security.ubuntu.com karmic-security/universe Packages
Ign http://se.archive.ubuntu.com karmic-updates/restricted Sources
Ign http://security.ubuntu.com karmic-security/universe Sources
Ign http://se.archive.ubuntu.com karmic-updates/universe Packages
Ign http://security.ubuntu.com karmic-security/multiverse Packages
Ign http://se.archive.ubuntu.com karmic-updates/universe Sources
Ign http://security.ubuntu.com karmic-security/multiverse Sources
Ign http://security.ubuntu.com karmic-security/main Packages
Ign http://se.archive.ubuntu.com karmic-updates/multiverse Packages
Ign http://security.ubuntu.com karmic-security/restricted Packages
Ign http://se.archive.ubuntu.com karmic-updates/multiverse Sources
Ign http://security.ubuntu.com karmic-security/main Sources
Ign http://se.archive.ubuntu.com karmic/main Packages
Ign http://security.ubuntu.com karmic-security/restricted Sources
Ign http://security.ubuntu.com karmic-security/universe Packages
Ign http://se.archive.ubuntu.com karmic/restricted Packages
Ign http://security.ubuntu.com karmic-security/universe Sources
Ign http://se.archive.ubuntu.com karmic/main Sources
Ign http://security.ubuntu.com karmic-security/multiverse Packages
Ign http://security.ubuntu.com karmic-security/multiverse Sources
Ign http://se.archive.ubuntu.com karmic/restricted Sources
Err http://security.ubuntu.com karmic-security/main Packages
 404  Not Found
Ign http://se.archive.ubuntu.com karmic/universe Packages
Err http://security.ubuntu.com karmic-security/restricted Packages
 404  Not Found
Ign http://se.archive.ubuntu.com karmic/universe Sources
Err http://security.ubuntu.com karmic-security/main Sources
 404  Not Found
Err http://security.ubuntu.com karmic-security/restricted Sources
 404  Not Found
Err http://security.ubuntu.com karmic-security/universe Packages
 404  Not Found
Ign http://se.archive.ubuntu.com karmic/multiverse Packages
Err http://security.ubuntu.com karmic-security/universe Sources
 404  Not Found
Ign http://se.archive.ubuntu.com karmic/multiverse Sources
Err http://security.ubuntu.com karmic-security/multiverse Packages
 404  Not Found
Ign http://se.archive.ubuntu.com karmic-updates/main Packages
Ign http://se.archive.ubuntu.com karmic-updates/restricted Packages
Ign http://ppa.launchpad.net karmic/main Packages
Ign http://se.archive.ubuntu.com karmic-updates/main Sources
Ign http://apt.bijk.com hardy/main Packages
Ign http://se.archive.ubuntu.com karmic-updates/restricted Sources
Ign http://se.archive.ubuntu.com karmic-updates/universe Packages
Ign http://se.archive.ubuntu.com karmic-updates/universe Sources
Err http://ppa.launchpad.net karmic/main Packages
 404  Not Found
Ign http://se.archive.ubuntu.com karmic-updates/multiverse Packages
Ign http://apt.bijk.com hardy/main Packages
Ign http://se.archive.ubuntu.com karmic-updates/multiverse Sources
Err http://se.archive.ubuntu.com karmic/main Packages
 404  Not Found
Err http://se.archive.ubuntu.com karmic/restricted Packages
 404  Not Found
Err http://apt.bijk.com hardy/main Packages
 404  Not Found
Err http://se.archive.ubuntu.com karmic/main Sources
 404  Not Found
Err http://se.archive.ubuntu.com karmic/restricted Sources
 404  Not Found
Err http://se.archive.ubuntu.com karmic/universe Packages
 404  Not Found
Err http://se.archive.ubuntu.com karmic/universe Sources
 404  Not Found
Err http://security.ubuntu.com karmic-security/multiverse Sources
 404  Not Found
Err http://se.archive.ubuntu.com karmic/multiverse Packages
 404  Not Found
Err http://se.archive.ubuntu.com karmic/multiverse Sources
 404  Not Found
Err http://se.archive.ubuntu.com karmic-updates/main Packages
 404  Not Found
Err http://se.archive.ubuntu.com karmic-updates/restricted Packages
 404  Not Found
Err http://se.archive.ubuntu.com karmic-updates/main Sources
 404  Not Found
Err http://se.archive.ubuntu.com karmic-updates/restricted Sources
 404  Not Found
Err http://se.archive.ubuntu.com karmic-updates/universe Packages
 404  Not Found
Err http://se.archive.ubuntu.com karmic-updates/universe Sources
 404  Not Found
Err http://se.archive.ubuntu.com karmic-updates/multiverse Packages
 404  Not Found
Err http://se.archive.ubuntu.com karmic-updates/multiverse Sources
 404  Not Found
Reading package lists... Done

裡面有/var/log/syslog很多

Nov 17 18:42:52 z named[1233]: network unreachable resolving 'ns-932.amazon.com/A/IN': 2001:500:94:1::31#53

和類似的。

還有,ddclient已經壞掉了。

Nov 17 18:41:33 z ddclient[1269]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
Nov 17 18:41:33 z ddclient[1269]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''

我認為這是相關的。

感謝這裡的所有幫助!


更新:

$ dig @130.244.196.98 ns-932.amazon.com

; <<>> DiG 9.6.1-P2 <<>> @130.244.196.98 ns-932.amazon.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8791
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;ns-932.amazon.com.             IN      A

;; ANSWER SECTION:
ns-932.amazon.com.      1       IN      A       130.244.196.98

;; AUTHORITY SECTION:
.                       1       IN      NS      localhost.

;; ADDITIONAL SECTION:
localhost.              604800  IN      A       127.0.0.1
localhost.              604800  IN      AAAA    ::1

;; Query time: 1 msec
;; SERVER: 130.244.196.98#53(130.244.196.98)
;; WHEN: Wed Nov 17 22:19:31 2010
;; MSG SIZE  rcvd: 117

更新 2:

# cat /etc/ddclient.conf
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

use=if, if=eth0


######################################################################
##
## $Id: ddclient.conf 1 2008-03-20 10:20:00 Loopia $
##
## LoopiaDNS (www.loopia.se/loopiadns/)
## (supports variables: wildcard,mx,backupmx)
##
######################################################################
daemon=300                              # check every 300 seconds
syslog=yes                              # log update msgs to syslog
mail=root                               # mail all msgs to root
mail-failure=root                       # mail failed update msgs to root
pid=/var/run/ddclient.pid               # record PID in file.
ssl=yes                                 # use ssl-support.  Works with
                                       # ssl-library
#
## Default settings for LoopiaDNS
protocol=dyndns2                                # default protocol
custom=yes                                      # default system
server=dns.loopia.se/XDynDNSServer/XDynDNS.php  # default server
#
## To obtain an IP address from Web status page
#use=web, web=dns.loopia.se/checkip/checkip.php, web-skip='Current IP Address:'
#
## Default logon information
login=mydomain1.com                               # default login
password='mypassword'                               # default password
#
## Optional settings
#mx=mail.mindoman.se                            # default MX
#backupmx=no                                    # host is primary MX?
#wildcard=no                                    # add wildcard CNAME?
#
## What hosts to update; mindoman.se,www.mindoman.se
my-server.mydomain1.com, mydomain2.com

問題終於解決了!

我偶然發現來自我的 ISP 的一條消息,其中包含我的網路升級計劃,它說我需要登錄。

如果我錯了,請糾正我,但我本地網路中的所有電腦都可以正常工作,因為它們在伺服器上使用綁定來解析主機名。我猜伺服器不是。

刪除 ddclient 記憶體文件幾分鐘後,我的域名又恢復了。

好處是我現在是 100 Mbit :-)

也許您的解析器配置已過時

域名伺服器是否/etc/resolv.conf可以訪問?

是否host se.archive.ubuntu.com返回 IP 地址?

我可以ping se.archive.ubuntu.com——你可以嗎?

引用自:https://serverfault.com/questions/203049