nslookup + dig commands
Hello all,
I am trying to install Oracle 9i on my Linux Red Hat Enterprise 3 Server (WS Edition). That is right, WS edition (not ES or AS). I don't know if any one of you has done this before ???? Anyway, I am running into host IP configuration issues. To get a better understanding of the problem I need to run the nslookup command. Problem is, that when I do this is what I get: 1) nslookup (Note nslookup is deprecated and may be removed from future releases consider using the 'dig' or 'host' programs instead. Run nslookup with the '-sil ent' option to prevent this message from appearing.) I tried using the 'dig command, but I don't understand the output or how to use it. The dig gives me a parts a QUESTION, ANSWER and ADDITIONAL SECTIONS. How can I use these commands to resolve my problem ? Any ideas ? PT |
Use host ;)
Cheers, Tink |
host command
Hello again,
Typing some commands, this is what I get: 1) hostname Linux2005 2) cat /etc/hosts cat /etc/hosts # Do not remove the following line, or various programs # that require network funcitonality will fail. 127.0.0.1 localhost.localdomain localhost 3) nslookup Linux2005 ... Server: 192.9.200.80 Address: 192.9.200.80#53 ** server can't find Linux2005: NXDOMAIN 4) host -l Linux2005 ;; Connection to 192.9.200.80#53(192.9.200.80) for Linux2005 failed: connection refused. host -v Linux2005 Trying "Linux2005" Host Linux2005 not found: 3(NXDOMAIN) Received 102 bytes from 192.9.200.80#53 in 187 ms ---------- PT PS: I am getting error messages such as 'Thrown when the IP address of a host cannot be determined' Pop-Up error messages. How can I go about to resolve this issue ? |
probably your hostname is defined in /etc/sysconfig/network, like this:
HOSTNAME=linux2005 some programs search your hostname to connect. if your hostname is not defined, probably like this programs or daemons cannot work. your hostname is not defined in /etc/hosts file. i advice u to change your /etc/hosts file this: 127.0.0.1 linux2005 localhost.localdomain localhost let me know if it fixed. |
/etc/hosts file
Hello,
Should I consider adding an entry to the file as follows: 192.9.200.80 Linux2005 following the first line ?? PT |
u can do. but the software u installed will try to connect to 192.9.200.80 instead of loopback. i dont think it is good idea. loopback is better idea.
if u r sure about 192.2.200.80, u can do it like that :-) 127.0.0.1 localhost.localdomain localhost 192.9.200.80 Linux2005 good luck. |
Error resolving hostname: localhost
Hello,
During the installation of one of the Oracle 9i components, I get an error message as follows: The Agent Configuration Assistant gave: No value for the NODEINFO + Starting HTTP Server gave a message: (Error resolving hostname: localhost). Are these error messages also concerned with the /etc/host file ? Is there something else I should be looking at ? PT |
im not familiar to oracle. i just know about networking a little :D
do u have localhost entry in hosts file? maybe it tres to resolve localhost through nameserver. u can try to run named (bind). named has localhost entries by the default. and change /etc/resolv.conf to use your local nameserver. [root@teknik root]# cat /etc/resolv.conf search localhost nameserver 127.0.0.1 |
pleaze chow me Edit file resolv.conf or any file in Redhat 9?
|
All times are GMT -5. The time now is 01:04 AM. |