Problem
I have 'read' and 'write' permissions on a filesystem NFS mounted
on my SCO OpenServer 5 platform. Using vi, I am able to open and
save changes to files on this NFS filesystem without any problems.However, through SCOEdit, if I try to open a file on this NFS filesystem, I get the message:
Could not lock file. Opening read only modeSCOEdit does not allow me to save anything on the NFS filesystem. I am able to use SCOEdit to open and save files on the LOCAL filesystems.
Solution
You need to make sure that the NFS client hostname is known to
the NFS server. This must be the fully qualified hostname, and
can be an entry in the DNS nameserver records, or an entry in
the /etc/hosts file on the server. For example:- Client is called 'client'.- Server is called 'server'.- 'client' mounts 'server's filesystem using NFS.
Then, follow these steps:1. Run SCOEdit on the client and try to use it to open a file
on the NFS filesystem. The error message above will be displayed.2. Exit the file and SCOEdit.3. Add the fully qualified hostname of the client in the /etc/hosts file of the server:
ipaddressofclient client client.company.comSo if your client's ip address is, for example, 132.147.144.79, the line in /etc/hosts would look like:
132.147.144.79 client client.company.com4. SCOEdit will now allow you to open the NFS mounted files.
See also
TA102431, "NFS mount fails with the error "mount: access denied for <system_name>"."