风火轮用户30280 发表于 2022-4-27 11:35:46

RK3566-ROC-PC NFS服务器安装报错

Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /lib/systemd/system/rpcbind.service.
Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /lib/systemd/system/rpcbind.socket.
Setting up nfs-common (1:1.3.4-2.1ubuntu5.5) ...

Creating config file /etc/idmapd.conf with new version
Adding system user `statd' (UID 109) ...
Adding new user `statd' (UID 109) with group `nogroup' ...
Not creating home directory `/var/lib/nfs'.
Created symlink /etc/systemd/system/multi-user.target.wants/nfs-client.target → /lib/systemd/system/nfs-client.target.
Created symlink /etc/systemd/system/remote-fs.target.wants/nfs-client.target → /lib/systemd/system/nfs-client.target.
nfs-utils.service is a disabled or a static unit, not starting it.
Setting up nfs-kernel-server (1:1.3.4-2.1ubuntu5.5) ...
Created symlink /etc/systemd/system/multi-user.target.wants/nfs-server.service → /lib/systemd/system/nfs-server.service.
A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.

Creating config file /etc/exports with new version

Creating config file /etc/default/nfs-kernel-server with new version
A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.
invoke-rc.d: initscript nfs-kernel-server, action "start" failed.
● nfs-server.service - NFS server and services
   Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
   Active: inactive (dead)

Apr 27 03:34:54 firefly systemd: Dependency failed for NFS server and services.
Apr 27 03:34:54 firefly systemd: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Apr 27 03:34:56 firefly systemd: Dependency failed for NFS server and services.
Apr 27 03:34:56 firefly systemd: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
Failed to start nfs-kernel-server, ignoring.
Processing triggers for systemd (237-3ubuntu11.10firefly1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...


风火轮用户68631 发表于 2022-4-27 13:45:42

你是怎么安装的,这是在那一步报错

风火轮用户30280 发表于 2022-4-27 14:42:18

风火轮用户68631 发表于 2022-4-27 13:45
你是怎么安装的,这是在那一步报错

安装固件后, 更新源,然后sudo apt-get install nfs-kernel-server安装就报错

风火轮用户68631 发表于 2022-4-27 15:17:55

风火轮用户30280 发表于 2022-4-27 14:42
安装固件后, 更新源,然后sudo apt-get install nfs-kernel-server安装就报错

输入journalctl -xe查看是什么报错

风火轮用户30280 发表于 2022-4-27 15:20:34

风火轮用户68631 发表于 2022-4-27 15:17
输入journalctl -xe查看是什么报错

-- Subject: Unit apt-daily-upgrade.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit apt-daily-upgrade.service has begun starting up.
Apr 27 06:19:58 firefly systemd: Started Daily apt upgrade and clean activiti
-- Subject: Unit apt-daily-upgrade.service has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit apt-daily-upgrade.service has finished starting up.
--
-- The start-up result is RESULT.
Apr 27 07:04:27 firefly systemd: Started Run anacron jobs.
-- Subject: Unit anacron.service has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit anacron.service has finished starting up.
--
-- The start-up result is RESULT.
Apr 27 07:04:27 firefly anacron: Anacron 2.3 started on 2022-04-27
Apr 27 07:04:27 firefly anacron: Normal exit (0 jobs run)

风火轮用户68631 发表于 2022-4-27 15:32:59

风火轮用户30280 发表于 2022-4-27 15:20
-- Subject: Unit apt-daily-upgrade.service has begun start-up
-- Defined-By: systemd
-- Support: h ...

journalctl -xe # -x 是目录(catalog)的意思,在报错的信息下会,附加解决问题的网址    -epager-end 从末尾开始看

风火轮用户30280 发表于 2022-4-27 15:43:27

风火轮用户68631 发表于 2022-4-27 15:32
journalctl -xe # -x 是目录(catalog)的意思,在报错的信息下会,附加解决问题的网址    -epager-end...

你那边有板子试下?用的 ROC-RK3566-PC-UBUNTU18.04-GPT-20211201-1545固件,安装报错的目录是在哪?
https://pan.baidu.com/s/1XEs6rMblXum4329jzexDww这里的18.04固件我都测试过,都报一样的错

风火轮用户30280 发表于 2022-4-27 15:45:51

风火轮用户68631 发表于 2022-4-27 15:32
journalctl -xe # -x 是目录(catalog)的意思,在报错的信息下会,附加解决问题的网址    -epager-end...

我输入上面报错里安装的目录都是空的信息

风火轮用户30280 发表于 2022-4-27 15:47:37

风火轮用户68631 发表于 2022-4-27 15:32
journalctl -xe # -x 是目录(catalog)的意思,在报错的信息下会,附加解决问题的网址    -epager-end...

Apr 27 03:37:33 firefly anacron: Job `cron.daily' terminated
Apr 27 03:42:34 firefly anacron: Job `cron.weekly' started
Apr 27 03:42:34 firefly anacron: Job `cron.weekly' terminated
Apr 27 03:42:34 firefly anacron: Updated timestamp for job `cron.weekly' t
Apr 27 03:47:34 firefly anacron: Job `cron.monthly' started
Apr 27 03:47:34 firefly anacron: Job `cron.monthly' terminated
Apr 27 03:47:34 firefly anacron: Normal exit (3 jobs run)
Apr 27 03:47:34 firefly systemd: Starting Cleanup of Temporary Directories...
Apr 27 03:47:34 firefly systemd: Started Cleanup of Temporary Directories.
Apr 27 04:01:56 firefly systemd: Started Run anacron jobs.
Apr 27 04:01:56 firefly anacron: Anacron 2.3 started on 2022-04-27
Apr 27 04:01:56 firefly anacron: Normal exit (0 jobs run)
Apr 27 05:04:27 firefly systemd: Started Run anacron jobs.
Apr 27 05:04:27 firefly anacron: Anacron 2.3 started on 2022-04-27
Apr 27 05:04:27 firefly anacron: Normal exit (0 jobs run)
Apr 27 06:04:27 firefly systemd: Started Run anacron jobs.
Apr 27 06:04:27 firefly anacron: Anacron 2.3 started on 2022-04-27
Apr 27 06:04:27 firefly anacron: Normal exit (0 jobs run)
Apr 27 06:19:56 firefly systemd: Starting Daily apt upgrade and clean activit
Apr 27 06:19:58 firefly systemd: Started Daily apt upgrade and clean activiti
Apr 27 07:04:27 firefly systemd: Started Run anacron jobs.
Apr 27 07:04:27 firefly anacron: Anacron 2.3 started on 2022-04-27
Apr 27 07:04:27 firefly anacron: Normal exit (0 jobs run)
lines 984-1006/1006 (END)
这是不输入目录,直接末尾开始看的日志

风火轮用户68631 发表于 2022-4-27 16:35:21

风火轮用户30280 发表于 2022-4-27 15:47
Apr 27 03:37:33 firefly anacron: Job `cron.daily' terminated
Apr 27 03:42:34 firefly anacron[ ...
创建这个目录/var/lib/nfs试一下,再试一下

风火轮用户30280 发表于 2022-4-27 16:41:17

风火轮用户68631 发表于 2022-4-27 16:35
创建这个目录/var/lib/nfs试一下,再试一下

有这个目录

风火轮用户30280 发表于 2022-4-27 17:10:02

风火轮用户68631 发表于 2022-4-27 16:35
创建这个目录/var/lib/nfs试一下,再试一下

是不是内核默认没有开启NFS服务端阿

风火轮用户68631 发表于 2022-4-28 15:13:26

风火轮用户30280 发表于 2022-4-27 17:10
是不是内核默认没有开启NFS服务端阿

https://smartfire.cn/thread-5723-1-1.html

风火轮用户30280 发表于 2022-4-28 15:52:44

风火轮用户68631 发表于 2022-4-28 15:13
https://smartfire.cn/thread-5723-1-1.html

谢谢,我研究下怎么烧录

风火轮用户30280 发表于 2022-4-28 17:09:51

风火轮用户68631 发表于 2022-4-28 15:13
https://smartfire.cn/thread-5723-1-1.html

谢谢,NFS启动成功了,但是开机弹了个XML文件错误,打开终端快捷键失效了
报错图在网盘里
链接: https://pan.baidu.com/s/1MRnQTe5pmTBhSHDW5wDHyQ 提取码: rmh5

风火轮用户30280 发表于 2022-4-28 17:12:29

风火轮用户68631 发表于 2022-4-28 15:13
https://smartfire.cn/thread-5723-1-1.html

这个报错文件我打开是空的。

风火轮用户68631 发表于 2022-4-28 17:15:45

风火轮用户30280 发表于 2022-4-28 17:09
谢谢,NFS启动成功了,但是开机弹了个XML文件错误,打开终端快捷键失效了
报错图在网盘里
链接: https:// ...

删掉框框中提示的那个文件。

风火轮用户30280 发表于 2022-4-28 17:19:23

风火轮用户68631 发表于 2022-4-28 17:15
删掉框框中提示的那个文件。

:handshake
页: [1]
查看完整版本: RK3566-ROC-PC NFS服务器安装报错