kihei/i-076cd0a7cd775af64
by SadServersMore by SadServers
-V, --version print version admin@i-0c5198ac56f7a1469:~$ strace -e open ./ .ansible/ .config/ .ssh/ agent/ data/ kihei admin@i-0c5198ac56f7a1469:~$ strace -e open ./kihei --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=1049, si_uid=1000} --- --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1053, si_uid=1000, si__stime=0} --- panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d +++ exited with 2 +++ admin@i-0c5198ac56f7a1469:~$ strace ./kihei | less admin@i-0c5198ac56f7a1469:~$
i-0c5198ac56f7a1469 03:45
by SadServersLogical volume "my_lv" created. admin@i-08fd4969dab4ed48f:~$ sudo mkfs.ext4 /dev/my_vg/my_lv mke2fs 1.46.2 (28-Feb-2021) Creating filesystem with 472064 4k blocks and 118080 inodes Filesystem UUID: cd7eddd3-af99-4128-aa7f-a01899708b6c Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Allocating group tables: done Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done admin@i-08fd4969dab4ed48f:~$ sudo mount /dev/my_vg/my_lv /mnt/my_mount_point
kihei/i-08fd4969dab4ed48f 00:36
by SadServersopenat(AT_FDCWD, "/home/admin/webserver.py", O_RDONLY|O_CLOEXEC) = -1 EACCES (Pestat("/home/admin/webserver.py", {st_mode=S_IFREG|0770, st_size=360, ...}) = 0 readlink("/home/admin/webserver.py", 0x7ffcd0b15d90, 4096) = -1 EINVAL (Invalid lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/admin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/home/admin/webserver.py", {st_mode=S_IFREG|0770, st_size=360, ...}) = 0 openat(AT_FDCWD, "/home/admin/webserver.py", O_RDONLY) = -1 EACCES (Permission dwrite(2, "python3: can't open file '/home/"..., 82python3: can't open file '/homrrno 13] Permission denied ) = 82 rt_sigaction(SIGINT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_r{sa_handler=0x6402c0, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f1915bdf1exit_group(2) = ? +++ exited with 2 +++ admin@i-0c85c5a418bb83a0e:/etc/systemd/system$ strace python3 /home/admin/webser
paris/i-0c85c5a418bb83a0e 02:08
by SadServersudev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-00ef44706a7b8e10a:~$ bzip2 bash: bzip2: command not found admin@i-00ef44706a7b8e10a:~$ gzip gzip: compressed data not written to a terminal. Use -f to force compression. For help, type: gzip -h admin@i-00ef44706a7b8e10a:~$ gzip -9 datafile admin@i-00ef44706a7b8e10a:~$ ls agent data datafile.gz kihei admin@i-00ef44706a7b8e10a:~$