NI-Lab.

nilog:

← 前の日 2020-03-14 次の日 →
← 一年前 一年後 →
Twitter (2020-03-14)
$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

あれ? Xcode 起動してインストールしよう。
[t] 2020-03-14 22:13:22
関連するかも情報
$ xcodebuild --version
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
[t] 2020-03-14 22:13:22
$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

あれ? Xcode 起動してインストールしよう。
[t] 2020-03-14 22:13:22
$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

でちょっと進んだ。
[t] 2020-03-14 22:23:14
"configure: Potential Boot JDK found at /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home is incorrect JDK version (openjdk version "11.0.6" 2020-01-14); ignoring"

あらー
[t] 2020-03-14 22:26:51
うぉぅ・・・

configure: (Your Boot JDK version must be one of: 13 14 15)
[t] 2020-03-14 22:28:47
Ubuntu の時刻がおかしい。

$ sudo systemctl -l status systemd-timesyncd

ってしたら

Timed out waiting for reply from

って。。。
[t] 2020-03-14 22:30:14
【話題のキーワード】
1. 鬼龍院翔
2. はなしらべ
3. キリショー
4. ブラタモリ
5. 検査技師
6. クロックス
7. 硯
8. ひふみ
9. アド街
10. 一気呵成
https://search.yahoo.co.jp/realtime #buzzbot
[t] 2020-03-14 22:30:53
/etc/systemd/timesyncd.conf を見ると、設定が全部コメントアウトされてた。NTP=ntp.nict. jp を指定しても Timed out waiting for reply from が解消されない。iptables の設定を見たら NTP のアクセスを遮断してるっぽい。。。
[t] 2020-03-14 22:35:09
iptables いじってみたけどダメだった・・・試しに ntpdate コマンドでやってみる。

$ sudo apt install ntpdate
$ sudo ntpdate ntp.nict. jp

あれ、これはちゃんと時刻同期してくれたぞ。。。
[t] 2020-03-14 23:30:46
ntpdate コマンドを使うのに iptables に -A INPUT -p udp -m udp --sport 123 --dport 123 -j ACCEPT は必要だった。
[t] 2020-03-14 23:33:30
ntpdate はちゃんと同期してくれるのに systemd-timesyncd は Timed out waiting for reply from ってなって同期してくれない。さてどうしよ。。。
[t] 2020-03-14 23:41:42
2020年03年14日のnilogをすべて表示する

- NI-Lab.
- Mastodon (@nilab@mastodon-japan.net)
- Twitter (@nilab)
- Timelog (@nilab)
- はてなブックマーク (id:nilab)

Web Services by Yahoo! JAPAN