質問編集履歴

1

忘れていたところ

2017/05/14 10:47

投稿

Helvetic
Helvetic

スコア6

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ・Rubyでできたどどんとふという物をインストール
4
4
 
5
- →が、DodontoFServer.rb(動作確認ができる)は実行されず表示するためのindex.htmlと~~.swfしか表示されない (なぜか同じディレクトリにあるHello Rubyのテストコードは実行できる)
5
+ →が、DodontoFServer.rb(動作確認ができる)は実行されず(ブラウザで500が返される)表示するためのindex.htmlと~~.swfしか表示されない (なぜか同じディレクトリにあるHello Rubyのテストコードは実行できる)
6
6
 
7
7
 
8
8
 
@@ -10,9 +10,15 @@
10
10
 
11
11
 
12
12
 
13
+ エラーコードで探しても全く解決方法が見つかりません
14
+
15
+
16
+
13
17
 
14
18
 
15
19
  ###エラーメッセージ
20
+
21
+ パスを/usr/lib/rubyにしたとき
16
22
 
17
23
 
18
24
 
@@ -21,6 +27,48 @@
21
27
  [Sun May 14 19:10:57.158227 2017] [cgi:error] [pid 20846] [client 192.168.1.5:57979] AH01215: (13)Permission denied: exec of '/var/www/html/DodontoF_WebSet/public_html/DodontoF/DodontoFServer.rb' failed
22
28
 
23
29
  [Sun May 14 19:10:57.160919 2017] [cgi:error] [pid 20846] [client 192.168.1.5:57979] End of script output before headers: DodontoFServer.rb
30
+
31
+
32
+
33
+ ```
34
+
35
+ パスを/usr/bin/rubyにしたとき
36
+
37
+ ```
38
+
39
+ [Sun May 14 19:42:54.755894 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: /usr/lib/ruby/2.1.0/logger.rb:592:in `initialize': Permission denied @ rb_sysopen - log.txt (Errno::EACCES)
40
+
41
+ [Sun May 14 19:42:54.756260 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /usr/lib/ruby/2.1.0/logger.rb:592:in `open'
42
+
43
+ [Sun May 14 19:42:54.756390 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /usr/lib/ruby/2.1.0/logger.rb:592:in `open_logfile'
44
+
45
+ [Sun May 14 19:42:54.756507 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /usr/lib/ruby/2.1.0/logger.rb:549:in `initialize'
46
+
47
+ [Sun May 14 19:42:54.756613 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /usr/lib/ruby/2.1.0/logger.rb:318:in `new'
48
+
49
+ [Sun May 14 19:42:54.756728 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /usr/lib/ruby/2.1.0/logger.rb:318:in `initialize'
50
+
51
+ [Sun May 14 19:42:54.756900 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /var/www/html/DodontoF_WebSet/public_html/DodontoF/src_ruby/dodontof/logger.rb:27:in `new'
52
+
53
+ [Sun May 14 19:42:54.757077 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /var/www/html/DodontoF_WebSet/public_html/DodontoF/src_ruby/dodontof/logger.rb:27:in `reset'
54
+
55
+ [Sun May 14 19:42:54.757262 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /var/www/html/DodontoF_WebSet/public_html/DodontoF/src_ruby/dodontof/logger.rb:14:in `initialize'
56
+
57
+ [Sun May 14 19:42:54.757371 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /usr/lib/ruby/2.1.0/singleton.rb:141:in `new'
58
+
59
+ [Sun May 14 19:42:54.757500 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /usr/lib/ruby/2.1.0/singleton.rb:141:in `block in instance'
60
+
61
+ [Sun May 14 19:42:54.757621 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /usr/lib/ruby/2.1.0/singleton.rb:139:in `synchronize'
62
+
63
+ [Sun May 14 19:42:54.757737 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /usr/lib/ruby/2.1.0/singleton.rb:139:in `instance'
64
+
65
+ [Sun May 14 19:42:54.757911 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /var/www/html/DodontoF_WebSet/public_html/DodontoF/DodontoFServer.rb:5812:in `getCgiParams'
66
+
67
+ [Sun May 14 19:42:54.758105 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /var/www/html/DodontoF_WebSet/public_html/DodontoF/DodontoFServer.rb:5836:in `executeDodontoServerCgi'
68
+
69
+ [Sun May 14 19:42:54.758275 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] AH01215: \tfrom /var/www/html/DodontoF_WebSet/public_html/DodontoF/DodontoFServer.rb:5851:in `<main>'
70
+
71
+ [Sun May 14 19:42:54.781176 2017] [cgi:error] [pid 2571] [client 192.168.1.5:58360] End of script output before headers: DodontoFServer.rb
24
72
 
25
73
 
26
74