[ubuntu-users] NFS

Ted Hilts ehilts at mcsnet.ca
Fri Nov 12 01:41:48 UTC 2010


Tom H wrote:
> On Wed, Nov 10, 2010 at 2:14 PM, Ted Hilts <ehilts at mcsnet.ca> wrote:
>   
>> Tom H wrote:
>>     
>>>> Do you have any entries in "/etc/hosts.allow" or "/etc/hosts.deny"? I
>>>> don't
>>>> think so but I do have entries in /etc/hosts and well as
>>>> /etc/samba/smb.conf.  I checked and there are no entries in
>>>> /etc/hosts.allow
>>>> or /etc/hosts.deny.
>>>>
>>>> Do you have iptables running without allowing loopback access?  As far as
>>>> I
>>>> know I don't have iptables running at all. I checked using ps -A | grep
>>>> "ip"
>>>> and there is nothing with "ip" in it.
>>>>
>>>> Awaiting you response.  I am getting close to the time I have to put
>>>> cic2ext
>>>> (192.168.1.15) back into production mode.
>>>>         
>>> I'm very busy at the moment I can take a quick look now to see if
>>> there's anything obvious.
>>>       
>> I will probably have to download Teamviewer or somthing.  Tell me what to
>> get ready and then after I get what you want operational and tested you
>> should be able to get on the machine when you have time.
>>     
>
> Before you download or install anything please make sure that it is
> accessible from the net. Quite frankly, I'd rather not log on to a
> "foreign" box but if there's no other way, ...
>
> You can check your iptables rules with "sudo iptables -Lnv".
>
> You might as well check that nfs is running properly with "netstat
> -ntulp" and "rpcinfo -p" on the nfs server and, from another box,
> (three nmaps are overkill but it's quick and should be short):
> rpcinfo -p nfs_server
> nmap -n -sT nfs_server
> nmap -n -sS nfs_server
> nmap -n -sU nfs_server
>
>   
Tom (I had do download nmap)
All the stuff you wanted is below but not in the order you stated but I 
executed everything in the order you wrote it. I had to use Tomboy notes 
and VNC using the VNC client on my Ubuntu 8.04 to get the info off of 
cic2ext.  It looks like NFS is working on cic2ext.

Starting Nmap 5.00 ( http://nmap.org ) at 2010-11-11 18:06 MST
Interesting ports on 192.168.1.15:
Not shown: 987 closed ports
PORT     STATE SERVICE
21/tcp   open  ftp
22/tcp   open  ssh
23/tcp   open  telnet
53/tcp   open  domain
80/tcp   open  http
111/tcp  open  rpcbind
389/tcp  open  ldap
443/tcp  open  https
631/tcp  open  ipp
901/tcp  open  samba-swat
2049/tcp open  nfs
3128/tcp open  squid-http
5900/tcp open  vnc

------------------------

ted at cic2ext:~$ sudo iptables -Lnv
[sudo] password for ted:
iptables: No chain/target/match by that name.
ted at cic2ext:~$

------------------------

ted at cic2ext:~$ netstat -ntulp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         
State       PID/Program name
tcp        0      0 0.0.0.0:901             0.0.0.0:*               
LISTEN      -              
tcp        0      0 0.0.0.0:389             0.0.0.0:*               
LISTEN      -              
tcp        0      0 0.0.0.0:38440           0.0.0.0:*               
LISTEN      -              
tcp        0      0 0.0.0.0:111             0.0.0.0:*               
LISTEN      -              
tcp        0      0 0.0.0.0:80              0.0.0.0:*               
LISTEN      -              
tcp        0      0 0.0.0.0:60628           0.0.0.0:*               
LISTEN      -              
tcp        0      0 192.168.1.15:53         0.0.0.0:*               
LISTEN      -              
tcp        0      0 127.0.0.1:53            0.0.0.0:*               
LISTEN      -              
tcp        0      0 0.0.0.0:22              0.0.0.0:*               
LISTEN      -              
tcp        0      0 0.0.0.0:631             0.0.0.0:*               
LISTEN      -              
tcp        0      0 0.0.0.0:23              0.0.0.0:*               
LISTEN      -              
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               
LISTEN      -              
tcp        0      0 0.0.0.0:3128            0.0.0.0:*               
LISTEN      -              
tcp        0      0 127.0.0.1:953           0.0.0.0:*               
LISTEN      -              
tcp        0      0 0.0.0.0:443             0.0.0.0:*               
LISTEN      -              
tcp        0      0 0.0.0.0:34142           0.0.0.0:*               
LISTEN      -              
tcp        0      0 0.0.0.0:2049            0.0.0.0:*               
LISTEN      -              
tcp6       0      0 :::389                  :::*                    
LISTEN      -              
tcp6       0      0 :::5900                 :::*                    
LISTEN      1241/vino-server
tcp6       0      0 :::21                   :::*                    
LISTEN      -              
tcp6       0      0 :::53                   :::*                    
LISTEN      -              
tcp6       0      0 :::22                   :::*                    
LISTEN      -              
tcp6       0      0 :::631                  :::*                    
LISTEN      -              
tcp6       0      0 ::1:5432                :::*                    
LISTEN      -              
tcp6       0      0 ::1:953                 :::*                    
LISTEN      -              
udp        0      0 0.0.0.0:5353            
0.0.0.0:*                           -              
udp        0      0 0.0.0.0:111             
0.0.0.0:*                           -              
udp        0      0 0.0.0.0:631             
0.0.0.0:*                           -              
udp        0      0 0.0.0.0:52346           
0.0.0.0:*                           -              
udp        0      0 0.0.0.0:60285           
0.0.0.0:*                           -              
udp        0      0 0.0.0.0:60031           
0.0.0.0:*                           -              
udp        0      0 0.0.0.0:2049            
0.0.0.0:*                           -              
udp        0      0 192.168.1.15:137        
0.0.0.0:*                           -              
udp        0      0 0.0.0.0:137             
0.0.0.0:*                           -              
udp        0      0 192.168.1.15:138        
0.0.0.0:*                           -              
udp        0      0 0.0.0.0:138             
0.0.0.0:*                           -              
udp        0      0 0.0.0.0:42002           
0.0.0.0:*                           -              
udp        0      0 192.168.1.15:53         
0.0.0.0:*                           -              
udp        0      0 127.0.0.1:53            
0.0.0.0:*                           -              
udp        0      0 0.0.0.0:3130            
0.0.0.0:*                           -              
udp        0      0 0.0.0.0:42044           
0.0.0.0:*                           -              
udp        0      0 0.0.0.0:994             
0.0.0.0:*                           -              
udp6       0      0 :::53                   
:::*                                -              
ted at cic2ext:~$

--------------------------------

ted at cic2ext:~$ rpcinfo -p 192.168.1.15
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  60031  status
    100024    1   tcp  60628  status
    100021    1   udp  42044  nlockmgr
    100021    3   udp  42044  nlockmgr
    100021    4   udp  42044  nlockmgr
    100021    1   tcp  38440  nlockmgr
    100021    3   tcp  38440  nlockmgr
    100021    4   tcp  38440  nlockmgr
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100005    1   udp  60285  mountd
    100005    1   tcp  34142  mountd
    100005    2   udp  60285  mountd
    100005    2   tcp  34142  mountd
    100005    3   udp  60285  mountd
    100005    3   tcp  34142  mountd
ted at cic2ext:~$







More information about the ubuntu-users mailing list