Log snippet of the failure for reference.
On Mon, Jul 25, 2016 at 11:46 AM, Ketan Dixit <[email protected]>
wrote:
> Hello,
>
>
> I compiled nfs-ganesha source code on ubuntu machine. (from the Next
> branch pulled on July 22 2016)
>
> I am hitting an error when starting the nfs-ganesha service. Logs are
> getting flooded with this message.
> *ganesha.nfsd:
> /home/ubuntu/nfs-ganesha/src/config_parsing/config_parsing.c:1288:
> proc_block: Assertion `item->type == CONFIG_BLOCK' failed.*
>
> On turning on Verbose logging, I observe that the error occurs just after
> printing fsinfo in the FSAL component.
>
> *ganesha.nfsd-1582[main] display_fsinfo :FSAL :DEBUG :FileSystem info: {*
> * .*
> * .*
> * .*
> * ganesha.nfsd-1582[main] display_fsinfo :FSAL :DEBUG :}*
>
>
> I do not see anything obviously wrong with the config file. Any inputs
> will be appreciated. How do I debug this issue?
>
>
> Following is my Config file, I am using a Gluster installation for FSAL.
> Also this config used to work on installed package, but does not work with
> compiled source code.
>
> - Ketan
> ================================================================
> NFS_Core_Param {
> # Protocols must be specified in core to disable 9P.
> Protocols = 3,4; # NFS protocols supported
>
> # ganesha randomly fails binding to the rquota port leading to a
> restart loop.
> RQUOTA_Port = 0;
> Enable_RQUOTA = false;
> }
> EXPORT{
> Export_Id = 11; # Export ID unique to each export
>
> Path = "/apcfs-default"; # Path of the volume to be exported. Eg:
> "/test_volume"
> Pseudo = "/apcfs-default"; # NFSv4 pseudo path for this export. Eg:
> "/test_volume"
>
> FSAL {
> name = GLUSTER;
> hostname = "172.27.19.66"; # first gluster node to contact
> volume = "apcfs-default"; # Gluster Volume name. Eg:
> "test_volume"
> }
>
> # Disable_ACL must be declared at the export level. See:
> #
> https://github.com/nfs-ganesha/nfs-ganesha/commit/a67c4ec85139d07700aca64c0e2b0fcc0cac7218
> Disable_ACL = TRUE; # To enable/disable ACL
>
> # Only export this volume to connections from this host, no cross host
> mounting.
> CLIENT {
> Clients = 172.27.20.81;
> Access_type = RW; # Access permissions
> Squash = All_Squash; # All users are squashed to ACL for
> Anonymous_Uid/Anonymous_Gid
> Anonymous_Uid = 0; # Allow jobs to chown, chmod all files as if
> they were root
> Anonymous_Gid = 0;
> Transports = "TCP" ; # Transport protocols supported
> SecType = "sys"; # Security flavors supported
> }
> }
> ================================================================
>
25/07/2016 19:45:47 : epoch 57966c6b : ketan-vsphere-one-im-7f774433 :
ganesha.nfsd-7531[main] main :MAIN :EVENT :ganesha.nfsd Starting: Ganesha
Version V2.4-dev-25-0-ge545192, built at Jul 22 2016 19:25:36 on
ketan-vsphere-one-im-7f774433
25/07/2016 19:45:47 : epoch 57966c6b : ketan-vsphere-one-im-7f774433 :
ganesha.nfsd-7531[main] nfs_set_param_from_conf :NFS STARTUP :EVENT
:Configuration file successfully parsed
25/07/2016 19:45:47 : epoch 57966c6b : ketan-vsphere-one-im-7f774433 :
ganesha.nfsd-7531[main] init_server_pkgs :NFS STARTUP :EVENT :Initializing ID
Mapper.
25/07/2016 19:45:47 : epoch 57966c6b : ketan-vsphere-one-im-7f774433 :
ganesha.nfsd-7531[main] init_server_pkgs :NFS STARTUP :EVENT :ID Mapper
successfully initialized.
ganesha.nfsd:
/home/ubuntu/nfs-ganesha/src/config_parsing/config_parsing.c:1288: proc_block:
Assertion `item->type == CONFIG_BLOCK' failed.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel