> sudo systemctl stop rpcbind.service [sudo] goko 的密码: Warning: Stopping rpcbind.service, but it can still be activated by: rpcbind.socket > sudo systemctl stop rpcbind.socket
Synchronizing state of rpcbind.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install disable rpcbind Removed /etc/systemd/system/multi-user.target.wants/rpcbind.service. Removed /etc/systemd/system/sockets.target.wants/rpcbind.socket. > sudo systemctl disable rpcbind.socket
tftpd-hpa.service is not a native service, redirecting to systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install disable tftpd-hpa > sudo lsof -i :69 >
清理并重启docker-compose
docker-compose down docker-compose up -d 我这里有显示多了2049在被占用,于是就尝试关闭正在运行的NFS服务
> sudo systemctl status nfs-server.service [sudo] goko 的密码: ● nfs-server.service - NFS server and services Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enab> Drop-In: /run/systemd/generator/nfs-server.service.d └─order-with-mounts.conf Active: active (exited) since Sat 2025-09-06 08:47:16 CST; 2 weeks 0 days ago Main PID: 2011 (code=exited, status=0/SUCCESS) CPU: 8ms
9月 06 08:47:16 goko-w systemd[1]: Starting NFS server and services... 9月 06 08:47:16 goko-w systemd[1]: Finished NFS server and services. > sudo systemctl stop nfs-server.service
> sudo systemctl disable nfs-server.service
Removed /etc/systemd/system/multi-user.target.wants/nfs-server.service. > sudo systemctl status nfs-kernel-server.service ○ nfs-server.service - NFS server and services Loaded: loaded (/lib/systemd/system/nfs-server.service; disabled; vendor preset: ena> Drop-In: /run/systemd/generator/nfs-server.service.d └─order-with-mounts.conf Active: inactive (dead) since Sat 2025-09-20 22:58:39 CST; 21s ago Main PID: 2011 (code=exited, status=0/SUCCESS) CPU: 3ms
9月 06 08:47:16 goko-w systemd[1]: Starting NFS server and services... 9月 06 08:47:16 goko-w systemd[1]: Finished NFS server and services. 9月 20 22:58:39 goko-w systemd[1]: Stopping NFS server and services... 9月 20 22:58:39 goko-w systemd[1]: nfs-server.service: Deactivated successfully. 9月 20 22:58:39 goko-w systemd[1]: Stopped NFS server and services.