Mail Server の移行

[Thu Jul 26 13:30:04 2012] [notice] Apache/2.2.22 (FreeBSD) mod_ssl/2.2.22 OpenSSL/0.9.8q DAV/2 configured -- resuming normal operations
[Thu Jul 26 13:30:18 2012] [error] [client 210.255.122.209] File does not exist: /usr/local/www/apache22/data/Images, referer: http://219.117.246.205/~niihamai/main-top-8.html
[Thu Jul 26 13:30:18 2012] [error] [client 210.255.122.209] File does not exist: /home/niihamai/public_html/logo-tile.gif, referer: http://219.117.246.205/~niihamai/main-top-8.html
[Thu Jul 26 13:31:13 2012] [error] [client 210.255.122.209] File does not exist: /usr/local/www/apache22/data/Images, referer: http://219.117.246.205/~niihamai/m
    *** You are installing Counter as root ***


-------------------------------------------------------------------------
Your configuration is shown below. You are only allowed to change the
cgi-bin directory. If you want to change it, edit the file Config.tmpl
and change the variable CGIBIN_DIR to the appropriate directory. Do not change
anything else.

cgi-bin directory   = y
conf directory      = /usr/local/etc/Counter/conf
conf file to install= count.cfg
digit directory     = /usr/local/lib/Counter/digits
data directory      = /usr/local/etc/Counter/data
log directory       = /var/log
log file            = Counter.log
RGB file to install = ./data/rgb.txt
-------------------------------------------------------------------------
Press Control-C to abort
Continue [y|n]? proceeding...

    Now if you know what user and group id child processes of http
    server use, I can change the ownership and access permission
    accordigly. If you do not know, they are usually defined in the
    file httpd.conf with User and Group. I suggest create a unique
    user and group say httpd and set the User and Group to httpd.

*Do you know the user and group id of httpd' child process [y|n]:? *Enter user id of httpd's child process [nobody]:? *Enter group id of httpd's child process [nogroup]:? installing Count.cgi->y
installing count.cfg->/usr/local/etc/Counter/conf
installing sample datafile ./data/data/sample.dat->/usr/local/etc/Counter/data
installing rgb.txt->/usr/local/lib/Counter
installing Counter.log->/var/log
chown: nobody.nogroup: illegal user name
installing image strip for digit style A->/usr/local/lib/Counter/digits/A
installing sample image peng.gif->/usr/local/lib/Counter/digits/A
installing image strip for digit style B->/usr/local/lib/Counter/digits/B
installing strip image for digit style C->/usr/local/lib/Counter/digits/C
installing strip image for digit style D->/usr/local/lib/Counter/digits/D
installing sample image lenna.gif->/usr/local/lib/Counter/digits/D
installing strip image for digit style E->/usr/local/lib/Counter/digits/E
installing image foo.gif in  E->/usr/local/lib/Counter/digits/E
installing image yeehaw.gif in  A->/usr/local/lib/Counter/digits/A
installing strip image for digit style cd->/usr/local/lib/Counter/digits/cd
installing strip image for digit style cdr->/usr/local/lib/Counter/digits/cdr
installing strip image for digit style cdd->/usr/local/lib/Counter/digits/cdd
installing strip image for digit style bang->/usr/local/lib/Counter/digits/bang
installing the mirroring script
cd /usr/ports/www/wwwcount/work/wwwcount2.5/utils/extdgts;  install  -s -o root -g wheel -m 555 extdgts /usr/local/bin;
cd /usr/ports/www/wwwcount/work/wwwcount2.5/utils/mkstrip;  install  -s -o root -g wheel -m 555 mkstrip /usr/local/bin;  install  -o root -g wheel -m 444 mkstrip.1 /usr/local/man/man1;  install  -o root -g wheel -m 555 mkstrip.sh /usr/local/lib/Counter/digits
===>   Compressing manual pages for wwwcount-2.5_2
===>   Registering installation for wwwcount-2.5_2
===>  Cleaning for wwwcount-2.5_2
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 164 packages found (-0 +1) . done]

wwwcount でエラー出る

wwwcount は、もうメンテとかされてない風で、いつまで経っても Ver2.5.2のまんま。

で、20111123にFreeBSD 8.2Rインストールしたサーバにインストールすると、

[Thu Nov 24 04:20:29 2011] [error] [client 219.117.246.207] /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by "Count.cgi", referer: http://www.niihama-med.or.jp/top-frame.html

[Thu Nov 24 04:20:29 2011] [error] [client 219.117.246.207] Premature end of script headers: Count.cgi, referer: http://www.niihama-med.or.jp/top-frame.html

のようなエラーが出る。

もう、最近は、何でもかんでもグーグル先生に訊く♪(´ε` )

http://www.cyberciti.biz/faq/libexecld-elfso1-shared-object-libcso6-not-found/

# cd /usr/ports/misc/compat6x
# make install clean
portinstall misc/compat6x
*******************************************************************************
*                                                                             *
* Do not forget to add COMPAT_FREEBSD6 into                                   *
* your kernel configuration (enabled by default).                             *
*                                                                             *
* To configure and recompile your kernel see:                                 *
* http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html *
*                                                                             *
*******************************************************************************

で、無事カウンター表示OK (o゜▽゜)o


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2012-07-26 (木) 14:40:08