« Back to Technical Questions

NFS server service in AXP

Combination View Flat View Tree View
Hi.
 
Firstly I have to tell you I´m newbie about packing apps to be used in AXP module.
 
I´m trying to enable nfs server service in AXP module. I followed steps from knoledgebase "Virtual Instance File Sharing in AXP" pdf file. Packing procedure (with pkg_build.sh script) showed me the following error, but nfsd package was created:
 
.
.
Preparing package manifest...
Processing manifest file information...
Error: exiting (102 main /source/sdk/axp-sdk.1.6.1/lib/pkg/scripts/utils/files_notin_compfilelist.sh)
Invoking core SLIM packaging utilities...
.
.
.
 
Well I have imported this nfsd package, it didn´t showd any errors, but when I try to start unfsd daemon, is showed the following error:
 
console-3.2# unfsd
Cannot register service: RPC: Unable to receive; errno = Connection refused
unable to register (NFS3_PROGRAM, NFS_V3, udp).
console-3.2#
Can you help me to troubleshoot what´s happening?
 
Thanks in advance.

RE: NFS server service in AXP
Answer
3/28/11 2:23 PM as a reply to Juan Manuel Franco Herrero.
Hi Juan,

Could you please reassure your sdk files are not corrupted before building the applications? Because sometimes there are chances of the file being corrupted due to which you may land up with errors while building the application. Also you can check out the logs in the core.log file that would be created once you build your application. for example /root/AXP/app/nfs_app/package/tmp/core.log

As mentioned in the document can you also try Checking whether it is running by typing ¿ps ¿ef¿ and look
for the process name. Also the ¿portmap¿ service should be running. If either
process is not running check the /var/log/messages.log file for more information.

Thanks,
Anusha

RE: NFS server service in AXP
Answer
3/28/11 2:39 PM as a reply to Juan Manuel Franco Herrero.
Hi Juan,
 
It looks like the problem is that the portmap service is not running on your module.  I've seen this before, it typically happens if the file /etc/sysconfig/network is missing.  I think the following steps will get you around this:
 
1.  Connect to the console shell of your application.
2.  Run the following commands:

echo "NETWORKING=yes" > /etc/sysconfig/network
service portmap start
unfsd
 
Hope this helps, please let us know if you need additional help.
 
-Carl
 
 
Hi.
 
Firstly I have to tell you I´m newbie about packing apps to be used in AXP module.
 
I´m trying to enable nfs server service in AXP module. I followed steps from knoledgebase "Virtual Instance File Sharing in AXP" pdf file. Packing procedure (with pkg_build.sh script) showed me the following error, but nfsd package was created:
 
.
.
Preparing package manifest...
Processing manifest file information...
Error: exiting (102 main /source/sdk/axp-sdk.1.6.1/lib/pkg/scripts/utils/files_notin_compfilelist.sh)
Invoking core SLIM packaging utilities...
.
.
.
 
Well I have imported this nfsd package, it didn´t showd any errors, but when I try to start unfsd daemon, is showed the following error:
 
console-3.2# unfsd
Cannot register service: RPC: Unable to receive; errno = Connection refused
unable to register (NFS3_PROGRAM, NFS_V3, udp).
console-3.2#
Can you help me to troubleshoot what´s happening?
 
Thanks in advance.

Hi Anusha.

Thanks very much for your reply.

portmap services was not in processes list, and in messages.log there wasn´t nothing interesting. Problem is related with /etc/sysconfig/network file. Right now, portmap and unfsd are running.

Thanks for your hepl

Thanks for your help Carl.

I have create file you suggested me, and now portmap and unfsd are running:

console-3.2# ps -edf
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 13:11 ? 00:00:00 init [3]
root 5112 1 0 13:11 ? 00:00:00 /usr/sbin/syslog_adapter
root 5119 1 0 13:11 ? 00:00:00 syslogd -m 0 -p /dev/log_adapted
root 5132 1 0 13:11 ? 00:00:00 logmgr
root 5298 4091 0 13:12 pts/0 00:00:00 /bin/console
rpc 12021 1 0 13:59 ? 00:00:00 portmap
root 12028 1 0 13:59 ? 00:00:00 unfsd
root 12040 5298 0 13:59 pts/0 00:00:00 ps -edf