↑日記で日々積み重ねた情報をトップの「わんこのページ」にまとめています。

おのたく日記 [RDF] YouTubeも始めました→


2003-04-20(Sun) この日を編集

J2EE JavaMailサンプル作成

Lomboz-MLにお知らせを流した。


2004-04-20(Tue) この日を編集

Microsoft Virtual PC ホーム

うぉ MicrosoftからVirtualPCが出た。


14,500円B0002232WY

うーむ 14,500円とは安いな〜

問題は、ホストOSがWindowsだけで、「Linuxの上でWindowsしたい」という、わんこの要件を満たさないこと…

Linuxの上でWindowsするためには、やっぱりVMWareが必要


52,693円B00009991K

ここのバージョンは、4.0だけれど、4.0→4.xのバージョンアップは無料なので、最新版の4.5もダウンロードすれば無料で使える。

もし、英語版で良くて、さらに日本語マニュアルなどいらなければ、製造元のVMWare社では、最近値下げが有ったので、VMWare社からダウンロード販売なら$189で手に入る。

ちなみに、わんこはV2.0が出る直前にV2.0無料アップグレード付きのホームホビーユースで$100ぐらいで買って、V3.0へ$99でアップグレード、V4.0へ$99でアップグレードして利用して、今度V4.5を使おうとしている、VMWare大好きユーザ。

おうちサーバ(Linux)で、VMWareを動かして、ゲストOS(Windows2000)の上で、Windowsでしか動かない物を動かしているのです。

米Sun、初のJ2EE 1.4準拠アプリケーションサーバー無償版を提供開始

Sun One Application Server 7の時も使ったけど、きをつけないといけないのは、Platform Edition 8は無償だけど、Standard EditionとPlatform Editonは違うと言うこと…

ダウンロード: J2EE 1.4 SDK - Download


2005-04-20(Wed) この日を編集

[注目] トヨタ、1xEV-DO対応で音楽配信も利用できる「G-BOOK ALPHA」

がーん つい先月からG-BOOKはじめたので、新しいのが出るなんて(;_;

なんで、DCMが無料だったり、6ヶ月間利用料金無料だったりするのかと思ったら、新しいのが出る前兆だったのか。

まー 年間利用料金12,000円は変わらず通信速度が16倍というは悔しいけど、とりあえず今の機能で遊んで将来

夏以降に発売する一部の新型車向けには、エアバッグが作動すると、自動的にオペレーターに接続し、乗員の応答がない場合は意識不明と判断し、オペレーターが乗員に代わって救急車の手配を要請するシステムを標準装備

[次世代テレマティクスサービス「G-BOOK ALPHA」を発表より引用]

なんてスゴい機能を楽しむことにしよう。

@IT ソフトウェアの品質向上を支援するプラグイン

FindBugsは、2004年7月5日の日記で紹介したもの、JDeveloper用のプラグインが無いのが残念。

参照: dW アプリケーション特有の問題発見にカスタムのチェック機能をどう書くか

djUnitは、JUnitとeclipseを組み合わせてカバレージを出せる。はたまたeclipseにベッタリでJDeveloperでは動かない(;_;


2006-04-20(Thu) この日を編集

[VMware] 新しいVMを作成しようとするとvmware-authdが落ちる(解決出来ず)

Debian AMD64 etch(testing)にインストールしたVMWare Server Bate2で、軽快にうごいているんだけど、VMWare Workstation 5.5で作成した仮想ディスクは、汚くなってきているので、VMWare Serverで新規に仮想マシンを作成しようとして、vmware-consoleで、新しいVMを作成しようとすると接続が切れてしまう。

その後、ずーとvmware-consoleからの接続が出来なくなってしまうので、原因が分からなかったけれど、vmware-cmdで以下のようなエラーが出たのでvmware-authdが落ちてしまっている事が分かった。

/usr/bin/vmware-cmd: Could not connect to vmware-authd

(VMControl error -14: Unexpected response from vmware-authd: 511-The process exited with an error:

VMServerd Panic: The previous instance of serverd (15543) crashed, please file a bug. The default log file is /var/log/vmware/vmware-ccagent.log. To continue, delete the following file: '/var/run/vmware/vmware-serverd.PID'

511 End of error message)

[vmware-cmd -lより引用]

vmware-serverdがダウンしていると言う事なので、早速、/var/run/vmware/vmware-serverd.PIDを消して vmware-cmd -l をやり直すと、vmware-authdが再起動されて、vmware-consoleからも接続ができるようになった。

しかし、新規仮想マシンの作成は出来ないまま… 新規仮想マシンが作れないのではVMWare Playerじゃんね!

VMWare Serverで仮想マシンの作成が出来ない原因調査

まず、vmware-ccagent.logを見てみると

Apr 30 09:46:41: | VMHSWorkerMain started : thread id = 27627: Path: /host2/#a99a3adf96edf8c3/util/cdrom/cmd/##38_54/op/getRawSupport/

Apr 30 09:46:41: app| SP: Retrieved username: root

Apr 30 09:46:41: | VMHSWorkerMain done : thread id = 27627

Apr 30 09:46:41: | Caught signal 6 -- pid 27627

という所で落ちている。

libpamが必要と言うことを覚えておかないといけない。

[VIVER日記 VMware Serverではまるより引用]

というのを見つけたので、lddではlibpamは出ていないけど、

/lib32# ln -s /home/i386/lib/libpam.so.0.76 libpam.so.0.76

/lib32# ln -s /home/i386/lib/libpam.so.0 .

としてみたら少し進んだ

Apr 30 09:42:31: | VMHSWorkerMain started : thread id = 27534: Path: /host2/#a99a3adf96edf8c3/util/cdrom/cmd/##36_54/op/getRawSupport/

Apr 30 09:42:31: app| SP: Retrieved username: root

Apr 30 09:42:31: app| SP: Retrieved username: root

Apr 30 09:42:31: app| DISKLIB-DEVCRL: Facts for /dev/sda: Cap=488397168 Phys C/H/S=30401/255/63 BIOS C/H/S=30401/255/63 Adap=SCSI

Apr 30 09:42:31: app| DEVCREAT: PartitionTables : 1

Apr 30 09:42:31: app| DEVCREAT: At 0

Apr 30 09:42:31: | VMHSWorkerMain done : thread id = 27534

Apr 30 09:42:31: | Caught signal 6 -- pid 27534

しかし、結局 singal 6で落ちている。

chrootのほうに必要なライブラリをインストール。libxtst6とlibgdk-pixbuf2かな?

[Debian AMD64(x86_64)情報より引用]

なんていう情報もあったので、サーバサイドの話なのでlibgdk-pixbuf2はインストールされていなかったのでインストールしてみたが、変わらず。

VMTNを調べると

I successfully installed/configured the GSX server on the Linux server. Everything was fine until I tried to Create a New Virtual Machine (from vmware-console). When I did that, the vmware-serverd would crash every time. From analysing the log, I thought it was because of the non-existent CDRom but it wasn't the case as it turned out.

[GSX server beta: VMServerd Panic: NOT_REACHEDより引用]

っていうのが有って、GSA server bateで、仮想マシンを作成しようとすると Caught signal 6 で落ちるという同じ現象がApr 21, 2006 9:37 AMに有った。でも、解決していない(;_;)


2009-04-20(Mon) MT4でPodcast出来るようした この日を編集

[Podcast][MovableType]MT4でPodcast出来るようした

昨日で、結構MT4への移行は終わったつもりでいたけど、ポッドキャスト用のフィードが出ていないことに気がついた。

MT4ではatomが本流と言うことで、atomにも対応している「MovableType用EasyPodcasting Plugin Ver.0.60」を使ってみることにした。

インストールは

$ cd /usr/local/movabletype

$ mkdir EasyPodcasting

$ cd EasyPodcasting

$ tar xvfz /tmp/EasyPodcasting.tar.gz

# cd /usr/share/movabletype/plugins

# ln -s /usr/local/movabletype/EasyPodcasting/plugins/* .

# cd ../static/plugins

# ln -s /usr/local/movabletype/EasyPodcasting/mt-static/plugins/EasyPodcasting .

プラグインとして認識されたみたいなので、早速テンプレート「RSS 2.0 Index」に中に入れてみる

<MTEntries lastn="500">

<item>

<title><$MTEntryTitle remove_html="1" encode_xml="1"$></title>

<link><$MTEntryLink encode_xml="1"$></link>

<description><$MTEntryExcerpt remove_html="1" encode_xml="1"$></description>

<guid isPermaLink="false"><$MTEntryID$>@<$MTBlogURL$></guid>

<dc:subject><$MTEntryCategory remove_html="1" encode_xml="1"$></dc:subject>

<dc:date><$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$></dc:date>

<$MTEasyPodcasting$>

</item>

</MTEntries>

しかし、

テンプレート「RSS 2.0 Index」の再構築中にエラーが発生しました: <mtEntries>タグでエラーがありました: <mtEasyPodcasting>タグでエラーがありました: You used an <MTEasyPodcasting> tag outside of the context of an entry

となって、だめ… 確かにブログのプラグインにはEasyPostcastingが出ていないけど…

ってことで、「2005-11-05(Sat) MovableTypeでプラグインを使ってビデオキャスティング」の時に使っていた。「MT-Enclosures: A Movable Type Plugin」でトライしてみることにする。最新版の2005-12-14 1.4.5.0でもドキュメントには、「This plugin works with Movable Type version 2.x and 3.x.」と書いてあるので、MT4ではダメかと思っていたけど、とりあえず入れてみたら動いた(^_^)v

ということで、まだPodcast用のフィードはRSS 2.0にしてEnclosures.pl 1.4.5.0を使うことにした。


2010-04-20(Tue) mediawiki 1:1.15.3-1にupgrade この日を編集

[MediaWiki][Debain] mediawiki 1:1.15.3-1にupgrade

FCKedirotが入ったmediawki-extensions 2.1がDebian Sidに入ったので、mediawkiもDebian Sidの1:1.15.3-1にupgradeしたら、エラーがでるようになった。

2009年8月12日の日記と同様に、/etc/mediawiki/LocalSettings.phpをリネームして、http://localhost/mediawiki/config/index.phpにアクセスして、

Wiki name: OnTheWiki

Cantact: webmaster@page.on-o.com

Language: ja

Copyright: No licence metadata

Admin: ..../.....

Object caching: No caching

E-mail (global): Enabled

User2User : Enabled

notification : Enabled watchlists

authentication : Enabled

Database name : .....

DB user : ...../..........

Database table prefix: ""

InnoDB MySQL 4.1/5.0 UTF-8

と設定して、

Checking environment...

Please include all of the lines below when reporting installation problems.

PHP 5.3.2-1 installed

Found database drivers for: MySQL

PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)

Have XML / Latin1-UTF-8 conversion support.

Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under.

PHP's memory_limit is 128M.

Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.

Found GNU diff3: /usr/bin/diff3.

Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads.

Found GD graphics library built-in.

Installation directory: /var/lib/mediawiki

Script URI path: /mediawiki

Installing MediaWiki with php file extensions

Environment checked. You can install MediaWiki.

Generating configuration file...

Notice: Constant MW_INSTALL_PATH already defined in /var/lib/mediawiki/config/index.php(767) : eval()'d code on line 19

Database type: MySQL

Loading class: DatabaseMysql

Attempting to connect to database server as mediawiki...success.

Connected to mysql 5.0.51a-24+lenny2+spu1; enabling MySQL 4.1/5.0 charset mode

Database mediawiki exists

There are already MediaWiki tables in this database. Checking if updates are needed...

..have ipb_id field in ipblocks table.

..have ipb_expiry field in ipblocks table.

..already have interwiki table

..indexes seem up to 20031107 standards

..hitcounter table already exists.

..have rc_type field in recentchanges table.

..have user_real_name field in user table.

..querycache table already exists.

..objectcache table already exists.

..categorylinks table already exists.

Already have pagelinks; skipping old links table updates.

..il_from OK

..have rc_ip field in recentchanges table.

..image primary key already set.

..have rc_id field in recentchanges table.

..have rc_patrolled field in recentchanges table.

..logging table already exists.

..have user_token field in user table.

The watchlist table is already set up for email notification.

..watchlist talk page rows already present

..user table does not contain old email authentication field.

..page table already exists.

..have log_params field in logging table.

logging table has correct log_title encoding.

..have ar_rev_id field in archive table.

..have page_len field in page table.

revision timestamp indexes already up to 2005-03-13

..rev_text_id already in place.

..have rev_deleted field in revision table.

..have img_width field in image table.

..have img_metadata field in image table.

..have user_email_token field in user table.

..have ar_text_id field in archive table.

..page_namespace is already a full int (int(11)).

..ar_namespace is already a full int (int(11)).

..rc_namespace is already a full int (int(11)).

..wl_namespace is already a full int (int(11)).

..qc_namespace is already a full int (int(11)).

..log_namespace is already a full int (int(11)).

..have img_media_type field in image table.

..already have pagelinks table.

No img_type field in image table; Good.

Already have unique user_name index.

..user_groups table already exists.

..user_groups is in current format.

..have ss_total_pages field in site_stats table.

..user_newtalk table already exists.

..transcache table already exists.

..have iw_trans field in interwiki table.

..trackbacks table already exists.

..wl_notificationtimestamp is already nullable.

..timestamp key on logging already exists.

..have ipb_range_start field in ipblocks table.

Setting page_random to a random value on rows where it equals 0...changed 0 rows

..have user_registration field in user table.

..templatelinks table already exists

..externallinks table already exists.

..job table already exists.

..have ss_images field in site_stats table.

..langlinks table already exists.

..querycache_info table already exists.

..filearchive table already exists.

..have ipb_anon_only field in ipblocks table.

Checking for additional recent changes indices...

..index `rc_ns_usertext` seems ok.

..index `rc_user_text` seems ok.

..have user_newpass_time field in user table.

..redirect table already exists.

..querycachetwo table already exists.

..have ipb_enable_autoblock field in ipblocks table.

Checking for backlinking indices...

Checking if pagelinks index pl_namespace includes field pl_from...

..index pl_namespace on table pagelinks seems to be ok

Checking if templatelinks index tl_namespace includes field tl_from...

..index tl_namespace on table templatelinks seems to be ok

Checking if imagelinks index il_to includes field il_from...

..index il_to on table imagelinks seems to be ok

..have rc_old_len field in recentchanges table.

..have user_editcount field in user table.

..page_restrictions table already exists.

..have log_id field in logging table.

..have rev_parent_id field in revision table.

..have pr_id field in page_restrictions table.

..have rev_len field in revision table.

..have rc_deleted field in recentchanges table.

..have log_deleted field in logging table.

..have ar_deleted field in archive table.

..have ipb_deleted field in ipblocks table.

..have fa_deleted field in filearchive table.

..have ar_len field in archive table.

..have ipb_block_email field in ipblocks table.

Checking for categorylinks indices...

Checking if categorylinks index cl_sortkey includes field cl_from...

..index cl_sortkey on table categorylinks seems to be ok

..have oi_metadata field in oldimage table.

..usertext,timestamp key on archive already exists.

..usertext,timestamp key on image already exists.

..usertext,timestamp key on oldimage already exists.

..have ar_page_id field in archive table.

..have img_sha1 field in image table.

..protected_titles table already exists.

..have ipb_by_text field in ipblocks table.

..page_props table already exists.

..updatelog table already exists.

..category table already exists.

..category table already populated.

..have ar_parent_id field in archive table.

..have user_last_timestamp field in user_newtalk table.

..rev_parent_id column already populated.

protected_titles table has correct pt_title encoding.

Checking filearchive indices...

..have ss_active_users field in site_stats table.

..ss_active_users user count set...

..have ipb_allow_usertalk field in ipblocks table.

..pl_namespace, tl_namespace, il_to indices are already UNIQUE.

..change_tag table already exists.

..tag_summary table already exists.

..valid_tag table already exists.

Deleting old default messages (this may take a long time!)...Done

Checking site_stats row...ok.

Purging caches...done.

Finished update checks.

Creating LocalSettings.php...

Installation successful! Move /var/lib/mediawiki/config/LocalSettings.php to /etc/mediawiki, then follow this link to your wiki.

You should change file permissions for LocalSettings.php as required to prevent other users on the server reading passwords and altering configuration data.

と言う感じでinstallが成功したので、LocalSettings.phpを/etc/mediawiki/に移動して、

--- LocalSettings.php.renew 2010-04-19 15:46:50.000000000 +0900

+++ LocalSettings.php 2010-04-19 16:03:02.000000000 +0900

@@ -85,6 +85,7 @@

## To enable image uploads, make sure the 'images' directory

## is writable, then set this to true:

$wgEnableUploads = false;

+$wgEnableUploads = true; //add

$wgUseImageMagick = true;

$wgImageMagickConvertCommand = "/usr/bin/convert";

@@ -133,3 +134,9 @@

# When you make changes to this configuration file, this will make

# sure that cached pages are cleared.

$wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );

+

+#add

+$wgLogo = "$wgStylePath/common/images/mediawiki.png";

+

+$wgShowExceptionDetails = true;

として、uploadできて作成中のロゴが消えてエラーが詳しくでるようにして運用を再開した。


Google Web検索 on-o.com内を検索