CONTENTS
#contents
----
Lastmodified &lastmod;
----
*pkg upgrade de amavisd-new down [#q7e5e9eb]
pkg upgrade した後rebootしたメールサーバのamavisdが起動しなくなった。

amavisd が起動しなくなるというのは良くある(☆_@;)☆\(`-´メ)話なので、過去記事

[[WARNING failed to start amavisd]]

を参照しつつ、portupgrade などで再インストールしてみるも、起動せず。エラーも表示しない。

こういった場合は、依存関係のパッケージも入れ替えてみることにして、結局起動出来たのは、

   956  12:13   make all-depends-list | grep p5-
   957  12:16   portupgrade -rf archivers/p5-Archive-Zip net/p5-Net-Server mail/p5-Mail-DKIM net/p5-IO-Socket-INET6
 databases/p5-BerkeleyDB converters/p5-Convert-BinHex devel/p5-IO-stringy mail/p5-Mail-Tools
 devel/p5-IO-Multiplex net/p5-Socket6 security/p5-Crypt-OpenSSL-RSA dns/p5-Net-DNSconverters/p5-Encode-Detect
 www/p5-HTML-Parser www/p5-HTTP-Date net/p5-IO-Socket-IP net-mgmt/p5-NetAddr-IP security/p5-IO-Socket-SSL
 devel/p5-TimeDate security/p5-Crypt-OpenSSL-Bignum security/p5-Crypt-OpenSSL-Random security/p5-Digest-HMAC
 devel/p5-ExtUtils-CBuilder devel/p5-Module-Build www/p5-HTML-Tagset net/p5-Socket security/p5-Net-SSLeay devel/p5-Locale-gettext
 
   959  12:17   /usr/local/etc/rc.d/amavisd start

で起動OK。

mailq に溜まったメールを postfix flush する。

----
同様にBindも転けてる(^^ゞ

 Apr 26 12:34:51 p5k named[1598]: starting BIND 9.9.5 -4 -t /var/named -u bind
 Apr 26 12:34:51 p5k named[1598]: ----------------------------------------------------
 Apr 26 12:34:51 p5k named[1598]: BIND 9 is maintained by Internet Systems Consortium,
 Apr 26 12:34:51 p5k named[1598]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
 Apr 26 12:34:51 p5k named[1598]: corporation.  Support and training for BIND 9 are
 Apr 26 12:34:51 p5k named[1598]: available at https://www.isc.org/support
 Apr 26 12:34:51 p5k named[1598]: ----------------------------------------------------
 Apr 26 12:34:51 p5k named[1598]: open: /usr/local/etc/named.conf: file not found
 Apr 26 12:34:51 p5k named[1598]: loading configuration: file not found
 Apr 26 12:34:51 p5k named[1598]: exiting (due to fatal error)
 Apr 26 12:34:51 p5k root: /etc/rc: WARNING: failed to start named

/etc/rc.conf
/etc/rc.conf で、設定ファイルの位置を明示

 named_enable="YES"
 named_program="/usr/local/sbin/named"
 named_flags="-c /etc/namedb/named.conf -u bind -d 2"

 Apr 26 13:42:58 p5k named[1598]: starting BIND 9.9.5 -c /etc/namedb/named.conf -u bind -d 2 -t /var/named -u bind
 Apr 26 13:42:58 p5k named[1598]: ----------------------------------------------------
 Apr 26 13:42:58 p5k named[1598]: BIND 9 is maintained by Internet Systems Consortium,
 Apr 26 13:42:58 p5k named[1598]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
 Apr 26 13:42:58 p5k named[1598]: corporation.  Support and training for BIND 9 are
 Apr 26 13:42:58 p5k named[1598]: available at https://www.isc.org/support
 Apr 26 13:42:58 p5k named[1598]: ----------------------------------------------------
 Apr 26 13:42:58 p5k named[1598]: command channel listening on 127.0.0.1#953
 Apr 26 13:42:58 p5k named[1598]: zone kuji-clinic.info/IN/external: kuji-clinic.info/MX 'mail.kuji-clinic.info' is a CNAME (illegal)
 Apr 26 13:42:58 p5k named[1598]: zone kuji-clinic.info/IN/internal: kuji-clinic.info/MX 'mail.kuji-clinic.info' is a CNAME (illegal)
 Apr 26 13:42:58 p5k named[1598]: all zones loaded
 Apr 26 13:42:58 p5k named[1598]: running

----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS