トップ «前の日記(2007-09-29 [Sat]) 最新 次の日記(2007-10-01 [Mon])» 編集

どさ日記

2003|02|
2004|02|03|05|
2005|01|02|03|04|05|06|07|08|
2007|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|10|11|12|
2012|01|02|03|04|05|06|07|08|
2013|11|12|
2014|01|11|
2026|09|

2007-09-30 [Sun]

_ 作業メモ;postgresql on FreeBSD

7.4.11
 pg_dumpall -U pgsql > db.out
 
-> 8.2.5
 su - pgsql
 initdb
 exit
 psql template1 < db.out

_ 不屈の修復;吹っ飛んだSYSTEM

 富士通のNotePC、リカバリすると完全に初期状態に戻るタイプ。WindowsのインストールCDは添付していないし、HDDの情報から作ることもできない。  C:\Windows\system32\config\system あたりが吹っ飛んで、どうにも再起動できない状態からの復旧作業の記録。  あまり簡単に全部書いてしまうと、手順一つ違えて(手順の書き違い、読み違いの双方によるエラーを含む)ハマる人がいるかもしれないので、適当に。。。
1.いったん別の作業ディスクにシステムをクリアインストールする。
2.作業ディスクにインストールしたシステムに壊れたHDDを接続し、
 Windowsのバックアップ・リストアツールで壊れたHDDの内容を
 作業ディスクのシステムにバックアップ
3.バックアップデータから、作業ディスクのシステムにリカバリ、
 詳細パラメータの調整必要、古いファイルは上書きしない、
 セキュリティ関係は修復しない
4.一時フォルダを作り、バックアップデータからレジストリ関連の
 データ(ユーザ分、システム分)をコピーしておく
4.SafeModeで再起動、ユーザ分レジストリ関連のファイルを強引にコピー
5.作業ディスクを外して別のマシンに繋ぎ、システム分のレジストリ関連
 ファイルを強引にコピー
 ・・・ま、これで修復できるかもしれない、ってことで。

_ Apache2.0、php5、php5-extensions

 この組み合わせで、php5-extensionsのimapを入れるとApache(httpd)がcore吐いて落ちる。  出展
Go read this page: http://cz2.php.net/recode, especially:
 
	Warning
 
	Crashes and startup problems of PHP may be encountered when
	loading the recode as extension after loading any extension of
	mysql or imap. Loading the recode before those extension has
	proved to fix the problem. This is due a technical problem that
	both the c-client library used by imap and recode have their own
	hash_lookup() function and both mysql and recode have their own
	hash_insert function.
 
	Warning
 
	The IMAP extension cannot be used in conjuction with the recode,
	YAZ or Cyrus extensions. This is due to the fact that they both
	share the same internal symbol.
 再コンパイル繰り返してトレースやってやっと判明。半日食っちまった。インストール前にマニュアル読めばこんなことはないのだが、、、やっぱ英語の壁は高い。

トップ «前の日記(2007-09-29 [Sat]) 最新 次の日記(2007-10-01 [Mon])» 編集