Monday, February 23, 2015

do_relocations: /kernel/sys/sparcv9/nfs do_relocate failed

If you are facing below errors please follow the below steps to solve the issue.

unix: [ID 286029 kern.notice] relocation error: R_SPARC_WDISP30:
unix: [ID 720415 kern.notice] file /kernel/sys/sparcv9/nfs:
unix: [ID 370954 kern.notice] symbol nfs_perror:
unix: [ID 780480 kern.notice] value 0x1f9c400000004e49 does not fit
unix: [ID 399259 kern.notice] do_relocations: /kernel/sys/sparcv9/nfs do_relocate failed
unix: [ID 603676 kern.notice] nfs error doing relocations
unix: [ID 286029 kern.notice] relocation error: R_SPARC_WDISP30:
unix: [ID 720415 kern.notice] file /kernel/sys/sparcv9/nfs:
unix: [ID 370954 kern.notice] symbol nfs_perror:
unix: [ID 780480 kern.notice] value 0xe41c400000004e49 does not fit
unix: [ID 399259 kern.notice] do_relocations: /kernel/sys/sparcv9/nfs do_relocate failed
unix: [ID 603676 kern.notice] nfs error doing relocations
genunix: [ID 603404 kern.notice] NOTICE: core_log: sshd[23915] core dumped: /var/cores/s

root# cksum /kernel/fs/sparcv9/nfs
2123707346      1049368 /kernel/fs/sparcv9/nfs
root@adeebkcs# cksum /kernel/sys/sparcv9/nfs
2044303623      1049368 /kernel/sys/sparcv9/nfs
root#
See the checksum of these two file is different now so restored this files from backup or any server with same OS and kernel version.

root# cksum /kernel/fs/sparcv9/nfs
2889559933      1049368 /kernel/fs/sparcv9/nfs
root# cksum /kernel/sys/sparcv9/nfs
2889559933      1049368 /kernel/sys/sparcv9/nfs
root# svcs -a|grep nfs
disabled        1:06:51 svc:/network/nfs/server:default
online          1:06:41 svc:/network/nfs/status:default
online          1:06:48 svc:/network/nfs/rquota:default
offline         6:25:02 svc:/network/nfs/client:default
maintenance     6:24:55 svc:/network/nfs/nlockmgr:default
maintenance     6:37:46 svc:/network/nfs/cbd:default
maintenance     6:39:28 svc:/network/nfs/mapid:default
root# svcadm enable svc:/network/nfs/client:default
root# svcs -a|grep nfs
disabled        1:06:51 svc:/network/nfs/server:default
online          1:06:41 svc:/network/nfs/status:default
online          1:06:48 svc:/network/nfs/rquota:default
offline         6:25:02 svc:/network/nfs/client:default
maintenance     6:24:55 svc:/network/nfs/nlockmgr:default
maintenance     6:37:46 svc:/network/nfs/cbd:default
maintenance     6:39:28 svc:/network/nfs/mapid:default
root# svcadm clear svc:/network/nfs/mapid:default
root# svcadm clear svc:/network/nfs/cbd:default
root# svcadm clear svc:/network/nfs/nlockmgr:default
root# svcs -a|grep nfs
disabled        1:06:51 svc:/network/nfs/server:default
online          1:06:41 svc:/network/nfs/status:default
online          1:06:48 svc:/network/nfs/rquota:default
online          6:52:03 svc:/network/nfs/mapid:default
online          6:52:10 svc:/network/nfs/cbd:default
online          6:52:19 svc:/network/nfs/nlockmgr:default
online          6:52:20 svc:/network/nfs/client:default
root# mount -a

No comments:

Post a Comment