On Fri, Mar 11, 2011 at 11:01 AM, Tom H <tomh0...@gmail.com> wrote:

> On Thu, Mar 10, 2011 at 7:34 PM, Liam Cassidey <liam.cassi...@gmail.com>
> wrote:
> >
> > server:~# dpkg -l portmap nfs-common nfs-kernel-server
> > Desired=Unknown/Install/Remove/Purge/Hold
> > |
> >
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> > ||/ Name                          Version
> Description
> >
> +++-=======================================================================
> > ii  nfs-common                    1:1.2.2-4                     NFS
> support files common to client and server
> > iF  nfs-kernel-server             1:1.2.2-4                     support
> for NFS kernel server
> > ii  portmap                       6.0.0-2                       RPC port
> mapper
> > server:~#
>
> This reminds me (and the tile of the thread should've done so too!)
> that nfs-kernel-server's not fully installed.
>
> If "apt-get -f install" doesn't install and configure it fully,
> "apt-get install --reinstall nfs-kernel-server" should.
>
>
This brings me back to my original problem:

server:~# apt-get -f install nfs-kernel-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
nfs-kernel-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up nfs-kernel-server (1:1.2.2-4) ...
Starting NFS common utilities: statd.
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsdrpc.nfsd: Setting version failed: errno 16
(Device or resource busy)
rpc.nfsd: writing fd to kernel failed: errno 13 (Permission denied)
rpc.nfsd: unable to set any sockets for nfsd
 failed!
invoke-rc.d: initscript nfs-kernel-server, action "start" failed.
dpkg: error processing nfs-kernel-server (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while
processing:
 nfs-kernel-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
server:~# apt-get install --reinstall nfs-kernel-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nfs-kernel-server (1:1.2.2-4) ...
Starting NFS common utilities: statd.
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsdrpc.nfsd: Setting version failed: errno 16
(Device or resource busy)
rpc.nfsd: writing fd to kernel failed: errno 13 (Permission denied)
rpc.nfsd: unable to set any sockets for nfsd
 failed!
invoke-rc.d: initscript nfs-kernel-server, action "start" failed.
dpkg: error processing nfs-kernel-server (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while
processing:
 nfs-kernel-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
server:~#

Reply via email to