[FreeBSD-users-jp 93395] Illegal instruction (fcrontab)

2011-03-06 スレッド表示 SAKAMOTO Makio
一般ユーザー権限でも使える fcron を試してみたのですが、

$ fcrontab -e
16:33:53 fcrontab : editing makio's fcrontab
no fcrontab for makio - using an empty one

(emacs:15316): GLib-WARNING **: In call to g_spawn_sync(), exit status
of a child process was requested but SIGCHLD action was set to SIG_IGN
and ECHILD was received by waitpid(), so exit status can't be
returned. This is a bug in the program calling g_spawn_sync(); either
don't request the exit status, or don't set the SIGCHLD action.
GConf エラー: 設定サーバ (gconfd) に接続できませんでした: いくつか考えられる原因として、ORBit の TCP/IP
ネットワークを有効にしていない、あるいはお使いのシステムで古い NFS
のロックがクラッシュを引き起こしたことが考えられます。これに関連する情報については
http://projects.gnome.org/gconf/ を参照してください: (詳細 -  1:
セッションへの接続に失敗しました: コマンドライン 'dbus-launch
--autolaunch=1ffdc011a8ecd7e593b1761b0706 --binary-syntax
--close-stderr' が非ゼロの終了コード 2655240 で終了しました: )

(emacs:15316): GLib-WARNING **: In call to g_spawn_sync(), exit status
of a child process was requested but SIGCHLD action was set to SIG_IGN
and ECHILD was received by waitpid(), so exit status can't be
returned. This is a bug in the program calling g_spawn_sync(); either
don't request the exit status, or don't set the SIGCHLD action.
16:34:24 could not fflush() file_name: Bad file descriptor
Illegal instruction


となってしまい、fcrontab -l で確認しても crontab ファイルは編集済のはずの行があり
ません。/tmp ディレクトリには、fcr-nOtL5w というファイルがあり、fcrontab -e で記
述した内容そのものが確認できました。

crontab -e では上記のような GConf エラー などのメッセージはでるものの、編集後
正常に crontab ファイルへ書き込め、実行されています。Illegal instruction のような
メッセージも出ません。

以下は、fcron インストール後に設定したファイルですが、これ以外にも何か必要でしょ
うか?マニュアルも英語版しかなくほとんど読めてないので。。。

/etc/rc.conf
fcron_enable=YES
cron_enable=NO


/usr/local/etc/fcron.allow
all


/usr/local/etc/fcron.conf
# The spool directory where fcron stores its files
fcrontabs   =   /var/spool/fcron

# The locations of the pid file and the fifo file
pidfile =   /var/run/fcron.pid
fifofile=   /var/run/fcron.fifo

# allow/deny files to determine which users are allowed to use fcrontab
fcronallow  =   /usr/local/etc/fcron.allow
fcrondeny   =   /usr/local/etc/fcron.deny

# Location of the programs used by fcron
shell   =   /bin/sh
sendmail=   /usr/sbin/sendmail

# Location of the default editor for fcrontab -e
editor  =   /usr/local/bin/emacs

-- 
SAKAMOTO Makio


[FreeBSD-users-jp 93396] Re: PC98 で ブートローダが動かない。

2011-03-06 スレッド表示 Naoya Masuyama
2011-03-06 (日) の 00:39 +0900 に Naoya Masuyama さんは書きました:
 Masuyama です。よろしくお願いします。
 
 8.2 R で、フロッピーディスクから、インストーラを進めているのですが、ハー
 ドディスクにインストールを進めてゆき、ブートローダをインストールしたはず
 なのですが、再起動すると、ブートローダがインストールされていないためなの
 か、カーソルが点滅するだけで、ブートローダが動かないのですが、何か、イン
 ストーラを進めてゆく上で、指定をまちがってしまったのでしょうか?
 
 小生のマシンには、E-IDE が一台のHDD(8GB)、SCSIドライブが4台ありま
 す。のうち、3台目(8GB のSCSI HDD)にFreeBSD専用のHDDと、決め打ちしてい
 るのですが。
 
 インストーラを進めてゆく上で、ポイントがあるのであれば、ご教授、願いた
 く、よろしくお願い申し上げます。
 
 Masuyama
 
補足ですが、フロッピーディスク起動で、インストーラを進めたのですが、ハー
ドディスクを認識する際に、内臓のHDDを 8.2 R を デバイスファイル?で認
識できないのです。

この辺が、ハードディスクに FreeBSD 8.2 R をインストール際に、ネックに
なっているのかもしれぬ、と、筆を走らせてみたのですが、小生の勘違い、勉強
不足のためでしょうか?

よろしくお願いします。

-

Masuyama