20060304p01の続き。
フ
問題の HDDと Windowsの入
フ
こうなるとフ
昨晩注文して明日到着予定の HDT722525DLA380(日立IBM SATA2 250GB)と ST3250824AS(Seagate SATA2 250GB)を接続する場所がなくな
* 250GBの HDDが 3つで 750GB。その内、250GB*(3-1)=500GBを記憶域として利用でき、3つの内のどの一つのデ
この前、フ
最初はトレイアイコンから、フ
CHKDSKを試したがどういうわけか開始しない。とりあえず再起動。
問題の HDDに張
PC Inspector File Recoveryというソフトをダウンロ
でも、このソフトを操作してると PCが突然再起動したりする。
さ
フ
こうなるとフ
タコが熱い。軍儀のエピソ
ONE PIECEは面白いんだけど「さあ泣け。さあ感動しろ」
HUNTER×HUNTERのタコとキルアの友情には素直に感動できるのにね。
第3レ
最初はジ
そしてジ
そうでないと面白くないから。
トラブル続発。
そのせいで Windows XPが起動しない。
最終的には XPのインスト
COPY G:\I386\PCI.SY_ C:\WINDOWS\SYSTEM32\DRIVERS\pci.sys
で、起動するようにな
CHKDSK /R で 70くらいエラ
DVDドライブは Q:\ に設定してたのだけどそういうのは XPが起動してから有効になるみたいで、DVDドライブが G:だと分かるまでに下のような地道な努力。
dir A: dir B: ... dir G:
結局、ダイアルア
症状は 25日の夜から。
C:\Accessories\System Tools\Internet Explorer (No Add-ons).lnk のタイムスタンプが 2006/02/25/19:20。(←IE7beta2のインスト
疑わしい。
Apacheサ
エラ
エラ
SELECT * FROM sqlite_master WHERE type='table' OR type='view' ORDER BY name;
デ
問題をややこしくしたのは
SELECT * FROM sqlite_master WHERE type='table' ORDER BY name;
だとか
SELECT * FROM sqlite_master WHERE type='view';
でも同じエラ
SELECT * FROM sqlite_master WHERE type='table';
だとエラ
結論から言うと SQL文は悪くない。
Apacheを SYSTEMアカウントで動かすとエラ
デ
SysInternalsの FileMonを使
sqlite-3.3.4の os_win.cに
char *sqlite3WinFullPathname(const char *zRelative)
という関数があり、Cygwinや WINCE以外の WINDOWSプラ
GetFullPathNameW/A
という APIが呼ばれている。おそらくこの APIが "C:\WINDOWS\sqlite_XXXXXXX" というパスの出所だろう。
ここをいじ
"%TEMP%\sqlite_XXXXXXX" => "%USERPROFILE%\Local Settings\Temp\sqlite_XXXXXXX => "C:\Documents and Settings\HTTPD\Local Settings\Temp\sqlite_XXXXXXX"
上のような Tempデ
sqlite3-rubyでは
db = SQLite3::Database.new('hoge.db'); db.temp_store = 2; # 2=memory, 1=file
SQLでなら
PRAGMA temp_store = MEMORY;
(参照) Pragma statements supported by SQLite
SQLの方は試してないけど、sqlite3-rubyの方で対処したところエラ
エラ
PRAGMA temp_store_directory;
PRAGMA temp_store_directory = 'directory-name';
Query or change the setting of the "temp_store_directory" - the directory where files used for storing temporary tables and indices are kept. This setting lasts for the duration of the current connection only and resets to its default value for each new connection opened.
When the temp_store_directory setting is changed, all existing temporary tables, indices, triggers, and viewers are immediately deleted. In practice, temp_store_directory should be set immediately after the database is opened.
The value directory-name should be enclosed in single quotes. To revert the directory to the default, set the directory-name to an empty string, e.g., PRAGMA temp_store_directory = ''. An error is raised if directory-name is not found or is not writable.
The default directory for temporary files depends on the OS. For Unix/Linux/OSX, the default is the is the first writable directory found in the list of: /var/tmp, /usr/tmp, /tmp, and current-directory. For Windows NT, the default directory is determined by Windows, generally C:\Documents and Settings\user-name\Local Settings\Temp\. Temporary files created by SQLite are unlinked immediately after opening, so that the operating system can automatically delete the files when the SQLite process exits. Thus, temporary files are not normally visible through ls or dir commands.
%TEMP%フWindowsのせい?俺のせいでした。
httpd.confに次の行を加えるべし。
PassEnv TEMP
確かに、確かに萌えが存在している。ギ
http://www5a.biglobe.ne.jp/~dai_/diary/diary0602.htm#05 (DAIさん帝国)