System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

System Management Homepage server could not be started successfully

 
Florian Dushniku
Frequent Advisor

System Management Homepage server could not be started successfully

Hi,
I am trying to log in to SMH in a hp ux rx3600 server using a web browser through port 2301, but the following error appears:
Error:
The System Management Homepage server could not be started successfully.
Can you please help me to resolve this problem?
Thank you.
51 REPLIES
Florian Dushniku
Frequent Advisor

Re: System Management Homepage server could not be started successfully

I am attaching a print screen of the problem.
g3jza
Esteemed Contributor

Re: System Management Homepage server could not be started successfully

Florian Dushniku
Frequent Advisor

Re: System Management Homepage server could not be started successfully

thank you, but having very little experience with this commands, i can execute those commands, i receive some output, but i don't know how to interpret them. so i need a more guided help, step by step. for example: when i execute: #cat /etc/group | grep hpsmh, the output is only: hpsmh:104:, while in that thread is: hpsmc::103:hpsmh
hpsmh:104:
and the author concludes that "It was a group id missing in /etc/group". am i missing it too? if yes, how can i fix it? thank you.
g3jza
Esteemed Contributor

Re: System Management Homepage server could not be started successfully

I don't know what hpsmc is for, I don't have it either on my servers and it's working.

give me the output of #smhstartconfig

#ps -ef|grep -i smh

What about the logs in:

/var/opt/hpsmh/logs/smh.log
/opt/hpsmh/logs/error_log
Torsten.
Acclaimed Contributor

Re: System Management Homepage server could not be started successfully

I don't know about your OS and SMH version, but the copyright 2007 in your attachment suggests it is quite old. Maybe an update will solve the problem and even gives you more functionality.

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!   
Florian Dushniku
Frequent Advisor

Re: System Management Homepage server could not be started successfully

the output is here:
# smhstartconfig

HPSMH 'autostart url' mode.........: ON
HPSMH 'start on boot' mode.........: OFF
Start Tomcat when HPSMH starts.....: OFF

# ps -ef|grep -i smh
root 1902 1 0 11:20:51 ? 0:00 /opt/hpsmh/lbin/smhstartd
root 2999 2856 0 15:18:06 pts/0 0:00 grep -i smh
#
the logs attached.
g3jza
Esteemed Contributor

Re: System Management Homepage server could not be started successfully

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

what your /etc/hosts file looks like?

Looks like a name-resolution problem between your client and server.

Did you try to run the smh from your web browser directly from the server? i.e. http://localhost:2301



Florian Dushniku
Frequent Advisor

Re: System Management Homepage server could not be started successfully

host file attached.
how can i run the smh from my web browser directly from the server considering that it is is hp ux?
Andrew Rutter
Honored Contributor

Re: System Management Homepage server could not be started successfully

hi,

what exactly are you typing in the url bar to get to the server?

have you tried using port 2381 as well, the earlier versions were abit buggy from my experience?

https://ipaddress:2381

to start the smh in a web browser directly on the server

#smh -F

should start it without security warnings locally. If your doing this from a pc attached you might need to export the display to your machine

Andy
g3jza
Esteemed Contributor

Re: System Management Homepage server could not be started successfully

Florian:
Do you have any linux client PC's ? That would be much easier than windows. You would just '#ssh -Y' to the server and then in the shell just start '#smh' and the local browser of your server should pop up with the login screen.

If using windows client OS, then try to look for reflection-x software, but I'm not sure if it's free for download.

Hakki Aydin Ucar
Honored Contributor

Re: System Management Homepage server could not be started successfully

You can try this also to restart daemon of HP SMH in case of got stuck somehow, if you are sure you put the correct address in browser (but probably this one is not an issue due to you already made it work before? )

# hpsmh autostart

Also, two files control over smh;
/opt/hpsmh/lbin/envvars
/opt/hpsmh/conf/timeout.conf

you can check these out for any anomally OR wrong parameter.
Florian Dushniku
Frequent Advisor

Re: System Management Homepage server could not be started successfully

here is the output of the command:
# hpsmh autostart

Starting the System Management HomePage server ...

Pid 7000 in trap loop, signal 10
ERROR: The System Management HomePage server could not be started successfully.
#
attached are the 2 files.
Hakki Aydin Ucar
Honored Contributor

Re: System Management Homepage server could not be started successfully

did you try with Internet Explorer browser :
https://hostname:2381/

Torsten.
Acclaimed Contributor

Re: System Management Homepage server could not be started successfully

Could you please tell your OS version (11.23 or 11.31) and post

# swlist | grep "System Management Homepage"

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!   
Florian Dushniku
Frequent Advisor

Re: System Management Homepage server could not be started successfully

The OS version is 11.23
Command output:
# swlist | grep "System Management Homepage"
#

(nothing)
Florian Dushniku
Frequent Advisor

Re: System Management Homepage server could not be started successfully

Any idea or should I close the thread?
Hakki Aydin Ucar
Honored Contributor

Re: System Management Homepage server could not be started successfully

Apparently you do not have smh installed.
try
swlist -l product | grep -i smh
swlist -l product | grep -i System

By the way;
have you ever been use it before without problem OR you never used it ?
if you never used it, you need to reinstall it.
Florian Dushniku
Frequent Advisor

Re: System Management Homepage server could not be started successfully

ok here is the output:

# swlist -l product | grep -i smh
# swlist -l product | grep -i System
AudioSubsystem B.11.23 HP-UX Audio Subsystem
DEVFS C.01.04.07 Device File System
DSAU C.01.00.03 Distributed Systems Administration Utilit ies
FileSystemsWeb B.11.23.03 HP-UX Disks and File Systems Tool
ImagingSubsystem B.11.23 HP-UX Image Viewer Subsystem
JFS B.11.23 The Base VxFS File System
NFS B.11.23 ONC/NFS; Network-File System,Information Services,Utilities
OS-Core B.11.23 Core Operating System, plus Software Term s & Conditions
PHCO_31611 1.0 Cumulative changes to file system man pag es
PHCO_31652 1.0 Japanese system management manpages
PHCO_31658 1.0 Japanese filesystem manpages
PHCO_31676 1.0 Japanese filesystem mksf manpages
PHCO_35012 1.0 Bootstrap manpages for PA-RISC systems
PHKL_32714 1.0 Correctly display Vpar ID on PA systems
PHKL_33025 1.0 file system tunables cumulative patch
PHKL_33714 1.0 exec(2) and setrlimit(2) system call fix
PHKL_34633 1.0 gang scheduler patch for system hang
PHKL_34840 1.0 slow system calls due to cache line shari ng
PHKL_35734 1.0 OLA/R subsystem patch
PHKL_35756 1.0 audit subsystem cumulative patch
PHKL_36301 1.0 Panic or hang on Integrity systems
PHKL_37106 1.0 WSIO IO subsystem cumulative patch
PHSS_31110 1.0 CDE Base Patch for Itanium - based system
PHSS_31320 1.0 ImagingSubsystem Patch
PHSS_31954 1.0 AudioSubsystem Patch
SFM-CORE B.05.00.05 HPUX System Fault Management
SFMDB B.05.00.05 HP System Management Database (SFMDB)
SYSPREP C.01.04.07 HP Object Oriented System Preparation
Sup-Tool-Mgr B.11.23.10.05 HPUX Support Tools Manager for HPUX syste ms
SysMgmtBase B.00.02.03.02 HP-UX Common System Management Enablers
SysMgmtHomepage A.2.2.7 HP-UX System Management Homepage - Web-Ba sed User Interfaces
SystemAdmin B.11.23 HP-UX System Administration Tools
SystemComm B.11.23 System Communication utilities - ct,cu,pt ydaemon,vt,kermit
VRTSfspro 4.1k VERITAS File System Management Services P rovider
#

I have never used it on this server. This is the first time I am trying. After all this if you suggest to reinstall it how can I do it? Thank you.
Bob_Vance
Esteemed Contributor

Re: System Management Homepage server could not be started successfully

When you go to http://server:2301

do you first see the

"You will be redirected to the System Management Home Page."
?


What happens if you try to go directly to

https://localhost:2381/cpqlogin.htm
?

Perhaps HTTPS port (normally 443) is being blocked.



bv
"The lyf so short, the craft so long to lerne." - Chaucer
Torsten.
Acclaimed Contributor

Re: System Management Homepage server could not be started successfully

Why not upgrade the version first?

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SysMgmtWeb

Product #: SysMgmtWeb
Version: A.3.2.2/A.3.2.0/A.2.2.9.3
Software specification:

HP-UX 11i v3 (A.3.2.2)
HP-UX 11i v2 (A.3.2.0)
HP-UX 11i v1 (A.2.2.9.3)

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!   
Florian Dushniku
Frequent Advisor

Re: System Management Homepage server could not be started successfully

I downloaded the depot file, placed it in the /var folder and executed:

# swinstall -s /var SysMgmtWeb_A.3.2.0_HP-UX_B.11.23_IA_PA

======= 05/18/11 13:08:58 MDT BEGIN swinstall SESSION
(non-interactive) (jobid=appsrv1-0065)

* Session started for user "root@appsrv1".

* Beginning Selection
* Target connection succeeded for "appsrv1:/".
ERROR: There is currently no depot software on host "appsrv1" at
location "/var". Make sure that an absolute pathname is
specified for location (beginning with "/").
* Source connection failed for "appsrv1:/var".
WARNING: More information may be found in the daemon logfile on this
target (default location is appsrv1:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 05/18/11 13:08:58 MDT END swinstall SESSION (non-interactive)
(jobid=appsrv1-0065)

#

what should I do?
Torsten.
Acclaimed Contributor

Re: System Management Homepage server could not be started successfully

You need to specify

# swinstall -s /var/depot-file.depot SysMgmtWeb_A.3.2.0_HP-UX_B.11.23_IA_PA


Directly point to the depot file, not only to the directory.

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!   
g3jza
Esteemed Contributor

Re: System Management Homepage server could not be started successfully

Did you download the .depot file?

correct syntax:
#swinstall -s appsrv1:/var/
Torsten.
Acclaimed Contributor

Re: System Management Homepage server could not be started successfully

For a interactive session you should use

# swinstall -s /var/depot-file.depot



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!