2024-05-27
6:50 起床
7:30 出発
8:50 大学着
9:00 コンピュータリテラシ(TA)
10:30 ほどほどに終わる
むつきくんとセントラルに昼食を食べに行く
ゆるい話をした
13:10 作業
とりあえず、iproute2を試すための環境が欲しい。Marsに作る。
13:15 ミドルウェアが動かない。さて…
code: error
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-generic.
You will not be able to start VMs until this problem is fixed.
エラーでググる。
13:30 なんか動いちゃった(鼻ホジ)
新しいエラー(動いてないじゃん)
code: error
Your VM has become "inaccessible." Unfortunately, this is a critical error
with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBox
and clear out your inaccessible virtual machines or find a way to fix
c78b60f as virtualbox inaccessible /home/mars/src/dns-evaluation/new_cyphonic/cloud/vm/as
まずいですよ!
ぶっちゃけ、もう一度動いてくれる必要性は全くないので、とっとと消えてほしい。
よし!
複数のネットワーク(通信経路)が欲しいので、内部ネットワークで適当に複数用意する。
14:10 やっぱりVMが立ち上がらん
code: error
There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: "import", "/home/pluslab/.vagrant.d/boxes/generic-VAGRANTSLASH-ubuntu2204/4.2.16/virtualbox/box.ovf", "--vsys", "0", "--vmname", "generic-ubuntu2204-virtualbox_1716786587894_24454", "--vsys", "0", "--unit", "11", "--disk", "/home/mars/VirtualBox VMs/generic-ubuntu2204-virtualbox_1716786587894_24454/generic-ubuntu2204-virtualbox-disk001.vmdk" Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/pluslab/.vagrant.d/boxes/generic-VAGRANTSLASH-ubuntu2204/4.2.16/virtualbox/box.ovf...
OK.
0%...
Progress state: NS_ERROR_INVALID_ARG
VBoxManage: error: Appliance import failed
VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value (extended info not available)
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1404 of file VBoxManageAppliance.cpp
エラーでググる「Progress state: NS_ERROR_INVALID_ARG VBoxManage: error: Appliance import failed」
そういえば、言われてみればmarsはユーザ名が前から変わっている気が………
Linuxでも同じ問題がありましたが、~/.config/VirtualBoxを削除すると解決しました。
消した
code: error
The name of your virtual machine couldn't be set because VirtualBox
is reporting another VM with that name already exists. Most of the
time, this is because of an error with VirtualBox not cleaning up
properly. To fix this, verify that no VMs with that name do exist
(by opening the VirtualBox GUI). If they don't, then look at the
folder in the error message from VirtualBox below and remove it
if there isn't any information you need in there.
VirtualBox error:
VBoxManage: error: Could not rename the directory '/home/pluslab/VirtualBox VMs/generic-ubuntu2204-virtualbox-x64_1716788365187_7653' to '/home/pluslab/VirtualBox VMs/client-1' to save the settings file (VERR_ALREADY_EXISTS)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "SaveSettings()" at line 3286 of file VBoxManageModifyVM.cpp
VirtualBox VMsの中を消しとばした(どうせ全部使わんし)
15:00 やっとこさVMが動いた。
若干休憩
15:20 再開
iproute2ってなんだ?
🤷♂️
16:10 研究室に来てiproute2について調べる
急がば回れということで、最初から読んでみる…
と思ったけど2~7あたりは全然関係なさそうだったからすっ飛ばした。
先生は枝豆が好き
あつみんは丸亀製麺のうどんが好き
スナップエンドウが嫌い
宮村さんは肉/カレーが好き
なすが嫌い
18:50 帰る
帰り道でiproute2について勉強する
やんわりとわかってきたものの、やっぱり、手を動かしたい………
寝る