質問編集履歴

3

見栄え

2015/10/28 07:41

投稿

ucan-lab
ucan-lab

スコア888

test CHANGED
File without changes
test CHANGED
@@ -110,43 +110,33 @@
110
110
 
111
111
  * ajentiの停止
112
112
 
113
- ```
114
-
115
113
  # servive stop ajenti
116
114
 
117
115
  -bash: servive: command not found
118
116
 
117
+
118
+
119
- ```
119
+ コマンドがないらしい。
120
+
121
+
122
+
123
+ * 代わりにこちらで停止。
124
+
125
+ # systemctl stop ajenti
120
126
 
121
127
 
122
128
 
123
129
 
124
130
 
125
- ```
126
-
127
- # systemctl stop ajenti
128
-
129
- ```
130
-
131
- 代わりにこちらで停止。
132
-
133
-
134
-
135
131
  * listenポートの確認(8000のlistenがなくなっているはず)
136
132
 
137
- ```
138
-
139
133
  # netstat -tlnp | grep 8000
140
-
141
- ```
142
134
 
143
135
  なくなりました。
144
136
 
145
137
 
146
138
 
147
139
  * ajentiを詳細モードで起動
148
-
149
- ```
150
140
 
151
141
  # ajenti-panel -v
152
142
 
@@ -186,15 +176,13 @@
186
176
 
187
177
  ...
188
178
 
189
- ```
190
-
191
179
 
192
180
 
193
181
  長かったので最初と最後だけ抜き出しました。
194
182
 
195
183
  こちらに全部載せました。
196
184
 
197
- http://climbi.com/b/5388/0
185
+ [http://climbi.com/b/5388/0](http://climbi.com/b/5388/0)
198
186
 
199
187
 
200
188
 

2

追記

2015/10/28 07:41

投稿

ucan-lab
ucan-lab

スコア888

test CHANGED
File without changes
test CHANGED
@@ -97,3 +97,107 @@
97
97
  Ajentiのインストールで必要な物はすべてインストールしてくれるイメージでしたが、
98
98
 
99
99
  足りないものとかないでしょうか?
100
+
101
+
102
+
103
+
104
+
105
+ == 追記 ==
106
+
107
+ 詳細モードで起動試してみました。
108
+
109
+
110
+
111
+ * ajentiの停止
112
+
113
+ ```
114
+
115
+ # servive stop ajenti
116
+
117
+ -bash: servive: command not found
118
+
119
+ ```
120
+
121
+
122
+
123
+
124
+
125
+ ```
126
+
127
+ # systemctl stop ajenti
128
+
129
+ ```
130
+
131
+ 代わりにこちらで停止。
132
+
133
+
134
+
135
+ * listenポートの確認(8000のlistenがなくなっているはず)
136
+
137
+ ```
138
+
139
+ # netstat -tlnp | grep 8000
140
+
141
+ ```
142
+
143
+ なくなりました。
144
+
145
+
146
+
147
+ * ajentiを詳細モードで起動
148
+
149
+ ```
150
+
151
+ # ajenti-panel -v
152
+
153
+ 28.10.2015 16:18 ajenti-panel:105 INFO Using config file /etc/ajenti/config.json
154
+
155
+ 28.10.2015 16:18 ajenti-panel:130 INFO Ajenti starting in foreground
156
+
157
+ 28.10.2015 16:18 registry.py:282 DEBUG registered 'sha512_crypt' handler: <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
158
+
159
+ 28.10.2015 16:18 compat.py:20 DEBUG Popen: git describe --tags 2> /dev/null
160
+
161
+ 28.10.2015 16:18 compat.py:20 DEBUG Popen: ['lsb_release', '-sd']
162
+
163
+ 28.10.2015 16:18 compat.py:20 DEBUG Popen: ['uname', '-mrs']
164
+
165
+ 28.10.2015 16:18 core.py:60 INFO Ajenti 1.2.22.13 running on platform: centos
166
+
167
+ ...
168
+
169
+ 28.10.2015 16:18 core.py:99 INFO Starting server on (u'0.0.0.0', 8000)
170
+
171
+ 28.10.2015 16:18 __init__.py:207 DEBUG Root context instantiated [SessionMiddleware] <ajenti.middleware.SessionMiddleware object at 0x388de10>
172
+
173
+ 28.10.2015 16:18 __init__.py:207 DEBUG Root context instantiated [AuthenticationMiddleware] <ajenti.middleware.AuthenticationMiddleware object at 0x38834d0>
174
+
175
+ 28.10.2015 16:18 __init__.py:207 DEBUG Root context instantiated [CentralDispatcher] <ajenti.routing.CentralDispatcher object at 0x3883610>
176
+
177
+ 28.10.2015 16:18 core.py:134 INFO SSL enabled: /etc/ajenti/ajenti.pem
178
+
179
+ 28.10.2015 16:18 __init__.py:207 DEBUG Root context instantiated [IPCServer] <ajenti.ipc.IPCServer object at 0x3883210>
180
+
181
+ 28.10.2015 16:18 __init__.py:207 DEBUG Root context instantiated [Licensing] <ajenti.licensing.Licensing object at 0x3883050>
182
+
183
+ 28.10.2015 16:18 feedback.py:30 DEBUG Feedback >> ping ({'edition': 'vanilla', 'version': '1.2.22.13', 'os': 'centos', 'id': 172438})
184
+
185
+ 28.10.2015 16:18 feedback.py:35 DEBUG Feedback << {"status": "ok"}
186
+
187
+ ...
188
+
189
+ ```
190
+
191
+
192
+
193
+ 長かったので最初と最後だけ抜き出しました。
194
+
195
+ こちらに全部載せました。
196
+
197
+ http://climbi.com/b/5388/0
198
+
199
+
200
+
201
+ status okなのでokなんでしょうか。。
202
+
203
+ ブラウザからアクセスしてみましたが状況は変わりませんでした。

1

タグ付け

2015/10/28 07:39

投稿

ucan-lab
ucan-lab

スコア888

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- http://ajenti.org/
5
+ [http://ajenti.org/](http://ajenti.org/)
6
6
 
7
7
 
8
8
 
@@ -12,27 +12,41 @@
12
12
 
13
13
  ○ Ajentiのインストール
14
14
 
15
+ ```
16
+
15
17
  # curl https://raw.githubusercontent.com/ajenti/ajenti/1.x/scripts/install-rhel7.sh | sh
18
+
19
+ ```
16
20
 
17
21
 
18
22
 
19
23
  ○ Ajenti再起動で起動の確認
20
24
 
25
+ ```
26
+
21
27
  # service ajenti restart
22
28
 
23
29
  Restarting ajenti (via systemctl): [ OK ]
30
+
31
+ ```
24
32
 
25
33
 
26
34
 
27
35
  ○ ポート開放できているのを確認
28
36
 
37
+ ```
38
+
29
39
  # sudo netstat -tlnp | grep 8000
30
40
 
31
41
  tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN
32
42
 
43
+ ```
44
+
33
45
 
34
46
 
35
47
  ○ バインドエラー
48
+
49
+ ```
36
50
 
37
51
  # ajenti-panel -v
38
52
 
@@ -40,15 +54,23 @@
40
54
 
41
55
  28.10.2015 13:25 core.py:121 ERROR Could not bind to (u'0.0.0.0', 8000)
42
56
 
57
+ ```
58
+
43
59
 
44
60
 
45
61
  ○ 他のプロセスが8000ポートを使ってるわけではないみたい。
46
62
 
63
+ ```
64
+
47
65
  # netstat -lnp | grep :8000
66
+
67
+ ```
48
68
 
49
69
 
50
70
 
51
71
  ○ /etc/ajenti/config.json ホスト名を0.0.0.0から自分のIPに変更してみた。
72
+
73
+ ```json
52
74
 
53
75
  "bind": {
54
76
 
@@ -57,6 +79,8 @@
57
79
  "port": 8000
58
80
 
59
81
  },
82
+
83
+ ```
60
84
 
61
85
 
62
86