Results 1 to 2 of 2
Hi
on the client im trying to tail the file however it fails
lrwxrwxrwx 1 wwwrun root 35 Nov 2 00:07 symvlink1.log -> /var/log/mylogs/daemon.log-20111102
server15:/nfs/c1 # tail symvlink1.log
tail: cannot ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-02-2011 #1Just Joined!
- Join Date
- Nov 2011
- Posts
- 1
i cannot tail a symbolic link on nfs mounted directory
Hi
on the client im trying to tail the file however it fails
lrwxrwxrwx 1 wwwrun root 35 Nov 2 00:07 symvlink1.log -> /var/log/mylogs/daemon.log-20111102
server15:/nfs/c1 # tail symvlink1.log
tail: cannot open `symvlink1.log' for reading: No such file or directory
server15:/logs/cluster1/vm11 #
is there a way to tail the link file from the client nfs
Thanks
Dan
- 11-02-2011 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,663
It looks like the logfile is symlinked to a file that is NOT served by NFS. Instead, it is looking for the symlink target on the NFS client, in the /var/log/mylogs directory.
To be sure, you can show the output of these commands:
Code:df -T showmount --exports <NFS_SERVER_IPADDRESS>


Reply With Quote
