Re: SAM is not working (556 Views)
Reply
Frequent Advisor
HP UNIX Professionals
Posts: 109
Registered: ‎07-28-2009
Message 1 of 12 (556 Views)
Accepted Solution

SAM is not working

Hi Experts,

When i try to start the SAM i am getting the following error. Anybody know why it is happening.
Please give proper guidance.

bbcc:/ # uname -a
HP-UX bbcc B.11.31 U ia64 1079113370 unlimited-user license

bbcc:/ # sam
System Administration Manager (SAM) is deprecated in this release of HP-UX.
System Management Homepage (SMH) is the new tool introduced to manage HP-UX.
You are recommended to use /usr/sbin/smh.

Looking for a usable running browser...
/usr/contrib/bin/X11/xlsclients: unable to open display "129.39.222.197:0"
Please use plain text.
Honored Contributor
Michal Kapalka (mikap)
Posts: 2,683
Registered: ‎08-19-2007
Message 2 of 12 (556 Views)

Re: SAM is not working

Please use plain text.
Honored Contributor
Johnson Punniyalingam
Posts: 2,246
Registered: ‎09-22-2008
Message 3 of 12 (556 Views)

Re: SAM is not working

Please use "SMH" instud of "SAM" its new feature in HPUX 11.31

#smh

Problems are common to all, but attitude makes the difference
Please use plain text.
Honored Contributor
Suraj K Sankari
Posts: 1,659
Registered: ‎09-09-2008
Message 4 of 12 (556 Views)

Re: SAM is not working

Hi,

sam is no more with HPUX 11.31 you need to give smh instead of sam


Suraj
Please use plain text.
Honored Contributor
Horia Chirculescu
Posts: 829
Registered: ‎07-11-2009
Message 5 of 12 (556 Views)

Re: SAM is not working

Hello,

You should run an Xserver at 129.39.222.197, or you can redirect the display on a windows workstation. If you are using putty, there is a way to automatically set up the DISPLAY variable.

One free Xserver for Windows stations is Xming:

http://www.straightrunning.com/XmingNotes/

Horia.
Best regards from Romania,
Horia.
Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,128
Registered: ‎10-02-2001
Message 6 of 12 (556 Views)

Re: SAM is not working

The message told you - no SAM in 11.31, but system management homepage (browser based).

So point your browser to

http://your_server_ip:2301

or

unset DISPLAY and use the text based smh.

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! star in the left column!   
Please use plain text.
Trusted Contributor
Sagar Sirdesai
Posts: 385
Registered: ‎04-25-2005
Message 7 of 12 (556 Views)

Re: SAM is not working

Hi
This error suggests that your DISPLAY is wrongly set.


1) unset DISPLAY
2) tem smh command

Use the above commands and it should work

Sagar
Please use plain text.
Honored Contributor
Michal Kapalka (mikap)
Posts: 2,683
Registered: ‎08-19-2007
Message 8 of 12 (556 Views)

Re: SAM is not working

hi,

hust put this to the shell :


(unset DISPLAY; /usr/sbin/smh )


mikap
Please use plain text.
Frequent Advisor
HP UNIX Professionals
Posts: 109
Registered: ‎07-28-2009
Message 9 of 12 (556 Views)

Re: SAM is not working

Hi John,

I run the smh also it is throuing following error

bbcc:/ # smh
Looking for a usable running browser...
/usr/contrib/bin/X11/xlsclients: unable to open display "CSTIC.as.qc.beO.ca:0"
ERROR: Unable to open display "CSTIC.as.qc.beo.ca:0"
Please paste the URL "http://bbcc.qc.beo.ca:2301/?chppath=Tools" into a browser window.
Please use plain text.
Frequent Advisor
HP UNIX Professionals
Posts: 109
Registered: ‎07-28-2009
Message 10 of 12 (556 Views)

Re: SAM is not working

Hi Torstn,

I tried http://142.117.244.188:2301 also

IP of the Server :142.117.244.188. through the broser, it is alos not working

Please use plain text.
Honored Contributor
Bill Hassell
Posts: 14,178
Registered: ‎05-29-2000
Message 11 of 12 (554 Views)

Re: SAM is not working

Thye fastest way to run sam or smh is to make sure the variable DISPLAY is not set. Do this:

unset DISPLAY

Then run sam or smh. It will come up in character mode. If DISPLAY is set, you must have already installed an Xwindow server such as eXceed or Reflection/X or some other X11 windows tool and configure it to work on your PC. Then there are issues with X11 forwarding, Xauthority and even network routers that can block Xwindows protocol.

You can do everything in the character mode interface (CUI) that you can in the fancy GUI but you may be struggling with X11 for a while. Note that at 11.31, the Xwindow desktop (and therefore the XDMCP code) is not installed by default. I would leave it that way. There is no reason to run code on your HP-UX server that replaces your PC's desktop with an archaic interface. If you get your Xwindow emulator working, always verify with the simplest commands:

export DISPLAY=:0
(don't forget the .0)
/usr/bin/X11/xclock

(a small clock will be displayed) Close this window and you can run smh in GUI mode.
Please use plain text.
Occasional Visitor
genkimaruchan
Posts: 4
Registered: ‎09-17-2009
Message 12 of 12 (554 Views)

Re: SAM is not working

Hi there

Maybe you can try this one

Verify of HPSMH ;autostart url` mode is ON by executing the command

# smhstartconfig

In case the autostart url mod is OFF, stop hpsmh by:

# /sbin/init.d/hpsmh stop

turn the autostart url mode by:

# smhstartconfig -a on -b off

Restart hpsmh

# /sbin/init.d/hpsmh start

Hope it works!

Thanks and Regards
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation