Operating System - HP-UX
1819767 Members
3779 Online
109606 Solutions
New Discussion юеВ

Re: HPUX System Management Homepage cannot login

 
kenny chia
Regular Advisor

HPUX System Management Homepage cannot login

Hi
I have HPUX System Management Homepage (SMH) Version
A2.2.7 installed on a HPUX11iV2 (March 2008) on a rx2660 machine

I cannot login as root into SMH even with the correct root password. The login page reports Sign-in failure

The only way to solve this problem is to install the latest SMH version (A2.2.8) into the server.

Does anyone have this problem?
All Your Bases Are Belong To Us!
2 REPLIES 2
whiteknight
Honored Contributor

Re: HPUX System Management Homepage cannot login

Kenny,

Do some basic troubleshooting


1) Started by looking at the smh.log file located in /var/opt/hpsmh/logs . This log showed the following:
INFORMATION LOG (severity=0) Mon Apr 09 12:12:07 2007
Warning: an invalid bypass key was supplied. Access denied.

WARNING LOG (severity=1) Mon Apr 09 12:12:35 2007
User:hpsmh from 172.18.40.214 was DENIED access to System Management Homepag e

2) Also looked in the access_log and error_log but neither one had helpful information.

It seems that some files that should belong to the hpsmh user or group are actually belonging to user or group bin. This includes the commands used during the SMH authentication, which is preventing their execution by the main SMH process, which runs with the privileges of the hpsmh user.

After verifying the following files were set correctly, the user was able to login.


chown root:hpsmh /opt/hpsmh/lbin/catalina.sh
chown root:hpsmh /opt/hpsmh/lbin/start_tomcat
chown root:hpsmh /opt/hpsmh/lbin/status_tomcat
chown root:hpsmh /opt/hpsmh/lbin/stop_tomcat
chown root:hpsmh /opt/hpsmh/lbin/time_out
chown root:hpsmh /opt/hpsmh/lbin/timeoutmonitor
chown hpsmh:hpsmh /opt/hpsmh/tomcat/conf
chown root:hpsmh /opt/hpsmh/lbin/smhauth
chown root:hpsmh /opt/hpsmh/lbin/smhrun
chown root:hpsmh /opt/hpsmh/lbin/smhstart
chown hpsmh:hpsmh /opt/hpsmh/tomcat/work
chown hpsmh:hpsmh /var/opt/hpsmh/logs
chown hpsmh:hpsmh /var/opt/hpsmh/session
chown root:hpsmh /var/opt/hpsmh/sslshare
chown hpsmh:hpsmh /var/opt/hpsmh/tmp
chown hpsmh:hpsmh /var/opt/hpsmh/tomcat/logs

chmod 550 /opt/hpsmh/lbin/catalina.sh
chmod 550 /opt/hpsmh/lbin/start_tomcat
chmod 550 /opt/hpsmh/lbin/status_tomcat
chmod 550 /opt/hpsmh/lbin/stop_tomcat
chmod 550 /opt/hpsmh/lbin/time_out
chmod 550 /opt/hpsmh/lbin/timeoutmonitor
chmod 750 /opt/hpsmh/tomcat/conf
chmod 4550 /opt/hpsmh/lbin/smhauth
chmod 4550 /opt/hpsmh/lbin/smhrun
chmod 4550 /opt/hpsmh/lbin/smhstart
chmod 750 /opt/hpsmh/tomcat/work
chmod 750 /var/opt/hpsmh/logs
chmod 755 /var/opt/hpsmh/session
chmod 550 /var/opt/hpsmh/sslshare
chmod 750 /var/opt/hpsmh/tmp
chmod 750 /var/opt/hpsmh/tomcat/

WK

Don't forget to assign points
Problem never ends, you must know how to fix it
EddyDBM
Visitor

Re: HPUX System Management Homepage cannot login

Thank you! this work fine!