|
|
便利なツール Emacs らくらく 入門 |
|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||
2024年03月10日(日) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]#1 [server] 停電 (瞬電)
留守の間に、多分 18:00 頃
瞬電があって、数多くのサーバが止ってしまった。特に DNS がこまった。
もしかして bios の設定で、通電時に ON の設定にしておけば良いのかな
と思う。しかし、それだと、本当に AC を差した瞬間に入るから、自分でちょっとびっくり
実は、 3/14 現在、 mrtg 用の polling がまだ動いていない (と思ったら、それは動いている)
例えば File Server は、それで勝手に上っていたらしい
$ uptime 7:57AM up 3 days, 10:22, 2 users, load averages: 0.00, 0.00, 0.002021/03/13 の日記 ( つっこみ )
2024年03月03日(日) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]#2 useradd[root@smartos /opt/pkgsrc/devel/R-Rcpp]# useradd -m -s /bin/sh makoto UX: useradd: ERROR: Cannot update system files - login cannot be created.By manually edit /etc/passwd and /etc/master, copying root item to user I could bypass above issue. ( つっこみ )
#1 [smartos] the second try on bare-metalbeebox-03@makoto 07:59:44/240303(~)% zcat smartos-latest-USB.img.gz | sudo dd of=/dev/rsd2d bs=64m [ 9117499.3311046] load: 0.47 cmd: zcat 24884 [pipewr] 0.85u 0.03s 1% 1928k 0+2241 records in 0+2240 records out 146800640 bytes transferred in 23.532 secs (6238340 bytes/sec) zcat: smartos-latest-USB.img.gz: done 458756/205963348 bytes (0.22%) 0+29603 records in 0+29603 records out 1940000256 bytes transferred in 308.122 secs (6296208 bytes/sec) beebox-03@makoto 08:05:00/240303(~)% [root@smartos ~]# uname -a SunOS smartos 5.11 joyent_20240222T001232Z i86pc i386 i86pc[root@smartos ~]# history 1 uname -a 2 find / -name pkgsrc 3 pkgin install cvs 4 pkgin install git-base 5 pkgin install gcc13 6 pkgin install perl 7 pkgin install cmake 9 pkgin install python311 11 pkgin install rsync 12 pkgin install sudo [root@smartos ~]# mkdir /opt/pkgsrc [root@smartos ~]# cd /opt [root@smartos /opt]# git clone https://github.com/NetBSD/pkgsrc Cloning into 'pkgsrc'... remote: Enumerating objects: 4216860, done. remote: Counting objects: 100% (34918/34918), done. remote: Compressing objects: 100% (14258/14258), done.(Above git command did not finish, but I noticed the RAM size was only 1 GB, I have to replace it to 16 GB). ( つっこみ )
2024年02月29日(木) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]#1 [mail] opendkim and senmail( つっこみ )
2024年01月24日(水) 旧暦 [n年日記] [更新:"2024/01/24 03:26:47"]#1 [pkgsrc] chat/iam 0.0.81211 ? Is 0:00.09 | |-- sshd: root@notty 27531 ? Is 0:00.45 | | `-- /usr/pkg_bulk/bin/pbulk-build -c 192.168.1.28:2002 -b /usr/pkg_bulk/libexec/pbulk/pkg-build 1787 ? I 0:00.02 | | `-- /bin/sh /usr/pkg_bulk/libexec/pbulk/pkg-build 14570 ? I 0:00.44 | | `-- /usr/bin/make all BATCH DEPENDS_TARGET WRKLOG 26871 ? I 0:00.00 | | `-- /bin/sh -c set -e;\t\t\t\t\t if test -n "" && /usr/sbin/pkg_info -K /usr/pkg/pkgdb -qe iamb-0.0.8; then echo ===\\> "Skipping installation of already hand 24258 ? I 0:00.40 | | `-- /usr/bin/make _MAKE OPSYS OS_VERSION OPSYS_VERSION LOWER_OPSYS _PKGSRCDIR PKGTOOLS_VERSION UNPRIVILEGED_USER UNPRIVILEGED_GROUP UNPRIVILEGED_GROUPS _CC _P 16995 ? Il 0:06.36 | | `-- /usr/pkg/bin/cargo build --release --offline -j1 21082 ? Ol 42:53.32 | | `-- rustc --crate-name iamb --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --em (gdb) bt #0 0x000070d2c8ddbf5d in ?? () from /usr/pkg/lib/libLLVM-16.so #1 0x000070d2c8ddd664 in llvm::InstCombinePass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) () from /usr/pkg/lib/libLLVM-16.so #2 0x000070d2cb545e5d in ?? () from /usr/pkg/lib/libLLVM-16.so #3 0x000070d2ca3159d1 in ?? () from /usr/pkg/lib/libLLVM-16.so #4 0x000070d2c8058127 in llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) () from /usr/pkg/lib/libLLVM-16.so #5 0x000070d2ca312c6b in ?? () from /usr/pkg/lib/libLLVM-16.so #6 0x000070d2c80553e0 in llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) () from /usr/pkg/lib/libLLVM-16.so #7 0x000070d2d015bfdf in LLVMRustOptimize () from /usr/pkg/lib/librustc_driver-d49d1997f5743dd5.so #8 0x000070d2d00c1fa2 in _RNvNtNtCs4uP15hP1fN3_18rustc_codegen_llvm4back5write13llvm_optimize () from /usr/pkg/lib/librustc_driver-d49d1997f5743dd5.so #9 0x000070d2d008728d in _RNvNtNtCs4uP15hP1fN3_18rustc_codegen_llvm4back3lto16run_pass_manager.llvm.5947671717916184973 () from /usr/pkg/lib/librustc_driver-d49d1997f5743dd5.so #10 0x000070d2d0098bf6 in _RNvMs_NtNtCsgkeN78LKOD0_17rustc_codegen_ssa4back3ltoINtB4_16LtoModuleCodegenNtCs4uP15hP1fN3_18rustc_codegen_llvm18LlvmCodegenBackendE8optimizeB1e_ () from /usr/pkg/lib/librustc_driver-d49d1997f5743dd5.so #11 0x000070d2d006b055 in _RINvNtNtCs23ejddVaKN0_3std10sys_common9backtrace28___rust_begin_short_backtraceNCINvXs0_Cs4uP15hP1fN3_18rustc_codegen_llvmNtB1o_18LlvmCodegenBackendNtNtNtCsgkeN78LKOD0_17rustc_codegen_ssa6traits7backend19ExtraBackendMethods18spawn_named_threadNCINvNtNtB2s_4back5write10spawn_workB1W_E0uE0uEB1o_ () from /usr/pkg/lib/librustc_driver-d49d1997f5743dd5.so #12 0x000070d2d006e9b2 in _RNSNvYNCINvMNtCs23ejddVaKN0_3std6threadNtBa_7Builder16spawn_unchecked_NCINvXs0_Cs4uP15hP1fN3_18rustc_codegen_llvmNtB1f_18LlvmCodegenBackendNtNtNtCsgkeN78LKOD0_17rustc_codegen_ssa6traits7backend19ExtraBackendMethods18spawn_named_threadNCINvNtNtB2j_4back5write10spawn_workB1N_E0uE0uEs_0INtNtNtCsbZL9hcstRkc_4core3ops8function6FnOnceuE9call_once6vtableB1f_ () from /usr/pkg/lib/librustc_driver-d49d1997f5743dd5.so #13 0x000070d2cf2a64f5 in std::sys::unix::thread::Thread::new::thread_start () from /usr/pkg/lib/libstd-0d8b2054f286922c.so #14 0x000070d2c680c732 in ?? () from /usr/lib/libpthread.so.1 #15 0x000070d2cec87fc0 in ?? () from /usr/lib/libc.so.12 #16 0x0000000000000000 in ?? () cluster055% date Wed Jan 24 03:26:06 UTC 2024 cluster055% ls -lt total 1448 -rw-r--r-- 1 root wheel 12036 Jan 24 02:31 build.log -rw-r--r-- 1 pbulk wheel 570232 Jan 24 02:24 work.log -rw-r--r-- 1 root wheel 46710 Jan 24 01:20 configure.log -rw-r--r-- 1 root wheel 45981 Jan 24 01:19 checksum.log -rw-r--r-- 1 root wheel 428 Jan 24 01:19 depends.log -rw-r--r-- 1 root wheel 29 Jan 24 01:18 pre-clean.log ( つっこみ )
2024年01月21日(日) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]#1 [pkgsrc] uselocale vs setlocale (textproc/R-readxl)libxls/locale.c: In function 'xls_wcstombs_l': libxls/locale.c:84:26: warning: implicit declaration of function 'uselocale'; did you mean 'setlocale'? [-Wimplicit-function-declaration] 84 | locale_t oldlocale = uselocale(loc); | ^~~~~~~~ @ Ubuntu /usr/include/locale.h:
cat -n /usr/include/locale.h
182 /* Switch the current thread's locale to DATASET. 183 If DATASET is null, instead just return the current setting. 184 The special value LC_GLOBAL_LOCALE is the initial setting 185 for all threads and can also be installed any time, meaning 186 the thread uses the global settings controlled by `setlocale'. */ 187 extern locale_t uselocale (locale_t __dataset) __THROW; 188 189 /* This value can be passed to `uselocale' and may be returned by it. 190 Passing this value to any other function has undefined behavior. */ 191 # define LC_GLOBAL_LOCALE ((locale_t) -1L) ( つっこみ )
|
最近の日記 2024年03月10日 ・停電 (瞬電) 2024年03月03日 ・the second try on bare-metal ・useradd 2024年02月29日 ・opendkim and senmail 2024年01月24日 ・chat/iam 0.0.8 2024年01月21日 ・uselocale vs setlocale (textproc/R-readxl) | ||