Redhat AS5 Docs

本文档提供了红帽企业版Linux 5的详细部署指导,包括安装步骤、配置技巧及常见问题解答等内容。
[root@host96072: /root]#systemctl restart sshd Job for sshd.service failed because a timeout was exceeded. See "systemctl status sshd.service" and "journalctl -xe" for details. [root@host96072: /root]#systemctl status firewalld.service ● 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) [root@host96072: /root]#systemctl status sshd.service ● sshd.service - OpenSSH server daemon Loaded: loaded (/etc/systemd/system/sshd.service; disabled; vendor preset: enabled) Active: activating (auto-restart) (Result: timeout) since Thu 2025-06-19 15:32:59 CST; 35s ago Docs: man:sshd(8) man:sshd_config(5) Process: 68036 ExecStart=/usr/local/openssh/sbin/sshd (code=exited, status=0/SUCCESS) Main PID: 68036 (code=exited, status=0/SUCCESS) [root@host96072: /root]#journalctl -xe -- Support: https://access.redhat.com/support -- -- Unit dnf-makecache.service has finished starting up. -- -- The start-up result is done. Jun 19 15:32:59 host96072 systemd[1]: sshd.service: Start operation timed out. Terminating. Jun 19 15:32:59 host96072 sshd[68036]: Received signal 15; terminating. Jun 19 15:32:59 host96072 systemd[1]: sshd.service: Failed with result 'timeout'. Jun 19 15:32:59 host96072 systemd[1]: Failed to start OpenSSH server daemon. -- Subject: Unit sshd.service has failed -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit sshd.service has failed. -- -- The result is failed. Jun 19 15:33:41 host96072 systemd[1]: sshd.service: Service RestartSec=42s expired, scheduling restart. Jun 19 15:33:41 host96072 systemd[1]: sshd.service: Scheduled restart job, restart counter is at 1. -- Subject: Automatic restarting of a unit has been scheduled -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Automatic restarting of the unit sshd.service has been scheduled, as the result for -- the configured Restart= setting for the unit. Jun 19 15:33:41 host96072 systemd[1]: Stopped OpenSSH server daemon. -- Subject: Unit sshd.service has finished shutting down -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit sshd.service has finished shutting down. Jun 19 15:33:41 host96072 systemd[1]: Starting OpenSSH server daemon... -- Subject: Unit sshd.service has begun start-up -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- Unit sshd.service has begun starting up. Jun 19 15:33:41 host96072 sshd[68065]: Server listening on 0.0.0.0 port 22. Jun 19 15:33:41 host96072 sshd[68065]: Server listening on :: port 22.
06-20
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值