が、問題が出てきた。IPアドレスをリリースしたのかリモート接続できない。完全に静的IPでなくて他の機器が勝手に与える形で静的IPになっていたが、これを自サーバーで固定するタイプの完全静的IPにしてもいつかダメになるようになった。
それと起動時にLXCが立ち上がらなくなってしまって、マニュアル操作でもダメになった。aptも変なので再インストールしてみようと思う。
(つづく) 今日更新するつもり
追加(2019年10月2日朝)
Ubuntu server 18.04をインストールした後に sudo apt update で403エラーが出た。
これがエラーメッセージ。
----------------------
Err:1 http://my.archive.ubuntu.com/ubuntu bionic InRelease
403 Forbidden [IP: 91.189.88.149 80]
Err:2 http://my.archive.ubuntu.com/ubuntu bionic-updates InRelease
403 Forbidden [IP: 91.189.88.149 80]
Err:3 http://my.archive.ubuntu.com/ubuntu bionic-backports InRelease
403 Forbidden [IP: 91.189.88.149 80]
Err:4 http://my.archive.ubuntu.com/ubuntu bionic-security InRelease
403 Forbidden [IP: 91.189.88.149 80]
Reading package lists... Done
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://my.archive.ubuntu.com/ubuntu bionic InRelease' is not signed.
E: Failed to fetch http://my.archive.ubuntu.com/ubuntu/dists/bionic/InRelease 403 Forbidden [IP: 91.189.88.149 80]
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://my.archive.ubuntu.com/ubuntu bionic-updates InRelease' is not signed.
E: Failed to fetch http://my.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease 403 Forbidden [IP: 91.189.88.149 80]
E: Failed to fetch http://my.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease 403 Forbidden [IP: 91.189.88.149 80]
E: The repository 'http://my.archive.ubuntu.com/ubuntu bionic-backports InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://my.archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease 403 Forbidden [IP: 91.189.88.149 80]
E: The repository 'http://my.archive.ubuntu.com/ubuntu bionic-security InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
----------------------------
Ubuntu serverのバージョン情報
VERSION="18.04.3 LTS (Bionic Beaver)"
ハードウェアは
HP ProLiant ML350e Gen8 (Windows serverのサポート期限切れで再利用)
ネットワークは社内LAN
インターネットへの出口は通信会社の光ファイバーとその会社提供のモデム。
モデムからFortiGateファイアーウォール→ネットワークスイッチ→LANとなる。
通常程度のWebフィルターはかかっているが、プロキシは使用していない。
プロキシが設定されているかも念のため確認はした。
/etc/netplan/50-cloud-init.yamlの中身は下記です。
ちなみにインストール直後にも403エラーは発生していました。
その後再確認でインストール直後のファイルに置換しましたがそれでも発生。
network:
ethernets:
eno1:
dhcp4: no ←インストール後に記入
dhcp6: no ←インストール後に記入
addresses:
- 192.168.0.xxx/24 ←固定(インストール中に設定)
gateway4: 192.168.0.1
nameservers:
addresses:
- 208.xx.xx.xx ←インストール中に設定
- 208.xx.xx.xx ←インストール後に記入
- 8.8.8.8 ←インストール後に記入
search: []
optional: true
version: 2
現在時刻の設定とタイムゾーンの設定もしましたが、それでも同じエラーが出た。
タイムゾーンは日本でなく、マレーシアなので+8。
リポジトリの中身を他国(日本)のものに替えても同じエラーが出た。
/etc/apt/sources.listの中身を変更。(これで解決した)
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb ftp://my.archive.ubuntu.com/ubuntu bionic main restricted ←httpをftpに変更
# deb-src http://my.archive.ubuntu.com/ubuntu bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb ftp://my.archive.ubuntu.com/ubuntu bionic-updates main restricted ←httpをftpに変更
# deb-src http://my.archive.ubuntu.com/ubuntu bionic-updates main restricted
(まだ続くが、全てのhttpをftoに替えた。)
現象としては、インストール時にもアップデートは行われるが、そこでは問題なくアップデートは行われていた。インストール後、マシン再起動で通常起動するとアップデートができなかった。
終わり
最新の画像もっと見る
最近の「マレーシアでニャー2019」カテゴリーもっと見る
最近の記事
カテゴリー
- 日本でニャー2025(40)
- 日本でニャー2024(344)
- 猫の治療(34)
- 猫の引越(17)
- 癌になる(25)
- 日本でニャー2023(333)
- 日本でニャー2022(98)
- マレーシアでニャー2022(244)
- マレーシアでニャー2021(355)
- マレーシアでニャー2020(277)
- マレーシアでニャー2019(280)
- マレーシアでニャー2018(238)
- マレーシアでニャー2017(241)
- マレーシアでニャー(321)
- 長いようで短い5年目マレーシア(5)
- どうにか4年目マレーシア(157)
- 3年目に突入マレーシア(358)
- 2年目のマレーシア(428)
- まさか、マレーシア!(409)
- 英語やるぞ!(140)
- いい歳して大学へ(13)
- 台湾-非観光的(78)
- 備忘録バリとインドネシア(24)
- Vespa? Yes, but LML !(218)
- カンガルーじゃないKangoo(108)
- Photo Photo(117)
- 日本脱出(140)
- 美食満腹(104)
- 映画って !(292)
- いろいろ雑記帖(394)
- これってスゴイ!(92)
- Puppy で Go!(20)
- ABCのAはArduinoのA(68)
バックナンバー
人気記事