Oracle Linux 7.2 (PRETTY_NAME="Oracle Linux Server 7.2")
First effort with Oracle Linux 7, we have a couple of Oracle Linux 6 hosts with Oracle RDBMS, Ubuntu server vms, and just a couple Solaris 10 systems left.
I have configure nfs server, and when I started it manually, did NFS sharing just fine. Rebooted the host this morning, and NFS servrer did not start automatically, see below. Seems that exportfs cannot resolve client host names at that time, but when I login after the system is up, nfs server starts just fine, absolutely no problem. As though DNS resolving does not work soon enough during boot. Coincidentally, I have the same problem with Legato (now EMC) Networker startup, complains about host name resolving for this host, but if I put this host's entry in /etc/hosts, Networker starts at boot time no problem. I certainly do not want to put all the NFS client hostnames in /etc/hosts as a work around, that's just asking for trouble later when something changes.
Anyone have any ideas on getting DNS resolving working sooner, or having NFS server wait & start later?
--
Dave
# systemctl status nfs-server
â nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2016-03-11 09:04:19 EST; 43min ago
Mar 11 09:03:51 prosedbak0.ciesin.columbia.edu systemd[1]: Starting NFS server and services...
Mar 11 09:04:19 prosedbak0.ciesin.columbia.edu exportfs[1616]: exportfs: Failed to resolve prodapps.ciesin.colum...edu
Mar 11 09:04:19 prosedbak0.ciesin.columbia.edu systemd[1]: nfs-server.service: control process exited, code=exit...s=1
Mar 11 09:04:19 prosedbak0.ciesin.columbia.edu systemd[1]: Failed to start NFS server and services.
Mar 11 09:04:19 prosedbak0.ciesin.columbia.edu systemd[1]: Unit nfs-server.service entered failed state.
Mar 11 09:04:19 prosedbak0.ciesin.columbia.edu systemd[1]: nfs-server.service failed.