I have just upgraded my server from CentOS 5 to CentOS 6 and am having connectivity problems. My laptop runs Fedora 14, and I have been in the habit of mounting data partitions on my server by fstab entries. Since the update I've not been able to do that. On watching the messages during a reboot I saw a statement that the connection was denied by the server (where are those messages stored so that I can quote accurately?). I have temporarily disabled both the firewall and selinux, and the problem persists, so clearly they are not the cause. Logwatch has the following section which may or may not be connected: --------------------- Connections (secure-log) Begin ------------------------ Userhelper executed applications: anne -> system-config-users as root: 1 Time(s) **Unmatched Entries** polkitd(authority=local): Operator of unix- session:/org/freedesktop/ConsoleKit/Session2 successfully authenticated as unix-user:root to gain TEMPORARY authorization for action org.fedoraproject.config.firewall.auth for system-bus-name::1.88 [/usr/bin/python /usr/bin/system-config-firewall] (owned by unix-user:anne): 1 Time(s) polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session1 (system bus name :1.24 [/usr/libexec/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8): 1 Time(s) polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session2 (system bus name :1.45 [/usr/libexec/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8): 1 Time(s) polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session1 (system bus name :1.24, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus): 1 Time(s) polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session6 (system bus name :1.214, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8) (disconnected from bus): 1 Time(s) ---------------------- Connections (secure-log) End ------------------------- An example fstab line is /Data1 /nfs4exports/Data1 none bind 0 0 Under CentOS 5 this was mounted by the exports line: /nfs4exports/Data1 192.168.0.0/24(rw,insecure,no_subtree_check,nohide) Following advice, I have changed this to: /Data1/ 192.168.0.0/255.255.255.0 *(rw,sync,insecure,no_all_squash) That hasn't helped at all. I'm completely at a loss, and really need to get this connection working again. I've done lots of googling and reading, but just feel to be digging an ever-deeper hole. All help appreciated. Anne
Tony Schreiner
2011-Aug-19 14:43 UTC
[CentOS] Fedora and CentOS no longer on speaking terms
On Aug 19, 2011, at 10:39 AM, Anne Wilson wrote:> I have just upgraded my server from CentOS 5 to CentOS 6 and am having > connectivity problems. My laptop runs Fedora 14, and I have been in > the habit > of mounting data partitions on my server by fstab entries. Since > the update > I've not been able to do that. On watching the messages during a > reboot I saw > a statement that the connection was denied by the server (where are > those > messages stored so that I can quote accurately?). > > I have temporarily disabled both the firewall and selinux, and the > problem > persists, so clearly they are not the cause. Logwatch has the > following > section which may or may not be connected: > > --------------------- Connections (secure-log) Begin > ------------------------ > > > Userhelper executed applications: > anne -> system-config-users as root: 1 Time(s) > > **Unmatched Entries** > polkitd(authority=local): Operator of unix- > session:/org/freedesktop/ConsoleKit/Session2 successfully > authenticated as > unix-user:root to gain TEMPORARY authorization for action > org.fedoraproject.config.firewall.auth for system-bus-name::1.88 > [/usr/bin/python /usr/bin/system-config-firewall] (owned by unix- > user:anne): 1 > Time(s) > polkitd(authority=local): Registered Authentication Agent for > session > /org/freedesktop/ConsoleKit/Session1 (system bus name :1.24 > [/usr/libexec/polkit-gnome-authentication-agent-1], object path > /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8): 1 > Time(s) > polkitd(authority=local): Registered Authentication Agent for > session > /org/freedesktop/ConsoleKit/Session2 (system bus name :1.45 > [/usr/libexec/polkit-gnome-authentication-agent-1], object path > /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8): 1 > Time(s) > polkitd(authority=local): Unregistered Authentication Agent for > session > /org/freedesktop/ConsoleKit/Session1 (system bus name :1.24, object > path > /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) > (disconnected > from bus): 1 Time(s) > polkitd(authority=local): Unregistered Authentication Agent for > session > /org/freedesktop/ConsoleKit/Session6 (system bus name :1.214, object > path > /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8) > (disconnected > from bus): 1 Time(s) > > ---------------------- Connections (secure-log) End > ------------------------- > > An example fstab line is > > /Data1 /nfs4exports/Data1 none bind 0 0 > > Under CentOS 5 this was mounted by the exports line: > > /nfs4exports/Data1 > 192.168.0.0/24(rw,insecure,no_subtree_check,nohide) > > Following advice, I have changed this to: > > /Data1/ 192.168.0.0/255.255.255.0 *(rw,sync,insecure,no_all_squash) > > That hasn't helped at all. > > I'm completely at a loss, and really need to get this connection > working > again. I've done lots of googling and reading, but just feel to be > digging an > ever-deeper hole. All help appreciated. > > Anne > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosNFS v4 problems maybe. Try setting a value for Domain in /etc/idmapd.conf on both systems (the same for both). Tony
Tony Schreiner
2011-Aug-19 18:26 UTC
[CentOS] Fedora and CentOS no longer on speaking terms
On Aug 19, 2011, at 10:39 AM, Anne Wilson wrote:> I have just upgraded my server from CentOS 5 to CentOS 6 and am having > connectivity problems. My laptop runs Fedora 14, and I have been in > the habit > of mounting data partitions on my server by fstab entries. Since > the update > I've not been able to do that. On watching the messages during a > reboot I saw > a statement that the connection was denied by the server (where are > those > messages stored so that I can quote accurately?). > > I have temporarily disabled both the firewall and selinux, and the > problem > persists, so clearly they are not the cause. Logwatch has the > following > section which may or may not be connected: > > --------------------- Connections (secure-log) Begin > ------------------------ > > > Userhelper executed applications: > anne -> system-config-users as root: 1 Time(s) > > **Unmatched Entries** > polkitd(authority=local): Operator of unix- > session:/org/freedesktop/ConsoleKit/Session2 successfully > authenticated as > unix-user:root to gain TEMPORARY authorization for action > org.fedoraproject.config.firewall.auth for system-bus-name::1.88 > [/usr/bin/python /usr/bin/system-config-firewall] (owned by unix- > user:anne): 1 > Time(s) > polkitd(authority=local): Registered Authentication Agent for > session > /org/freedesktop/ConsoleKit/Session1 (system bus name :1.24 > [/usr/libexec/polkit-gnome-authentication-agent-1], object path > /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8): 1 > Time(s) > polkitd(authority=local): Registered Authentication Agent for > session > /org/freedesktop/ConsoleKit/Session2 (system bus name :1.45 > [/usr/libexec/polkit-gnome-authentication-agent-1], object path > /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8): 1 > Time(s) > polkitd(authority=local): Unregistered Authentication Agent for > session > /org/freedesktop/ConsoleKit/Session1 (system bus name :1.24, object > path > /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) > (disconnected > from bus): 1 Time(s) > polkitd(authority=local): Unregistered Authentication Agent for > session > /org/freedesktop/ConsoleKit/Session6 (system bus name :1.214, object > path > /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8) > (disconnected > from bus): 1 Time(s) > > ---------------------- Connections (secure-log) End > ------------------------- > > An example fstab line is > > /Data1 /nfs4exports/Data1 none bind 0 0 > > Under CentOS 5 this was mounted by the exports line: > > /nfs4exports/Data1 > 192.168.0.0/24(rw,insecure,no_subtree_check,nohide) > > Following advice, I have changed this to: > > /Data1/ 192.168.0.0/255.255.255.0 *(rw,sync,insecure,no_all_squash) > > That hasn't helped at all. > > I'm completely at a loss, and really need to get this connection > working > again. I've done lots of googling and reading, but just feel to be > digging an > ever-deeper hole. All help appreciated. > > AnneI didn't read your original post carefully enough the first time. You show the exports file, but nowhere do I see a reference of how the client is mounting the export from the server. THe bind mounts above are remounting a local file system in a different location, they do not mount an NFS share from an external server. Usually it looks something like this: server:/share /local/mount nfs defaults 0 0 (obviously defaults can instead be specific options)
Anne Wilson
2011-Aug-20 10:35 UTC
[CentOS] Fedora and CentOS no longer on speaking terms - SOLVED
On Friday 19 Aug 2011 15:39:12 Anne Wilson wrote:> I have just upgraded my server from CentOS 5 to CentOS 6 and am having > connectivity problems. My laptop runs Fedora 14, and I have been in the > habit of mounting data partitions on my server by fstab entries. Since > the update I've not been able to do that. On watching the messages during > a reboot I saw a statement that the connection was denied by the server > (where are those messages stored so that I can quote accurately?). > > I have temporarily disabled both the firewall and selinux, and the problem > persists, so clearly they are not the cause. Logwatch has the following > section which may or may not be connected: > > --------------------- Connections (secure-log) Begin > ------------------------ > > > Userhelper executed applications: > anne -> system-config-users as root: 1 Time(s) > > **Unmatched Entries** > polkitd(authority=local): Operator of unix- > session:/org/freedesktop/ConsoleKit/Session2 successfully authenticated as > unix-user:root to gain TEMPORARY authorization for action > org.fedoraproject.config.firewall.auth for system-bus-name::1.88 > [/usr/bin/python /usr/bin/system-config-firewall] (owned by > unix-user:anne): 1 Time(s) > polkitd(authority=local): Registered Authentication Agent for session > /org/freedesktop/ConsoleKit/Session1 (system bus name :1.24 > [/usr/libexec/polkit-gnome-authentication-agent-1], object path > /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8): 1 Time(s) > polkitd(authority=local): Registered Authentication Agent for session > /org/freedesktop/ConsoleKit/Session2 (system bus name :1.45 > [/usr/libexec/polkit-gnome-authentication-agent-1], object path > /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8): 1 Time(s) > polkitd(authority=local): Unregistered Authentication Agent for session > /org/freedesktop/ConsoleKit/Session1 (system bus name :1.24, object path > /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) > (disconnected from bus): 1 Time(s) > polkitd(authority=local): Unregistered Authentication Agent for session > /org/freedesktop/ConsoleKit/Session6 (system bus name :1.214, object path > /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8) (disconnected > from bus): 1 Time(s) > > ---------------------- Connections (secure-log) End > ------------------------- > > An example fstab line is > > /Data1 /nfs4exports/Data1 none bind 0 0 > > Under CentOS 5 this was mounted by the exports line: > > /nfs4exports/Data1 192.168.0.0/24(rw,insecure,no_subtree_check,nohide) > > Following advice, I have changed this to: > > /Data1/ 192.168.0.0/255.255.255.0 *(rw,sync,insecure,no_all_squash) > > That hasn't helped at all. > > I'm completely at a loss, and really need to get this connection working > again. I've done lots of googling and reading, but just feel to be digging > an ever-deeper hole. All help appreciated. >I was certain I had missed some steps in setting up the exports, but simply could not remember them. Nor could I find the guide that got me started before. This morning I found it. I cannot recommend this guide too highly - so you might like to bookmark it for a reference sheet - for next time someone asks you for help :-) http://www.crazysquirrel.com/computing/debian/servers/setting-up-nfs4.jspx Thanks, everyone, for trying to help. Anne
Apparently Analagous Threads
- Auto Archiving function for Icecast.
- Centos7: Mount problem (Unit mnt-bk\x2dbenvet\x2d01.mount is bound to inactive unit dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device. Stopping, too.
- Dovecot 2.3.10 fails to start due to missing dependency
- polkit helper timeout and defunct pkla-check-authorization processes on CentOS 7.3
- Dovecot 2.3.10 fails to start due to missing dependency