From: "Nick S. Grechukh" <gns@tpway.com> To: ALT Linux Community <community@lists.altlinux.org> Subject: [Comm] nfs trouble :/ Date: Fri, 02 Jun 2006 23:03:20 +0300 Message-ID: <44809988.2040707@tpway.com> (raw) приветствую вознамерился я таки разобраться с NFS, да не выходит каменный цветок [root@bidash ~]# rpm -qf /etc/init.d/nfs nfs-server-userland-2.2beta51-alt1 [root@bidash ~]# cat > /etc/exports << EOF /media gns(ro) EOF [root@bidash ~]# service portmap start Starting portmap service: [ DONE ] [root@bidash ~]# service nfs start Starting NFS daemon: [ DONE ] Starting NFS mount service: [ DONE ] [root@bidash ~]# rpcinfo -p program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100003 2 udp 2049 nfs 100003 2 tcp 2049 nfs 100005 1 udp 815 mountd 100005 2 udp 815 mountd 100005 1 tcp 818 mountd 100005 2 tcp 818 mountd [root@bidash ~]# netstat -lpn 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:2049 0.0.0.0:* LISTEN 9526/rpc.nfsd tcp 0 0 0.0.0.0:707 0.0.0.0:* LISTEN 8585/rpc.ugidd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 9512/portmap tcp 0 0 0.0.0.0:818 0.0.0.0:* LISTEN 9542/rpc.mountd tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 6467/sshd tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 4216/cupsd tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 9169/0 tcp 0 0 0.0.0.0:52666 0.0.0.0:* LISTEN 8290/rpc.statd udp 0 0 0.0.0.0:2049 0.0.0.0:* 9526/rpc.nfsd udp 0 0 0.0.0.0:32771 0.0.0.0:* 8290/rpc.statd udp 0 0 0.0.0.0:815 0.0.0.0:* 9542/rpc.mountd udp 0 0 0.0.0.0:705 0.0.0.0:* 8585/rpc.ugidd udp 0 0 0.0.0.0:834 0.0.0.0:* 8290/rpc.statd udp 0 0 0.0.0.0:111 0.0.0.0:* 9512/portmap udp 0 0 0.0.0.0:631 0.0.0.0:* 4216/cupsd udp 0 0 10.99.1.1:123 0.0.0.0:* 4163/ntpd udp 0 0 192.168.242.175:123 0.0.0.0:* 4163/ntpd udp 0 0 127.0.0.1:123 0.0.0.0:* 4163/ntpd udp 0 0 0.0.0.0:123 0.0.0.0:* 4163/ntpd вроде все как надо? на клиенте: [root@mordor ~]# mount -t nfs bidash.office.tpway.com:/media /mnt/nfs_cd/ mount to NFS server 'bidash.office.tpway.com' failed: server is down. ладно. [root@bidash ~]# apt-get install nfs-server Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: nfs-server-userland The following NEW packages will be installed: nfs-server bla-bla-bla [root@bidash ~]# service nfs start Exporting NFS file systems: [ DONE ] Starting NFS daemon: [FAILED] [root@bidash ~]# tail /var/log/messages un 2 22:58:58 bidash kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory Jun 2 22:58:58 bidash kernel: NFSD: starting 90-second grace period Jun 2 22:59:14 bidash kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory Jun 2 22:59:14 bidash kernel: NFSD: starting 90-second grace period [root@bidash ~]# rpcinfo -p program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper и соответственно, [root@mordor ~]# mount -vv -t nfs bidash:/media/mnt/nfs_cd/ mount to NFS server 'bidash.office.tpway.com' failed. RPC Error: 15 ( Program not registered )
next reply other threads:[~2006-06-02 20:03 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-06-02 20:03 Nick S. Grechukh [this message] 2006-06-03 5:39 ` Vasily Kolomeets 2006-06-03 7:27 ` Мажурин Игорь 2006-06-03 21:38 ` Vitaly Lipatov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=44809988.2040707@tpway.com \ --to=gns@tpway.com \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git