Simple program immediately killed when running on a NFS
Otacílio
otacilio.neto at bsd.com.br
Sun Mar 5 12:57:46 UTC 2017
Em 05/03/2017 09:43, Otacílio escreveu:
> Em 05/03/2017 09:08, Daniel Braniss escreveu:
>>
>>> On 5 Mar 2017, at 13:16, Otacílio <otacilio.neto at bsd.com.br
>>> <mailto:otacilio.neto at bsd.com.br>> wrote:
>>>
>>> was killed: text file modification
>>
>> sounds like nfs issue,(hence involving Rick), but just in case, are
>> the dates in sync between the serve and client?
>> with the hello world program, try running it again
>>
>> danny
>>
>>
>>
> Server (amd64) is ntpd disabled while client (RPI3) is using :
>
> ntpd_enable="YES"
> ntpd_sync_on_start="YES"
>
> on rc.conf
>
>
> -Otacilio
>
I edited the server /etc/rc.conf adding
ntpd_enable="YES"
ntpd_sync_on_start="YES"
and started ntpd with:
root at squitch:/home/ota # /etc/rc.d/ntpd start
Restart nfsd:
root at squitch:/home/ota # service nfsd stop
Stopping nfsd.
Waiting for PIDS: 42689 42690.
root at squitch:/home/ota # service lockd stop
Stopping lockd.
Waiting for PIDS: 93028.
root at squitch:/home/ota # service statd stop
Stopping statd.
root at squitch:/home/ota # service nfsd start
NFSv4 is disabled
Starting nfsd.
root at squitch:/home/ota # service mountd reload
root at squitch:/home/ota # service lockd start
Starting statd.
Starting lockd.
And mount and compile hello.c on RPI3, but no luck:
root at rpi3:~ # mount squitch:/usr/ports /usr/ports
root at rpi3:~ # mount squitch:/usr/src /usr/src
root at rpi3:~ # cd /usr/ports/
root at rpi3:/usr/ports # cp /usr/home/ota/hello.c ./
root at rpi3:/usr/ports # cc -o hello hello.c
root at rpi3:/usr/ports # ./hello
Killed
root at rpi3:/usr/ports #
-Otacilio
More information about the freebsd-arm
mailing list