1829115 Members
14971 Online
109986 Solutions
New Discussion

Unknown Platform

 
SOLVED
Go to solution
sam kim_1
Frequent Advisor

Unknown Platform

i'm trying to uninstall one apps, so i did
1)#./uninstall-uvscan (and the result is 'unknown platform. unsable to uninstall')
2)so, i checked something as follows:
a. #uname (result is -t instead of HP-UX
11.0)
b. #uname -r (result is B.11.00 instead
of HP-UX B.11.00)
c. #uname -s (result is -t)
3)i think i have to correct something in the
PLATFORM area (maybe need to change from '-
t' to 'HP-UX' i guess)
4)WHAT COMMAND DO I NEED TO BRING/SEE
'PLATFORM'??

[i'm using hp-ux 11.x]
6 REPLIES 6
John Palmer
Honored Contributor

Re: Unknown Platform

Interesting, man uname says that it always returns HP-UX!

What have you got set in file /etc/rc.config.d/netconf for
OPERATING_SYSTEM=

That's the only place that I can recall seing HP-UX, it should be
OPERATING_SYSTEM=HP-UX

Regards,
John

Rita C Workman
Honored Contributor

Re: Unknown Platform

I agree with Mr. Palmer...after I'd also see if I can do a set_parms to get hostname, etc repaired. And make sure everything else is working.
Then I'd probably start asking myself...when and how could this have gotten changed; who had access to do this; etc.?
Just a thought,
sam kim_1
Frequent Advisor

Re: Unknown Platform

i did:
1) #more /etc/rc.config.s/netconf [result is
# OPERATING_SYSTEM: System name
returned by uname -s
(default "HP-UX")
export OPERATING_SYSTEM=-t
netconf: END
2) i think it needs to change from -t to HP-
UX manually from somewhere
(maybe 'platform ' area ?), but i dont
know how to go there ..

sam.
John Palmer
Honored Contributor

Re: Unknown Platform

Sam,

I have just tried this with a test server and the OPERATING_SYSTEM string in netconf IS used to set the uname reply.

It isn't enough to just rerun /sbin/init.d/net start either. You have to edit netconf and reboot.
John Palmer
Honored Contributor
Solution

Re: Unknown Platform

Sam,

Just edit the netconf file and replace '-t' with 'HP-UX'.

Then reboot.
sam kim_1
Frequent Advisor

Re: Unknown Platform

i am ok after i did:
#vi netconf (then changed from -t to "HP-UX")

thanks and have a nice weekend, john!!