FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-28-2011, 07:30 AM
Lukas Ruf
 
Default Bug#619877: rpc.mountd: svc_tli_create: could not bind to requested address

Package: nfs-kernel-server
Version: 1:1.2.3-1
Severity: important

Dear all

After upgrading to 1:1.2.3-1 I cannot start the NFS kernel server
anymore. The following errors are reported:

email:/var/log/everything# /etc/init.d/nfs-common start
Starting NFS common utilities: statd failed!
email:/var/log/everything# /etc/init.d/nfs-kernel-server start
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsd mountdrpc.mountd: svc_tli_create:
could not bind to requested address
rpc.mountd: svc_tli_create: could not bind to requested address
rpc.mountd: svc_tli_create: could not bind to requested address
rpc.mountd: svc_tli_create: could not bind to requested address
rpc.mountd: svc_tli_create: could not bind to requested address
rpc.mountd: svc_tli_create: could not bind to requested address
rpc.mountd: svc_tli_create: could not bind to requested address
rpc.mountd: svc_tli_create: could not bind to requested address
failed!

Before, with 1:1.2.2-5, it was working without any problem.

Is there any recommended way on how to get 1.2.3 working?

Thanks for any reply.

Best regards
Lukas

-- Package-specific info:
-- rpcinfo --
program vers proto port
100000 2 tcp 111 portmapper
391002 2 tcp 728 sgi_fam
100000 2 udp 111 portmapper
100021 1 udp 32768 nlockmgr
100021 3 udp 32768 nlockmgr
100021 4 udp 32768 nlockmgr
100021 1 tcp 32768 nlockmgr
100021 3 tcp 32768 nlockmgr
100021 4 tcp 32768 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
-- /etc/default/nfs-kernel-server --
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS="--port 32767 --manage-gids"
NEED_SVCGSSD=
RPCSVCGSSDOPTS=
-- /proc/fs/nfs/exports --
# Version 1.1
# Path Client(Flags) # IPs

-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.27-c1.v1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_IE, LC_CTYPE=en_IE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages nfs-kernel-server depends on:
ii libblkid1 2.17.2-9.1 block device id library
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libcomerr2 1.41.12-2 common error description library
ii libgssapi-krb5-2 1.9+dfsg-1 MIT Kerberos runtime libraries - k
ii libgssglue1 0.2-1 mechanism-switch gssapi library
ii libk5crypto3 1.9+dfsg-1 MIT Kerberos runtime libraries - C
ii libkrb5-3 1.9+dfsg-1 MIT Kerberos runtime libraries
ii libnfsidmap2 0.24-1 An nfs idmapping library
ii libtirpc1 0.2.1-1 transport-independent RPC library
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii nfs-common 1:1.2.3-1 NFS support files common to client
ii ucf 3.0025+nmu1 Update Configuration File: preserv

nfs-kernel-server recommends no packages.

nfs-kernel-server suggests no packages.

-- debconf-show failed



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110328073017.26146.54317.reportbug@email.conseco m.com">http://lists.debian.org/20110328073017.26146.54317.reportbug@email.conseco m.com
 
Old 03-29-2011, 12:17 AM
Jim Barber
 
Default Bug#619877: rpc.mountd: svc_tli_create: could not bind to requested address

I had the exact same problem.
I couldn't workout out what was wrong because I didn't have the time to do so.

In my /var/log/daemon.log file I got the following messages when trying to start the nfs-common init script:

Mar 28 22:17:14 gecko rpc.statd[9340]: Version 1.2.3 starting
Mar 28 22:17:14 gecko sm-notify[9341]: Version 1.2.3 starting
Mar 28 22:17:14 gecko sm-notify[9341]: Already notifying clients; Exiting!
Mar 28 22:17:14 gecko rpc.statd[9340]: failed to create RPC listeners, exiting

I ended up going back to the 1.2.2-5 version of the packages which worked again.

The following system information is from when I went back to the older version of the package, but gives an idea of where everything
else is at.

-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages nfs-common depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii initscripts 2.88dsf-13.1 scripts for initializing and shutt
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libcap2 1:2.20-1 support for getting/setting POSIX.
ii libcomerr2 1.41.12-2 common error description library
ii libevent-1.4-2 1.4.13-stable-1 An asynchronous event notification
ii libgssapi-krb5-2 1.9+dfsg-1 MIT Kerberos runtime libraries - k
ii libgssglue1 0.2-1 mechanism-switch gssapi library
ii libk5crypto3 1.9+dfsg-1 MIT Kerberos runtime libraries - C
ii libkrb5-3 1.9+dfsg-1 MIT Kerberos runtime libraries
ii libnfsidmap2 0.24-1 An nfs idmapping library
ii librpcsecgss3 0.19-2 allows secure rpc communication us
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii netbase 4.45 Basic TCP/IP networking system
ii portmap 6.0.0-3 RPC port mapper
ii ucf 3.0025+nmu1 Update Configuration File: preserv

nfs-common recommends no packages.

nfs-common suggests no packages.

-- no debconf information

Regards,

--
----------
Jim Barber
DDI Health



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4D912506.4040904@ddihealth.com">http://lists.debian.org/4D912506.4040904@ddihealth.com
 
Old 04-07-2011, 07:51 AM
Marc Kleine-Budde
 
Default Bug#619877: rpc.mountd: svc_tli_create: could not bind to requested address

Hello Lukas,

it's this bug you're seeing:

https://bugzilla.linux-nfs.org/show_bug.cgi?id=190

I think you have to remove the "--port" from the option
/etc/default/nfs-kernel-server as a workaround.

-- /etc/default/nfs-kernel-server --
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS="--port 32767 --manage-gids"
NEED_SVCGSSD=
RPCSVCGSSDOPTS=

cheers, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
 
Old 04-07-2011, 08:16 AM
grunge
 
Default Bug#619877: rpc.mountd: svc_tli_create: could not bind to requested address

Package: nfs-kernel-server
Version: 1:1.2.3-1
Followup-For: Bug #619877


Got exactly the same problem, considered it IPv6-related and managed to solve
it by

1) replacing portmap with rpcbind ("apt-get purge portmap" was enough,
rpcbind was installed automatically on this).

2) disabling net.ipv6.bindv6only ("sysctl net.ipv6.bindv6only=0"; should
be also changed in system-wide default setting like /etc/sysctl.conf
or so)

Regards,

grunge


-- Package-specific info:
-- rpcinfo --
program vers proto port
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
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
100021 1 udp 32768 nlockmgr
100021 3 udp 32768 nlockmgr
100021 4 udp 32768 nlockmgr
100021 1 tcp 32768 nlockmgr
100021 3 tcp 32768 nlockmgr
100021 4 tcp 32768 nlockmgr
100005 1 udp 32767 mountd
100005 1 tcp 32767 mountd
-- /etc/default/nfs-kernel-server --
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS="--manage-gids --port 32767"
NEED_SVCGSSD=
RPCSVCGSSDOPTS=
-- /etc/exports --
/srv/pub/ 169.254.0.254/24(ro,no_subtree_check)
-- /proc/fs/nfs/exports --
# Version 1.1
# Path Client(Flags) # IPs

-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.2-dd (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=en_US.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nfs-kernel-server depends on:
ii libblkid1 2.17.2-9.1 block device id library
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libcomerr2 1.41.12-2 common error description library
ii libgssapi-krb5-2 1.9+dfsg-1 MIT Kerberos runtime libraries - k
ii libgssglue1 0.1-4 mechanism-switch gssapi library
ii libk5crypto3 1.9+dfsg-1 MIT Kerberos runtime libraries - C
ii libkrb5-3 1.9+dfsg-1 MIT Kerberos runtime libraries
ii libnfsidmap2 0.24-1 An nfs idmapping library
ii libtirpc1 0.2.1-1 transport-independent RPC library
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii nfs-common 1:1.2.3-1 NFS support files common to client
ii ucf 3.0025+nmu1 Update Configuration File: preserv

nfs-kernel-server recommends no packages.

nfs-kernel-server suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /var/lib/nfs/etab (from nfs-kernel-server package)



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110407081615.28155.57280.reportbug@hq.divadroid. net">http://lists.debian.org/20110407081615.28155.57280.reportbug@hq.divadroid. net
 
Old 04-11-2011, 09:54 AM
Marc Kleine-Budde
 
Default Bug#619877: rpc.mountd: svc_tli_create: could not bind to requested address

Hello,

the original problem of this bugreport:

"rpc.mountd: svc_tli_create: could not bind to requested address"

is not solved with version "1:1.2.3-2".

(although the second problem: "portmap vs. rpcbind" is fixed)

I think you need to import the patch attached to this bug-report:

https://bugzilla.linux-nfs.org/show_bug.cgi?id=190

cheers, Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
 
Old 04-11-2011, 10:43 AM
Vadim Solomin
 
Default Bug#619877: rpc.mountd: svc_tli_create: could not bind to requested address

found 619877 1:1.2.3-2
thanks

Hello,

I think the changes in 1:1.2.3-2 are only part of the fix.

On Thursday 07 April 2011 11:51:42 Marc Kleine-Budde wrote:
> Hello Lukas,
>
> it's this bug you're seeing:
>
> https://bugzilla.linux-nfs.org/show_bug.cgi?id=190

Perhaps you should consider applying the patch from bugzilla as a debian patch
until it's included upstream. Without it, if --port option is used, only v1
mountd service is registered, which doesn't support long files.

> I think you have to remove the "--port" from the option
> /etc/default/nfs-kernel-server as a workaround.

Removing --port makes firewall configuration nontrivial if not impossible.

> -- /etc/default/nfs-kernel-server --
> RPCNFSDCOUNT=8
> RPCNFSDPRIORITY=0
> RPCMOUNTDOPTS="--port 32767 --manage-gids"
> NEED_SVCGSSD=
> RPCSVCGSSDOPTS=
>
> cheers, Marc

--
Vadim Solomin



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201104111443.24019.vadic052@gmail.com">http://lists.debian.org/201104111443.24019.vadic052@gmail.com
 
Old 04-11-2011, 10:55 AM
Marc Kleine-Budde
 
Default Bug#619877: rpc.mountd: svc_tli_create: could not bind to requested address

On 04/11/2011 12:43 PM, Vadim Solomin wrote:
> I think the changes in 1:1.2.3-2 are only part of the fix.

Yes - same here. I reported that already.

> On Thursday 07 April 2011 11:51:42 Marc Kleine-Budde wrote:
>> Hello Lukas,
>>
>> it's this bug you're seeing:
>>
>> https://bugzilla.linux-nfs.org/show_bug.cgi?id=190
>
> Perhaps you should consider applying the patch from bugzilla as a debian patch
> until it's included upstream. Without it, if --port option is used, only v1
> mountd service is registered, which doesn't support long files.

ACK - I think the maintainer got it

>> I think you have to remove the "--port" from the option
>> /etc/default/nfs-kernel-server as a workaround.
>
> Removing --port makes firewall configuration nontrivial if not impossible.

sad but true :/

cheers, Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
 
Old 04-11-2011, 12:28 PM
Vadim Solomin
 
Default Bug#619877: rpc.mountd: svc_tli_create: could not bind to requested address

On Monday 11 April 2011 14:55:42 you wrote:
> Yes - same here. I reported that already.

Yeah, I've missed it -- I wasn't subscribed to the bug, and your mail hadn't
appeared on b.d.o page until after I've sent mine.

Sorry for duplication.

> cheers, Marc

--
Vadim Solomin



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201104111628.36067.vadic052@gmail.com">http://lists.debian.org/201104111628.36067.vadic052@gmail.com
 
Old 04-11-2011, 07:43 PM
Han Shi Ming
 
Default Bug#619877: rpc.mountd: svc_tli_create: could not bind to requested address

Hello,

I am referring to the latest version of package nfs-kernel-server
(nfs-kernel-server_1%3a1.2.3-2_amd64.deb).

This version of the package will install rpcbind (and remove portmap):

The rpc.mountd start up problem is only partially resolved. If you start
the mountd with --port option (via /etc/default/nfs-kernel-server), you
still get this error message:

"rpc.mountd: svc_tli_create: could not bind to requested address"

However, the following workaround can be applied (in
/etc/default/nfs-kernel-server):

RPCMOUNTDOPTS="--manage-gids --no-nfs-version 2 --port 32771"

In my case, the mountd works fine with this.

Rgds

Han Shi Ming





--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DA359EC.7030000@hkicpdr.org">http://lists.debian.org/4DA359EC.7030000@hkicpdr.org
 

Thread Tools




All times are GMT. The time now is 12:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org