- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- My uname value is wrong. Oracle won't start.
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
01-22-2004 02:55 AM
01-22-2004 02:55 AM
# uname -a
-t acshps05 B.11.00 A 9000/800 632309333 two-user license
It should be:
# uname -a
HP-UX acshps03 B.11.00 A 9000/800 662309313 two-user license
This is causing all kinds of stuff to fail. Oracle keys off this field
The problem is that someone changed (by mistake):
/etc/rc.config.d/netconf
OPERATING_SYSTEM=-t
It should say:
OPERATING_SYSTEM=HP-UX
How do I change this without rebooting? I tried:
/sbin/init.d/net start
and that didn't do it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 03:02 AM
01-22-2004 03:02 AM
Re: My uname value is wrong. Oracle won't start.
/sbin/init.d/net stop
/sbin/init.d/net start
Running the start won't do anything because the script checks if the network is already up.
You are much better off however restarting the box.
Do not leave backup copy of netconf in /etc/rc.config.d/ Your machine will try and read them both.
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
01-22-2004 03:05 AM
01-22-2004 03:05 AM
Re: My uname value is wrong. Oracle won't start.
/etc/rc.config.d/netconf is also referenced by /sbin/init.d/rarpd, /sbin/init.d/rdpd, and the nfs services, if you're using them. To be safe, I would go through /etc/rc.log to see which order these were started, then reverse that order to stop them, then restart them in the correct, /etc/rc.log order.
But I think you'd be better off to just reboot!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 03:07 AM
01-22-2004 03:07 AM
Solution/sbin/init.d/hostname start should do it. You can find how a variable is used simply by grep'ing it in /sbin/init.d/*. But I agree that a reboot would be safer ...
In fact you can even find in the script that the only command using $OPERATING_SYSTEM is :
setuname -s $OPERATING_SYSTEM -t
See man 1m setuname.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 03:17 AM
01-22-2004 03:17 AM
Re: My uname value is wrong. Oracle won't start.
setuname -s HP-UX
and that fixed it. No reboot.
We will schedule a reboot for tonite or this weekend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2004 06:19 AM
01-23-2004 06:19 AM
Re: My uname value is wrong. Oracle won't start.
One of the quircks about HP-UX is that the hostname is stored in a couple of different places.
Then next time you have to set the hostname for any reason, I suggest using:
set_parms hostname
That utility will set the hostname in all the right places. It will require a reboot, however,
Regards,
Joe