- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swinstal versus hostname
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 08:25 PM
05-25-2004 08:25 PM
swinstal versus hostname
my machine is not in DNS and meanwhile can't be..
if I have nameservers in /etc/hostname I can't carry out swinstall because of following error:
Could not contact host "dakar". Make sure the hostname is correct and absolut pathname is specified (begining with "/")
does exists some solution how to have nameservers, correct swinstall and not to be in DNS?
thanks Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 08:29 PM
05-25-2004 08:29 PM
Re: swinstal versus hostname
did you place your server in the /etc/hosts?
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
then try swinstall -s
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 08:29 PM
05-25-2004 08:29 PM
Re: swinstal versus hostname
145.x.x.48 server_name loghost
127.0.0.1 localhost loopback
Be shore to set the correct name in the /etc/hosts file with the loopback to 127.0.0.1.
# swinagentd -k
# swinagentd -r
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 11:21 PM
05-25-2004 11:21 PM
Re: swinstal versus hostname
hostname is dakar, ip 10.32.113.231
/etc/hosts:
127.0.0.1 localhost loopback
10.32.113.231 dakar dakar
10.32.113.121 sundance sun
output form # netstat -r :
Dest/Netmask Gateway
localhost localhost UH
10.32.113.231 10.32.113.231 UH
10.32.113.0 10.32.113.231 U
127.0.0.0 localhost U
default 10.32.113.1 UG
how to solve it ? :-(
thanks Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 11:34 PM
05-25-2004 11:34 PM
Re: swinstal versus hostname
Could you check if you get the same output from
# nslookup dakar
# nslookup 10.32.113.231
should be something like
Using /etc/hosts on: dakar
looking up FILES
Name: dakar
Address: 10.32.113.231
Aliases: dakar.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 11:50 PM
05-25-2004 11:50 PM
Re: swinstal versus hostname
# cd /
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
# swinstall -s
e.g. # swinstall -s /tmp/ABCD.depot
do you still get the same error?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:18 AM
05-26-2004 12:18 AM
Re: swinstal versus hostname
nslookup did not find anything :
root@dakar:/root# nslookup dakar
*** Warning - the local domain is not set.
*** Either hostname should be a domain name,
*** the domain should be specified in /etc/resolv.conf,
*** or the shell variable LOCALDOMAIN should be set.
Name Server: ntns01.ad.eurotel.cz
Address: 10.32.154.60
Trying DNS
*** ntns01.ad.eurotel.cz can't find dakar: Server failed
root@dakar:/root# nslookup 10.32.113.231
*** Warning - the local domain is not set.
*** Either hostname should be a domain name,
*** the domain should be specified in /etc/resolv.conf,
*** or the shell variable LOCALDOMAIN should be set.
Name Server: ntns01.ad.eurotel.cz
Address: 10.32.154.60
Trying DNS
*** ntns01.ad.eurotel.cz can't find 10.32.113.231: Non-existent domain
but after that I realized that problem can be in Network Service Switch - I allowed next step if DNS item is not found and now it is OK ;-)
but nslookup still doesn't find items in /etc/hosts:
Trying DNS
looking up FILES # ???
Trying NIS
*** No address information is available for "dakar"
Has anybody some idea ?
thanks Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:19 AM
05-26-2004 12:19 AM
Re: swinstal versus hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:19 AM
05-26-2004 12:19 AM
Re: swinstal versus hostname
In this case if p[ossible try after rebooting the server.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:22 AM
05-26-2004 12:22 AM
Re: swinstal versus hostname
Make sure you have a good backup (just to be on 100 % safer side) before reboot.
My most of the swinstall problems which were not having any meaning got solved after server reboot.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:27 AM
05-26-2004 12:27 AM
Re: swinstal versus hostname
Before you reboot.
Check the /etc/nsswitch.conf
hosts should be set to files.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:39 AM
05-26-2004 12:39 AM
Re: swinstal versus hostname
there should be a few default nsswitch.conf files in the /etc dir.
nsswitch.compat
nsswitch.files
nsswitch.nisplus
nsswitch.conf
nsswitch.hp_defaults
nsswitch.eic
nsswitch.nis
You do not use Nis or DNS so you should copy the nsswitch.files over nsswitch.conf.
Make a backup of the original nsswitch.conf :-)
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:44 AM
05-26-2004 12:44 AM
Re: swinstal versus hostname
careful with how u use the default nsswitch.* files.
# vi /etc/nsswitch.conf
add only this line first
hosts: files dns [NOTFOUND=return] nis [NOTFOUND=return]
and try nslookup command again.
if okay, restart swagentd and test swinstall.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 12:50 AM
05-26-2004 12:50 AM
Re: swinstal versus hostname
change in nssswitch.conf yes but now it is a little confusing because original settings is
dns - continue in all cases but nothing is found in /etc/hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 01:26 AM
05-26-2004 01:26 AM
Re: swinstal versus hostname
above line from Joseph should be correct, first files then dns then nis
I do not use NIS or DNS mine have only files configured. below is my nsswitch.conf
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 02:45 AM
05-26-2004 02:45 AM
Re: swinstal versus hostname
I have given /ets/hosts on the first place , now it is ok:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
passwd: files
group: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
br Jan