Debian – NFS Common Utilities fails to start

debiannfsportmapvirtual-machines

I created a virtual machine and installed Debian 6 on it, and then copied the hard drive to be used by another virtual machine. For the newly copied virtual machine, I changed the IP address, hostname and MAC address. Now, whenever I start up the machine, it comes up with these failure messages:
"Starting NFS Common Utilities: statd failed!"
"startpar: service(s) returned failure: nfs-common … failed!"
"ALERT: exim paniclog /var/log/exim4/paniclog has -non-zero size, mail system possibly broken … failed!"

I know this is a rather common issue but I haven't yet found any answers to the problem. I've already tried uninstalling nfs-common and portmap, then re-installing nfs-common and rpcbind (I read that I should install that instead of portmap). This did not wield success. Could someone please tell me what steps I can take to find out what the problem is?

Best Answer

  1. man statd
  2. /FILES
  3. Start reading.

First guess: you still have the old hostname floating around in a couple of configuration files. I'd check for that first:

  1. find /etc /var -type f | xargs fgrep (whatever your old hostname was)