11-13-2008
Solaris 10 name resolution question
As you can see by the following text, we have a multi-homed host defined in our network:
bash-2.05# nslookup ldaptest
Server: usat0x40.atd.gmeds.com
Address: 10.1.14.14
Name: ldaptest.atd.gmeds.com
Addresses: 10.1.16.142, 10.1.16.141
I turned off nscd (didn't think I needed to) ... then tried to ping ldaptest when the server at 10.1.16.142 was offline. I thought Solaris 10 would handle this (even our old VMS system can handle this) by doing a round robin sort of thing to alternate the working ip address with the failing one. Actually, baseed on some reading I thought Solaris 10 would perform some functionality test on its own and choose the working ip address every time. Instead it seems to choose the failed ip address every time. Can anyone explain why this doesn't work as expected?
bash-2.05# /etc/init.d/nscd stop
bash-2.05# ping ldaptest
^C
bash-2.05# ping ldaptest
^C
bash-2.05# ping ldaptest
^C
Thanks!
Martin Meadows
Indianapolis, Indiana
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I define a default gateway on a Solaris 2.6 Server. (2 Replies)
Discussion started by: jskillet
2 Replies
2. UNIX Desktop Questions & Answers
When i start my pc after the installation of suse linux it ask me for resolution but not for graphical interface, for console, can i run a command to change it again?
Thanx! (3 Replies)
Discussion started by: Linux_fan
3 Replies
3. UNIX for Advanced & Expert Users
I have a problem with solaris 10 desktop resolution.
My resolution is 1680x1050.
I want to boot in troubleshooting mode to change this resolution for the root user. Or all users. What is the configuration script.
ex: .dtconfig/Xconfig (3 Replies)
Discussion started by: simquest
3 Replies
4. Solaris
Hi all,
Someone please help, I have a machine running Sun Solaris 5.8.
X used to run fine, not it can't start. (possible user intervention)
It looks to be trying to run at 1280x1024. I don't think the hardware will support it, it seems high.
Anyways, how from the commandline, via ssh, can I... (4 Replies)
Discussion started by: komputersman
4 Replies
5. IP Networking
Hello.
I have been working on an issue I hope someone can help me out with.
I have a small network with an NT4 Server, 15 Win2K PC, and four Unix workstations. I am having problems resolving the name of one of the workstations from the server and PC's. I am attacking this issue from both... (4 Replies)
Discussion started by: medmonson
4 Replies
6. Solaris
how to change screen resolution in CDE prompt (2 Replies)
Discussion started by: tirupathi
2 Replies
7. Solaris
Hi,
I have a Sun Ultra 10 (SPARC) with Solaris 10 installed. The screen resolution is very poor and grainy which I have been unable to rectify. Every time I try to set the resolution I get the following:
'The XServer does not support the XRandR extension. Runtime resolution changes to the... (5 Replies)
Discussion started by: patcom
5 Replies
8. Solaris
hi..
I have a question because there are files on Solaris and will not let me change the root user is the owner.
excuse is that I come from a Linux environment and I like to learn Solaris
thank (5 Replies)
Discussion started by: cejodrake
5 Replies
9. Solaris
Hello all.
I am new hear and would like to ask a question regarding to the Solaris Crash Analysis Tool.
We are analyzing the results of "thread summary" but not quite sure what the asterisk represents.
Following are the items that asterisk were attached.
50* threads sleeping on a semaphore (49... (1 Reply)
Discussion started by: YuW
1 Replies
10. Solaris
Hi, everyone!
I would like to try OpenStep for Solaris on my Sun Ultra 10 machine, so I installed all required packages, the problem is that OpenStep requires screen DPI to be set to 72x72 while my current dpi is 90x90. So how do I change the dpi?
Thank you! (0 Replies)
Discussion started by: nongrato
0 Replies
LEARN ABOUT XFREE86
libbash
LIBBASH(7) libbash Manual LIBBASH(7)
NAME
libbash -- A bash shared libraries package.
DESCRIPTION
libbash is a package that enables bash dynamic-like shared libraries. Actually its a tool for managing bash scripts whose functions you may
want to load and use in scripts of your own.
It contains a 'dynamic loader' for the shared libraries ( ldbash(1)), a configuration tool (ldbashconfig(8)), and some libraries.
Using ldbash(1) you are able to load loadable bash libraries, such as getopts(1) and hashstash(1). A bash shared library that can be loaded
using
ldbash(1) must answer 4 requirments:
1. It must be installed in $LIBBASH_PREFIX/lib/bash (default is /usr/lib/bash).
2. It must contain a line that begins with '#EXPORT='. That line will contain (after the '=') a list of functions that the library
exports. I.e. all the function that will be usable after loading that library will be listed in that line.
3. It must contain a line that begins with '#REQUIRE='. That line will contain (after the '=') a list of bash libraries that are
required for our library. I.e. every bash library that is in use in our bash library must be listed there.
4. The library must be listed (For more information, see ldbashconfig(8)).
Basic guidelines for writing library of your own:
1. Be aware, that your library will be actually sourced. So, basically, it should contain (i.e define) only functions.
2. Try to declare all variables intended for internal use as local.
3. Global variables and functions that are intended for internal use (i.e are not defined in '#EXPORT=') should begin with:
__<library_name>_
For example, internal function myfoosort of hashstash library should be named as
__hashstash_myfoosort
This helps to avoid conflicts in global name space when using libraries that come from different vendors.
4. See html manual for full version of this guide.
AUTHORS
Hai Zaar <haizaar@haizaar.com>
Gil Ran <ril@ran4.net>
SEE ALSO
ldbash(1), ldbashconfig(8), getopts(1), hashstash(1) colors(1) messages(1) urlcoding(1) locks(1)
Linux Epoch Linux