Operating System - HP-UX
1833868 Members
1607 Online
110063 Solutions
New Discussion

SMH 11.23and 2381 can not display page

 
SOLVED
Go to solution
J Turner
Frequent Advisor

SMH 11.23and 2381 can not display page

I have hpux 11.23 and I am trying to get the SMH page to display.
It is a SG cluster so I went to the
smhpd.xml and bound it to the management lan. Now when I put "ip":2301 it redirects me to https"ip":2381 and returns can not display this page?
Thanks a million
18 REPLIES 18
Ivan Krastev
Honored Contributor

Re: SMH 11.23and 2381 can not display page

See this from SMH documentation http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00293364-4

Clustering Problems
I cannot browse to the HP SMH on my cluster IP address after a cluster fail over has occurred.
Solution: Install HP SMH 2.1.4 or later (which is available in SmartStart 7.5 or later) and modify
the XML file to accommodate the cluster.
HP recommends the following actions:
1. As a precautionary measure, copy the existing smhpd.xml file into a different directory.
2. Manually add the tag:
a. Open the smhpd.xml in the \hp\hpsmh\conf directory on the boot drive with a text
editor.
b. Add the following line between the and
tags:
1
c. Save the file.
Clustering Problems 41
3. Repeat these steps on any system that could be a target of a cluster failover.
4. Restart the HP SMH service on both systems.


regards,
ivan
J Turner
Frequent Advisor

Re: SMH 11.23and 2381 can not display page

I added the tag. I went to sbin/init.d and did a hpsmh stop and an hpsmh start.
Same resultes.
Fabio Ettore
Honored Contributor

Re: SMH 11.23and 2381 can not display page

Hi,

could you provide contents of /var/opt/hpsmh/logs/smh.log ?

And also issue on HP-UX system itself:

kcweb -F

This should give more info about the problem.

Best regards,
Fabio
WISH? IMPROVEMENT!
J Turner
Frequent Advisor

Re: SMH 11.23and 2381 can not display page

Here are the entries for the log.
The System Management HomePage server has been started successfully.
The System Management HomePage timeout monitor is currently enabled (30 minute
s).
The System Management HomePage server is already running.
The System Management HomePage server is already running.
The System Management HomePage server is already running.
The System Management HomePage server is already running.
The System Management HomePage server is already running.
The System Management HomePage server is already running.

The kcwen -F prompted me for tunables, modules, etc..

# ps -ef | grep smh
root 6456 1 0 07:12:09 ? 0:00 /opt/hpsmh/lbin/smhstartd
root 12624 1 0 07:29:14 ? 0:00 /usr/bin/sh /opt/hpsmh/lbin/timeoutmonitor 30
hpsmh 12629 12623 0 07:29:14 ? 0:00 /opt/hpws/apache/bin/httpd -k start -DSSL -f /opt/hpsmh/conf/smhpd.conf
root 12628 12624 0 07:29:14 ? 0:00 /opt/hpsmh/lbin/time_out /opt/hpsmh/logs/smh.timestamp 30
root 20340 3810 1 07:57:01 pts/0 0:00 grep smh
root 12623 1 0 07:29:14 ? 0:00 /opt/hpws/apache/bin/httpd -k start -DSSL -f /opt/hpsmh/conf/smhpd.conf

I also tried to foillow the link in the other doc and I got a pdf corupt error.

Thanks for your time.
Fabio Ettore
Honored Contributor

Re: SMH 11.23and 2381 can not display page

Hi,

try to launch the browser from the HP-UX system itself and connect to

http://localhost:2381

is it working?

Best regards,
Fabio
WISH? IMPROVEMENT!
J Turner
Frequent Advisor

Re: SMH 11.23and 2381 can not display page

Cant do that.
Here is the message.
Looking for a usable running browser...
No usable running browsers found.
Looking for a usable browser to start...
No usable browsers found.
Fabio Ettore
Honored Contributor

Re: SMH 11.23and 2381 can not display page

Hi,

this kind of error (can not display this page) is a very generic error. I am trying to help you to troubleshoot better the problem and installing a usable browser could be a good point, I mean it could be useful to understand if the problem is a SMH problem (installation/configuration) or it just is a network problem when connecting by a browser from a PC with http://:2381.

As next step I would suggest trying to install a browser on HP-UX and then launch the connection to localhost:2381.

Best regards,
Fabio
WISH? IMPROVEMENT!
J Turner
Frequent Advisor

Re: SMH 11.23and 2381 can not display page

I do want to thank you for helping.
I am not sure how to install a browser and send the display back to a windows workstation.
Thanks again
Fabio Ettore
Honored Contributor

Re: SMH 11.23and 2381 can not display page

Hi,

could you send in a file the output of

swlist -l product

Fabio
WISH? IMPROVEMENT!
J Turner
Frequent Advisor

Re: SMH 11.23and 2381 can not display page

Thanks , It is attached
Fabio Ettore
Honored Contributor

Re: SMH 11.23and 2381 can not display page

Hi,

there are Firefox and Mozilla, so a usable browser there is already:

Firefox 1.5.0.00.01 Firefox 1.5
FirefoxSrc 1.5.0.00.01 Firefox 1.5 Source Distribution

Mozilla 1.7.12.01.03 Mozilla 1.7
MozillaSrc 1.7.12.01.03 Mozilla 1.7 Source Distribution

- connect with a dtterm or xterm:
cd /opt/firefox/bin
./firefox

It should start a browser.
Then try http://localhost:2381

Best regards,
Fabio
WISH? IMPROVEMENT!
J Turner
Frequent Advisor

Re: SMH 11.23and 2381 can not display page

I did start firefox thru xterm.
Typed in http:"ip address":2301
It said redirecting then I got this.
Firefox Cannot establish a connection with server at "IP"
J Turner
Frequent Advisor

Re: SMH 11.23and 2381 can not display page

If I type in 127.0.0.1:2301 it works
Fabio Ettore
Honored Contributor

Re: SMH 11.23and 2381 can not display page

>If I type in 127.0.0.1:2301 it works

Do you mean that SMH works?
WISH? IMPROVEMENT!
J Turner
Frequent Advisor

Re: SMH 11.23and 2381 can not display page

Yes. If I open a browser from an xterm session and put loopback:2301 in the address bar it redirects me to loopbak:2381 and prompts me for a sign in.
I do get in to the SMH....
Fabio Ettore
Honored Contributor
Solution

Re: SMH 11.23and 2381 can not display page

Hi,

if from localhost SMH works then I would think the problem is not on some SMH settings.
Rather I would point to a resolution problem of your HP-UX host. Infact SMH fails just when specifying the IP address:2381. Check by nslookup (on your Windows system and on the same HP-UX system) the right IP address of the system, make sure it's known on your network with the right resolution (IP ---> hostname, hostname ---> IP).

Best regards,
Fabio

P.S.: I hope you solve so the problem definitely, I could not reply more in coming days because I'm in holiday ;-)
Good luck...and happy Easter!
WISH? IMPROVEMENT!
J Turner
Frequent Advisor

Re: SMH 11.23and 2381 can not display page

Thanks for the replies from all.
SMH now works.
Because this is a SG cluster there are multiple entries in the host file for the main IP, The Virtual IP, The jailover node, etc... Host resolution was the issue.
Have a good holiday
J Turner
Frequent Advisor

Re: SMH 11.23and 2381 can not display page

See the comments before this one