- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: running suse linux without nscd
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2007 03:10 PM
тАО10-11-2007 03:10 PM
I've got SLES 10 running on DL 580 ProLiant G4 series.
Customer wants me to run the system without nscd(Name Service Caching Daemon). If I stop nscd (also tried to restart the machine), resolving host names stops working. How do I configure resolver libs to work without nscd
on SuSE, as I never had that kinda problem on other linux distributions (debian, redhat, ...).
Thanks,
Borut
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2007 04:12 PM
тАО10-11-2007 04:12 PM
Re: running suse linux without nscd
After verifying nsswitch.conf's contents, verify the resolv.conf contents, then stop the daemon (you shouldn't *have* to reboot).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2007 05:43 PM
тАО10-11-2007 05:43 PM
Re: running suse linux without nscd
Thanks, Stuart.
I know it's awkward, but I never tried to run
suse distro without nscd and it's the same
situation on all suse boxes (SLES, OpenSUSE).
Both files are exactly like on my other machines:
resolv.conf
-----------------------------------------
domain add.local
search add.local
nameserver 172.28.16.50
-----------------------------------------
nsswitch.conf
-----------------------------------------
passwd: compat
group: compat
hosts: files dns
networks: files dns
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files nis
-----------------------------------------
xen1:~ # /etc/init.d/nscd start
Starting Name Service Cache Daemon done
xen1:~ # ping sancho
PING sancho.add.local (172.28.16.20) 56(84) bytes of data.
64 bytes from sancho.add.local (172.28.16.20): icmp_seq=1 ttl=64 time=0.206 ms
64 bytes from sancho.add.local (172.28.16.20): icmp_seq=2 ttl=64 time=0.199 ms
--- sancho.add.local ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.199/0.202/0.206/0.014 ms
xen1:~ # ping sancho.add.local
PING sancho.add.local (172.28.16.20) 56(84) bytes of data.
64 bytes from sancho.add.local (172.28.16.20): icmp_seq=1 ttl=64 time=0.201 ms
64 bytes from sancho.add.local (172.28.16.20): icmp_seq=2 ttl=64 time=0.196 ms
--- sancho.add.local ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.196/0.198/0.201/0.014 ms
xen1:~ # /etc/init.d/nscd stop
Shutting down Name Service Cache Daemon done
xen1:~ # ping sancho
xen1:~ # ping sancho.add.local
Any hints please,
Borut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2007 10:16 PM
тАО10-11-2007 10:16 PM
Re: running suse linux without nscd
Things to check further..
Firewall: Ensure that UDP 53 can go out and come in to this host from 172.28.16.50. Check the firewall on both 172.28.16.50 and 172.28.16.20.
Hosts file: Does it have an entry for this host, or are you relying upon DNS?
DNS: Do a 'dig' or 'nslookup' for that host, see what results you get.
Random question: Are you using NIS? Your password/group settings in nsswitch.conf suggest you are.
Failing all of this, verify the validity of the libnss* lib's:
ls -l /lib/libnss*
And then run an 'rpm -V glibc' to verify that the lib's themselves haven't been modified.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2007 07:47 AM
тАО10-14-2007 07:47 AM
SolutionI don't know anything about nscd, but I once had a .local domain and when we started using SuSE 9.1 we had problems with name resolution.
I found something in the release notes about SuSE using mDNS (multicast DNS) for name resolution for .local domain names.
The fix at the time was to modify the resolver library like this:
perl -pi -e 's/local/lozal/g' /lib/libresolv.so.2
This replaces all instances of "local" with "lozal".
A quick search turns up this page:
http://www.novell.com/documentation/sled10/readme/release_notes_sp1.html
4.8 Joining a Local Active Directory Domain During Installation
If you want to join a ├в .local├в Active Directory domain during the SLED 10 SP1 installation, disable the mdns handling by adding mdns off to the /etc/host.conf file.
I don't know if it has been changed in recent versions because we have changed our internal domain name. The easiest way to find out if this is your problem is to run a tcpdump while doing a dns lookup. If it uses port 53 then it is normal DNS. If it is using port 5353 then it is using mDNS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2007 05:03 PM
тАО10-14-2007 05:03 PM
Re: running suse linux without nscd
What if you try to resolve the hostname using the dig command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2007 03:34 PM
тАО10-25-2007 03:34 PM
Re: running suse linux without nscd
Sorry guys, been missing for a while...
David, thank you very much. As stupid as
it seems resolver library hates 'local' domain.
Borut