はじめての自宅サーバ構築 - Fedora/CentOS -
Last Update 2018/05/30
[ 更新履歴 ] [ サイト マップ ] [ 質問掲示板 ] [ 雑談掲示板 ] [ リンク ]
トップ >> 質問掲示板

 このスレッドはクローズされています。記事の閲覧のみとなります。

 ERRORが発生している
日時: 2007/02/06 21:36
名前: とんとん

お世話になります。

fedora5を使っています。
昨日からlogwatchのメールに下記のエラーが表示されております。
このエラーはClam AntiVirusのパターンファイルを更新できないのでしょうか?


(エラー内容)
ERROR: Please edit the example config file /etc/freshclam.conf.
ERROR: Can't parse the config file /etc/clamd.conf


メールサーバーのセキュリティ対策として下記を入れています.。
   メールウイルスチェックにclam antivirus
   スパムチェックにspam assassin



(エラーが発生している時間帯のメールログですがなにが原因なのでしょうか?)
すみませんがご教示下さい。

Feb 6 05:22:40 miserver postfix/qmgr[2114]: 09D8886DEAD: removed
Feb 6 05:22:44 miserver postfix/smtp[11091]: 8D3AB86E3C8: host mfgw1.ocn.ad.jp[222.146.40.203] refused to talk to me: 421 mfgw104.ocn.ad.jp Error: Connection closed
Feb 6 05:22:44 miserver postfix/smtp[11091]: 8D3AB86E3C8: to=<xxx@xxx.viola.ocn.ne.jp>, orig_to=<postmaster@xxxxx.dvrdns.org>, relay=mfgw3.ocn.ad.jp[222.146.51.122], delay=433219, status=deferred (host mfgw3.ocn.ad.jp[222.146.51.122] refused to talk to me: 421 mfgw206.ocn.ad.jp Error: Connection closed)
Feb 6 05:22:44 miserver postfix/qmgr[2114]: 8D3AB86E3C8: from=<root@xxxxx.dvrdns.org>, status=expired, returned to sender
Feb 6 05:22:44 miserver postfix/cleanup[11095]: E39EF86DEAD: message-id=<20070205202244.E39EF86DEAD@xxxxx.dvrdns.org>
Feb 6 05:22:44 miserver postfix/qmgr[2114]: E39EF86DEAD: from=<>, size=3378, nrcpt=1 (queue active)
Feb 6 05:22:44 miserver postfix/qmgr[2114]: 8D3AB86E3C8: removed
Feb 6 05:22:44 miserver postfix/local[11096]: E39EF86DEAD: to=<karen@xxxxx.dvrdns.org>, orig_to=<root@xxxxx.dvrdns.org>, relay=local, delay=0, status=sent (delivered to mailbox)
Feb 6 05:22:44 miserver postfix/qmgr[2114]: E39EF86DEAD: removed
Feb 6 05:55:58 miserver postfix/qmgr[2114]: 8FA7286E3C9: from=<root@xxxxx.dvrdns.org>, size=1395, nrcpt=1 (queue active)
Feb 6 05:55:59 miserver postfix/smtp[11235]: 8FA7286E3C9: host mfgw1.ocn.ad.jp[222.146.40.202] refused to talk to me: 421 mfgw103.ocn.ad.jp Error: Connection closed
Feb 6 05:56:00 miserver postfix/smtp[11235]: 8FA7286E3C9: to=<xxx@xxx.viola.ocn.ne.jp>, orig_to=<root@xxxxx.dvrdns.org>, relay=mfgw1.ocn.ad.jp[222.146.40.200], delay=435215, status=deferred (host mfgw1.ocn.ad.jp[222.146.40.200] refused to talk to me: 421 mfgw101.ocn.ad.jp Error: Connection closed)
メンテ

Page:  [1] [2]

■ コンテンツ関連情報

 Re: ERRORが発生している ( No.1 )
日時: 2007/02/07 20:29
名前: 管理者

色々と調べていたのですがクローズされてしまいましたので再オープンさせて頂きました。
(解決されたのでしょうか?)


恐らく、logwatchに出力されたものと、メールログの内容は関係なさそうです。
メールログは以前のスレッド(以下参照)でご返信させて頂いた物と思われます。

  http://kajuhome.com/cgi-bin/patio/patio.cgi?mode=view&no=984

logwatchは不明です。

/etc/freshclam.confの内容を明記して頂けますか?

それと、「/etc/clamd.conf」って存在していますか?(当方にはありません)
メンテ
 Re: ERRORが発生している ( No.2 )
日時: 2007/02/07 20:37
名前: とんとん

管理人様ありがとうございます。

>色々と調べていたのですがクローズされてしまいましたので再オープンさせて頂きました。
>(解決されたのでしょうか?)

そうとはしらず大変失礼いたしました。
いいえ、まだ解決はいたしておりません

>恐らく、logwatchに出力されたものと、メールログの内容は関係なさそうです。
>メールログは以前のスレッド(以下参照)でご返信させて頂いた物と思われます。


  >http://kajuhome.com/cgi-bin/patio/patio.cgi?mode=view&no=984
そうでした、あとでこの部分は気がつきました。


>logwatchは不明です。
>/etc/freshclam.confの内容を明記して頂けますか?
>それと、「/etc/clamd.conf」って存在していますか?(当方にはありません)

はい、こちらもありませんでした。
メンテ
 Re: ERRORが発生している ( No.3 )
日時: 2007/02/07 20:45
名前: とんとん

すみません忘れました。
/etc/freshclam.confです。

##
## Example config file for freshclam
## Please read the freshclam.conf(5) manual before editing this file.
## This file may be optionally merged with clamd.conf.
##


# Comment or remove the line below.
#Example

# Path to the database directory.
# WARNING: It must match clamd.conf's directive!
# Default: hardcoded (depends on installation options)
#DatabaseDirectory /var/lib/clamav

# Path to the log file (make sure it has proper permissions)
# Default: disabled
UpdateLogFile /var/log/freshclam.log

# Enable verbose logging.
# Default: disabled
#LogVerbose

# Use system logger (can work together with UpdateLogFile).
# Default: disabled
#LogSyslog

# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names.
# Default: LOG_LOCAL6
#LogFacility LOG_MAIL

# This option allows you to save the process identifier of the daemon
# Default: disabled
#PidFile /var/run/freshclam.pid

# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.
# Default: clamav (may depend on installation options)
#DatabaseOwner clamav

# Initialize supplementary group access (freshclam must be started by root).
# Default: disabled
#AllowSupplementaryGroups

# Use DNS to verify virus database version. Freshclam uses DNS TXT records
# to verify database and software versions. With this directive you can change
# the database verification domain.
# Default: enabled, pointing to current.cvd.clamav.net
#DNSDatabaseInfo current.cvd.clamav.net

# Uncomment the following line and replace XY with your country
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
# Default: There is no default, which results in an error when running freshclam
#DatabaseMirror db.XY.clamav.net

# database.clamav.net is a round-robin record which points to our most 
# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is 
# not working. DO NOT TOUCH the following line unless you know what you
# are doing.
DatabaseMirror database.clamav.net

# How many attempts to make before giving up.
# Default: 3 (per mirror)
#MaxAttempts 5

# Number of database checks per day.
# Default: 12 (every two hours)
#Checks 24

# Proxy settings
# Default: disabled
#HTTPProxyServer myproxy.com
#HTTPProxyPort 1234
#HTTPProxyUsername myusername
#HTTPProxyPassword mypass

# Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
# multi-homed systems.
# Default: Use OS'es default outgoing IP address.
#LocalIPAddress aaa.bbb.ccc.ddd

# Send the RELOAD command to clamd.
# Default: disabled
#NotifyClamd
# By default it uses the hardcoded configuration file but you can force an
# another one.
#NotifyClamd /config/file/path

# Run command after successful database update.
# Default: disabled
#OnUpdateExecute command

# Run command when database update process fails.
# Default: disabled
#OnErrorExecute command

# Run command when freshclam reports outdated version.
# In the command string %v will be replaced by the new version number.
# Default: disabled
#OnOutdatedExecute command

# Don't fork into background.
# Default: disabled
#Foreground

# Enable debug messages in libclamav.
# Default: disabled
#Debug

# Timeout in seconds when connecting to the database server.
# Default: 30
#ConnectTimeout 60

# Timeout in seconds when reading from the database server.
# Default: 30
#ReceiveTimeout 60
メンテ
 Re: ERRORが発生している ( No.4 )
日時: 2007/02/07 20:52
名前: 管理者

特に、おかしな所はありませんね。当方の内容と全く同じです。

「/var/log/freshclam.log」に定義ファイル更新結果が出力されますが、以下の様なログはありますか?

--------------------------------------
ClamAV update process started at Wed Feb 7 18:21:22 2007
main.cvd is up to date (version: 42, sigs: 83951, f-level: 10, builder: tkojm)
daily.cvd is up to date (version: 2529, sigs: 5312, f-level: 9, builder: sven)
メンテ
 Re: ERRORが発生している ( No.5 )
日時: 2007/02/07 21:01
名前: とんとん

お世話になります。

>特に、おかしな所はありませんね。当方の内容と全く同じです。
そうですか、良かったです。

>「/var/log/freshclam.log」に定義ファイル更新結果が出力されますが、以下の様なログはありますか?

はい、ありました。
ちゃんと定義ファイル更新がされているみたいです。
どうもエラーの要因はClamAVではないみたいですね。



--------------------------------------
ClamAV update process started at Wed Feb 7 17:02:09 2007
main.cvd is up to date (version: 42, sigs: 83951, f-level: 10, builder: tkojm)
daily.cvd is up to date (version: 2529, sigs: 5312, f-level: 9, builder: sven)
メンテ

Page:  [1] [2]

■ その他

ページ先頭へ

Copyright(©)2004-2018 First home server construction. All Right Reserved.