On three Ubuntu based computers cannot access the server

Asked by ealthuis

The fourth computer is the server, running POP-OS the others are a desktop running Ubuntu Unity (installed inn 2021), a Dell Vostro running Linux Mint and a System76 Darter laptop running POP-OS.For many years now the three have accessed the server using NFS quite successfully.

Now however for a few months this has been haphazard. I blamed it on the Shaw Modem, got a new one , no change . So I bought a new router and there was no improvement. The only one where this command: (sudo mount -t nfs -o proto=tcp,port=2049 192.168.0.104:/mass /media/mass) worked was the desktop connected by WiFi running Ubuntu Unity. There it stayed, the same command on the two laptops resulted in the partition being mounted but only stayed for about 20 seconds.

The Tech I contacted at the router provider, after seeing sections of the syslog determined it was not a router problem.

Thus this long story.

A bit if syslog:

ystemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.119' (uid=1000 pid=11927 comm="/usr/bin/gnome-terminal.real " label="unconfined")
Mar 9 19:35:52 seanix systemd[1012]: Starting GNOME Terminal Server...
Mar 9 19:35:53 seanix dbus-daemon[1044]: [session uid=1000 pid=1044] Successfully activated service 'org.gnome.Terminal'
Mar 9 19:35:53 seanix systemd[1012]: Started GNOME Terminal Server.
Mar 9 19:35:53 seanix systemd[1012]: Started VTE child process 11937 launched by gnome-terminal-server process 11930.
Mar 9 19:35:53 seanix wpa_supplicant[657]: wlp1s0: CTRL-EVENT-BEACON-LOSS
Mar 9 19:35:59 seanix wpa_supplicant[657]: message repeated 6 times: [ wlp1s0: CTRL-EVENT-BEACON-LOSS ]
Mar 9 19:36:00 seanix autonfs.sh[730]: Fileserver is up.
Mar 9 19:36:00 seanix autonfs.sh[730]: /media/mass is already mounted.
Mar 9 19:36:00 seanix autonfs.sh[730]: NFS share not mounted; attempting to mount /media/mass0:
Mar 9 19:36:02 seanix wpa_supplicant[657]: wlp1s0: CTRL-EVENT-BEACON-LOSS
ea@seanix:~$

Note the line at 19:35:53 What does that mean?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you ping between the servers OK?
Can you telnet to the NFS socket OK?
Are there any known issues with PopOS (not supported here) and it's NFS service?
Can the server mount its own NFS?
Have you checked firewall configurations? You could use wireshark to check what is happening

Revision history for this message
ealthuis (ealthuis) said :
#2

Ping between server and clients in both directions gave 0% packet loss
Telnet timed out
PopOS answer was that there is a timing problem
All partitions are mounted on the server
Installed Wireshark on one client, but have not used it yet, need to read the instructions
The firewalls have been ok and allowed traffic from client to server and back, also set to allow all traffic on port 2049
I used nmap, and in all instances it found the server down and also the clients, even though all were up and responded to the pings.

Yet all the tests point to a firewall problem.

Maybe there was a change in UFW that I am not aware of, I will redo the firewalls first on the server and then on the clients.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

Are all clocks on the network sync'd to NTP OK. You can run:

sudo timedatectl | grep -i NTP

They should be sync'd to NTP. Time is important. Also check UFW config

Revision history for this message
ealthuis (ealthuis) said :
#4

Thanks actionparsnip, that solved my question.