Professional Web Applications Themes

Solaris 10 NFS problem ? - Linux / Unix Administration

Hi all, I was playing around with a Solaris 10 install and notice a problem with not being able to share my nfs filesystem...Anyone has a pointer to the error ? Below is the output of some of the commands seen after a reboot. Thanks for any helps. machine:/# more /etc/dfs/dfstab # Place share(1M) commands here for automatic execution # on entering init state 3. # # Issue the command 'svcadm enable network/nfs/server' to # run the NFS daemon processes and the share commands, after adding # the very first entry to this file. # # share [-F fstype] [ ...

  1. #1

    Default Solaris 10 NFS problem ?

    Hi all, I was playing around with a Solaris 10 install and notice a problem with
    not being able to share my nfs filesystem...Anyone has a pointer to the error ?
    Below is the output of some of the commands seen after a reboot.
    Thanks for any helps.





    machine:/# more /etc/dfs/dfstab
    # Place share(1M) commands here for automatic execution
    # on entering init state 3.
    #
    # Issue the command 'svcadm enable network/nfs/server' to
    # run the NFS daemon processes and the share commands, after adding
    # the very first entry to this file.
    #
    # share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
    # .e.g,
    # share -F nfs -o rw=engineering -d "home dirs" /export/home2
    share -F nfs -o ro /opt/admin



    machine:/# share
    - /opt/admin ro ""


    machine:/# svcs -a | grep nfs
    legacy_run 15:18:03 lrc:/etc/rc3_d/S91nfs_server
    online 15:17:41 svc:/network/nfs/cbd:default
    online 15:17:51 svc:/network/nfs/client:default
    online 15:17:55 svc:/network/nfs/nlockmgr:default
    online 15:17:55 svc:/network/nfs/status:default
    online 15:17:55 svc:/network/nfs/server:default
    online 15:17:56 svc:/network/nfs/mapid:default
    online 15:17:57 svc:/network/nfs/rquota:default


    machine:/# ps -ef|grep nfs
    daemon 196 1 0 15:17:44 ? 0:00 /usr/lib/nfs/lockd
    daemon 192 1 0 15:17:42 ? 0:00 /usr/lib/nfs/nfsmapid
    daemon 191 1 0 15:17:42 ? 0:00 /usr/lib/nfs/nfs4cbd
    daemon 193 1 0 15:17:42 ? 0:00 /usr/lib/nfs/statd
    root 324 1 0 15:17:53 ? 0:00 /usr/lib/nfs/mountd
    daemon 327 1 0 15:17:54 ? 0:00 /usr/lib/nfs/nfsd


    machine:/# svcs -a |grep nfs
    legacy_run 15:18:03 lrc:/etc/rc3_d/S91nfs_server
    online 15:17:41 svc:/network/nfs/cbd:default
    online 15:17:51 svc:/network/nfs/client:default
    online 15:17:55 svc:/network/nfs/nlockmgr:default
    online 15:17:55 svc:/network/nfs/status:default
    online 15:17:55 svc:/network/nfs/server:default
    online 15:17:56 svc:/network/nfs/mapid:default
    online 15:17:57 svc:/network/nfs/rquota:default



    machine:/# rpcinfo -u machine 100003
    rpcinfo: RPC: Program not registered
    program 100003 is not available


    machine:/# rpcinfo -t machine 100003
    rpcinfo: RPC: Program not registered
    program 100003 is not available

    From another client:
    # mount machine:/opt/admin /mnt
    nfs mount: machine: NFS service not responding
    nfs mount: retrying: /mnt


    machine:/# nfsstat -c

    Client rpc:
    Connection oriented:
    calls badcalls badxids timeouts newcreds badverfs timers
    10 0 0 0 0 0 0
    cantconn nomem interrupts
    0 0 0
    Connectionless:
    calls badcalls retrans badxids timeouts newcreds badverfs
    3 1 0 0 0 0 0
    timers nomem cantsend
    0 0 0

    Client nfs:
    calls badcalls clgets cltoomany
    3 1 3 2
    Version 2: (2 calls)
    null getattr setattr root lookup readlink read wrcache
    0 0% 1 50% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    write create remove rename link symlink mkdir rmdir
    0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    readdir statfs
    0 0% 1 50%
    Version 3: (0 calls)
    null getattr setattr lookup access readlink
    0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    read write create mkdir symlink mknod
    0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    remove rmdir rename link readdir readdirplus
    0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
    fsstat fsinfo pathconf commit
    0 0% 0 0% 0 0% 0 0%
    Version 4: (0 calls)
    null compound
    0 0% 0 0%
    Version 4: (0 operations)
    reserved access close commit
    0 0% 0 0% 0 0% 0 0%
    create delegpurge delegreturn getattr
    0 0% 0 0% 0 0% 0 0%
    getfh link lock lockt
    0 0% 0 0% 0 0% 0 0%
    locku lookup lookupp nverify
    0 0% 0 0% 0 0% 0 0%
    open openattr open_confirm open_downgrade
    0 0% 0 0% 0 0% 0 0%
    putfh putpubfh putrootfh read
    0 0% 0 0% 0 0% 0 0%
    readdir readlink remove rename
    0 0% 0 0% 0 0% 0 0%
    renew restorefh savefh secinfo
    0 0% 0 0% 0 0% 0 0%
    setattr setclientid setclientid_confirm verify
    0 0% 0 0% 0 0% 0 0%
    write
    0 0%

    Client nfs_acl:
    Version 2: (1 calls)
    null getacl setacl getattr access getxattrdir
    0 0% 0 0% 0 0% 1 100% 0 0% 0 0%
    Version 3: (0 calls)
    null getacl setacl getxattrdir
    0 0% 0 0% 0 0% 0 0%


    excerp from /var/adm/messages:

    Jul 18 15:17:37 machine nscd_nischeck[84]: [ID 284814 user.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    Jul 18 15:17:37 machine last message repeated 1 time
    Jul 18 15:17:38 machine ifconfig[146]: [ID 284814 user.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    Jul 18 15:17:41 machine nscd[131]: [ID 284814 user.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    Jul 18 15:17:45 machine inetd[204]: [ID 284814 daemon.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    Jul 18 15:17:52 machine automount[299]: [ID 284814 daemon.error] authdes_seccreate: keyserv(1m) is unable to generate session key
    Jul 18 15:17:52 machine last message repeated 1 time
    Jul 18 15:17:55 machine syslogd[341]: [ID 284814 user.error] authdes_seccreate: keyserv(1m) is unable to generate session key


    Guest

  2. #2

    Default Re: Solaris 10 NFS problem ?


    Additional info:
    no firewall or tcpwrappers.
    some additional info from logs:
    machine:/var/svc/log# cat network-nfs-*
    [ Jul 18 15:17:41 Executing start method ("/usr/lib/nfs/nfs4cbd") ]
    [ Jul 18 15:17:41 Method "start" exited with status 0 ]
    [ Jul 18 15:17:50 Executing start method ("/lib/svc/method/nfs-client start") ]
    [ Jul 18 15:17:51 Method "start" exited with status 0 ]
    [ Jul 18 15:14:39 Rereading configuration. ]
    [ Jul 18 15:14:39 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:17:41 Executing start method ("/usr/lib/nfs/nfsmapid") ]
    [ Jul 18 15:17:41 Method "start" exited with status 0 ]
    [ Jul 18 15:17:56 Rereading configuration. ]
    [ Jul 18 15:17:56 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:32:45 Rereading configuration. ]
    [ Jul 18 15:32:45 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:44:58 Rereading configuration. ]
    [ Jul 18 15:44:58 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:14:39 Rereading configuration. ]
    [ Jul 18 15:14:39 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:17:44 Executing start method ("/usr/lib/nfs/lockd") ]
    [ Jul 18 15:17:44 Method "start" exited with status 0 ]
    [ Jul 18 15:17:55 Rereading configuration. ]
    [ Jul 18 15:17:55 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:32:44 Rereading configuration. ]
    [ Jul 18 15:32:44 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:44:57 Rereading configuration. ]
    [ Jul 18 15:44:57 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:14:39 Rereading configuration. ]
    [ Jul 18 15:14:39 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:17:50 Executing start method ("/lib/svc/method/nfs-server start") ]
    [ Jul 18 15:17:53 Method "start" exited with status 0 ]
    [ Jul 18 15:17:55 Rereading configuration. ]
    [ Jul 18 15:17:55 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:32:44 Rereading configuration. ]
    [ Jul 18 15:32:45 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:44:57 Rereading configuration. ]
    [ Jul 18 15:44:57 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:14:38 Rereading configuration. ]
    [ Jul 18 15:14:38 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:17:41 Executing start method ("/usr/lib/nfs/statd") ]
    [ Jul 18 15:17:41 Method "start" exited with status 0 ]
    [ Jul 18 15:17:52 Rereading configuration. ]
    [ Jul 18 15:17:55 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:32:44 Rereading configuration. ]
    [ Jul 18 15:32:44 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:44:57 Rereading configuration. ]
    [ Jul 18 15:44:57 No 'refresh' method defined. Treating as :true. ]

    homeunix.org wrote: 
    Guest

  3. #3

    Default Re: Solaris 10 NFS problem ?

    <homeunix.org> writes:


     

    Please examine:

    //var/svc/log/network-nfs-server:default.log


    Casper
    --
    Expressed in this posting are my opinions. They are in no way related
    to opinions held by my employer, Sun Microsystems.
    Statements on Sun products included here are not gospel and may
    be fiction rather than truth.
    Casper Guest

  4. #4

    Default Re: Solaris 10 NFS problem ?

    On 18 Jul 2005 21:36:08 GMT, Casper H.S Dik <COM> wrote: 

    Good to see you back here, Casper.

    Dave Hinz
    Dave Guest

  5. #5

    Default Re: Solaris 10 NFS problem ?

    Dave Hinz <net> writes:
     [/ref]
     

    I didn't realize I was absent. (Perhaps lurking only, possibly
    posting mostly over at c.u.s.

    Casper
    --
    Expressed in this posting are my opinions. They are in no way related
    to opinions held by my employer, Sun Microsystems.
    Statements on Sun products included here are not gospel and may
    be fiction rather than truth.
    Casper Guest

  6. #6

    Default Re: Solaris 10 NFS problem ?

    Casper H.S. Dik <com> wrote: 
    >
    > Please examine:
    >
    > //var/svc/log/network-nfs-server:default.log
    >[/ref]
    [ Jul 18 15:17:50 Executing start method ("/lib/svc/method/nfs-server start") ]
    [ Jul 18 15:17:53 Method "start" exited with status 0 ]
    [ Jul 18 15:17:55 Rereading configuration. ]
    [ Jul 18 15:17:55 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:32:44 Rereading configuration. ]
    [ Jul 18 15:32:45 No 'refresh' method defined. Treating as :true. ]
    [ Jul 18 15:44:57 Rereading configuration. ]

    So does this mean a configuration error ?
    I looked at the syntax under /etc/dfs/dfstab and it seemed "correct" ?
    Could someone give me an example of the new proper syntax please ?
    Thanks much.
    Guest

Similar Threads

  1. JNI problem on Solaris 9
    By Tian in forum Sun Solaris
    Replies: 5
    Last Post: September 9th, 05:50 PM
  2. Solaris 8 /bin/su problem
    By Brian in forum Sun Solaris
    Replies: 2
    Last Post: August 21st, 10:47 PM
  3. ls and backslash - Solaris problem?
    By Mark Baker in forum Sun Solaris
    Replies: 2
    Last Post: July 26th, 01:18 AM
  4. solaris/x86 performance problem
    By Bob Palowoda in forum Sun Solaris
    Replies: 2
    Last Post: July 10th, 10:57 PM
  5. Problem with Gnome 2 on Solaris 8
    By Mothra in forum Sun Solaris
    Replies: 0
    Last Post: July 1st, 02:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139