On 2019-12-09 00:11, Bob Goodwin wrote:
On 2019-12-07 20:11, Bob Goodwin wrote:
> [root@NFS-Server bobg]# firewall-cmd --zone=public --add-service=mountd
> success
> [root@NFS-Server bobg]# etc]# firewall-cmd --zone=public --add-service=rpc-bind
> bash: etc]#: command not found
>
> Then this step fails?
.
I am still unable to get the NFS server to run -
I do not know where you are at in the process based on other messages. So, let's take
it from this
point
[root@NFS-Server bobg]# systemctl status nfs-server
● nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset:
disa>
Drop-In: /run/systemd/generator/nfs-server.service.d
└─order-with-mounts.conf
Active: failed (Result: exit-code) since Sun 2019-12-08 10:07:27 EST; 1min 43s ago
Process: 12686 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE)
That is telling you what command has failed.
The command "/usr/sbin/exportfs -r" is still failing.
Building on what others have already said.....
Execute the following commands one by one and then post the results.
mv /etc/exports /etc/exports-HOLD
mkdir -p /nfs4exports/home
touch /nfs4exports/home/a-file
echo "/nfs4exports/home
192.168.2.0/24(rw,sync,insecure,no_root_squash,no_subtree_check)" > /etc/exports
exportfs -r
--
The key to getting good answers is to ask good questions.