1832570 Members
5709 Online
110043 Solutions
New Discussion

Change in IP adress

 
Ims Tak
New Member

Change in IP adress

Hi,

I changed the IP adress of HPUX B11.11
After change, though applications allready installed are working fine, but i am not able to install new software.
Error: Dont have permission,to execute. see swacl command/ "run as superuser"
--( Though I login as root user)


Thanks
Ims
6 REPLIES 6
sudhapage
Regular Advisor

Re: Change in IP adress

hi

Pls check with /etc/hosts and some important system files, whether that new ip updated or not!

* some permissions related files also u have to check.....

Regards,
Sudhakaran.K
Ming.Dynasty
Advisor

Re: Change in IP adress

Hi

Try /usr/sbin/swagentd -r
Gangadhar_1
Occasional Advisor

Re: Change in IP adress

Hi Ims,

First check whether the ip is changed successfully.

As per my knowledge, changing the ip in /etc/hosts and restarting the system should suffice, but still its better to have a look at following files for change in the ip:
/etc/nodename : Contains the hostname of the machine
/etc/domainname : Contains the NIS/NIS+ domainname
/etc/hosts : Contains the host to IP database
/etc/hostname : If present, contains the interface name to be matched in
/etc/defaultrouter : Contains the default router IP address
/etc/resolv.conf : Contains nameserver IP and DNS domain name
/etc/nsswitch.conf : Contains database lookup rules
/etc/ethers : Contains ethernet to hostname database
/etc/networks : Contains netname to netIP database
/etc/netmasks : Contains network to netmask database

Regards,
Gangadhar
Senthil Prabu.S_1
Trusted Contributor

Re: Change in IP adress

Hi,
The problem is due to the reason that you have not updated your /etc/hosts file with the new IP address. Once you update it, every things should go through well...

HTH,
Prabu.S
One man's "magic" is another man's engineering. "Supernatural" is a null word.
Igor Sovin
Super Advisor

Re: Change in IP adress

Hi!
Guys are right
You should update your /etc/hosts file with new IP address.
Or use command "set_parms ip_address" it will update /etc/hosts for you.
Ims Tak
New Member

Re: Change in IP adress

Thanks Guys,

It is working fine now.

Ims