Results 1 to 3 of 3
Hi friends,
I am having a Linix server installed with ububtu in my office. And it is connected to thy company network. The name of the server is "encoresourceforge".
I ...
- 01-24-2007 #1Just Joined!
- Join Date
- Dec 2006
- Posts
- 26
Able to acces by IP but not by name.
Hi friends,
I am having a Linix server installed with ububtu in my office. And it is connected to thy company network. The name of the server is "encoresourceforge".
I am not able to connect to the server using its name but i am able to connect it through its Ip address, like
I am sure that an DNS entry is made for this IP.root@adge-desktop:~# ssh root@encoresourceforge
ssh: encoresourceforge: Name or service not known
root@adge-desktop:~# ssh root@172.21.15.49
root@172.21.15.49's password:
Last login: Wed Jan 24 11:07:11 2007 from 10.66.141.12
Linux encoresourceforge 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
root@encoresourceforge:~#
But it also dispays some other system name when i do a networking restart,
Pls tell me how to solve this.root@encoresourceforge:/etc# sh /etc/init.d/networking restart
* Reconfiguring network interfaces...
root@encoresourceforge:/etc# sh /etc/init.d/networking stop
* Deconfiguring network interfaces... [ ok ]
root@encoresourceforge:/etc# sh /etc/init.d/networking start
* Configuring network interfaces... There is already a pid file /var/run/dhclient.eth0.pid with pid 5910
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:13:72:73:9a:1b
Sending on LPF/eth0/00:13:72:73:9a:1b
Sending on Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 172.21.15.2
addr=172.21.15.49, name=blrkecl13847.ad.infosys.com
Updating databases ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Updating Makefile ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/Makefile...
Updating sendmail.cf ...
Creating /etc/mail/relay-domains
# Optional file...
The following file(s) have changed:
/etc/mail/sendmail.cf
** ** You should issue `/etc/init.d/sendmail reload` ** **
bound to 172.21.15.49 -- renewal in 6915 seconds.
Updating sendmail.cf ...
Creating /etc/mail/relay-domains
# Optional file...
The following file(s) have changed:
/etc/mail/sendmail.cf
** ** You should issue `/etc/init.d/sendmail reload` ** **
Mail Transport Agent: sendmail is not running
- 01-24-2007 #2Just Joined!
- Join Date
- Dec 2006
- Posts
- 26
name = blrkecl13847.ad.infosys.com
Pls look in the second quote for the line
addr=172.21.15.49, name=blrkecl13847.ad.infosys.com
The name "blrkecl13847.ad.infosys.com" is not hte name of the server.
- 01-25-2007 #3
Add the hostname and its IP in the /etc/hosts file and try it out.
Note: When you try to connect/reach a system with its name, it tries to resolve the name.


Reply With Quote
