systemctl status eksong.service ● eksong.service - eksong Service Loaded: loaded (/lib/systemd/system/eksong.service; disabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Fri 2023-06-02 15:54:28 CST; 10s ago Process: 1747 ExecStart=/usr/bin/python3 -u /home/pi/pytest/alsatest/ekho-song13_06.py (code=exited, status=200/C Main PID: 1747 (code=exited, status=200/CHDIR) lines 1-5/5 (END)
时间: 2024-04-27 18:24:13 浏览: 21
根据你提供的信息,eksong.service正在自动重启并且最近一次的启动结果为退出代码(exit-code)。进程号为1747的程序是通过命令"/usr/bin/python3 -u /home/pi/pytest/alsatest/ekho-song13_06.py"启动的,但是该进程已经退出并且状态为"CHDIR"。可能的原因是程序在执行过程中尝试进入一个不存在的目录。你可以查看程序的日志或者尝试手动执行该命令来获得更多的信息。
相关问题
重定向至 /bin/systemctl status iptables.service ● iptables.service - IPv4 firewall with iptables Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled) Active: inactive (dead)
这个错误提示表示 iptables 服务未启动或已经停止,可以使用以下命令启动 iptables 服务:
```
sudo systemctl start iptables.service
```
如果提示 "Failed to start iptables.service: Unit not found.",说明你的操作系统可能没有安装 iptables 服务,你可以通过以下命令安装 iptables 服务:
```
sudo yum install iptables-services
```
安装完成后,就可以使用上述命令启动 iptables 服务了。
[root@localhost ~]# systemctl status vsftpd.service ● vsftpd.service - Vsftpd ftp daemon Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled; vendor preset: disabled) Active: inactive (dead)
根据您提供的信息,vsftpd服务处于未启动状态(inactive (dead))。您需要启动vsftpd服务并确保它已启用。
启动vsftpd服务的命令如下:
```
systemctl start vsftpd.service
```
启用vsftpd服务的命令如下:
```
systemctl enable vsftpd.service
```
执行以上两个命令后,您可以通过以下命令检查vsftpd服务的状态:
```
systemctl status vsftpd.service
```
如果服务已成功启动,则状态应显示为“active (running)”。
如果您需要更详细的信息,请在提问时提供更多上下文,以便我更好地帮助您。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)