Why nfs-ganesha is failing to start on boot due to '/etc/ganesha/ganesha.conf' unavailable?

Solution Verified - Updated -

Issue

'nfs-ganesha' service does not start on boot and /var/log/ganesha/ganesha.log shows errors:

11/01/2021 09:33:05 : epoch c2d70000 : <hostname> : ganesha.nfsd-1635[main] main :NFS STARTUP :CRIT :Error (token scan) while parsing (/etc/ganesha/ganesha.conf)
11/01/2021 09:33:05 : epoch c2d70000 : <hostname> : ganesha.nfsd-1635[main] config_errs_to_log :CONFIG :CRIT :Config File (<unknown file>:0): new file (/etc/ganesha/ganesha.conf) open error (No such file or directory), ignored
11/01/2021 09:33:05 : epoch c2d70000 : <hostname> : ganesha.nfsd-1635[main] main :NFS STARTUP :FATAL :Fatal errors.  Server exiting...

Environment

  • Red Hat Gluster Storage 3.5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content