mount system call failed

Întâmpinaţi erori ciudate? Un log e plin de mesaje criptice? Poate le descifrăm împreună.

Moderatori: Moderatori, Moderatori S.O.

mount system call failed

Mesajde raztud pe 04 Feb 2010 01:08

Salut

Am un calculator cu Centos 5 pe el (192.168.0.10). Am instalat nfs server, nfs utils portmap si ce depedinte a mai vrut si un calculator cu Ubuntu (de fapt Linux Mint 8 - 192.168.0.5 )
Cod: Selectaţi tot
uname -a
Linux nix 2.6.31-14-generic #48-Ubuntu SMP


Problema e ca atunci cand dau pe Ubuntu:
Cod: Selectaţi tot
mount 192.168.0.10:/var/www/html /server_html/
mount.nfs: mount system call failed


Si cateva informatii:
De pe Centos:
Cod: Selectaţi tot
cat /etc/exports
/var/www/html                  192.168.0.5(rw,sync)]

service portmap status
portmap (pid 1789) is running...


Cod: Selectaţi tot
iptables -L

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
RH-Firewall-1-INPUT  all  --  anywhere             anywhere           

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
RH-Firewall-1-INPUT  all  --  anywhere             anywhere           

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain RH-Firewall-1-INPUT (2 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere           
ACCEPT     icmp --  anywhere             anywhere            icmp any
ACCEPT     esp  --  anywhere             anywhere           
ACCEPT     ah   --  anywhere             anywhere           
ACCEPT     udp  --  anywhere             224.0.0.251         udp dpt:mdns
ACCEPT     udp  --  anywhere             anywhere            udp dpt:ipp
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ipp
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ftp
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:smtp
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:nfs
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-ns
ACCEPT     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-dgm
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:netbios-ssn
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:microsoft-ds
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:https
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:http
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited


De pe Ubuntu:
Cod: Selectaţi tot
eth3      Link encap:Ethernet  HWaddr 00:0c:46:17:c9:c1 
          inet addr:192.168.0.5  Bcast:192.168.0.255  Mask:255.255.255.0


Cod: Selectaţi tot
iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination   


Cod: Selectaţi tot
service portmap status
portmap start/running, process 813


Daca mai doriti si alte detalii... pot sa le pun aici.
Am google-it ceva dupa mesajul asta cu mount.nfs: mount system call failed dar nu m-am lamurit cum sa-l rezolv sa imi monteze. Poate ma lumineaza cineva aici.

Tnx.
Avatar utilizator
raztud
 
Mesaje: 81
Membru din: 04 Sep 2003 10:03
Locaţie: bucuresti

Re: mount system call failed

Mesajde csdexter pe 04 Feb 2010 16:33

1) NFS este de scoala foarte veche, lasa-te de glume cu IP-ul pus de mana in /etc/exports. Fa-ti /etc/hosts sau DNS ca lumea si verifica sa mearga (direct si reverse) foarte bine
2) CentOS are implicit (i.e. dupa instalare) firewall. S-ar putea sa vrei sa umbli la el (hint: system-config-securitylevel) ...
3) Pe CentOS exista /var/log/messages, pe Ubuntu exista /var/log/syslog -- foloseste-le cu prisosinta
4) Trebuie sa ai portmapper-ul pornit si accesibil in ambele parti ca sa-ti mearga orice serviciu Unix RPC (printre care se numara si NFS-ul)

@Dexter
Sine amicitia, vitam esse nullam.
http://www.linux360.ro/~csdexter/blog/
Avatar utilizator
csdexter
 
Mesaje: 8066
Membru din: 28 Aug 2003 14:15
Locaţie: Bucharest/ROMANIA

Re: mount system call failed

Mesajde raztud pe 05 Feb 2010 18:07

Tnx csdexter. Era punctul 2, adica ceva prin firewall.
Selinux era disabled, dar security level era enabled. Nu am stat inca sa ma uit ce si cum, dar dupa ce i-am dat disable si la security level a mers.

P.S. M-am ajutat si de tcpdump pe client cand dateam mount. De asemenea pe client aveam
Cod: Selectaţi tot
rpcinfo -p server
rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host
Avatar utilizator
raztud
 
Mesaje: 81
Membru din: 04 Sep 2003 10:03
Locaţie: bucuresti


Înapoi la Erori

Cine este conectat

Utilizatorii ce navighează pe acest forum: Niciun utilizator înregistrat şi 1 vizitator