Server name + IP address removed from host table after rebooting


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Server name + IP address removed from host table after rebooting
# 1  
Old 07-15-2002
Server name + IP address removed from host table after rebooting

Hi,

I have a problem with a Unix server (SCO Unix version 3.2). If this server is rebooted the own server name and it's IP address is removed from the host table.

How is this possible? How can i solve this problem?
# 2  
Old 07-15-2002
Seems impossible and very strange.

Look at Change IP on SCO - it may help.

Make SURE you are saving the host file when done editing. Check that your entry is in there after finishing.

Do a ls -l on /etc/hosts - insure it's not a link to another file.
Do a checksum (command may be sum, checksum, or something else?) on the file after you edit it and are SURE the hostname and IP are in there. Save the info checksum gives you and compare it to the file after reboot.

You can put the hostname with a different IP AND the real IP with a fake hostname to see what it maybe looking at when it gets removed - this may help when trying to find what is deleting it.

Check your startup scripts - anything new? Did you recently change the IP or hostname (check the link for all the changes needed)?


Post back with anything further.
# 3  
Old 07-25-2002
I still have not solved the problemSmilie Smilie

FIRE
# 4  
Old 07-25-2002
Did you try the suggestion? Did you use sum, checksum, or equivalent command on /etc/hosts before and after the reboot?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

Man Pages - Removed Table Tags and Fixed Scrollbar Issue

OK. I fixed the horizonal scroll bar issues in the man pages pre format output for the man pages by removing all table tags and converting to divs: https://www.unix.com/members/1-albums220-picture876.png I still have some work to do on reformatting the deep search redirects and the... (0 Replies)
Discussion started by: Neo
0 Replies

2. Red Hat

Server rebooting unexpectedly

hi, I have been working on Solaris am very new to linux. My concern is as it goes....our server is getting rebooted automatically and I am not able to understand anything from the var log messages. Could anybody help me out in troubleshooting the issue. 2.6.18-128.el5 #1 x86_64 GNU/Linux is... (1 Reply)
Discussion started by: EmbedUX
1 Replies

3. Solaris

Server Rebooting frequently

Deall All, I have facing some problem. I have a Sun 4500 Server at the customer place. Now the server is not booting mean's once the server is coming up it is automatically rebooting. As this is the critical server for the customer that is use for production . Can this be solved by... (10 Replies)
Discussion started by: sudhansu
10 Replies

4. Programming

get host name by IP address

I'm trying to write a function to get the host name of any given IP address. I'm trying to follow this manual but I'm stuck. I'm using gcc and Linux. Any ideas? getnameinfo() #include <stdio.h> #include <netdb.h> #include <sys/socket.h> #include <arpa/inet.h> char... (6 Replies)
Discussion started by: limmer
6 Replies

5. Solaris

problem in rebooting solaris server

Hi, While we rebooting solaris server ,the system going to Maintenance mode instead of login console. even we are not able to run fsck command . Thanks in advanced for help. log attached FYI Executing last command: boot Boot device: /pci@83,4000/FJSV,ulsa@2,1/disk@0,0 File and args:... (3 Replies)
Discussion started by: helplineinc
3 Replies

6. Shell Programming and Scripting

Not able to 'su' to other user when rebooting the server

Hi All, I have created one script with starting letter 'S' (Example: Start) and stored in the path "/etc/rc.d/". This script was called automatically when we reboot the server. In this script i am using 'su' command to switch other user but it is not working, it giving some error. su... (2 Replies)
Discussion started by: Selva_Kumar
2 Replies

7. Programming

host name to IP address

There's a piece in a C program I'm writing (Linux) that simply needs to take a host name and return an IP address (e.g., take 'mail.gnu.org' and return 199.232.76.166). I've gotten a successful status from getaddrinfo, but don't see any of the fields in the result structure that has what I'm... (7 Replies)
Discussion started by: cleopard
7 Replies

8. UNIX for Dummies Questions & Answers

Server rebooting frequently

O/P of the uname -a Server Server 4.0 3.0 3516 Pentium IV(TM)-ISA/PCI Server is getting rebooted frequetly... I don't know what is the problem in server ... Any help why the server is getting rebooted frequetly. Can i check what is the problem like in log files (5 Replies)
Discussion started by: srikanthus2002
5 Replies

9. Post Here to Contact Site Administrators and Moderators

i have removed my email address

I have removed my email address from the posted email. what else do I need to do? Thanks K-one (1 Reply)
Discussion started by: K-ONE
1 Replies

10. UNIX for Advanced & Expert Users

Solaris 9 server hangs, when rebooting

Hi, We have a SunFire V880, hooked up with 2 T3 arrays. When ever we issue a reboot command on the system, it hangs at the same place right where it says syncing file systems done. To bring it back we shutdown power and it comes clean. By the way init 6 command works fine. Has anyone come... (3 Replies)
Discussion started by: smohd
3 Replies
Login or Register to Ask a Question