<div dir="ltr">Log Message :<div><br></div><div><div>04/11/2014 23:30:58 : epoch 545961b2 : localhost : nfs-ganesha-10936[main] nfs_Start_threads :THREAD :EVENT :General fridge was started successfully</div><div>04/11/2014 23:30:58 : epoch 545961b2 : localhost : nfs-ganesha-10936[main] nfs_start :NFS STARTUP :EVENT :-------------------------------------------------</div><div>04/11/2014 23:30:58 : epoch 545961b2 : localhost : nfs-ganesha-10936[main] nfs_start :NFS STARTUP :EVENT : NFS SERVER INITIALIZED</div><div>04/11/2014 23:30:58 : epoch 545961b2 : localhost : nfs-ganesha-10936[main] nfs_start :NFS STARTUP :EVENT :-------------------------------------------------</div><div>04/11/2014 23:31:58 : epoch 545961b2 : localhost : nfs-ganesha-10936[reaper] nfs_in_grace :STATE :EVENT :NFS Server Now NOT IN GRACE</div><div>04/11/2014 23:32:30 : epoch 545961b2 : localhost : nfs-ganesha-10936[dbus] gsh_export_addexport :EXPORT :CRIT :Error finding exports: EXPORT(Path=/home/Samuthira/mnt2) because No such file or directory</div><div>04/11/2014 23:32:30 : epoch 545961b2 : localhost : nfs-ganesha-10936[dbus] dbus_message_entrypoint :DBUS :MAJ :Method (AddExport) on (org.ganesha.nfsd.exportmgr) failed: name = (org.freedesktop.DBus.Error.InvalidArgs), message = (Error finding exports: EXPORT(Path=/home/Samuthira/mnt2) because No such file or directory)</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 4, 2014 at 2:27 PM, Samuthira Pandian <span dir="ltr"><<a href="mailto:samudhira@gmail.com" target="_blank">samudhira@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Team,<div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">I'm trying to use dbus-send command for export the path dynamically, but i got the following error. Kindly guide me how to resolve this issue. I have refered the following path.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><a href="https://forge.gluster.org/nfs-ganesha-and-glusterfs-integration/pages/Dynamic%20Exports" target="_blank">https://forge.gluster.org/nfs-ganesha-and-glusterfs-integration/pages/Dynamic%20Exports</a><br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Log :</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div><span style="white-space:pre-wrap"> </span>root# dbus-send --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.AddExport string:/etc/vfs.conf <span style="white-space:pre-wrap"> </span>string:'EXPORT(Path=/mnt/mount1)'</div><div><span style="white-space:pre-wrap"> </span>Error org.freedesktop.DBus.Error.InvalidFileContent: Selected entries in /etc/vfs.conf already active!!!<span style="white-space:pre-wrap"> </span></div><div><br></div><div><br></div><div>I have made the folder /mnt/mount2 and trying to export with following command,</div><div><br></div><div><span style="white-space:pre-wrap"> </span>root# dbus-send --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.AddExport string:/etc/vfs.conf <span style="white-space:pre-wrap"> </span>string:'EXPORT(Path=/mnt/mount2)'</div><div><span style="white-space:pre-wrap"> </span>Error org.freedesktop.DBus.Error.InvalidArgs: Error finding exports: EXPORT(Path=/mnt/mount2) because No such file or directory</div><div><br></div><div>Anoher system i got the below error. This is Windriver platform system.</div><div><br></div><div><span style="white-space:pre-wrap"> </span>root# dbus-send --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr <span style="white-space:pre-wrap"> </span>org.ganesha.nfsd.exportmgr.AddExport string:/etc/vfs.conf <span style="white-space:pre-wrap"> </span>string:'EXPORT(Path=/mnt/mount1)'</div><div><span style="white-space:pre-wrap"> </span>Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.ganesha.nfsd was not provided by any .service files</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Ragards,</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Samuthira</div></div></div>
</blockquote></div><br></div>