Error "config file error: line 44: ignoring line due to no section" occurs during the restart of nfs-server service
Issue
- Error
config file error: line 44: ignoring line due to no section
is shown in/var/log/messages
during the restart of nfs-server service.
Dec 13 10:48:14 rhel7vm1 systemd: Stopping NFS server and services...
Dec 13 10:48:14 rhel7vm1 rpc.nfsd: : config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 kernel: nfsd: last server has exited, flushing export cache
Dec 13 10:48:14 rhel7vm1 exportfs: exportfs: config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 exportfs: exportfs: config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 systemd: Stopped NFS server and services.
Dec 13 10:48:14 rhel7vm1 systemd: Stopping NFS Mount Daemon...
Dec 13 10:48:14 rhel7vm1 systemd: Stopping NFSv4 ID-name mapping service...
Dec 13 10:48:14 rhel7vm1 rpc.mountd[17730]: Caught signal 15, un-registering and exiting.
Dec 13 10:48:14 rhel7vm1 systemd: Stopped NFSv4 ID-name mapping service.
Dec 13 10:48:14 rhel7vm1 systemd: Stopped NFS Mount Daemon.
Dec 13 10:48:14 rhel7vm1 systemd: Starting Preprocess NFS configuration...
Dec 13 10:48:14 rhel7vm1 systemd: Started Preprocess NFS configuration.
Dec 13 10:48:14 rhel7vm1 systemd: Starting NFSv4 ID-name mapping service...
Dec 13 10:48:14 rhel7vm1 systemd: Starting NFS Mount Daemon...
Dec 13 10:48:14 rhel7vm1 rpc.idmapd[18054]: config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 rpc.idmapd: rpc.idmapd: config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 rpc.mountd: config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 rpc.mountd: : config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 systemd: Started NFSv4 ID-name mapping service.
Dec 13 10:48:14 rhel7vm1 systemd: Started NFS Mount Daemon.
Dec 13 10:48:14 rhel7vm1 systemd: Starting NFS server and services...
Dec 13 10:48:14 rhel7vm1 exportfs: exportfs: config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 rpc.mountd[18057]: Version 1.3.0 starting
Dec 13 10:48:14 rhel7vm1 rpc.nfsd: : config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 nfsdcltrack: config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 nfsdcltrack: config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 kernel: NFSD: starting 90-second grace period (net ffffffff8ed16140)
Dec 13 10:48:14 rhel7vm1 systemd: Reloading GSSAPI Proxy Daemon.
Dec 13 10:48:14 rhel7vm1 systemd: Reloaded GSSAPI Proxy Daemon.
Dec 13 10:48:14 rhel7vm1 systemd: Started NFS server and services.
Dec 13 10:48:14 rhel7vm1 systemd: Starting Notify NFS peers of a restart...
Dec 13 10:48:14 rhel7vm1 sm-notify: config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 sm-notify: : config file error: line 44: ignoring line due to no section
Dec 13 10:48:14 rhel7vm1 sm-notify[18082]: Version 1.3.0 starting
Dec 13 10:48:14 rhel7vm1 sm-notify[18082]: Already notifying clients; Exiting!
Dec 13 10:48:14 rhel7vm1 systemd: Started Notify NFS peers of a restart.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.