Thread View: pl.comp.sys.sun.admin
7 messages
7 total messages
Started by Karol
Tue, 03 Jul 2007 07:49
Montowanie NFS i błąd "Invalid argument"
Author: Karol
Date: Tue, 03 Jul 2007 07:49
Date: Tue, 03 Jul 2007 07:49
36 lines
2176 bytes
2176 bytes
Cześć Przy próbie montowania zasobu poprzez NFS wyskakuje mi błąd # mount -F nfs 172.10.10.5:/zasoby/mail /NFS nfs mount: mount: /NFS: Invalid argument a w logach mam: Jul 2 17:14:18 bert genunix: [ID 819705 kern.notice] /kernel/fs/nfs: undefined symbol Jul 2 17:14:18 bert genunix: [ID 826211 kern.notice] 'sys_labeling' Jul 2 17:14:18 bert genunix: [ID 819705 kern.notice] /kernel/fs/nfs: undefined symbol Jul 2 17:14:18 bert genunix: [ID 826211 kern.notice] 'find_tpc' Jul 2 17:14:18 bert genunix: [ID 819705 kern.notice] /kernel/fs/nfs: undefined symbol Jul 2 17:14:18 bert genunix: [ID 826211 kern.notice] 'nfs_global_client_only' [...] Modinfo mówi, że nie mam żadnych modułów do NFSa $modinfo | grep -i nfs Na innym serwerze jest tak: # modinfo | grep -i nfs 148 fffffffff74ff000 89220 106 1 nfs (NFS syscall, client, and common) 148 fffffffff74ff000 89220 106 1 nfs (NFS syscall, client, and common) 148 fffffffff74ff000 89220 20 1 nfs (network filesystem) 148 fffffffff74ff000 89220 7 1 nfs (network filesystem version 2) 148 fffffffff74ff000 89220 21 1 nfs (network filesystem version 3) 148 fffffffff74ff000 89220 22 1 nfs (network filesystem version 4) # Co mam zrobić, żeby móc załadować moduły do NFSa?
Re: Montowanie NFS i błąd "Invalid argument"
Author: Jakub Wartak
Date: Tue, 03 Jul 2007 08:31
Date: Tue, 03 Jul 2007 08:31
51 lines
2521 bytes
2521 bytes
Karol wrote: > Cześć > Przy próbie montowania zasobu poprzez NFS wyskakuje mi błąd > > # mount -F nfs 172.10.10.5:/zasoby/mail /NFS > nfs mount: mount: /NFS: Invalid argument > > a w logach mam: > > Jul 2 17:14:18 bert genunix: [ID 819705 kern.notice] /kernel/fs/nfs: > undefined symbol > Jul 2 17:14:18 bert genunix: [ID 826211 kern.notice] 'sys_labeling' > Jul 2 17:14:18 bert genunix: [ID 819705 kern.notice] /kernel/fs/nfs: > undefined symbol > Jul 2 17:14:18 bert genunix: [ID 826211 kern.notice] 'find_tpc' > Jul 2 17:14:18 bert genunix: [ID 819705 kern.notice] /kernel/fs/nfs: > undefined symbol > Jul 2 17:14:18 bert genunix: [ID 826211 kern.notice] > 'nfs_global_client_only' > [...] > > Modinfo mówi, że nie mam żadnych modułów do NFSa > > $modinfo | grep -i nfs > > Na innym serwerze jest tak: > > # modinfo | grep -i nfs > 148 fffffffff74ff000 89220 106 1 nfs (NFS syscall, client, and common) > 148 fffffffff74ff000 89220 106 1 nfs (NFS syscall, client, and common) > 148 fffffffff74ff000 89220 20 1 nfs (network filesystem) > 148 fffffffff74ff000 89220 7 1 nfs (network filesystem version 2) > 148 fffffffff74ff000 89220 21 1 nfs (network filesystem version 3) > 148 fffffffff74ff000 89220 22 1 nfs (network filesystem version 4) > # > > Co mam zrobić, żeby móc załadować moduły do NFSa? To 10-tka? svcadm enable nfs/client robiles ? Nie wiem jakim cudem moglbys ich nie miec, ale mozesz sprawdzic: find /kernel/fs -type f -name '*nfs*' A potem mozesz probowac modload'owac - jesli oczywiscie bedzie co. -- Jakub Wartak http://vnull.pcnet.com.pl
Re: Montowanie NFS i błąd "Invalid argument"
Author: Karol
Date: Tue, 03 Jul 2007 08:45
Date: Tue, 03 Jul 2007 08:45
39 lines
1953 bytes
1953 bytes
Użytkownik "Jakub Wartak" <jenny@pcnet.com.pl> napisał w wiadomości news:f6d1e0$30m$1@atlantis.news.tpi.pl... > To 10-tka? Tak > svcadm enable nfs/client robiles ? Zrobiłem i to samo. bash-3.00# svcs -a | grep nfs disabled 16:06:15 svc:/network/nfs/cbd:default disabled 16:06:19 svc:/network/nfs/mapid:default online 10:34:28 svc:/network/nfs/status:default offline 10:38:27 svc:/network/nfs/client:default maintenance 17:10:51 svc:/network/nfs/nlockmgr:default > Nie wiem jakim cudem moglbys ich nie miec, ale mozesz sprawdzic: > find /kernel/fs -type f -name '*nfs*' > A potem mozesz probowac modload'owac - jesli oczywiscie bedzie co. Zrobiłem tak: bash-3.00# find /kernel/fs -type f -name '*nfs*' /kernel/fs/amd64/nfs /kernel/fs/nfs bash-3.00# bash-3.00# modload nfs can't load module: No such file or directory bash-3.00# modload /kernel/fs/nfs can't load module: No such file or directory bash-3.00# Jak to zrobić?
Re: Montowanie NFS i błąd "Invalid argument"
Author: Jakub Wartak
Date: Tue, 03 Jul 2007 09:41
Date: Tue, 03 Jul 2007 09:41
36 lines
1804 bytes
1804 bytes
Karol wrote: >> svcadm enable nfs/client robiles ? > > > Zrobiłem i to samo. > > bash-3.00# svcs -a | grep nfs > disabled 16:06:15 svc:/network/nfs/cbd:default > disabled 16:06:19 svc:/network/nfs/mapid:default > online 10:34:28 svc:/network/nfs/status:default > offline 10:38:27 svc:/network/nfs/client:default > maintenance 17:10:51 svc:/network/nfs/nlockmgr:default > Wklej svcs -xv i kawalek logu od nlockmgr'a. > Zrobiłem tak: > bash-3.00# find /kernel/fs -type f -name '*nfs*' > /kernel/fs/amd64/nfs > /kernel/fs/nfs > bash-3.00# > bash-3.00# modload nfs > can't load module: No such file or directory > bash-3.00# modload /kernel/fs/nfs > can't load module: No such file or directory > bash-3.00# > > > Jak to zrobić? cd /kernel/fs i dopiero wtedy modload, ale raczej nie w tym tkwi problem. -- Jakub Wartak http://vnull.pcnet.com.pl
Re: Montowanie NFS i błąd "Invalid argument"
Author: Karol
Date: Tue, 03 Jul 2007 11:08
Date: Tue, 03 Jul 2007 11:08
72 lines
4309 bytes
4309 bytes
Użytkownik "Jakub Wartak" <jenny@pcnet.com.pl> napisał w wiadomości
news:f6d5q1$dcl$1@nemesis.news.tpi.pl...
> Wklej svcs -xv i kawalek logu od nlockmgr'a.
--------------------------------------------------------------------
-bash-3.00$ svcs -xv
svc:/network/nfs/nlockmgr:default (NFS lock manager)
State: maintenance since Mon Jul 02 17:10:51 2007
Reason: Start method failed repeatedly, last died on Killed (9).
See: http://sun.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 1M lockd
See: /var/svc/log/network-nfs-nlockmgr:default.log
Impact: 1 dependent service is not running:
svc:/network/nfs/client:default
svc:/network/nfs/cbd:default (NFS callback service)
State: maintenance since Tue Jul 03 10:39:55 2007
Reason: Start method failed repeatedly, last died on Killed (9).
See: http://sun.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 1M nfs4cbd
See: /var/svc/log/network-nfs-cbd:default.log
Impact: This service is not running.
svc:/network/nfs/mapid:default (NFS ID mapper)
State: maintenance since Tue Jul 03 10:40:04 2007
Reason: Restarting too quickly.
See: http://sun.com/msg/SMF-8000-L5
See: man -M /usr/share/man -s 1M nfsmapid
See: /var/svc/log/network-nfs-mapid:default.log
Impact: This service is not running.
-bash-3.00$
--------------------------------------------------------------------
-bash-3.00$ less /var/svc/log/network-nfs-nlockmgr\:default.log
[ Jul 2 16:06:20 Disabled. ]
[ Jul 2 16:06:20 Rereading configuration. ]
[ Jul 2 17:10:50 Enabled. ]
[ Jul 2 17:10:51 Executing start method ("/lib/svc/method/nlockmgr") ]
svcprop: Couldn't find property `config/local_only' for service
`svc:/network/rpc/bind'.
ld.so.1: /usr/lib/nfs/lockd: fatal: libc.so.1: version `SUNW_1.22.2' not
found (required by file /usr/lib/nfs/lockd)
ld.so.1: /usr/lib/nfs/lockd: fatal: libc.so.1: open failed: No such file or
directory
[ Jul 2 17:10:51 Method "start" failed due to signal KILL ]
[ Jul 2 17:10:51 Executing start method ("/lib/svc/method/nlockmgr") ]
ld.so.1: /usr/lib/nfs/lockd: fatal: libc.so.1: version `SUNW_1.22.2' not
found (required by file /usr/lib/nfs/lockd)
ld.so.1: /usr/lib/nfs/lockd: fatal: libc.so.1: open failed: No such file or
directory
[ Jul 2 17:10:51 Method "start" failed due to signal KILL ]
[ Jul 2 17:10:51 Executing start method ("/lib/svc/method/nlockmgr") ]
ld.so.1: /usr/lib/nfs/lockd: fatal: libc.so.1: version `SUNW_1.22.2' not
found (required by file /usr/lib/nfs/lockd)
ld.so.1: /usr/lib/nfs/lockd: fatal: libc.so.1: open failed: No such file or
directory
[ Jul 2 17:10:51 Method "start" failed due to signal KILL ]
[ Jul 2 17:11:40 Rereading configuration. ]
[ Jul 2 17:11:53 Rereading configuration. ]
[ Jul 2 17:13:15 Rereading configuration. ]
[ Jul 2 17:13:33 Rereading configuration. ]
[ Jul 2 17:14:09 Rereading configuration. ]
[ Jul 2 17:14:18 Rereading configuration. ]
[ Jul 2 17:16:55 Rereading configuration. ]
[ Jul 3 08:47:32 Rereading configuration. ]
[ Jul 3 10:33:56 Rereading configuration. ]
[ Jul 3 10:34:28 Rereading configuration. ]
[ Jul 3 10:40:25 Rereading configuration. ]
--------------------------------------------------------------------
Generalnie nie jest wesoło.
Re: Montowanie NFS i błąd "Invalid argument"
Author: Jakub Wartak
Date: Tue, 03 Jul 2007 11:52
Date: Tue, 03 Jul 2007 11:52
85 lines
4744 bytes
4744 bytes
Karol wrote:
> Użytkownik "Jakub Wartak" <jenny@pcnet.com.pl> napisał w wiadomości
> news:f6d5q1$dcl$1@nemesis.news.tpi.pl...
>
>
>> Wklej svcs -xv i kawalek logu od nlockmgr'a.
>
>
> --------------------------------------------------------------------
> -bash-3.00$ svcs -xv
> svc:/network/nfs/nlockmgr:default (NFS lock manager)
> State: maintenance since Mon Jul 02 17:10:51 2007
> Reason: Start method failed repeatedly, last died on Killed (9).
> See: http://sun.com/msg/SMF-8000-KS
> See: man -M /usr/share/man -s 1M lockd
> See: /var/svc/log/network-nfs-nlockmgr:default.log
> Impact: 1 dependent service is not running:
> svc:/network/nfs/client:default
>
> svc:/network/nfs/cbd:default (NFS callback service)
> State: maintenance since Tue Jul 03 10:39:55 2007
> Reason: Start method failed repeatedly, last died on Killed (9).
> See: http://sun.com/msg/SMF-8000-KS
> See: man -M /usr/share/man -s 1M nfs4cbd
> See: /var/svc/log/network-nfs-cbd:default.log
> Impact: This service is not running.
>
> svc:/network/nfs/mapid:default (NFS ID mapper)
> State: maintenance since Tue Jul 03 10:40:04 2007
> Reason: Restarting too quickly.
> See: http://sun.com/msg/SMF-8000-L5
> See: man -M /usr/share/man -s 1M nfsmapid
> See: /var/svc/log/network-nfs-mapid:default.log
> Impact: This service is not running.
> -bash-3.00$
> --------------------------------------------------------------------
> -bash-3.00$ less /var/svc/log/network-nfs-nlockmgr\:default.log
> [ Jul 2 16:06:20 Disabled. ]
> [ Jul 2 16:06:20 Rereading configuration. ]
> [ Jul 2 17:10:50 Enabled. ]
> [ Jul 2 17:10:51 Executing start method ("/lib/svc/method/nlockmgr") ]
> svcprop: Couldn't find property `config/local_only' for service
> `svc:/network/rpc/bind'.
> ld.so.1: /usr/lib/nfs/lockd: fatal: libc.so.1: version `SUNW_1.22.2' not
> found (required by file /usr/lib/nfs/lockd)
> ld.so.1: /usr/lib/nfs/lockd: fatal: libc.so.1: open failed: No such file
> or directory
> [ Jul 2 17:10:51 Method "start" failed due to signal KILL ]
> [ Jul 2 17:10:51 Executing start method ("/lib/svc/method/nlockmgr") ]
> ld.so.1: /usr/lib/nfs/lockd: fatal: libc.so.1: version `SUNW_1.22.2' not
> found (required by file /usr/lib/nfs/lockd)
> ld.so.1: /usr/lib/nfs/lockd: fatal: libc.so.1: open failed: No such file
> or directory
> [ Jul 2 17:10:51 Method "start" failed due to signal KILL ]
> [ Jul 2 17:10:51 Executing start method ("/lib/svc/method/nlockmgr") ]
> ld.so.1: /usr/lib/nfs/lockd: fatal: libc.so.1: version `SUNW_1.22.2' not
> found (required by file /usr/lib/nfs/lockd)
> ld.so.1: /usr/lib/nfs/lockd: fatal: libc.so.1: open failed: No such file
> or directory
> [ Jul 2 17:10:51 Method "start" failed due to signal KILL ]
> [ Jul 2 17:11:40 Rereading configuration. ]
> [ Jul 2 17:11:53 Rereading configuration. ]
> [ Jul 2 17:13:15 Rereading configuration. ]
> [ Jul 2 17:13:33 Rereading configuration. ]
> [ Jul 2 17:14:09 Rereading configuration. ]
> [ Jul 2 17:14:18 Rereading configuration. ]
> [ Jul 2 17:16:55 Rereading configuration. ]
> [ Jul 3 08:47:32 Rereading configuration. ]
> [ Jul 3 10:33:56 Rereading configuration. ]
> [ Jul 3 10:34:28 Rereading configuration. ]
> [ Jul 3 10:40:25 Rereading configuration. ]
> --------------------------------------------------------------------
> Generalnie nie jest wesoło.
Robiles jakis upgrady, nakladales patche ?
Musisz miec odpowiednia wersje libc albo nowsze /usr/lib/nfs/lockd - bylo
zdaje sie juz kiedys na liscie, cofnij nalozone patche, pogooglaj.
Jak zrobisz ldd /usr/lib/nfs/lockd to pewnie ci wlasnie powie ze nie ma
libc ;)
--
Jakub Wartak
http://vnull.pcnet.com.pl
Re: Montowanie NFS i błąd "Invalid argument"
Author: Karol
Date: Tue, 03 Jul 2007 12:17
Date: Tue, 03 Jul 2007 12:17
13 lines
1571 bytes
1571 bytes
Użytkownik "Jakub Wartak" <jenny@pcnet.com.pl> napisał w wiadomości news:f6ddfd$787$1@nemesis.news.tpi.pl... > Robiles jakis upgrady, nakladales patche ? > Musisz miec odpowiednia wersje libc albo nowsze /usr/lib/nfs/lockd - bylo > zdaje sie juz kiedys na liscie, cofnij nalozone patche, pogooglaj. OK. Wielkie dzięki za pomoc. Sprawa wynikła w powodu buga w Sunowym patchu :) http://sunsolve.sun.com/search/document.do?assetkey=1-26-102742-1 Jeszcze raz dzięki za pomoc.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads