1834650 Members
1849 Online
110069 Solutions
New Discussion

SMH on 11i v2

 
SOLVED
Go to solution
haimi
Frequent Advisor

SMH on 11i v2

Hi,

I am facing problem in accessing the SMH on my 11.23 machine. This is what happens:

1) From windows IE7 host -> http://hostname:2301
2) Execute "ps -ef | grep smh" as below output.
3) Browser display page could not be displayed.
4) Ping successful from host to server and vice versa.

# ps -ef | grep smh
root 1720 1 0 Jun 19 ? 0:00 /opt/hpsmh/lbin/smhstartd
root 20836 18790 1 15:51:31 console 0:00 grep smh
# ps -ef | grep smh
root 1720 1 0 Jun 19 ? 0:00 /opt/hpsmh/lbin/smhstartd
root 20840 20839 0 15:51:49 ? 0:00 /usr/bin/sh /opt/hpsmh/lbin/smhr
edirect
root 20839 20838 0 15:51:49 ? 0:00 /opt/hpsmh/lbin/smhstartd
root 20842 20840 0 15:51:50 ? 0:00 /usr/bin/sh /opt/hpsmh/lbin/hpsm
h autostart
root 20838 1720 0 15:51:49 ? 0:00 /opt/hpsmh/lbin/smhstartd
root 20873 20842 0 15:51:50 ? 0:00 /opt/hpsmh/lbin/smhstart


Any help is greatly appreciated.

Thanks
17 REPLIES 17
Ivan Krastev
Honored Contributor

Re: SMH on 11i v2

See how to config and start SMH - http://docs.hp.com/en/381372-006-en/ch04s05.html?btnNext=next%A0%BB

regards,
ivan
haimi
Frequent Advisor

Re: SMH on 11i v2

Hi Ivan,

Thanks for the link. I suppose SMH alrady started from my "ps" command output. And I guess something else is missing which Im not sure what. I tried to grep for "http" but it does not show any. Invoke below:

smhstartconfig -a on
smhstartconfig -t on

But still to no avail. Any idea?

Thanks

Asif Sharif
Honored Contributor

Re: SMH on 11i v2

Hi Haimi,

Please check did you install this patch PHSS_37947.

Regards,
Asif Sharif
Regards,
Asif Sharif
haimi
Frequent Advisor

Re: SMH on 11i v2

Hi,

I finally found the error from
/var/opt/hpsmh/logs/smh.log

It says:

httpd: Could not determine the server's fully qualified domain name, using 192.168.1.10 for ServerName

Checked my /etc/hosts and /etc/rc.config.d/netconf entries are fine.

Any help?

Thanks
Jeeshan
Honored Contributor

Re: SMH on 11i v2

i think you are accessing the smh from windows using the URL address htt://:2301

but this may cause to load the smh. try to use IP

http://:2301

this may cause of your dns entry of your unix hostname in DNS
a warrior never quits
haimi
Frequent Advisor

Re: SMH on 11i v2

Hi Ahsan,

I was actually already using IP address in the URL: http://192.168.1.10:2301 from my Windows. Below are my IP settings.

Windows host: 192.168.1.20
HP-UX: 192.168.1.10

Thanks
haimi
Frequent Advisor

Re: SMH on 11i v2

HI,

This is the hpsmh logs output:

tail -f /var/opt/hpsmh/logs/smh.log

httpd: Could not determine the server's fully qualified domain name, using 192.1
68.1.20 for ServerName
/opt/hpsmh/bin/hpsmh[179]: 12927 Bus error

Not sure what it means. Please enlighten.

Thanks
Dennis Handly
Acclaimed Contributor

Re: SMH on 11i v2

>httpd: Could not determine the server's fully qualified domain name, using 192.168.1.20 for ServerName

I assume this is fine.

>/opt/hpsmh/bin/hpsmh[179]: 12927 Bus error

What's on line 179 of hpsmh?

>Not sure what it means?

Looks like a bug. You may want to try this SMH patch: PHSS_36870

I'm not sure if these help:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1245527
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1242723
Jeeshan
Honored Contributor

Re: SMH on 11i v2

if you have DNS in your network and your laptop is part of your DNS, then add and entry in your DNS of this HP-UX box. for this you can consult with your windows administrator.

if you do so, you may able to connect SMH as you mentioned.i.e.

http://hostname:2301
a warrior never quits
haimi
Frequent Advisor

Re: SMH on 11i v2

Hi,

Iam not using DNS right now and all IPs are static. BTW "swlist SysMgmtWeb"
gives me below:
********************************************
# SysMgmtWeb A.2.2.7 HP-UX Web Based System Management User Interfaces
SysMgmtWeb.SysMgmtHomepage A.2.2.7 HP-UX System Management Homepage
********************************************

I read somewhere that this version does not require the patch indicated previously. I continue with upgrading to the latest SMH A.2.2.8 but still got the same error. The strange error message is the "Bus Error" which I simply can't find from HP resources what it is.

Any help please. Thanks

Dennis Handly
Acclaimed Contributor

Re: SMH on 11i v2

>I read somewhere that this version does not require the patch indicated previously.

Yes, A.2.2.7 replaces the patch.

>error message is the "Bus Error" which I simply can't find from HP resources what it is.

A Bus error is a miscellaneous software bug.

>/opt/hpsmh/bin/hpsmh[179]: 12927 Bus error

Again: What's on line 179 of hpsmh? This will tell us what program is aborting.
haimi
Frequent Advisor

Re: SMH on 11i v2

Hi Dennis,

Is there any further logs to know which program is terminating or causing the "Bus Error" problem?

Thanks
haimi
Frequent Advisor

Re: SMH on 11i v2

Hi Dennis,

Sorry was bit blurr just now. I suppose its looking for line 179 of /opt/hpsmh/lbin/hpsmh. Well this is what it shows with line numbers. Dont quite undestand what this script does.

****************************************
177 # Call smhstart (check/generate certificate, create smhpd.conf, etc)
178 echo >>/var/opt/hpsmh/logs/smh.log
179 eval /opt/hpsmh/lbin/smhstart >>/var/opt/hpsmh/logs/smh.log 2>&1
180 if [ $? -eq 0 ]
181 then
182 echo "The System Management HomePage server has been started successfully."
183 else
184 print -u2 "ERROR: The System Management HomePage server could not be started successfully."
185 exit 1
186 fi
****************************************

Thanks
Dennis Handly
Acclaimed Contributor

Re: SMH on 11i v2

>I suppose its looking for line 179 of /opt/hpsmh/lbin/hpsmh.
179 eval /opt/hpsmh/lbin/smhstart

It looks like smhstart is aborting.
See if you can run it by hand. (Not sure why that eval is there?)
haimi
Frequent Advisor

Re: SMH on 11i v2

Hi Dennis,

I have tried to re-start the SMH manually but system still shows error. See below.

# hpsmh autostart
Starting the System Management HomePage server ...
Pid 12927 in trap loop, signal 10
ERROR: The System Management HomePage server could not be started successfully.

Any help please.

Thanks
Dennis Handly
Acclaimed Contributor
Solution

Re: SMH on 11i v2

>Pid 12927 in trap loop, signal 10

Probably time to call the Response Center.
You get this if you have blocked signal 10 and then get another one in your signal handler.
haimi
Frequent Advisor

Re: SMH on 11i v2

Hmm ... thanks Danny. No choice but will do as u told. Thanks again!