能力更新 404

能力更新 404

我得到的只是以下错误。我该如何调试/可能出了什么问题?

我不知道这是什么时候发生的,可能就在几天前。据我所知,系统没有任何变化。我唯一能想到的是我的备份磁盘空间不足了。

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

答案1

也许你的解析器配置已经过时了

名称服务器可以/etc/resolv.conf访问吗?
是否host se.archive.ubuntu.com返回 IP 地址?
我可以ping se.archive.ubuntu.com- 你能吗?

答案2

问题终于解决了!

我偶然发现了我的 ISP 发来的一条消息,其中包含我的网络升级计划,并说我需要登录。

如果我错了请纠正我,但我本地网络中的所有计算机都可以正常工作,因为它们在服务器上使用 bind 来解析主机名。我猜服务器不行。

在我删除 ddclient 缓存文件几分钟后,我的域名就恢复正常了。

好处是我现在用的是 100 Mbit :-)

相关内容