Skip to content

Instantly share code, notes, and snippets.

@motoacs
Last active November 30, 2019 18:10
Show Gist options
  • Save motoacs/4bd7d61b2259b145ffb4559de3906a69 to your computer and use it in GitHub Desktop.
Save motoacs/4bd7d61b2259b145ffb4559de3906a69 to your computer and use it in GitHub Desktop.
TVRemotePlus v1.4.0 debug
PS C:\Users\server\Downloads\TvTools\TVRemotePlus-1.4.0\bin\Apache\bin> .\httpd.exe
[Sun Dec 01 02:40:07.456712 2019] [core:warn] [pid 18028:tid 588] AH00111: Config variable ${PORT_SSL} is not defined
[Sun Dec 01 02:40:07.457689 2019] [core:warn] [pid 18028:tid 588] AH00111: Config variable ${PORT_SSL} is not defined
[Sun Dec 01 02:40:07.458958 2019] [core:warn] [pid 18028:tid 588] AH00111: Config variable ${PORT_SSL} is not defined
AH00526: Syntax error on line 37 of C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/bin/Apache/conf/extra/httpd-ssl.conf:
Port must be specified
→ ${PORT_SSL} を旧バージョンconfに合わせて ${PORT_SSL} に書き換えてみた
PS C:\Users\server\Downloads\TvTools\TVRemotePlus-1.4.0\bin\Apache\bin> .\httpd.exe
[Sun Dec 01 02:44:03.390623 2019] [core:warn] [pid 18328:tid 608] AH00111: Config variable ${PORT_SSL} is not defined
[Sun Dec 01 02:44:03.391601 2019] [core:warn] [pid 18328:tid 608] AH00111: Config variable ${PORT_SSL} is not defined
[Sun Dec 01 02:44:03.391601 2019] [core:warn] [pid 18328:tid 608] AH00111: Config variable ${PORT_SSL} is not defined
AH00526: Syntax error on line 37 of C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/bin/Apache/conf/extra/httpd-ssl.conf:
Port must be specified
→ "${PORT_SSL}" を 1443(適当)に書き換えてみた
PS C:\Users\server\Downloads\TvTools\TVRemotePlus-1.4.0\bin\Apache\bin> .\httpd.exe
[Sun Dec 01 02:47:08.141271 2019] [core:warn] [pid 19960:tid 580] AH00111: Config variable ${SSL_PORT} is not defined
[Sun Dec 01 02:47:08.151043 2019] [core:error] [pid 19960:tid 580] (OS 11001)そのようなホストは不明です。 : AH00547: Could not resolve host name _default_:${SSL_PORT} -- ignoring!
AH00526: Syntax error on line 92 of C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/bin/Apache/conf/extra/httpd-ssl.conf:
SSLCertificateFile: file 'C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/bin/Apache/conf/server.crt' does not exist or is empty
→ 改善したが今度は証明書が読めないらしいので、旧バージョンのフォルダから証明書一式をコピー
PS C:\Users\server\Downloads\TvTools\TVRemotePlus-1.4.0\bin\Apache\bin> .\httpd.exe
[Sun Dec 01 02:48:31.570482 2019] [core:warn] [pid 18800:tid 168] AH00111: Config variable ${SSL_PORT} is not defined
[Sun Dec 01 02:48:31.580255 2019] [core:error] [pid 18800:tid 168] (OS 11001)そのようなホストは不明です。 : AH00547: Could not resolve host name _default_:${SSL_PORT} -- ignoring!
(OS 2)指定されたファイルが見つかりません。 : AH02291: Cannot access directory 'C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/bin/Apache/logs/' for main error log
(OS 2)指定されたファイルが見つかりません。 : AH02291: Cannot access directory 'C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/bin/Apache/logs/' for error log of vhost defined at C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/bin/Apache/conf/extra/httpd-ssl.conf:61
AH00014: Configuration check failed
→ logフォルダがないと怒られるので作成
PS C:\Users\server\Downloads\TvTools\TVRemotePlus-1.4.0\bin\Apache\bin> .\httpd.exe
[Sun Dec 01 02:49:48.110554 2019] [core:warn] [pid 10168:tid 576] AH00111: Config variable ${SSL_PORT} is not defined
[Sun Dec 01 02:49:48.120325 2019] [core:error] [pid 10168:tid 576] (OS 11001)そのようなホストは不明です。 : AH00547: Could not resolve host name _default_:${SSL_PORT} -- ignoring!
→ 残っていた ${SSL_PORT} を1443に書き換え
PS C:\Users\server\Downloads\TvTools\TVRemotePlus-1.4.0\bin\Apache\bin> .\httpd.exe
→ とりあえず起動成功
-------------------------------------------------------------------
TVRemotePlus v1.4.0 インストーラー
-------------------------------------------------------------------
TVRemotePlus のセットアップを行うインストーラーです。
途中でキャンセルする場合は Ctrl + C を押してください。
-------------------------------------------------------------------
1. TVRemotePlus をインストールするフォルダを指定します。
フォルダをドラッグ&ドロップするか、ファイルパスを入力してください。
なお、Users・Program Files 以下と、日本語(全角)が含まれるパスは、
動作しなくなる原因となるため、避けてください。
インストールするフォルダ:C:\Users\server\Downloads\TvTools\TVRemotePlus-1.4.0
2. TVRemotePlus をインストールする PC の、ローカル IP アドレスを入力してください。
ローカル IP アドレスは、通常 192.168.x.xx のような形式の家の中用の IP アドレスです。
インストーラーで検知したローカル IP アドレスは 192.168.56.1 です。
判定が間違っている場合もあります( VPN 等で複数の仮想デバイスがある場合など)。
その場合、メインで利用しているローカル IP アドレスを ipconfig で調べ、入力してください。
よくわからない場合は、Enter キーを押し、次に進んでください。
ローカル IP アドレス:172.16.0.10
3. 必要な場合、TVRemotePlus が利用するポートを設定して下さい。
通常は、ブラウザの URL 欄から http://172.16.0.10:8000 でアクセスできます。
この 8000 の番号を変えたい場合は、ポート番号を入力してください。
HTTPS 接続時はポート番号が ここで設定した番号 + 100 になります。
よくわからない場合は、Enter キーを押し、次に進んでください。
利用ポート番号:
4. TVTest の BonDriver は 32bit ですか? 64bit ですか?
32bit の場合は 1 、64bit の場合は 2 と入力してください。
この項目で 32bit 版・64bit版どちらの TSTask を使うかが決まります。
インストール終了後、お使いの TVTest の BonDriver と ch2 ファイルを、
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/bin/TSTask/BonDriver/ にコピーしてください。
Enter キーで次に進む場合、自動で 32bit の TSTask を選択します。
TVTest の BonDriver:
5. 録画ファイルのあるフォルダを指定します。
フォルダをドラッグ&ドロップするか、ファイルパスを入力してください。
なお、日本語(全角)が含まれるパスの場合、正常に動作しない可能性があります。
録画ファイルのあるフォルダ:D:\TvRecords
-------------------------------------------------------------------
インストールを開始します。
-------------------------------------------------------------------
TVRemotePlus をインストールしています…
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/config.default.php を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/config.default.php にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/createcert.bat を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/createcert.bat にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/header.php を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/header.php にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/LICENSE.txt を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/LICENSE.txt にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/module.php を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/module.php にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/README.md を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/README.md にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/require.php を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/require.php にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/stream.bat を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/stream.bat にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/stream.php を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/stream.php にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/bin を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/bin にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/cast を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/cast にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/data を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/data にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/docs を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/docs にコピーしました。
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0-installer/htdocs を
C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/htdocs にコピーしました。
HTTPS 接続用の自己署名証明書を作成します。
-------------------------------------------------------------------
Generating RSA private key, 2048 bit long modulus (2 primes)
...+++++
................................................+++++
e is 65537 (0x010001)
Can't open ..\conf\openssl.cnf for reading, No such file or directory
16564:error:02001002:system library:fopen:No such file or directory:crypto\bio\bss_file.c:72:fopen('..\conf\openssl.cnf','r')
16564:error:2006D080:BIO routines:BIO_new_file:no such file:crypto\bio\bss_file.c:79:
unable to find 'distinguished_name' in config
problems making Certificate Request
16564:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:crypto\conf\conf_lib.c:270:
PHP Warning: copy(C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/bin/Apache/conf/server.crt): failed to open stream: No such file or directory in C:\Users\server\Downloads\TvTools\TVRemotePlus-1.4.0-installer\install.php on line 300
Warning: copy(C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/bin/Apache/conf/server.crt): failed to open stream: No such file or directory in C:\Users\server\Downloads\TvTools\TVRemotePlus-1.4.0-installer\install.php on line 300
-------------------------------------------------------------------
自己署名証明書の作成に失敗しました…
ショートカットを作成しました。
-------------------------------------------------------------------
インストールを完了しました。
セットアップはまだ終わっていません。
BonDriver と.ch2 ファイルは C:/Users/server/Downloads/TvTools/TVRemotePlus-1.4.0/bin/TSTask/BonDriver/ に忘れずに入 れてください。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment