Operating System - HP-UX
1824822 Members
6910 Online
109674 Solutions
New Discussion юеВ

SMH timeout leaves unusable URL to port 2381 behind

 
H_Bachner
Regular Advisor

SMH timeout leaves unusable URL to port 2381 behind

Just recently I installed my first HP-UX system and am using the System Management Homepage for configuration and monitoring (and learning...).

The SMH page opens without problems if I use http://hpuxnode.my.lan:2301; the page is redirected to https://hpuxnode.my.lan:2381 and everything works fine.

If I leave the SMH window unattented for a while the session eventually times out (as expected), shortly displays the :2301 page ("you are being redirected...") and redisplays the login page https://hpuxnode.my.lan:2381/cpqlogin.htm.

If I leave this page around for a while, a re-login attempt fails, however. It appears that the SMH server has stopped and needs to be restarted by first accessing http://hpuxnode.my.lan:2301. The question is: why does it leave an unusable URL behind? Shouldn't the timeout redisplay an URL to port 2301 instead - or at least offer a button "Restart SMH server" (leading to the :2301 URL)?

In another thread I found a way to start the SMH server at boot time; I'm using this as a workaround so far. A solution to the original problem would be welcome, however.

Thanks for your help & best regards,
Hans.

PS: version details:
# uname -a
HP-UX hpuxnode B.11.31 U ia64 4294967040 unlimited-user license
HP System Management Homepage v3.0.2
2 REPLIES 2
Turgay Cavdar
Honored Contributor

Re: SMH timeout leaves unusable URL to port 2381 behind

If you dont want to use "autostart URL" mode you can switch to "automatic startup on boot" mode by:

hpsmh stop
smhstartconfig -a off -b on
smhstartconfig
hpsmh start
H_Bachner
Regular Advisor

Re: SMH timeout leaves unusable URL to port 2381 behind

Thanks, I did not know this script, I directly edited the config file in /etc/rc.config.d/hpsmh as suggested in this thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1210435

Hans.