munin on FreeBSD 9.1
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[munin on FreeBSD 9.0]]
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*/usr/local/lib/libXrender.so: undefined reference to `_X...
MUNINをインストール中に、
# portinstall sysutils/munin-master
: :
/usr/local/lib/libXrender.so: undefined reference to `_X...
と言うエラーで停まる。http://forums.freebsd.org/showthrea...
# portupgrade libXrender-0.9.7_1
するヨロシとのこと。無事 munin-master インストール終了。...
*munin on FreeBSD 9.1 [#fbb6af51]
http://www.kkaneko.com/computer/servers/munin.html
なんだか、munin も、Ver2.xになって、インストールするだけ...
Apr 4 09:40:33 flora kernel: FreeBSD 9.1-RELEASE #0 r24...
Apr 4 09:40:33 flora kernel: root@obrian.cse.buffalo.ed...
Apr 4 09:40:33 flora kernel: CPU: Intel(R) Pentium(R) 4...
Apr 4 09:40:33 flora kernel: Origin = "GenuineIntel" I...
Apr 4 09:40:33 flora kernel: Features=0xbfebfbff<FPU,VM...
Apr 4 09:40:33 flora kernel: Features2=0x4400<CNXT-ID,x...
Apr 4 09:40:33 flora kernel: real memory = 268435456 (...
Apr 4 09:40:33 flora kernel: avail memory = 234958848 (...
Apr 4 09:40:33 flora kernel: Event timer "LAPIC" qualit...
Apr 4 09:40:33 flora kernel: ACPI APIC Table: <HTC A...
Apr 4 09:40:33 flora kernel: FreeBSD/SMP: Multiprocesso...
Apr 4 09:40:33 flora kernel: FreeBSD/SMP: 1 package(s) ...
Apr 4 09:40:33 flora kernel: cpu0 (BSP): APIC ID: 0
Apr 4 09:40:33 flora kernel: cpu1 (AP/HT): APIC ID: 1
portinstall sysutils/munin-node
portinstall sysutils/munin-master
portinstall sysutils/munin-common これは、munin-node イ...
**munin-node [#g6ea6f2f]
インストール時にmuninというユーザがあると、インストールエ...
rmuser では、そんなん居らんいわれる。vipw で消すヨロシ
**munin-master [#x29f471c]
インストールオプションは無くなったった。
インストールエラーがワラワラと(ーー;)なんで? <= freebsd-...
依存関係でインストールされるうちの一つがこれ。これもエラー
flora{141} % portinstall devel/gio-fam-backend で
/usr/bin/ld: cannot find -lgio-2.0
とか言って、止まる。cannot find -lgio-2.0 とは、「libgio2...
flora{148} % cd /usr/ports/devel/glib20
flora{149} % make reinstall
で、devel/gio-fam-backend は通りました。まだまだ続く(ーー;)
Stop in /usr/ports/devel/gobject-introspection.
** Command failed [exit code 1]: /usr/bin/script -qa /tm...
** Fix the problem and try again.
---> Skipping 'x11-toolkits/pango' because a requisite ...
---> Skipping 'databases/rrdtool' because a requisite p...
---> Skipping 'sysutils/munin-master' because a requisi...
** Listing the failed packages (-:ignored / *:skipped / ...
! devel/gobject-introspection (unknown build er...
* x11-toolkits/pango
* databases/rrdtool
* sysutils/munin-master
/usr/bin/ld: warning: libz.so.4, needed by /usr/local/li...
/usr/bin/ld: warning: librpcsvc.so.4, needed by /usr/loc...
/usr/ports/x11-toolkits/pango/work/pango-1.30.1/pango/pa...
/usr/bin/ld: warning: librpcsvc.so.4, needed by /usr/loc...
Shared object "librpcsvc.so.4" not found, required by "l...
Command '['/usr/ports/x11-toolkits/pango/work/pango-1.30...
gmake[4]: *** [Pango-1.0.gir] Error 1
gmake[4]: Leaving directory `/usr/ports/x11-toolkits/pan...
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/x11-toolkits/pan...
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/x11-toolkits/pan...
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/pan...
gmake: *** [all] Error 2
*** [do-build] Error code 1
Stop in /usr/ports/x11-toolkits/pango.
*** [build] Error code 1
Stop in /usr/ports/x11-toolkits/pango.
** Command failed [exit code 1]: /usr/bin/script -qa /tm...
** Fix the problem and try again.
---> Skipping 'databases/rrdtool' because a requisite p...
---> Skipping 'sysutils/munin-master' because a requisi...
** Listing the failed packages (-:ignored / *:skipped / ...
! x11-toolkits/pango (unknown build error)
* databases/rrdtool
* sysutils/munin-master
flora{153} %
flora{153} %
flora{153} %
flora{153} % locate librpcsvc.so.4
/usr/obj/usr/src/lib/librpcsvc/librpcsvc.so.4
/usr/obj/usr/src/tmp/usr/lib/librpcsvc.so.4
flora{154} % cp /usr/obj/usr/src/lib/librpcsvc/librpcsvc...
flora{155} % portinstall sysutils/munin-master
########################################################...
# See /usr/local/share/examples/rrdtool for some demonst...
########################################################...
********************************************************...
Unless this file already existed, a sample configuration...
has been placed in /usr/local/etc/munin/munin.conf.
Please edit it according to your needs.
The Munin server will be run from cron under the user 'm...
********************************************************...
===> Correct pkg-plist sequence to create group(s) and u...
===> Compressing manual pages for munin-master-2.0.11.1
===> Registering installation for munin-master-2.0.11.1
===> Cleaning for munin-master-2.0.11.1
flora{156} %
ふぅ~
install ができらた、なんか、勝手に走り出すみたいで、こん...
munin@kuji-clinic.info (Cron Daemon)
not a reference at /usr/local/lib/perl5/site_perl/5.14.2...
*muninの設定 [#sbce6164]
**munin.conf の設定 [#j94556d5]
FreeBSD で ports を使ってインストールした場合には /usr/lo...
# htmldir /usr/local/www/munin
htmldir /usr/local/www/apache22/data/munin
**htmldir のオーナの設定 [#aecb2a3b]
mkdir /usr/local/www/apache22/data/munin
chown -R munin:munin /usr/local/www/apache22/data/munin
**(オプション)Apache の httpd.conf の設定の確認 [#c43ae...
httpd.conf の設定で、CGI が実行できるように設定しておく.
AddHandler cgi-script .cgi
ScriptAlias /cgi-bin/ "/usr/local/www/apache22/cgi-bin/"
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
**(オプション) munin 用の CGI の設定 [#zf0d3c56]
flora{156} % mkdir /usr/local/www/apache22/data/munin
flora{157} % chown -R munin:munin /usr/local/www/apache2...
flora{158} % cd /usr/local/www
flora{159} % ll
total 6
drwxr-xr-x 6 root wheel 512 Mar 26 17:37 apache22
drwxr-xr-x 2 root wheel 512 Apr 4 12:14 cgi-bin
drwxr-xr-x 3 munin munin 512 Apr 4 12:15 munin
flora{160} % cp -rp munin apache22/data
flora{161} % cp cgi-bin/munin-cgi-graph apache22/cgi-bin
flora{162} % echo munin_node_enable="YES" >> /etc/rc.conf
flora{163} % chown -R munin:munin /usr/local/www/apache2...
flora{164} %
*オマケ [#w51e18b9]
** munin_nodeの自動起動設定 [#b8825234]
echo munin_node_enable="YES" >> /etc/rc.conf
***munin-node の再起動 [#ac51807b]
FreeBSD で ports を使ってインストールした場合には, 「/us...
/usr/local/sbin/munin-node restart
**munin-cron の実行 [#oaccaf98]
su - munin
/usr/local/bin/munin-cron
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
[[munin on FreeBSD 9.0]]
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*/usr/local/lib/libXrender.so: undefined reference to `_X...
MUNINをインストール中に、
# portinstall sysutils/munin-master
: :
/usr/local/lib/libXrender.so: undefined reference to `_X...
と言うエラーで停まる。http://forums.freebsd.org/showthrea...
# portupgrade libXrender-0.9.7_1
するヨロシとのこと。無事 munin-master インストール終了。...
*munin on FreeBSD 9.1 [#fbb6af51]
http://www.kkaneko.com/computer/servers/munin.html
なんだか、munin も、Ver2.xになって、インストールするだけ...
Apr 4 09:40:33 flora kernel: FreeBSD 9.1-RELEASE #0 r24...
Apr 4 09:40:33 flora kernel: root@obrian.cse.buffalo.ed...
Apr 4 09:40:33 flora kernel: CPU: Intel(R) Pentium(R) 4...
Apr 4 09:40:33 flora kernel: Origin = "GenuineIntel" I...
Apr 4 09:40:33 flora kernel: Features=0xbfebfbff<FPU,VM...
Apr 4 09:40:33 flora kernel: Features2=0x4400<CNXT-ID,x...
Apr 4 09:40:33 flora kernel: real memory = 268435456 (...
Apr 4 09:40:33 flora kernel: avail memory = 234958848 (...
Apr 4 09:40:33 flora kernel: Event timer "LAPIC" qualit...
Apr 4 09:40:33 flora kernel: ACPI APIC Table: <HTC A...
Apr 4 09:40:33 flora kernel: FreeBSD/SMP: Multiprocesso...
Apr 4 09:40:33 flora kernel: FreeBSD/SMP: 1 package(s) ...
Apr 4 09:40:33 flora kernel: cpu0 (BSP): APIC ID: 0
Apr 4 09:40:33 flora kernel: cpu1 (AP/HT): APIC ID: 1
portinstall sysutils/munin-node
portinstall sysutils/munin-master
portinstall sysutils/munin-common これは、munin-node イ...
**munin-node [#g6ea6f2f]
インストール時にmuninというユーザがあると、インストールエ...
rmuser では、そんなん居らんいわれる。vipw で消すヨロシ
**munin-master [#x29f471c]
インストールオプションは無くなったった。
インストールエラーがワラワラと(ーー;)なんで? <= freebsd-...
依存関係でインストールされるうちの一つがこれ。これもエラー
flora{141} % portinstall devel/gio-fam-backend で
/usr/bin/ld: cannot find -lgio-2.0
とか言って、止まる。cannot find -lgio-2.0 とは、「libgio2...
flora{148} % cd /usr/ports/devel/glib20
flora{149} % make reinstall
で、devel/gio-fam-backend は通りました。まだまだ続く(ーー;)
Stop in /usr/ports/devel/gobject-introspection.
** Command failed [exit code 1]: /usr/bin/script -qa /tm...
** Fix the problem and try again.
---> Skipping 'x11-toolkits/pango' because a requisite ...
---> Skipping 'databases/rrdtool' because a requisite p...
---> Skipping 'sysutils/munin-master' because a requisi...
** Listing the failed packages (-:ignored / *:skipped / ...
! devel/gobject-introspection (unknown build er...
* x11-toolkits/pango
* databases/rrdtool
* sysutils/munin-master
/usr/bin/ld: warning: libz.so.4, needed by /usr/local/li...
/usr/bin/ld: warning: librpcsvc.so.4, needed by /usr/loc...
/usr/ports/x11-toolkits/pango/work/pango-1.30.1/pango/pa...
/usr/bin/ld: warning: librpcsvc.so.4, needed by /usr/loc...
Shared object "librpcsvc.so.4" not found, required by "l...
Command '['/usr/ports/x11-toolkits/pango/work/pango-1.30...
gmake[4]: *** [Pango-1.0.gir] Error 1
gmake[4]: Leaving directory `/usr/ports/x11-toolkits/pan...
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/x11-toolkits/pan...
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/x11-toolkits/pan...
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/pan...
gmake: *** [all] Error 2
*** [do-build] Error code 1
Stop in /usr/ports/x11-toolkits/pango.
*** [build] Error code 1
Stop in /usr/ports/x11-toolkits/pango.
** Command failed [exit code 1]: /usr/bin/script -qa /tm...
** Fix the problem and try again.
---> Skipping 'databases/rrdtool' because a requisite p...
---> Skipping 'sysutils/munin-master' because a requisi...
** Listing the failed packages (-:ignored / *:skipped / ...
! x11-toolkits/pango (unknown build error)
* databases/rrdtool
* sysutils/munin-master
flora{153} %
flora{153} %
flora{153} %
flora{153} % locate librpcsvc.so.4
/usr/obj/usr/src/lib/librpcsvc/librpcsvc.so.4
/usr/obj/usr/src/tmp/usr/lib/librpcsvc.so.4
flora{154} % cp /usr/obj/usr/src/lib/librpcsvc/librpcsvc...
flora{155} % portinstall sysutils/munin-master
########################################################...
# See /usr/local/share/examples/rrdtool for some demonst...
########################################################...
********************************************************...
Unless this file already existed, a sample configuration...
has been placed in /usr/local/etc/munin/munin.conf.
Please edit it according to your needs.
The Munin server will be run from cron under the user 'm...
********************************************************...
===> Correct pkg-plist sequence to create group(s) and u...
===> Compressing manual pages for munin-master-2.0.11.1
===> Registering installation for munin-master-2.0.11.1
===> Cleaning for munin-master-2.0.11.1
flora{156} %
ふぅ~
install ができらた、なんか、勝手に走り出すみたいで、こん...
munin@kuji-clinic.info (Cron Daemon)
not a reference at /usr/local/lib/perl5/site_perl/5.14.2...
*muninの設定 [#sbce6164]
**munin.conf の設定 [#j94556d5]
FreeBSD で ports を使ってインストールした場合には /usr/lo...
# htmldir /usr/local/www/munin
htmldir /usr/local/www/apache22/data/munin
**htmldir のオーナの設定 [#aecb2a3b]
mkdir /usr/local/www/apache22/data/munin
chown -R munin:munin /usr/local/www/apache22/data/munin
**(オプション)Apache の httpd.conf の設定の確認 [#c43ae...
httpd.conf の設定で、CGI が実行できるように設定しておく.
AddHandler cgi-script .cgi
ScriptAlias /cgi-bin/ "/usr/local/www/apache22/cgi-bin/"
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
**(オプション) munin 用の CGI の設定 [#zf0d3c56]
flora{156} % mkdir /usr/local/www/apache22/data/munin
flora{157} % chown -R munin:munin /usr/local/www/apache2...
flora{158} % cd /usr/local/www
flora{159} % ll
total 6
drwxr-xr-x 6 root wheel 512 Mar 26 17:37 apache22
drwxr-xr-x 2 root wheel 512 Apr 4 12:14 cgi-bin
drwxr-xr-x 3 munin munin 512 Apr 4 12:15 munin
flora{160} % cp -rp munin apache22/data
flora{161} % cp cgi-bin/munin-cgi-graph apache22/cgi-bin
flora{162} % echo munin_node_enable="YES" >> /etc/rc.conf
flora{163} % chown -R munin:munin /usr/local/www/apache2...
flora{164} %
*オマケ [#w51e18b9]
** munin_nodeの自動起動設定 [#b8825234]
echo munin_node_enable="YES" >> /etc/rc.conf
***munin-node の再起動 [#ac51807b]
FreeBSD で ports を使ってインストールした場合には, 「/us...
/usr/local/sbin/munin-node restart
**munin-cron の実行 [#oaccaf98]
su - munin
/usr/local/bin/munin-cron
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: