質問編集履歴
9
systemctl status ypbindからypbind -debugに変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -108,278 +108,308 @@
|
|
108
108
|
|
109
109
|
```
|
110
110
|
|
111
|
-
[root@localhost ~]#
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
111
|
+
[root@localhost ~]# ypbind -debug
|
112
|
+
|
113
|
+
7537: parsing config file
|
114
|
+
|
115
|
+
7537: Trying entry: domain negoto.net server host01.negoto.net
|
116
|
+
|
117
|
+
7537: parsed domain 'negoto.net' server 'host01.negoto.net'
|
118
|
+
|
119
|
+
7537: add_server() domain: negoto.net, host: host01.negoto.net, slot: 0
|
120
|
+
|
121
|
+
7537: [Welcome to ypbind-mt, version 1.37.1]
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
7537: ping interval is 20 seconds
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
7537: rebind interval is 900 seconds
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
7539: NetworkManager is running.
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
7539: Network is available.
|
138
|
+
|
139
|
+
7539: Switch to online mode
|
140
|
+
|
141
|
+
7539: Going online, reloading config file.
|
142
|
+
|
143
|
+
7539: parsing config file
|
144
|
+
|
145
|
+
7539: Trying entry: domain negoto.net server host01.negoto.net
|
146
|
+
|
147
|
+
7539: parsed domain 'negoto.net' server 'host01.negoto.net'
|
148
|
+
|
149
|
+
7539: add_server() domain: negoto.net, host: host01.negoto.net, slot: 0
|
150
|
+
|
151
|
+
7539: ping host 'host01.negoto.net', domain 'negoto.net'
|
152
|
+
|
153
|
+
7539: interface: org.freedesktop.DBus, object path: /org/freedesktop/DBus, method: NameAcquired
|
154
|
+
|
155
|
+
7540: ping host 'host01.negoto.net', domain 'negoto.net'
|
156
|
+
|
157
|
+
7540: Pinging all active servers.
|
158
|
+
|
159
|
+
7540: ping host 'host01.negoto.net', domain 'negoto.net'
|
160
|
+
|
161
|
+
7537: ypbindproc_domain_2_svc (negoto.net)
|
162
|
+
|
163
|
+
7537: Pinging all active servers.
|
164
|
+
|
165
|
+
7537: ping host 'host01.negoto.net', domain 'negoto.net'
|
166
|
+
|
167
|
+
7537: trylock = success
|
168
|
+
|
169
|
+
7537: ping host 'host01.negoto.net', domain 'negoto.net'
|
170
|
+
|
171
|
+
7537: trylock = success
|
172
|
+
|
173
|
+
7537: ping host 'host01.negoto.net', domain 'negoto.net'
|
174
|
+
|
175
|
+
7537: Status: YPBIND_FAIL_VAL
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
```
|
180
|
+
|
181
|
+
###環境
|
182
|
+
|
183
|
+
Firewall-Server
|
184
|
+
|
185
|
+
```CentOS
|
186
|
+
|
187
|
+
[root@localhost ~]# firewall-cmd --list-all
|
188
|
+
|
189
|
+
public (active)
|
190
|
+
|
191
|
+
target: default
|
192
|
+
|
193
|
+
icmp-block-inversion: no
|
194
|
+
|
195
|
+
interfaces: wlp2s0
|
196
|
+
|
197
|
+
sources:
|
198
|
+
|
199
|
+
services: ssh dhcpv6-client rpc-bind
|
200
|
+
|
201
|
+
ports: 834/tcp 834/udp
|
202
|
+
|
203
|
+
protocols:
|
204
|
+
|
205
|
+
masquerade: no
|
206
|
+
|
207
|
+
forward-ports:
|
208
|
+
|
209
|
+
source-ports:
|
210
|
+
|
211
|
+
icmp-blocks:
|
212
|
+
|
213
|
+
rich rules:
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
[root@localhost ~]#
|
218
|
+
|
219
|
+
```
|
220
|
+
|
221
|
+
Firewall-Cliant
|
222
|
+
|
223
|
+
```CentOS
|
224
|
+
|
225
|
+
[root@localhost ~]# firewall-cmd --list-all
|
226
|
+
|
227
|
+
public (active)
|
228
|
+
|
229
|
+
target: default
|
230
|
+
|
231
|
+
icmp-block-inversion: no
|
232
|
+
|
233
|
+
interfaces: wlp2s0
|
234
|
+
|
235
|
+
sources:
|
236
|
+
|
237
|
+
services: ssh dhcpv6-client
|
238
|
+
|
239
|
+
ports:
|
240
|
+
|
241
|
+
protocols:
|
242
|
+
|
243
|
+
masquerade: no
|
244
|
+
|
245
|
+
forward-ports:
|
246
|
+
|
247
|
+
source-ports:
|
248
|
+
|
249
|
+
icmp-blocks:
|
250
|
+
|
251
|
+
rich rules:
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
[root@localhost ~]#
|
256
|
+
|
257
|
+
```
|
258
|
+
|
259
|
+
rpcinfo -p
|
260
|
+
|
261
|
+
```CentOS
|
262
|
+
|
263
|
+
[root@localhost ~]# rpcinfo -p
|
264
|
+
|
265
|
+
program vers proto port service
|
266
|
+
|
267
|
+
100000 4 tcp 111 portmapper
|
268
|
+
|
269
|
+
100000 3 tcp 111 portmapper
|
270
|
+
|
271
|
+
100000 2 tcp 111 portmapper
|
272
|
+
|
273
|
+
100000 4 udp 111 portmapper
|
274
|
+
|
275
|
+
100000 3 udp 111 portmapper
|
276
|
+
|
277
|
+
100000 2 udp 111 portmapper
|
278
|
+
|
279
|
+
100005 1 udp 20048 mountd
|
280
|
+
|
281
|
+
100005 1 tcp 20048 mountd
|
282
|
+
|
283
|
+
100005 2 udp 20048 mountd
|
284
|
+
|
285
|
+
100024 1 udp 37906 status
|
286
|
+
|
287
|
+
100005 2 tcp 20048 mountd
|
288
|
+
|
289
|
+
100024 1 tcp 52903 status
|
290
|
+
|
291
|
+
100005 3 udp 20048 mountd
|
292
|
+
|
293
|
+
100005 3 tcp 20048 mountd
|
294
|
+
|
295
|
+
100003 3 tcp 2049 nfs
|
296
|
+
|
297
|
+
100003 4 tcp 2049 nfs
|
298
|
+
|
299
|
+
100227 3 tcp 2049 nfs_acl
|
300
|
+
|
301
|
+
100003 3 udp 2049 nfs
|
302
|
+
|
303
|
+
100003 4 udp 2049 nfs
|
304
|
+
|
305
|
+
100227 3 udp 2049 nfs_acl
|
306
|
+
|
307
|
+
100021 1 udp 33699 nlockmgr
|
308
|
+
|
309
|
+
100021 3 udp 33699 nlockmgr
|
310
|
+
|
311
|
+
100021 4 udp 33699 nlockmgr
|
312
|
+
|
313
|
+
100021 1 tcp 46174 nlockmgr
|
314
|
+
|
315
|
+
100021 3 tcp 46174 nlockmgr
|
316
|
+
|
317
|
+
100021 4 tcp 46174 nlockmgr
|
318
|
+
|
319
|
+
100009 1 udp 757 yppasswdd
|
320
|
+
|
321
|
+
100004 2 udp 834 ypserv
|
322
|
+
|
323
|
+
100004 1 udp 834 ypserv
|
324
|
+
|
325
|
+
100004 2 tcp 834 ypserv
|
326
|
+
|
327
|
+
100004 1 tcp 834 ypserv
|
328
|
+
|
329
|
+
[root@localhost ~]#
|
330
|
+
|
331
|
+
```
|
332
|
+
|
333
|
+
ypserv/yppasswdd
|
334
|
+
|
335
|
+
```CentOS
|
336
|
+
|
337
|
+
[root@localhost ~]# systemctl status ypserv yppasswdd
|
338
|
+
|
339
|
+
● ypserv.service - NIS/YP (Network Information Service) Server
|
340
|
+
|
341
|
+
Loaded: loaded (/usr/lib/systemd/system/ypserv.service; enabled; vendor preset: disabled)
|
342
|
+
|
343
|
+
Active: active (running) since 金 2019-06-14 17:40:05 JST; 56min ago
|
344
|
+
|
345
|
+
Main PID: 4788 (ypserv)
|
130
346
|
|
131
347
|
Status: "Processing requests..."
|
132
348
|
|
133
|
-
|
349
|
+
Tasks: 1
|
350
|
+
|
134
|
-
|
351
|
+
CGroup: /system.slice/ypserv.service
|
352
|
+
|
353
|
+
└─4788 /usr/sbin/ypserv -f -p 834
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
6月 14 17:40:04 localhost.localdomain systemd[1]: Starting NIS/YP (Network Information Service) Server...
|
358
|
+
|
359
|
+
6月 14 17:40:05 localhost.localdomain systemd[1]: Started NIS/YP (Network Information Service) Server.
|
360
|
+
|
361
|
+
6月 14 17:40:44 localhost.localdomain ypserv[4788]: refused connect from 192.168.11.15:49310 to procedure ypproc_domain_nonack (negoto.net,;0)
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
● yppasswdd.service - NIS/YP (Network Information Service) Users Passwords Change Server
|
366
|
+
|
367
|
+
Loaded: loaded (/usr/lib/systemd/system/yppasswdd.service; enabled; vendor preset: disabled)
|
368
|
+
|
369
|
+
Active: active (running) since 金 2019-06-14 17:40:05 JST; 56min ago
|
370
|
+
|
371
|
+
Main PID: 4820 (rpc.yppasswdd)
|
372
|
+
|
373
|
+
Status: "Processing requests..."
|
374
|
+
|
375
|
+
Tasks: 1
|
376
|
+
|
377
|
+
CGroup: /system.slice/yppasswdd.service
|
378
|
+
|
379
|
+
└─4820 /usr/sbin/rpc.yppasswdd -f
|
380
|
+
|
381
|
+
|
382
|
+
|
135
|
-
6月 14 1
|
383
|
+
6月 14 17:40:04 localhost.localdomain systemd[1]: Starting NIS/YP (Network Information Service) Users Passwords Change Server...
|
136
|
-
|
137
|
-
|
384
|
+
|
138
|
-
|
139
|
-
6月 14 18:39:20 localhost.localdomain systemd[1]: ypbind.service: control process exited, code=exited status=1
|
140
|
-
|
141
|
-
6月 14 1
|
385
|
+
6月 14 17:40:05 localhost.localdomain systemd[1]: Started NIS/YP (Network Information Service) Users Passwords Change Server.
|
142
|
-
|
386
|
+
|
143
|
-
|
387
|
+
[root@localhost ~]#
|
388
|
+
|
144
|
-
|
389
|
+
```
|
390
|
+
|
391
|
+
デバイス
|
392
|
+
|
393
|
+
```CentOS
|
394
|
+
|
145
|
-
|
395
|
+
[root@localhost ~]# nmcli d
|
396
|
+
|
397
|
+
DEVICE TYPE STATE CONNECTION
|
398
|
+
|
399
|
+
wlp2s0 wifi 接続済み Buffalo-G-AD44
|
400
|
+
|
401
|
+
virbr0 bridge 接続済み virbr0
|
402
|
+
|
403
|
+
enp0s25 ethernet 利用不可 --
|
404
|
+
|
405
|
+
lo loopback 管理無し --
|
406
|
+
|
407
|
+
virbr0-nic tun 管理無し --
|
146
408
|
|
147
409
|
[root@localhost ~]#
|
148
410
|
|
149
411
|
```
|
150
412
|
|
151
|
-
###環境
|
152
|
-
|
153
|
-
Firewall-Server
|
154
|
-
|
155
|
-
```CentOS
|
156
|
-
|
157
|
-
[root@localhost ~]# firewall-cmd --list-all
|
158
|
-
|
159
|
-
public (active)
|
160
|
-
|
161
|
-
target: default
|
162
|
-
|
163
|
-
icmp-block-inversion: no
|
164
|
-
|
165
|
-
interfaces: wlp2s0
|
166
|
-
|
167
|
-
sources:
|
168
|
-
|
169
|
-
services: ssh dhcpv6-client rpc-bind
|
170
|
-
|
171
|
-
ports: 834/tcp 834/udp
|
172
|
-
|
173
|
-
protocols:
|
174
|
-
|
175
|
-
masquerade: no
|
176
|
-
|
177
|
-
forward-ports:
|
178
|
-
|
179
|
-
source-ports:
|
180
|
-
|
181
|
-
icmp-blocks:
|
182
|
-
|
183
|
-
rich rules:
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
[root@localhost ~]#
|
188
|
-
|
189
|
-
```
|
190
|
-
|
191
|
-
Firewall-Cliant
|
192
|
-
|
193
|
-
```CentOS
|
194
|
-
|
195
|
-
[root@localhost ~]# firewall-cmd --list-all
|
196
|
-
|
197
|
-
public (active)
|
198
|
-
|
199
|
-
target: default
|
200
|
-
|
201
|
-
icmp-block-inversion: no
|
202
|
-
|
203
|
-
interfaces: wlp2s0
|
204
|
-
|
205
|
-
sources:
|
206
|
-
|
207
|
-
services: ssh dhcpv6-client
|
208
|
-
|
209
|
-
ports:
|
210
|
-
|
211
|
-
protocols:
|
212
|
-
|
213
|
-
masquerade: no
|
214
|
-
|
215
|
-
forward-ports:
|
216
|
-
|
217
|
-
source-ports:
|
218
|
-
|
219
|
-
icmp-blocks:
|
220
|
-
|
221
|
-
rich rules:
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
[root@localhost ~]#
|
226
|
-
|
227
|
-
```
|
228
|
-
|
229
|
-
rpcinfo -p
|
230
|
-
|
231
|
-
```CentOS
|
232
|
-
|
233
|
-
[root@localhost ~]# rpcinfo -p
|
234
|
-
|
235
|
-
program vers proto port service
|
236
|
-
|
237
|
-
100000 4 tcp 111 portmapper
|
238
|
-
|
239
|
-
100000 3 tcp 111 portmapper
|
240
|
-
|
241
|
-
100000 2 tcp 111 portmapper
|
242
|
-
|
243
|
-
100000 4 udp 111 portmapper
|
244
|
-
|
245
|
-
100000 3 udp 111 portmapper
|
246
|
-
|
247
|
-
100000 2 udp 111 portmapper
|
248
|
-
|
249
|
-
100005 1 udp 20048 mountd
|
250
|
-
|
251
|
-
100005 1 tcp 20048 mountd
|
252
|
-
|
253
|
-
100005 2 udp 20048 mountd
|
254
|
-
|
255
|
-
100024 1 udp 37906 status
|
256
|
-
|
257
|
-
100005 2 tcp 20048 mountd
|
258
|
-
|
259
|
-
100024 1 tcp 52903 status
|
260
|
-
|
261
|
-
100005 3 udp 20048 mountd
|
262
|
-
|
263
|
-
100005 3 tcp 20048 mountd
|
264
|
-
|
265
|
-
100003 3 tcp 2049 nfs
|
266
|
-
|
267
|
-
100003 4 tcp 2049 nfs
|
268
|
-
|
269
|
-
100227 3 tcp 2049 nfs_acl
|
270
|
-
|
271
|
-
100003 3 udp 2049 nfs
|
272
|
-
|
273
|
-
100003 4 udp 2049 nfs
|
274
|
-
|
275
|
-
100227 3 udp 2049 nfs_acl
|
276
|
-
|
277
|
-
100021 1 udp 33699 nlockmgr
|
278
|
-
|
279
|
-
100021 3 udp 33699 nlockmgr
|
280
|
-
|
281
|
-
100021 4 udp 33699 nlockmgr
|
282
|
-
|
283
|
-
100021 1 tcp 46174 nlockmgr
|
284
|
-
|
285
|
-
100021 3 tcp 46174 nlockmgr
|
286
|
-
|
287
|
-
100021 4 tcp 46174 nlockmgr
|
288
|
-
|
289
|
-
100009 1 udp 757 yppasswdd
|
290
|
-
|
291
|
-
100004 2 udp 834 ypserv
|
292
|
-
|
293
|
-
100004 1 udp 834 ypserv
|
294
|
-
|
295
|
-
100004 2 tcp 834 ypserv
|
296
|
-
|
297
|
-
100004 1 tcp 834 ypserv
|
298
|
-
|
299
|
-
[root@localhost ~]#
|
300
|
-
|
301
|
-
```
|
302
|
-
|
303
|
-
ypserv/yppasswdd
|
304
|
-
|
305
|
-
```CentOS
|
306
|
-
|
307
|
-
[root@localhost ~]# systemctl status ypserv yppasswdd
|
308
|
-
|
309
|
-
● ypserv.service - NIS/YP (Network Information Service) Server
|
310
|
-
|
311
|
-
Loaded: loaded (/usr/lib/systemd/system/ypserv.service; enabled; vendor preset: disabled)
|
312
|
-
|
313
|
-
Active: active (running) since 金 2019-06-14 17:40:05 JST; 56min ago
|
314
|
-
|
315
|
-
Main PID: 4788 (ypserv)
|
316
|
-
|
317
|
-
Status: "Processing requests..."
|
318
|
-
|
319
|
-
Tasks: 1
|
320
|
-
|
321
|
-
CGroup: /system.slice/ypserv.service
|
322
|
-
|
323
|
-
└─4788 /usr/sbin/ypserv -f -p 834
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
6月 14 17:40:04 localhost.localdomain systemd[1]: Starting NIS/YP (Network Information Service) Server...
|
328
|
-
|
329
|
-
6月 14 17:40:05 localhost.localdomain systemd[1]: Started NIS/YP (Network Information Service) Server.
|
330
|
-
|
331
|
-
6月 14 17:40:44 localhost.localdomain ypserv[4788]: refused connect from 192.168.11.15:49310 to procedure ypproc_domain_nonack (negoto.net,;0)
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
● yppasswdd.service - NIS/YP (Network Information Service) Users Passwords Change Server
|
336
|
-
|
337
|
-
Loaded: loaded (/usr/lib/systemd/system/yppasswdd.service; enabled; vendor preset: disabled)
|
338
|
-
|
339
|
-
Active: active (running) since 金 2019-06-14 17:40:05 JST; 56min ago
|
340
|
-
|
341
|
-
Main PID: 4820 (rpc.yppasswdd)
|
342
|
-
|
343
|
-
Status: "Processing requests..."
|
344
|
-
|
345
|
-
Tasks: 1
|
346
|
-
|
347
|
-
CGroup: /system.slice/yppasswdd.service
|
348
|
-
|
349
|
-
└─4820 /usr/sbin/rpc.yppasswdd -f
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
6月 14 17:40:04 localhost.localdomain systemd[1]: Starting NIS/YP (Network Information Service) Users Passwords Change Server...
|
354
|
-
|
355
|
-
6月 14 17:40:05 localhost.localdomain systemd[1]: Started NIS/YP (Network Information Service) Users Passwords Change Server.
|
356
|
-
|
357
|
-
[root@localhost ~]#
|
358
|
-
|
359
|
-
```
|
360
|
-
|
361
|
-
デバイス
|
362
|
-
|
363
|
-
```CentOS
|
364
|
-
|
365
|
-
[root@localhost ~]# nmcli d
|
366
|
-
|
367
|
-
DEVICE TYPE STATE CONNECTION
|
368
|
-
|
369
|
-
wlp2s0 wifi 接続済み Buffalo-G-AD44
|
370
|
-
|
371
|
-
virbr0 bridge 接続済み virbr0
|
372
|
-
|
373
|
-
enp0s25 ethernet 利用不可 --
|
374
|
-
|
375
|
-
lo loopback 管理無し --
|
376
|
-
|
377
|
-
virbr0-nic tun 管理無し --
|
378
|
-
|
379
|
-
[root@localhost ~]#
|
380
|
-
|
381
|
-
```
|
382
|
-
|
383
413
|
###修正情報
|
384
414
|
|
385
415
|
1.エラー文を参考にし、ホストの変更を行いました。->ファイアウォールを切ると動くようになりました。
|
8
ネットワーク情報を追加しました。IFCONFIGは文字数制限で載せることができませんでした
test
CHANGED
File without changes
|
test
CHANGED
@@ -358,9 +358,33 @@
|
|
358
358
|
|
359
359
|
```
|
360
360
|
|
361
|
+
デバイス
|
362
|
+
|
363
|
+
```CentOS
|
364
|
+
|
365
|
+
[root@localhost ~]# nmcli d
|
366
|
+
|
367
|
+
DEVICE TYPE STATE CONNECTION
|
368
|
+
|
369
|
+
wlp2s0 wifi 接続済み Buffalo-G-AD44
|
370
|
+
|
371
|
+
virbr0 bridge 接続済み virbr0
|
372
|
+
|
373
|
+
enp0s25 ethernet 利用不可 --
|
374
|
+
|
375
|
+
lo loopback 管理無し --
|
376
|
+
|
377
|
+
virbr0-nic tun 管理無し --
|
378
|
+
|
379
|
+
[root@localhost ~]#
|
380
|
+
|
381
|
+
```
|
382
|
+
|
361
383
|
###修正情報
|
362
384
|
|
363
|
-
エラー文を参考にし、ホストの変更を行いました。->ファイアウォールを切ると動くようになりました。
|
385
|
+
1.エラー文を参考にし、ホストの変更を行いました。->ファイアウォールを切ると動くようになりました。
|
386
|
+
|
387
|
+
2.ネットワーク情報を追加しました。
|
364
388
|
|
365
389
|
### 補足情報(FW/ツールのバージョンなど)
|
366
390
|
|
7
エラーメッセージypbind
test
CHANGED
File without changes
|
test
CHANGED
@@ -104,6 +104,50 @@
|
|
104
104
|
|
105
105
|
```
|
106
106
|
|
107
|
+
ypbind
|
108
|
+
|
109
|
+
```
|
110
|
+
|
111
|
+
[root@localhost ~]# systemctl status −l ypbind
|
112
|
+
|
113
|
+
Unit \xe2\x88\x92l.service could not be found.
|
114
|
+
|
115
|
+
● ypbind.service - NIS/YP (Network Information Service) Clients to NIS Domain Binder
|
116
|
+
|
117
|
+
Loaded: loaded (/usr/lib/systemd/system/ypbind.service; enabled; vendor preset: disabled)
|
118
|
+
|
119
|
+
Active: failed (Result: exit-code) since 金 2019-06-14 18:39:20 JST; 1min 56s ago
|
120
|
+
|
121
|
+
Process: 9210 ExecStartPost=/usr/libexec/ypbind-post-waitbind (code=exited, status=1/FAILURE)
|
122
|
+
|
123
|
+
Process: 9206 ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS (code=exited, status=0/SUCCESS)
|
124
|
+
|
125
|
+
Process: 9203 ExecStartPre=/usr/sbin/setsebool allow_ypbind=1 (code=exited, status=0/SUCCESS)
|
126
|
+
|
127
|
+
Process: 9198 ExecStartPre=/usr/libexec/ypbind-pre-setdomain (code=exited, status=0/SUCCESS)
|
128
|
+
|
129
|
+
Main PID: 9206 (code=exited, status=0/SUCCESS)
|
130
|
+
|
131
|
+
Status: "Processing requests..."
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
6月 14 18:38:24 localhost.localdomain systemd[1]: Starting NIS/YP (Network Information Service) Clients to NIS Domain Binder...
|
136
|
+
|
137
|
+
6月 14 18:38:24 localhost.localdomain setsebool[9203]: The allow_ypbind policy boolean was changed to 1 by root
|
138
|
+
|
139
|
+
6月 14 18:39:20 localhost.localdomain systemd[1]: ypbind.service: control process exited, code=exited status=1
|
140
|
+
|
141
|
+
6月 14 18:39:20 localhost.localdomain systemd[1]: Failed to start NIS/YP (Network Information Service) Clients to NIS Domain Binder.
|
142
|
+
|
143
|
+
6月 14 18:39:20 localhost.localdomain systemd[1]: Unit ypbind.service entered failed state.
|
144
|
+
|
145
|
+
6月 14 18:39:20 localhost.localdomain systemd[1]: ypbind.service failed.
|
146
|
+
|
147
|
+
[root@localhost ~]#
|
148
|
+
|
149
|
+
```
|
150
|
+
|
107
151
|
###環境
|
108
152
|
|
109
153
|
Firewall-Server
|
6
情報の追加(rpcinfo/ypserv/yppasswdd
test
CHANGED
File without changes
|
test
CHANGED
@@ -104,7 +104,7 @@
|
|
104
104
|
|
105
105
|
```
|
106
106
|
|
107
|
-
###
|
107
|
+
###環境
|
108
108
|
|
109
109
|
Firewall-Server
|
110
110
|
|
@@ -182,6 +182,138 @@
|
|
182
182
|
|
183
183
|
```
|
184
184
|
|
185
|
+
rpcinfo -p
|
186
|
+
|
187
|
+
```CentOS
|
188
|
+
|
189
|
+
[root@localhost ~]# rpcinfo -p
|
190
|
+
|
191
|
+
program vers proto port service
|
192
|
+
|
193
|
+
100000 4 tcp 111 portmapper
|
194
|
+
|
195
|
+
100000 3 tcp 111 portmapper
|
196
|
+
|
197
|
+
100000 2 tcp 111 portmapper
|
198
|
+
|
199
|
+
100000 4 udp 111 portmapper
|
200
|
+
|
201
|
+
100000 3 udp 111 portmapper
|
202
|
+
|
203
|
+
100000 2 udp 111 portmapper
|
204
|
+
|
205
|
+
100005 1 udp 20048 mountd
|
206
|
+
|
207
|
+
100005 1 tcp 20048 mountd
|
208
|
+
|
209
|
+
100005 2 udp 20048 mountd
|
210
|
+
|
211
|
+
100024 1 udp 37906 status
|
212
|
+
|
213
|
+
100005 2 tcp 20048 mountd
|
214
|
+
|
215
|
+
100024 1 tcp 52903 status
|
216
|
+
|
217
|
+
100005 3 udp 20048 mountd
|
218
|
+
|
219
|
+
100005 3 tcp 20048 mountd
|
220
|
+
|
221
|
+
100003 3 tcp 2049 nfs
|
222
|
+
|
223
|
+
100003 4 tcp 2049 nfs
|
224
|
+
|
225
|
+
100227 3 tcp 2049 nfs_acl
|
226
|
+
|
227
|
+
100003 3 udp 2049 nfs
|
228
|
+
|
229
|
+
100003 4 udp 2049 nfs
|
230
|
+
|
231
|
+
100227 3 udp 2049 nfs_acl
|
232
|
+
|
233
|
+
100021 1 udp 33699 nlockmgr
|
234
|
+
|
235
|
+
100021 3 udp 33699 nlockmgr
|
236
|
+
|
237
|
+
100021 4 udp 33699 nlockmgr
|
238
|
+
|
239
|
+
100021 1 tcp 46174 nlockmgr
|
240
|
+
|
241
|
+
100021 3 tcp 46174 nlockmgr
|
242
|
+
|
243
|
+
100021 4 tcp 46174 nlockmgr
|
244
|
+
|
245
|
+
100009 1 udp 757 yppasswdd
|
246
|
+
|
247
|
+
100004 2 udp 834 ypserv
|
248
|
+
|
249
|
+
100004 1 udp 834 ypserv
|
250
|
+
|
251
|
+
100004 2 tcp 834 ypserv
|
252
|
+
|
253
|
+
100004 1 tcp 834 ypserv
|
254
|
+
|
255
|
+
[root@localhost ~]#
|
256
|
+
|
257
|
+
```
|
258
|
+
|
259
|
+
ypserv/yppasswdd
|
260
|
+
|
261
|
+
```CentOS
|
262
|
+
|
263
|
+
[root@localhost ~]# systemctl status ypserv yppasswdd
|
264
|
+
|
265
|
+
● ypserv.service - NIS/YP (Network Information Service) Server
|
266
|
+
|
267
|
+
Loaded: loaded (/usr/lib/systemd/system/ypserv.service; enabled; vendor preset: disabled)
|
268
|
+
|
269
|
+
Active: active (running) since 金 2019-06-14 17:40:05 JST; 56min ago
|
270
|
+
|
271
|
+
Main PID: 4788 (ypserv)
|
272
|
+
|
273
|
+
Status: "Processing requests..."
|
274
|
+
|
275
|
+
Tasks: 1
|
276
|
+
|
277
|
+
CGroup: /system.slice/ypserv.service
|
278
|
+
|
279
|
+
└─4788 /usr/sbin/ypserv -f -p 834
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
6月 14 17:40:04 localhost.localdomain systemd[1]: Starting NIS/YP (Network Information Service) Server...
|
284
|
+
|
285
|
+
6月 14 17:40:05 localhost.localdomain systemd[1]: Started NIS/YP (Network Information Service) Server.
|
286
|
+
|
287
|
+
6月 14 17:40:44 localhost.localdomain ypserv[4788]: refused connect from 192.168.11.15:49310 to procedure ypproc_domain_nonack (negoto.net,;0)
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
● yppasswdd.service - NIS/YP (Network Information Service) Users Passwords Change Server
|
292
|
+
|
293
|
+
Loaded: loaded (/usr/lib/systemd/system/yppasswdd.service; enabled; vendor preset: disabled)
|
294
|
+
|
295
|
+
Active: active (running) since 金 2019-06-14 17:40:05 JST; 56min ago
|
296
|
+
|
297
|
+
Main PID: 4820 (rpc.yppasswdd)
|
298
|
+
|
299
|
+
Status: "Processing requests..."
|
300
|
+
|
301
|
+
Tasks: 1
|
302
|
+
|
303
|
+
CGroup: /system.slice/yppasswdd.service
|
304
|
+
|
305
|
+
└─4820 /usr/sbin/rpc.yppasswdd -f
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
6月 14 17:40:04 localhost.localdomain systemd[1]: Starting NIS/YP (Network Information Service) Users Passwords Change Server...
|
310
|
+
|
311
|
+
6月 14 17:40:05 localhost.localdomain systemd[1]: Started NIS/YP (Network Information Service) Users Passwords Change Server.
|
312
|
+
|
313
|
+
[root@localhost ~]#
|
314
|
+
|
315
|
+
```
|
316
|
+
|
185
317
|
###修正情報
|
186
318
|
|
187
319
|
エラー文を参考にし、ホストの変更を行いました。->ファイアウォールを切ると動くようになりました。
|
5
FIREWALLを切った状態で動くようになったため、エラー文章を更新しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,55 +20,61 @@
|
|
20
20
|
|
21
21
|
```CentOS
|
22
22
|
|
23
|
-
[root@localhost ~]# systemctl status ypbind
|
23
|
+
[root@localhost ~]# systemctl status ypbind
|
24
|
+
|
25
|
+
●[root@localhost ~]# systemctl status ypbind
|
24
26
|
|
25
27
|
● ypbind.service - NIS/YP (Network Information Service) Clients to NIS Domain Binder
|
26
28
|
|
27
29
|
Loaded: loaded (/usr/lib/systemd/system/ypbind.service; enabled; vendor preset: disabled)
|
28
30
|
|
29
|
-
Active: failed (Result: exit-code) since 金 2019-06-14 14:4
|
31
|
+
Active: failed (Result: exit-code) since 金 2019-06-14 15:42:40 JST; 5min ago
|
30
32
|
|
31
|
-
Process:
|
33
|
+
Process: 6852 ExecStartPost=/usr/libexec/ypbind-post-waitbind (code=exited, status=1/FAILURE)
|
32
34
|
|
33
|
-
Process:
|
35
|
+
Process: 6839 ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS (code=exited, status=0/SUCCESS)
|
34
36
|
|
35
|
-
Process:
|
37
|
+
Process: 6837 ExecStartPre=/usr/sbin/setsebool allow_ypbind=1 (code=exited, status=0/SUCCESS)
|
36
38
|
|
37
|
-
Process:
|
39
|
+
Process: 6832 ExecStartPre=/usr/libexec/ypbind-pre-setdomain (code=exited, status=0/SUCCESS)
|
38
40
|
|
39
|
-
Main PID:
|
41
|
+
Main PID: 6839 (code=exited, status=0/SUCCESS)
|
40
42
|
|
41
43
|
Status: "Processing requests..."
|
42
44
|
|
43
45
|
|
44
46
|
|
45
|
-
6月 14 14:4
|
47
|
+
6月 14 15:41:44 localhost.localdomain systemd[1]: Starting NIS/YP (Network Information Service) Clients to NIS Domain Binder...
|
46
48
|
|
47
|
-
6月 14 14:4
|
49
|
+
6月 14 15:41:44 localhost.localdomain setsebool[6837]: The allow_ypbind policy boolean was changed to 1 by root
|
48
50
|
|
49
|
-
6月 14 14:40
|
51
|
+
6月 14 15:42:40 localhost.localdomain systemd[1]: ypbind.service: control process exited, code=exited status=1
|
50
52
|
|
51
|
-
6月 14 14:40
|
53
|
+
6月 14 15:42:40 localhost.localdomain systemd[1]: Failed to start NIS/YP (Network Information Service) Clients to NIS Domain Binder.
|
52
54
|
|
53
|
-
6月 14 14:4
|
55
|
+
6月 14 15:42:40 localhost.localdomain systemd[1]: Unit ypbind.service entered failed state.
|
54
56
|
|
55
|
-
6月 14 14:4
|
57
|
+
6月 14 15:42:40 localhost.localdomain systemd[1]: ypbind.service failed.
|
56
58
|
|
57
|
-
6月 14 14:41:17 localhost.localdomain systemd[1]: Unit ypbind.service enter...
|
58
|
-
|
59
|
-
6月 14 14:41:17 localhost.localdomain systemd[1]: ypbind.service failed.
|
60
|
-
|
61
|
-
Hint: Some lines were ellipsized, use -l to show in full.
|
62
|
-
|
63
|
-
[root@localhost ~]#
|
59
|
+
[root@localhost ~]#
|
64
60
|
|
65
61
|
```
|
66
62
|
|
67
63
|
```CentOS
|
68
64
|
|
69
|
-
6月 14 14:
|
65
|
+
6月 14 15:42:40 localhost.localdomain ypbind[7031]: Binding took 51 seconds
|
70
66
|
|
67
|
+
6月 14 15:42:40 localhost.localdomain ypbind[7033]: NIS server for domain negoto.net is not responding.
|
68
|
+
|
69
|
+
6月 14 15:42:40 localhost.localdomain ypbind[7034]: Killing ypbind with PID 6839.
|
70
|
+
|
71
|
+
6月 14 15:42:40 localhost.localdomain ypbind[7035]: Try increase NISTIMEOUT in /etc/sysconfig/ypbind
|
72
|
+
|
73
|
+
6月 14 15:42:40 localhost.localdomain systemd[1]: ypbind.service: control process exited, code=exited status=1
|
74
|
+
|
75
|
+
6月 14 15:42:40 localhost.localdomain systemd[1]: Failed to start NIS/YP (Network Information Service) Clients to NIS Domain Binder.
|
76
|
+
|
71
|
-
-- Subject: Unit
|
77
|
+
-- Subject: Unit ypbind.service has failed
|
72
78
|
|
73
79
|
-- Defined-By: systemd
|
74
80
|
|
@@ -76,23 +82,25 @@
|
|
76
82
|
|
77
83
|
--
|
78
84
|
|
79
|
-
-- Unit
|
85
|
+
-- Unit ypbind.service has failed.
|
80
86
|
|
81
87
|
--
|
82
88
|
|
83
|
-
-- The
|
89
|
+
-- The result is failed.
|
84
90
|
|
85
|
-
6月 14 14:
|
91
|
+
6月 14 15:42:40 localhost.localdomain systemd[1]: Unit ypbind.service entered failed state.
|
86
92
|
|
87
|
-
6月 14 14
|
93
|
+
6月 14 15:42:40 localhost.localdomain systemd[1]: ypbind.service failed.
|
88
94
|
|
89
|
-
6月 14 14:
|
95
|
+
6月 14 15:42:40 localhost.localdomain polkitd[4052]: Unregistered Authentication Agent for unix-process:6826:13689 (system bus name :1.122, obje
|
90
96
|
|
91
|
-
6月 14 1
|
97
|
+
6月 14 15:42:40 localhost.localdomain chronyd[4135]: Source 133.243.238.163 replaced with 133.18.174.255
|
92
98
|
|
93
|
-
6月 14 1
|
99
|
+
6月 14 15:43:00 localhost.localdomain nautilus-deskto[6303]: g_simple_action_set_enabled: assertion 'G_IS_SIMPLE_ACTION (simple)' failed
|
94
100
|
|
101
|
+
6月 14 15:43:19 localhost.localdomain nautilus-deskto[6303]: g_simple_action_set_enabled: assertion 'G_IS_SIMPLE_ACTION (simple)' failed
|
102
|
+
|
95
|
-
6月 14 1
|
103
|
+
6月 14 15:44:02 localhost.localdomain nautilus-deskto[6303]: g_simple_action_set_enabled: assertion 'G_IS_SIMPLE_ACTION (simple)' failed
|
96
104
|
|
97
105
|
```
|
98
106
|
|
@@ -174,6 +182,10 @@
|
|
174
182
|
|
175
183
|
```
|
176
184
|
|
185
|
+
###修正情報
|
186
|
+
|
187
|
+
エラー文を参考にし、ホストの変更を行いました。->ファイアウォールを切ると動くようになりました。
|
188
|
+
|
177
189
|
### 補足情報(FW/ツールのバージョンなど)
|
178
190
|
|
179
191
|
CentOS7
|
4
Firewallを切った状態での動作がしないことが確認されたため一文を削除。
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
閲覧ありがとうございます。
|
4
4
|
|
5
|
-
CentOS7によるNISの設定を行っているのですが、クライアント側の設定でypbindがうまく動作してくれません。
|
5
|
+
CentOS7によるNISの設定を行っているのですが、クライアント側の設定でypbindがうまく動作してくれません。
|
6
6
|
|
7
7
|
セキュリティの問題もあるため、Firewallを実行せした状態でypbindを動作させたいと考えています。
|
8
8
|
|
3
+FIREWALL2
test
CHANGED
File without changes
|
test
CHANGED
@@ -98,7 +98,7 @@
|
|
98
98
|
|
99
99
|
###
|
100
100
|
|
101
|
-
Firewall
|
101
|
+
Firewall-Server
|
102
102
|
|
103
103
|
```CentOS
|
104
104
|
|
@@ -136,7 +136,43 @@
|
|
136
136
|
|
137
137
|
```
|
138
138
|
|
139
|
+
Firewall-Cliant
|
139
140
|
|
141
|
+
```CentOS
|
142
|
+
|
143
|
+
[root@localhost ~]# firewall-cmd --list-all
|
144
|
+
|
145
|
+
public (active)
|
146
|
+
|
147
|
+
target: default
|
148
|
+
|
149
|
+
icmp-block-inversion: no
|
150
|
+
|
151
|
+
interfaces: wlp2s0
|
152
|
+
|
153
|
+
sources:
|
154
|
+
|
155
|
+
services: ssh dhcpv6-client
|
156
|
+
|
157
|
+
ports:
|
158
|
+
|
159
|
+
protocols:
|
160
|
+
|
161
|
+
masquerade: no
|
162
|
+
|
163
|
+
forward-ports:
|
164
|
+
|
165
|
+
source-ports:
|
166
|
+
|
167
|
+
icmp-blocks:
|
168
|
+
|
169
|
+
rich rules:
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
[root@localhost ~]#
|
174
|
+
|
175
|
+
```
|
140
176
|
|
141
177
|
### 補足情報(FW/ツールのバージョンなど)
|
142
178
|
|
2
Firewallの設定を追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -96,6 +96,48 @@
|
|
96
96
|
|
97
97
|
```
|
98
98
|
|
99
|
+
###
|
100
|
+
|
101
|
+
Firewall
|
102
|
+
|
103
|
+
```CentOS
|
104
|
+
|
105
|
+
[root@localhost ~]# firewall-cmd --list-all
|
106
|
+
|
107
|
+
public (active)
|
108
|
+
|
109
|
+
target: default
|
110
|
+
|
111
|
+
icmp-block-inversion: no
|
112
|
+
|
113
|
+
interfaces: wlp2s0
|
114
|
+
|
115
|
+
sources:
|
116
|
+
|
117
|
+
services: ssh dhcpv6-client rpc-bind
|
118
|
+
|
119
|
+
ports: 834/tcp 834/udp
|
120
|
+
|
121
|
+
protocols:
|
122
|
+
|
123
|
+
masquerade: no
|
124
|
+
|
125
|
+
forward-ports:
|
126
|
+
|
127
|
+
source-ports:
|
128
|
+
|
129
|
+
icmp-blocks:
|
130
|
+
|
131
|
+
rich rules:
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
[root@localhost ~]#
|
136
|
+
|
137
|
+
```
|
138
|
+
|
139
|
+
|
140
|
+
|
99
141
|
### 補足情報(FW/ツールのバージョンなど)
|
100
142
|
|
101
143
|
CentOS7
|
1
Linuxと表記していたところをCentOS7に変更しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
### 発生している問題・エラーメッセージ
|
10
10
|
|
11
|
-
```
|
11
|
+
```CentOS
|
12
12
|
|
13
13
|
[root@localhost ~]# systemctl start ypbind
|
14
14
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
```
|
20
20
|
|
21
|
-
```
|
21
|
+
```CentOS
|
22
22
|
|
23
23
|
[root@localhost ~]# systemctl status ypbind.service
|
24
24
|
|
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
```
|
66
66
|
|
67
|
-
```
|
67
|
+
```CentOS
|
68
68
|
|
69
69
|
6月 14 14:50:02 localhost.localdomain systemd[1]: Started Cleanup of Temporary Directories.
|
70
70
|
|