Sponsored Content
Operating Systems Linux Red Hat Different hostnames with reboot while lan cable, no lan cable Post 302446545 by LinuxLearner on Thursday 19th of August 2010 04:37:05 AM
Old 08-19-2010
Different hostnames with reboot while lan cable, no lan cable

I am facing strange problem regarding hostname on my Linux(2.6.18-164.el5xen x86_64 GNU/Linux), the hostname changes if reboot with lan cable and with NO lan cable


Reboot with lan cable:
  1. The hostname is ubunut
  2. Unable to connect Oracle database using sqlplus some times database is not started due to ORA-00600 error : internal error code, arguments: [keltnfy-ldmInit],[46],[1],[],[],[]
  3. If I change the hostname to localhost then able to start the database.
  4. Able to browse internet.
Reboot with no lan cable:
  1. hostname is localhost.localdomain,
  2. Oracle database started.
  3. Connected lan cable later but unable to browse internet( changed hostname as ubuntu , even though unable to connect to internet)
In both above two cases
/etc/hosts file has the blow entry:
127.0.0.1 localhost.localdomain localhost
/etc/syscinfig/network file has the below entry:
HOSTNAME=localhost.localdomain

To conclude , there are two issues, if the hostname is ubuntu unable to start database , if lan cable is connected after the reboot then unable to browse internet.


My system has two partintions, one is for windows, other one is for linux.
The windows partion also has ubuntu virtual machine.
Is this ubuntu vm is causing any issue while rebooting to linux portion while lan cable is connected?

Please suggestme to solve these issues,

Thanks
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

cable modem to sparc

hi , i have sparc machine , i want to connect my le0 (ethernet interface) directly to cable modem , i have created a file resolv.conf,hosts, dhcp.le0,defaultrouter,nisswitch,hostname.le0. i dont know my cable companies <domain name> and <name server assigned to me> , also they even dont know how... (5 Replies)
Discussion started by: raju
5 Replies

2. BSD

cable modem problem

hi I want to setup my cable modem under OpenBSD. I did not configure my network while installing the system. When I type, I get # ifconfig -a lo0 : .... ... ... rl0 : .... ... ... vr0 : ... ... ... I have two network cards (the machine will be a router). I created... (1 Reply)
Discussion started by: fnoyan
1 Replies

3. Solaris

Is the cable you are using a null modem cable or a modem cable

Hi all, Is there any difference between a null modem cable or a modem cable ? i assume that a null modem cable is a normal cable that i used from cpu serial ports to a modem for dialup. please correct if i am wrong, thks (2 Replies)
Discussion started by: waterbear
2 Replies

4. Solaris

How to configure private LAN and coporate LAN on the same machine-Solaris10

Hi , I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10. How can I achieve this? Thanks (1 Reply)
Discussion started by: deedee
1 Replies

5. AIX

need AIX console cable

Hello ... I am newbie and will be very grateful for any help. I need a serial console cable for my AIX boxes (seems we have lost the one we had!). However I am confused about the one one to order - UK based if possible. I wonder if anyone can point me at a specific one or the exact spec i need to... (0 Replies)
Discussion started by: tim441
0 Replies

6. Solaris

Cable link down

We are unable to ping from Sun Ultra 60 to Ultra 10 machine and vice versa. We are getting an error message Cable Link Down ?. It was working fine. Troubleshooting steps taken. 1) Changed the IPaddresses on both machines 192.168.10.10 and 192.168.10.20. These machines connected through 8 port... (2 Replies)
Discussion started by: vijaykrishna
2 Replies

7. IP Networking

Local Lan, no-ip directed DNS forward, surf within lan

Hi, We have a website running on a local centos 5.4 surfer, static IP. The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server. My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine. However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies

8. UNIX for Dummies Questions & Answers

question on RJ-45 cable

Hi, Quick question on RJ-45 cable. I ran ethernet cable, this cable is about 200 feet long. I only need 100 feet cable, does the extra length going to hurt in terms of speed or signal? Please advise. Thanks. (3 Replies)
Discussion started by: samnyc
3 Replies

9. Hardware

Cable for SUN x4200 DC

Hello, I have a spare SUN server X4200 with a DC PSU (oracle part number 300-2186) The PSU is the one in the photo I was looking in the net about what cable i can order but i couldn't find anything that fit there :) Any idea? Thanks! (2 Replies)
Discussion started by: @dagio
2 Replies
lan(7)							 Miscellaneous Information Manual						    lan(7)

NAME
lan - network I/O card access information DESCRIPTION
This manual entry gives a brief description on how to access the LAN device driver at Layer 2 (Data Link Layer) of the OSI architecture. The LAN device driver controls the various LAN interface cards (e.g, Ethernet/IEEE 802.3, FDDI, Token Ring) at Layer 1 (Physical Layer). The Data Link Provider Interface (DLPI) is the supported method for accessing the LAN device driver at Layer 2. DLPI is intended for use by knowledgeable network users only. Refer to the for complete programming details. There are HP and non-HP drivers and interface cards which will provide their own DLPI module. These types of DLPI are referred to as "native" DLPI. Overview The Physical Point of Attachment (PPA) is a numerical value that uniquely identifies a particular device. The PPA value can be obtained from the and commands. The "ClassInstance" identifier in the output is the concatenation of the driver class (lan) and the PPA number. The "NamePPA" identifier in the output is a concatenation of the interface name and the PPA number. The value for a lan device is equiva- lent to the PPA number for that device. A single hardware device may have multiple "NamePPA" identifiers, which indicates multiple encapsulation methods supported for to the device. For Ethernet/IEEE 802.3 links, the "Name" is used to designate Ethernet encapsulation, and for IEEE 802.3 encapsulation. For other links (FDDI, Token Ring), only the encapsulation designation is used. Methods of transfer over the DLPI interface through the lan devices include "raw", "connectionless", and "connection-oriented" data trans- fers. WARNINGS
The and commands are deprecated. These commands will be removed in a future HP-UX release. HP recommends the use of replacement command nwmgr(1M) to perform all network interface-related tasks. AUTHOR
was developed by HP. SEE ALSO
lanscan(1M), lanadmin(1M), linkloop(1M), nwmgr(1M). 1995, Hewlett-Packard Version 2.0, November 1982, Digital Equipment Corporation, Intel Corporation, Xerox Corporation 1996, Institute of Electrical and Electronic Engineers 1996, Institute of Electrical and Electronic Engineers 1995, ANSI 1995, Institute of Electrical and Electronic Engineers 1995, Institute of Electrical and Electronic Engineers lan(7)
All times are GMT -4. The time now is 01:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy