SyslogMonitor for mysql + rsyslog ver 1.0 (PHP4or5)
CentOS が rsyslog 標準になりました。 それにより syslog がデータベースへ保存できるようになったのですが、常時監視するのは手間が掛かってめんどくさいと思います。 そこでPHPで監視するプログラムを書… 続きを読む »SyslogMonitor for mysql + rsyslog ver 1.0 (PHP4or5)
CentOS が rsyslog 標準になりました。 それにより syslog がデータベースへ保存できるようになったのですが、常時監視するのは手間が掛かってめんどくさいと思います。 そこでPHPで監視するプログラムを書… 続きを読む »SyslogMonitor for mysql + rsyslog ver 1.0 (PHP4or5)
古いサーバに rsyslog をコンパイルしてインストールしようとしたらこんなエラーが。
CPPFLAGS=”-I/usr/include -I/usr/local/mysql/include -I/usr/local/include” LDFLAGS=”-L/usr/lib -L/usr/local/mysql/lib” PATH=$PATH:/usr/local/mysql/bin ./configure –enable-mysql –enable-mail –enable-imfile –enable-omstdout ; make
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking for style of include used by make… GNU
checking for gcc… gcc
checking whether the C compiler works… yes
・
・
・
../runtime/.libs/librsyslog.a(librsyslog_la-wti.o): In function `wtiCancelThrd’:
/root/src/rsyslog-4.6.5/runtime/wti.c:181: undefined reference to `ATOMIC_STORE_1_TO_INT’
collect2: ld returned 1 exit status
make[2]: *** [rsyslogd] Error 1
make[2]: Leaving directory `/root/src/rsyslog-4.6.5/tools’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/rsyslog-4.6.5′
make: *** [all] Error 2
[環境]
CentOS release 5.2 (Final)
Linux test.test.local 2.6.18-92.1.22.el5PAE #1 SMP Tue Dec 16 12:36:25 EST 2008 i686 i686 i386 GNU/Linux
最近syslogを監視していると、ftpとpopへのアタックが非常に多いようです。
SSHは昔からあったけど、どうしてpopが増えたんでしょうね?
CentOS 6.0で denyhost をインストールしようとすると、今現在(2011/08/04)は yum でインストールできません。
yumを実行したらこんなエラーが出ました。
転送途中でコケたせいでしょうか?
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
postfixadmin を利用しようして、PHP5に with-imap オプションをつけて再コンパイルした所、以下のエラーが表示されました。 OSは CentOS 6 です。 configure: error: ut… 続きを読む »php5 –with-imap オプションでエラー
あるxenサーバを起動していたところ、突然以下のようなエラーを吐いてコンソールが見れなくなりました。 xm create -c monitor Using config file “/etc/xen/moni… 続きを読む »[xen] xenのコンソールが表示されない?
RHEL6が完成して発売されました。このクローンとして有名なのが、CentOS。本来であれば RHELが公開されたら、すぐに公開されるはずですが、CentOS開発陣が(とてもつまらない内ゲバで)揉めに揉めていて、CentOS6がいつ出るかも判らないという状況。とはいえ新しいOSは検証しなくてはいけない。RHEL6は高い…となると、代替えとなるOSを探さなくてはいけません。