Operating System - HP-UX
1838613 Members
5338 Online
110128 Solutions
New Discussion

uname -i not returing correct value

 
SOLVED
Go to solution
AndyMueller
Frequent Advisor

uname -i not returing correct value

Gurus,

an application to be installed on an rp8420 (HP-UX 11.11) is looking for a numeric value, however when executing the uname -i command it returns the system hostname. Would any of you know how to change this (so that a numeric value is displayed, rather than a alphanumeric one?)

Thanks, Andy
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: uname -i not returing correct value

Andy,

According to the man page, the uname -i displays the node name if the machine ID cannot be determined. That, apparently, is what is happening to you.

I believe you will have to get an HP CE to reset your machine ID. The tools to do so are not available to ordinary customers.


Pete

Pete
Peter Godron
Honored Contributor

Re: uname -i not returing correct value

Torsten.
Acclaimed Contributor

Re: uname -i not returing correct value

Just for interest:


Please run

echo "sel dev 1;info;wait;il"|cstm

and look if all the values for

HPUX Model String..........:
Original Product Number....:
Current Product Number.....:
System Serial Number.......:
SW ID......................:

are set.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Peter Godron
Honored Contributor

Re: uname -i not returing correct value

Andy,
could you please update this thread or close identifying the solution.
AndyMueller
Frequent Advisor

Re: uname -i not returing correct value

This server was remarketed, and somehow the Product Name was for a 16-way rp8420, when in fact we have a 22-way. A HP CE came out and reset values through the MP console, just like the first poster suggested.