CMS製品比較のリンク集
中国レンタルサーバーNO1に関連するサイト
OSCOMMERCE ALTERのリンク
WEBホスティングについて
XOOPS 活用のサイト
WINDOWS2000 FTPサーバー構築のリンク集
Cron レンタルサーバーの情報
サーバー構築セミナーに関連するサイト
Cron WINDOWSについて
ホスティングヤフーの情報
サーバーWINDOWSSERVER構築の情報
サブドメイン名のサイト
WEBサーバー構築 フリーソフトのサイト集
ドメイン無料取得とは?
レンタルサーバーランキングの関連サイト
プロキシサーバー構築 WINDOWSのサイト
ホスティングVPSのリンク
POWEREDBY XOOPS 2.0のリンク集
WEBサーバー情報
川嶋です。man-pages-ja-20001116-1jaJPのfile$cat/etc/cron.weekly/makewhatis-ja.cron#!/bin/bash/usr/sbin/makewhatis/usr/share/manja_JP.eucJPexit0となっていませんか?/usr/sbin/makewhatis/usr/share/man/ja_JP.eucJP^当方の間違いだったら、ごめんなさい
他のメニューにジャンプします!メニュートップLinuxコラム意外と知らないwhatisコマンド!rootroot402Sep122001makewhatis.cron-rwxr#twomakewhatiscronscriptsgetrunclose..
twomakewhatiscronscriptsgetrunclosetoeachothertokeep#themfromsteppingoneachother&aposstoes.Theworstthatwill#happenisthattheywilltemporarilycorruptthedatabase[-f$LOCKFILE]&&exit0trap"rm-f$LOCKFILE"EXITtouch$LOCKFILEmakewhatis-u-wexit0whatisコマンドは、目的のコマンドに関する
例えばFedoraCoreの場合、whatisデータベースを更新するシェル・スクリプトが「/etc/cron.weekly/makewhatis.cron」として用意されている。whatisデータベースを手動で更新するには、以下のようにしてrootでこのスクリプトを実行すればよい。
logrotateと戯れて・・・。初版作成:2002/10/22makewhatis-ja.cron*makewhatis.cron*[root@seisyuuweekly]#catmakewhatis.cron#!/bin/bash..
ls/etc/cron.daily/←ファイルの保存場所を確認するinn-cron-expirelogrotatepostfixtmpwatchinn-cron-rnewsmakewhatis.cronslocate.cron#locatecron.daily←あるいはlocateコマンドでの検索など
makewhatis.cronでghostscript.1.gzが無いよーと毎日文句を言うので、makewhatis-u-wの後に>&/dev/nullを追加。X11ControlとCapsを入れ換える。・/etc/X11/XF86ConqfigのKeyboardセクションにある、XkbDisableをコメントアウトし、XkbOptions"ctrl:swapcaps"という行を追加する
ftpd||+--samba||+--slrnpull||+--squid||+--syslog||+--uucp||+--xntpd|+--slocate.cron|+--slrpull-expire+--/etc/cron.weekly|+--makewhatis-ja.cron
0anacronmakewhatis.cronslocate.crontetex.cron/etc/cron.hourly:diskcheckinn-cron-nntpsendinn-cron-rnews/etc/cron.monthly:0anacron/etc/cron.weekly:0anacronmakewhatis.cronなるほど、news関連のものがいくつか登録されている。これらを実行しないようにしよう。%chmod-x/etc/cron*/inn-*/etc/cron*/slrn*
inn-cron-expirelogrotatepostfixslocate.croninn-cron-rnewsmakewhatis.cronptex.crontmpwatch.ちなみに、午前4時2分のディスクアクセスはRedHatLinux、Turbolinux、VineLinuxのいずれでも発生するが、/etc/cron.dailyの内容は各ディストリ
cron.weeklyの大量なエラー/etc/cron.weekly/00-makewhatis.cron:zcat:stdoutあるファイルは、00-makewhatis.cron0anacronの2..
Toshi}{at}{TLJ}です。AtSun,11Feb200123:02:16+0900,TsutomuKawashima<{kawawa}{at}{mail.interq.or.jp}>wrote:>>川嶋です。>man-pages-ja-20001116-1jaJPのfile>$cat/etc/cron.weekly/makewhatis-ja.cron>#!/bin/bash>/usr/sbin/makewhatis/usr/share/manja_JP.eucJP>exit0>>となっていませんか?>/usr/sbin
rwxr-xr-x1rootroot402Jul321:49makewhatis.cron-rwxr-xr-x1rootroot132Feb272001slocate.cron-rwxr-xr-x1rootroot93Apr92001sysstat-rwxr-xr-x1rootroot244Mar302001tmpwatchこれを見るとlogrotateと言う、シェルがあります。内容を見てみましょう。#more/etc/cron.daily/logrotate#!/bin/sh/usr/sbin
LogWatchメールが届かなくなりました-rwxr-xr-x1rootroot41811月1906:4900-makewhatis.cron-rwxr-xr-x1rootroot2762月..
[Fedora1264]ThinkPadのsleepとanacronTakaFukudaき、/etc/cron.dailyのmakewhatis.cron*slocate.cron*yum.cron*0anacron*prelink*tetex.cron
件名:zcat:stdout:Brokenpipeという内容のメールモモンガ斉藤お世話になっております。/etc/cron.weekly/makewhatis.cron:zcat:stdout:Broken調べてみたのですが、makewhatis.cronの中身にzcat..
いる。リンクするには"rc-updateaddprogramdefault"というコマンドを使う。portageによるコンパイル時のアカは、/usr/portage/distfiles,/var/tmp/portage以下あたりにたまる。anacronはrun-partsを使って日々の業務を実行するが、/etc/cron.dairyの中のスクリプトがmakewhatis.cron
SystemTuningpackagelist(VineLinux2.1)VineLinux2.1のパッケージ(VinePlus含む)のリストはこちらです.います.このうちのmakewhatis.cronが実行されると,./fetchmailconf
[obu:00565]Re:cronで起動されずFrom:tominagamichiya<tominaga@etc/cron.daily/makewhatis.cron/etc/cron.weekly/etc/cron.weekly/makewhatis.cron/etc/cron..
320.whatis←週に1度実行・Linux/etc/cron.daily/makewhatis.cron←毎日実行/etc/cron.weekly/makewhatis.cron←週に1度実行で行われている。Linuxの毎日の更新は、「-u」オプション指定によるwhatisデータベースより日付
twomakewhatiscronscriptsgetrunclosetoeachothertokeep#themfromsteppingoneachother'stoes.Theworstthatwill#happenisthattheywilltemporarilycorruptthedatabase<-f$LOCKFILE>&&exit0
ls-F/etc/cron.*/etc/cron.deny/etc/cron.d:/etc/cron.daily:00-logwatch@0anacron*prelink*slocate.cron*tmpwatch*00-makewhatis.cron*logrotate*rpm*tetex.cron*yum.cron*/etc/cron.hourly:/etc/cron.monthly:0anacron*
「makewhatis.cron」シェルスクリプト399B/etc/cron.monthly空でした。/etc/cron.dも空でした。116ページでは「RedHatは/etc/cron.d下にもシステム用のcrontabファイルがあります。」となっていたのですが、どこに入ったのでしょうか?
LinuxMLD6の標準インストールでは、日本語などローカライズされたmanpageのwhatisデータベースは作成しない設定になっていますので、aproposで日本語のキーワードを使用するには/etc/cron.daily/makewhatis.cronでmakewhatis-u-wの行をLANGUAGE=jamakewhatis-u-wのように
週に1度実行・Linux/etc/cron.daily/makewhatis.cron←毎日実行/etc/cron.weekly/makewhatis.cron←週に1度実行で行われている。Linuxの毎日の更新は、「-u」オプション指定による
□makewhatis.cronwhatisのデータベース作成□slocate.cronslocateのデータベースアップデート□tmpwatchアクセスされないファイルの削除□postfixpostfixのチェック□tetex.cron90日間以上使用されないTexFontsの削除□logrotate/etc/logrotate.confに従って、logrotateを実行
© 2006, WEBサーバー情報.com All rights reserved.![]()