Operating System - HP-UX
1826234 Members
2361 Online
109692 Solutions
New Discussion

Re: exportfs -a command fails!

 
SOLVED
Go to solution
Amit Mehra_1
Occasional Advisor

exportfs -a command fails!

Hello,
I am facing two problems on one of my HP-UX 10.20 machine. Maybe both of them are related, We are not able to find the solution for them yet. Please let us know if anybody has any suggestions for this
First:

The problem occurs when we try to export NFS on this machine.
On giving exportfs -a command it is gives the error, System call fail and causes a Core dump.

We have tried doing the following:
1.We changed the file /etc/rc.config.d/nfsconf and updated the entry NFS_SERVER=1. But no results.
2.Made the file /etc/exports. And added the necessary entry. But no results here too.
3.Started the nfs server using the command nfs.server start butit gave the error bad system calls, core dump!
4.We also checked
that /usr/lib/netsvc/fs automount - f /etc/auto_master, /usr/sbin/rpc.mountd and /usr/sbin/portmap are running but /usr/sbin/nfsd is not running.
Please let us know if anybody has idea about this problem.

Second:
utility software sam is not running properly. We are not able to update many parameters using sam. Because of this we are even not able to start the NFS or modify the kernal parameters.
It gives the error unable to read /stand/vmunix
I have attached the samlog for your reference.

Thanks you..
And Looking forward fro some quick replies..

Amit
Hope is a good thing, Maybe not the best of all things but all good things never die
4 REPLIES 4
John Carr_2
Honored Contributor
Solution

Re: exportfs -a command fails!

Hi

As you seem to be getting problems with the actual vmunix I would rebuild the kernel and restart the system first off all.

cd /stand/build

mk_kernel -s system

mv /stand/system /stand/system.old
mv /stand/vmunix /stand/vmunix.old

mv /stand/build/vmunix_test /stand/vmunix

cd /
shutdown -ry now

John.
U.SivaKumar_2
Honored Contributor

Re: exportfs -a command fails!

hi ,
try starting nfsd manually. #nfsd 4
before that run this #rpcd
pl get back
regards,
U.SivaKumar
Innovations are made when conventions are broken
Printaporn_1
Esteemed Contributor

Re: exportfs -a command fails!

Hi,

After sucessful rebuild kernel and reboot.
if problem still persists , install latested NFS patch.
enjoy any little thing in my life
Amit Mehra_1
Occasional Advisor

Re: exportfs -a command fails!

Thanks Everyone!,
After recompiling the kernel both the problems were resolved.

Thanks once again for ur support!
Amit
Hope is a good thing, Maybe not the best of all things but all good things never die