質問編集履歴

4

httpd エラー追加

2016/06/01 08:09

投稿

K.T_build
K.T_build

スコア29

test CHANGED
File without changes
test CHANGED
@@ -16,6 +16,14 @@
16
16
 
17
17
  以下、エラーログ
18
18
 
19
+ /*----------------------------------------------
20
+
21
+
22
+
23
+
24
+
25
+ ■journalctl
26
+
19
27
  ```
20
28
 
21
29
  6月 01 16:29:41 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
@@ -27,3 +35,29 @@
27
35
  6月 01 16:29:41 localhost.localdomain polkitd[876]: Unregistered Authentication Agent for unix-process:5525:78073 (system bus name :1.115, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale ja_JP.UTF-8) (disconnected from bus)
28
36
 
29
37
  ```
38
+
39
+
40
+
41
+ ■/var/log/httpd/error_log
42
+
43
+ ※# systemctl restart httpd 後
44
+
45
+ ```ここに言語を入力
46
+
47
+ [Wed Jun 01 17:06:09.789028 2016] [mpm_prefork:notice] [pid 6857] AH00170: caught SIGWINCH, shutting down gracefully
48
+
49
+ [Wed Jun 01 17:06:10.832534 2016] [core:notice] [pid 7507] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
50
+
51
+ [Wed Jun 01 17:06:10.833037 2016] [suexec:notice] [pid 7507] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
52
+
53
+ [Wed Jun 01 17:06:10.845100 2016] [auth_digest:notice] [pid 7507] AH01757: generating secret for digest authentication ...
54
+
55
+ [Wed Jun 01 17:06:10.845554 2016] [lbmethod_heartbeat:notice] [pid 7507] AH02282: No slotmem from mod_heartmonitor
56
+
57
+ [Wed Jun 01 17:06:10.852792 2016] [mpm_prefork:notice] [pid 7507] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
58
+
59
+ [Wed Jun 01 17:06:10.852819 2016] [core:notice] [pid 7507] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
60
+
61
+
62
+
63
+ ```

3

変更

2016/06/01 08:09

投稿

K.T_build
K.T_build

スコア29

test CHANGED
File without changes
test CHANGED
@@ -4,106 +4,26 @@
4
4
 
5
5
  /etc/rc.d/init.d/ に起動スクリプトがなく、起動できません。
6
6
 
7
- 何度かアンインストールインストール繰り返しましたが出来ません
7
+ kaz.Suenagaさんよりsystemdに変わっていると回答頂きました。
8
-
9
- どうすればいいでしょうか?
10
-
11
- よろしくお願い致します。
12
8
 
13
9
 
14
10
 
11
+ systemctl start httpd をしたのですが、上手く起動できません。
15
12
 
16
-
17
- ```コマンド
18
-
19
- [root@localhost init.d]# yum -y install vsftpd
20
-
21
- 読み込んだプラグイン:fastestmirror, langpacks
22
-
23
- Loading mirror speeds from cached hostfile
24
-
25
- * base: www.ftp.ne.jp
26
-
27
- * extras: www.ftp.ne.jp
28
-
29
- * updates: www.ftp.ne.jp
30
-
31
- 依存性の解決をしています
13
+ 上記ができず、ハマっています
32
-
33
- --> トランザクションの確認を実行しています。
34
-
35
- ---> パッケージ vsftpd.x86_64 0:3.0.2-11.el7_2 を インストール
36
-
37
- --> 依存性解決を終了しました。
38
14
 
39
15
 
40
16
 
41
- 依存性を解決しました
42
-
43
-
44
-
45
- ================================================================================================================
46
-
47
- Package アーキテクチャー バージョン リポジトリー 容量
48
-
49
- ================================================================================================================
50
-
51
- インストール中:
52
-
53
- vsftpd x86_64 3.0.2-11.el7_2 updates 167 k
54
-
55
-
56
-
57
- トランザクションの要約
58
-
59
- ================================================================================================================
60
-
61
- インストール 1 パッケージ
62
-
63
-
64
-
65
- 総ダウンロード容量: 167 k
66
-
67
- インストール容量: 347 k
68
-
69
- Downloading packages:
70
-
71
- vsftpd-3.0.2-11.el7_2.x86_64.rpm | 167 kB 00:00:00
72
-
73
- Running transaction check
74
-
75
- Running transaction test
76
-
77
- Transaction test succeeded
78
-
79
- Running transaction
80
-
81
- インストール中 : vsftpd-3.0.2-11.el7_2.x86_64 1/1
82
-
83
- 検証中 : vsftpd-3.0.2-11.el7_2.x86_64 1/1
84
-
85
-
86
-
87
- インストル:
17
+ 以下、エラログ
88
-
89
- vsftpd.x86_64 0:3.0.2-11.el7_2
90
-
91
-
92
-
93
- 完了しました!
94
-
95
-
96
-
97
- [root@localhost init.d]# /etc/rc.d/init.d/vsftpd start
98
-
99
- -bash: /etc/rc.d/init.d/vsftpd: そのようなファイルやディレクトリはありません
100
-
101
-
102
-
103
- #サービスから立ち上げようとしても無理でした。
104
-
105
- [root@localhost init.d]# service vsftpd start
106
-
107
- Redirecting to /bin/systemctl start vsftpd.service
108
18
 
109
19
  ```
20
+
21
+ 6月 01 16:29:41 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
22
+
23
+ 6月 01 16:29:41 localhost.localdomain httpd[5531]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
24
+
25
+ 6月 01 16:29:41 localhost.localdomain systemd[1]: Started The Apache HTTP Server.
26
+
27
+ 6月 01 16:29:41 localhost.localdomain polkitd[876]: Unregistered Authentication Agent for unix-process:5525:78073 (system bus name :1.115, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale ja_JP.UTF-8) (disconnected from bus)
28
+
29
+ ```

2

質問内容を大幅変更

2016/06/01 07:48

投稿

K.T_build
K.T_build

スコア29

test CHANGED
@@ -1 +1 @@
1
- CentOS7vsftpdが起動できない(サビスの起動スクリプトがない
1
+ yumインストルした際に起動スクリプトが登録されない
test CHANGED
@@ -1,6 +1,8 @@
1
- ftpサーバーを立てるため、yumでvsftpdインストールしたのでが、
1
+ 空いPCCentOS7入れていま
2
2
 
3
+ yumでapache, vsftpdを入れたのですが、
4
+
3
- /etc/rc.d/init.d/ にvsftpdがなく、起動できません。
5
+ /etc/rc.d/init.d/ に起動スクリプトがなく、起動できません。
4
6
 
5
7
  何度かアンインストール⇒インストールを繰り返しましたが出来ません。
6
8
 
@@ -16,6 +18,82 @@
16
18
 
17
19
  [root@localhost init.d]# yum -y install vsftpd
18
20
 
21
+ 読み込んだプラグイン:fastestmirror, langpacks
22
+
23
+ Loading mirror speeds from cached hostfile
24
+
25
+ * base: www.ftp.ne.jp
26
+
27
+ * extras: www.ftp.ne.jp
28
+
29
+ * updates: www.ftp.ne.jp
30
+
31
+ 依存性の解決をしています
32
+
33
+ --> トランザクションの確認を実行しています。
34
+
35
+ ---> パッケージ vsftpd.x86_64 0:3.0.2-11.el7_2 を インストール
36
+
37
+ --> 依存性解決を終了しました。
38
+
39
+
40
+
41
+ 依存性を解決しました
42
+
43
+
44
+
45
+ ================================================================================================================
46
+
47
+ Package アーキテクチャー バージョン リポジトリー 容量
48
+
49
+ ================================================================================================================
50
+
51
+ インストール中:
52
+
53
+ vsftpd x86_64 3.0.2-11.el7_2 updates 167 k
54
+
55
+
56
+
57
+ トランザクションの要約
58
+
59
+ ================================================================================================================
60
+
61
+ インストール 1 パッケージ
62
+
63
+
64
+
65
+ 総ダウンロード容量: 167 k
66
+
67
+ インストール容量: 347 k
68
+
69
+ Downloading packages:
70
+
71
+ vsftpd-3.0.2-11.el7_2.x86_64.rpm | 167 kB 00:00:00
72
+
73
+ Running transaction check
74
+
75
+ Running transaction test
76
+
77
+ Transaction test succeeded
78
+
79
+ Running transaction
80
+
81
+ インストール中 : vsftpd-3.0.2-11.el7_2.x86_64 1/1
82
+
83
+ 検証中 : vsftpd-3.0.2-11.el7_2.x86_64 1/1
84
+
85
+
86
+
87
+ インストール:
88
+
89
+ vsftpd.x86_64 0:3.0.2-11.el7_2
90
+
91
+
92
+
93
+ 完了しました!
94
+
95
+
96
+
19
97
  [root@localhost init.d]# /etc/rc.d/init.d/vsftpd start
20
98
 
21
99
  -bash: /etc/rc.d/init.d/vsftpd: そのようなファイルやディレクトリはありません

1

推敲

2016/06/01 05:33

投稿

K.T_build
K.T_build

スコア29

test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,10 @@
5
5
  何度かアンインストール⇒インストールを繰り返しましたが出来ません。
6
6
 
7
7
  どうすればいいでしょうか?
8
+
9
+ よろしくお願い致します。
10
+
11
+
8
12
 
9
13
 
10
14