Tag Archives: dns

NFS: does not map into domain ‘localdomain’

I stumbled on a strange problem regarding NFS, which I hadn’t used for a while on my server. I had some old exports which worked last time I used them, but not any more. I was doing an rsync and suddenly saw messages about chgrp or chmod failing. These messages are expected when uid/gid is not matching between server and client, so what’s up?

Running dmesg showed me messages like these:

NFS: v4 server warhammer does not accept raw uid/gids. Reenabling the idmapper.

Looking in /var/log/syslog I saw messages like these:

rpc.idmapd nss_getpwnam: name ... does not map into domain 'localdomain'

I finally found a working solution here.

Posted in Linux | Tagged , , , , , , | Leave a comment

Postfix problems

Today I noticed I hadn’t received any mail from one of my servers for several weeks. Upon investigation I found that postfix seemed to have some trouble finding the target machine, due to what appeared to be some kind of name lookup problem. I think the problem might have been introduced through a system upgrade some weeks ago…

What’s strange is that this server could lookup the target machine just fine through DNS, in both forward and reverse.

This is what I got in the log /var/log/mail.info:

Jul 15 08:37:44 warhammer postfix/smtp[14984]: 6B6AF483D9: to=<eek@narcissus>, orig_to=<root@warhammer.monkey7.se>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=narcissus type=A: Host not found)

I googled this error message and found a suggestion to add a line in /etc/postfix/main.cf:

Posted in Linux | Tagged , , , , , , , , , | Leave a comment

Udev gives network headache

I recently switched mainboard in one of my computers, and suddenly eth0 becomes eth1. This makes my /etc/network/interfaces point to the wrong interface, thus not giving me the correct IP address, which in return makes DNS fail, which in return makes NFS fail… Let’s just say that a plethora of problem arise!

Showmount gives me this error message when I try to list exports on the NFS server:

clnt_create: RPC: Port mapper failure - RPC: Unable to receive


Posted in Linux | Tagged , , , , , , , , , , , , | Leave a comment