前提・実現したいこと
<前提>
・SSHのセキュリティ設定は完了済み
・Apacheのインストール完了
・Apacheは自動起動設定
<最終要望>
ConoHa VPSを借りてホームページの公開をしたい
<経緯>
以下のサイトで設定を進めていますが、firewallの80番ポート穴あけ設定
firewall-cmd --permanent --zone=public --add-service=http
で
FirewallD is not running
というエラーが出ました。
▼firewallのstatusは以下で死んでいるようです。
$ systemctl status firewalld ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:firewalld(1)
▼firewallを起動してみましたが、パスワード入力後数秒フリーズでVPSからログアウトされます。
$ systemctl start firewalld.service ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === Authentication is required to manage system services or units. Authenticating as: rutoki Password: ==== AUTHENTICATION COMPLETE === ##数秒フリーズ $ packet_write_wait: Connection to xxx.xx.xx.xx port 10222: Broken pipe
▼その後Conohaのコンソールからサーバの再起動をせずに入るとポート接続されているとエラーが出ています。
$ ssh conoha ssh: connect to host xxx.xx.xx.xx port 10222: Connection refused
firewallが起動しない現象に関して調べましたが、適切なリソースや解決策が分からず質問させていただきました。
何かご教授いただけることがあれば幸いです。
▼参考サイト
http://beginnerspage.com/build-homepage/build-homepage-4/
発生している問題・エラーメッセージ
$ systemctl start firewalld.service ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === Authentication is required to manage system services or units. Authenticating as: rutoki Password: ==== AUTHENTICATION COMPLETE === ##数秒フリーズ $ packet_write_wait: Connection to xxx.xx.xx.xx port 10222: Broken pipe
該当のソースコード
systemctl start firewalld.service
を実行するも起動されず
試したこと
・iptablesの停止
・yum update
補足情報(FW/ツールのバージョンなど)
MacOS 10.13.6
Server version: Apache/2.4.6 (CentOS)
ConoHa VPS
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。