hns - 日記自動生成システム - Version 2.19.9

  • 03/19(火) CQ Ham Radio
  • 03/20(水) 不燃ごみ
  • 03/25(月) Interface
  • 03/30() 0900 WW WPX Phone
  • 03/31() NTT 東 払込期日
  • 04/01(月) atactl check
  • 04/03(水) 不燃ごみ
  • 04/13() 1600 - 2200 JIDX CW
  • 04/17(水) 不燃ごみ
  • 403 JNUG 総会/BOF 2017/07/08 (土)
  • 402 用途別 Emacs ( C, LaTeX, 日本語 )
  • 380 cvsweb の移行
  • 370 tamago 辞書登録
  • 368 CROSS (cross/i386-mingw32, cross/powerpc-linux ) Framework --- binutils + gcc
  • 363 Wanderlust+HyperEstraier
  • 360 evbppc 用 patch / 玄箱
  • 335 /dev/battery is missing hack | libgcc_s_pic.a is missing | samba の -PIE 問題335 ntpd monitor
  • 325 tcode頁の更新
  • 322 software |hardware
  • 321 emacs-22 | IPv6
  • 320 bulk build (Mac OS X 10.4 and NetBSD/macppc)
  • 310 Wanderlust の Namazu の挙動
  • 290 WordPress 1.2 -> 1.5 migration
  • 220 Wanderlust で日本語題名の wl-summary-print-buffer
  • 215 NetBSD/ofppc
便利なツール
Emacs
らくらく 入門
rakuraku-emacs-cover

先月 2024年03月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
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.00
2021/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-metal

beebox-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.8

 1211 ?     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);
      |                          ^~~~~~~~
| setlocale libxls/locale.c:84:26: warning: initialization of 'locale_t' {aka 'struct _locale *'} from 'int' makes pointer from integer without a cast [-Wint-conversion

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)
以上、5 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)