Operating System - HP-UX
1748128 Members
4074 Online
108758 Solutions
New Discussion

Re: smh web " can not log in as root "

 
SOLVED
Go to solution
vandevoort
Valued Contributor

smh web " can not log in as root "

Hi . guru's

Just Instaled HP-UX  DC-OE March 2012  on some new Blades .

setting with bastille  defined profile  like on all other systems .

now  I discover that  WEB SMH I can not log in as root or other account on these new systems  .

bastille -r did not solved the problem, I do not know if problem has to do with bastille settings no specific things changed

 

in /var/adm/syslog:

SMH: User:root from 141.93.157.204 was DENIED access to System Management Homepage

 

looking at all kind of manuals , I can not find any solution to solve this ..

does anyone can help me in this  .

SMH 6.3 :

 

 # smhassist
smhassist will try and find out SMH Configuration and Installation problems.

Checking SMH Installation          ..........................[OK]
Checking Apache 2.2 Installation   ..........................[OK]
Checking Tomcat 2.2 Installation   ..........................[OK]
Checking for Apache Patches        ..........................[OK]
Checking Open SSL Installation     ..........................[OK]
Checking WBEM Installation         ..........................[OK]
Checking SFM Installation          ..........................[OK]
Checking SMH Daemons               ..........................[OK]
Checking SMH Ports                 ..........................[OK]
Checking SMH Users                 ..........................[OK]

Total Checks Performed : 10
Total Errors : 0
Total Warnings : 0

does anyone got any Idea ?

Thanks  , regards

Wim

3 REPLIES 3

Re: smh web " can not log in as root "

First question - does smh work from the command line when logged in as root for the TUI?

 

i.e.

 

# unset DISPLAY

# smh

 

Secondly - any permissions issues with smh?

 

# swverify SysMgmtWeb


I am an HPE Employee
Accept or Kudo
vandevoort
Valued Contributor
Solution

Re: smh web " can not log in as root "

Hi Duncan .

Thanks  You set me on the right track.

 

someone  changed GID of hpsmhd  resulting in permission issues :

 

after executing next settings :

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/

 

I could log in .

ServiceGuard manager  reported an error when thsi was opened in Tools .

I reinstall Service Guard ( while  this  was not setup yet)

everything seems to work ..

have a nice day .

Kind regards

Wim van de Voort

Anir
Regular Visitor

Re: smh web " can not log in as root "

Hi Wim van de Voort,

Your post rocked.Bingo on target!