- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- set_parms not reliable
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
06-27-2006 06:53 PM
06-27-2006 06:53 PM
I wanted to change ip of an server..for which i used set_parms ip_address...then entered the ip..and then rebooted the server...But the change didnt take place....may i know why???
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 06:57 PM
06-27-2006 06:57 PM
Re: set_parms not reliable
Also have a look at syslog.log for general errors. Also dmesg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:17 PM
06-28-2006 08:17 PM
Re: set_parms not reliable
(In the early days i once made this mistake and caused some confusion)
check /etc/hosts for "old-"entries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:33 PM
06-28-2006 08:33 PM
Re: set_parms not reliable
First of all tell me should the ip of our host change only by entering
set_parms ip_address::
and then following the menu option to change ip...
that is exactly what i did...but even after reboot the lanscan showed me the same old ip...
Then i manually edited the /etc/rc.config.d/netconf file by entering the ip,subnet,default gateway,etc....and then shutdown -r...
To make it even worse during booting it hanged at NFS server not responding....
I had to boot in single user mode...and disable the nfs...but day was really bad..to use vi i had to mount /usr..which on doing said /usr filesystem is corrupt..needs checking....i gave up and reported to my senior...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:48 PM
06-28-2006 08:48 PM
Solutionfsck -F vxfs -o full,nolog -y /dev/vg00/lvol7 (default for /usr)
as i remember it is best to run this twice
Editting /etc/rc.config.d/netconf and reboot should do the trick.
do not save the old/original netconf-file in /etc/rc.config.d
You might check for patches on set_parms or related as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 10:23 PM
06-28-2006 10:23 PM
Re: set_parms not reliable
After handing over to my senior ,he just ran mountall command in single user mode..and all the filesystem got mounted...he disabled nfs at startup....and rebooted....Finally the ip was changed.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2006 12:43 AM
06-29-2006 12:43 AM
Re: set_parms not reliable
The lesson here is to learn how to do these jobs without set_parms
Sam and set_parms are well known for making mistakes when run to modify network configuration.
Learning how to carefully make such changes in /etc/rc.config.d/netconf is a way to avoid these problems.
Glad your issue is solved.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2006 12:49 AM
06-29-2006 12:49 AM
Re: set_parms not reliable
Exactly! Any menuing system that purports to do everything for you, very definitely including SAM should not be used by system administrators. You must know the OS commands needed to do the items yourself.
Getting vi running in single user mode is a particularly useful bit of information to have. If you want to recover the root password from single user mode, restore the password file, restore an fstab file, etc, etc.
Learn the OS commands! Do not rely on administration menus/GUIs!
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2006 05:19 PM
06-30-2006 05:19 PM
Re: set_parms not reliable
Exactly that is what i wanted from all of you .....But my manager thinks it was a 15 min job through SAM.......i have now convinced him that it surely wasn't........
OK.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2006 11:30 PM
07-05-2006 11:30 PM