FrontPage

guard# portinstall sysutils/gsmartcontrol

................................................................................................................... done]
--->  Installing 'pkgconf-0.8.5' from a port (devel/pkgconf)
--->  Building '/usr/ports/devel/pkgconf'
===>  Cleaning for pkgconf-0.8.5

===>  pkgconf-0.8.5 conflicts with installed package(s):
      pkg-config-0.25_1

      They install files into the same place.
      You may want to stop build with Ctrl + C.
===>  License BSD accepted by the user
===>  Extracting for pkgconf-0.8.5
=> SHA256 Checksum OK for pkgconf-0.8.5.tar.bz2.
===>  Patching for pkgconf-0.8.5
===>  Configuring for pkgconf-0.8.5
checking for gcc... cc
checking whether the C compiler works... yes
===>   An older version of devel/pcre is already installed (pcre-8.10)
     You may wish to ``make deinstall'' and install this port again
     by ``make reinstall'' to upgrade it properly.
     If you really wish to overwrite the old port of devel/pcre
     without deleting it first, set the variable "FORCE_PKG_REGISTER"
     in your environment or the "make install" command line.
*** Error code 1

とかやってたら、GuardのPostfixがメール送信できないじょうたいに(´д`)

mailq すると、

guard# mailq
/libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "sendmail"
guard# postfix reload
/libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required  by "postfix"

とか言われるので、

guard# locate libpcre.so.0
/usr/Backups/Guard_all/usr/local/lib/libpcre.so.0
/usr/local/lib/libpcre.so.0

で見る限りは libpcre.so.0 は存在している風味だけど・・・(実際は消えてたw)

guard# rehash

して、

guard# postfix reload

 /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "postfix" やっぱり、ない!?

実際に/usr/local/lib/をみると、libpcre.so.0は無くて、libpcre.so.1がありました。

というわけで、とにかく早期復旧で、ということにして、

guard# cp -p /usr/Backups/Guard_all/usr/local/lib/libpcre.so.0 /usr/local/lib/

したら、動き出した。ブネ~~~ (^^ゞ

バックアップ置いてて助かった・・・・


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS