[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:03139] Re: try-to-unuse?



酒井さん、こんにちは

  > 中谷さん、はじめまして。

おくればせどうぞよろしく


  > >  > try-to-unuse : didn't find entry    xx00 (← xxの部分はテキトーな16進
数)
  > 
  > try-to-unuseじゃなくてtry_to_unuseでした。

このメッセージ妙にきになって、あれこれファイルを探してみたのですが、


  > >具体的にどんな風に shutdown されているのでしょうか。
  > 
  > shutdown -h now です。
  > すると、こんな感じのメッセージが出てきます。

真中あたりの部分が妙にきになって、


  > Broadcast message from root (tty1) Thu Jun 24 15:44:08 1999...
  > The system is going down for system halt NOW!!
  > INIT : Switching to runlevel : 0
  > INIT : Sending processes the TERM signal
  > INIT : Sending processes the KILL signal
  > Running shutdown script /etc/rc.d/rc.0
------------------このあたりから
  > cp: `/usr/lib/zoneinfo/localtime' and `/etc/localtime' are the same file
  > Unmounting remote filesystems
  > Turning off swap
  > try_to_unuse : didn't find entry    100 (←ここで例のメッセージが多量に出て
くる)
--------------------------ここまで
  > Unmounting local filesystems.
  > Remounting root filesystem read-only.
  > The system is halted.
  > On the nest boot fsck will be FORCED
  > System halted.

このメッセージは /etc/rc.d にあるrc.6 の記述なのですが、

  > cp: `/usr/lib/zoneinfo/localtime' and `/etc/localtime' are the same file

このメッセージがなんでむき出しででてくるのでしょうね。

  > try_to_unuse : didn't find entry    100 (←ここで例のメッセージが多量に出て
このメッセージを出すようなファイルが何かといろいろ探してみたのですが、
ちょっとわからなかった。

shutdown -r now でリブートさせても同じになりますか。

これは、私の、/etc/rc.d/rc.6 のファイルの最後の部分なのですが、
-r で reboot する場合と、-h で電源落す場合、
rc.6 もしくは rc.0 が使われるわけで。。。。
コメント記号の部分も含めて、お使いのものと何か違いがありますか。

--------------------------------
前半部分省略

 # Before unmounting file systems write a reboot or halt record to wtmp.
  $command -w

  # Save localtime
  [ -e /usr/lib/zoneinfo/localtime ] && cp /usr/lib/zoneinfo/localtime /etc

  # Unmount any remote filesystems:
  echo "Unmounting remote filesystems."
  umount -a -tnfs

  # Turn off swap, then unmount local file systems.
  echo "Turning off swap."
  swapoff -a
  echo "Unmounting local file systems."
  # Don't remount UMSDOS root volumes:
  if [ ! "`mount | head -1 | cut -d ' ' -f 5`" = "umsdos" ]; then
    umount -a -tnonfs
    echo "Remounting root filesystem read-only."
    mount -n -o remount,ro /
  else
    umount -a -tnonfs -tnoumsdos
  fi
  # This never hurts:
  sync

  # See if this is a powerfail situation.
  if [ -f /etc/power_is_failing ]; then
    echo "Turning off UPS, bye."
    /sbin/powerd -q
    exit 1
  fi

  # Now halt or reboot.
  echo "$message"
  [ ! -f /etc/fastboot ] && echo "On the next boot fsck will be FORCED."
  $command -f
--------------------------------


  > # ひょっとしたら、Plamo/98に特有の問題?

98 マシンのことはよくわからないですが、
shutdown 関係のファイルは同じだろうとは思うけれど、どうなんだろう。

中谷千絵


References
[plamo:03126] Re: try-to-unuse?, M.SAKAI

[検索ページ] [メール一覧]
Plamo ML 公開システム