1832604 Members
2312 Online
110043 Solutions
New Discussion

Re: sam does not start

 
SOLVED
Go to solution
cbozlagan
Regular Advisor

sam does not start

HPUX 11.11

sam does not start

How can I recover this?
14 REPLIES 14
Mridul Shrivastava
Honored Contributor

Re: sam does not start

what are the error messages u r getting??

r u starting it as a root user ?? If not then have the user been given the strcted access to run SAM ??
Time has a wonderful way of weeding out the trivial
cbozlagan
Regular Advisor

Re: sam does not start

hi,

No error message.

# sam
: yes


#

Situation is like abowe. After last enter comes prompt instead of sam menu

Thanks
Dennis Handly
Acclaimed Contributor

Re: sam does not start

If you want a graphical version, you must export DISPLAY.
BrianDoyle
Trusted Contributor

Re: sam does not start

For SAM gui:
1)
# export DISPLAY=:0.0

2)
# sam &

(& = to run it in the background)
cbozlagan
Regular Advisor

Re: sam does not start

Hi,
I know GUI usage (Xmanager usage)

I have more than one HPUX system. Only one system has problem like this.

DISPLAY was set accordingly.

Thanks.
Pete Randall
Outstanding Contributor

Re: sam does not start

Try running "whence sam" to make sure you're invoking the correct binary:

# whence sam
/usr/sbin/sam


Pete

Pete
cbozlagan
Regular Advisor

Re: sam does not start

Hi pete
#whence sam
/usr/sbin/sam displays on screen

Srinivas Thokala_1
Frequent Advisor

Re: sam does not start

Verify whether or not 'samd' is running on the system by:
ps -aef |grep sam
if running, it should show the daemon as
/usr/sam/lbin/samd

if running try using full path as
/usr/sbin/sam

-Srinivas

Srinivas Thokala
V. Nyga
Honored Contributor

Re: sam does not start

Hi,

if sam doesn't work the lastest sam patch (PHCO_35520) is recommended:
http://www8.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_35520&sel={hpux:11.11,}&BC=main|search|

Also you could check patch level of your different systems.

Volkmar
*** Say 'Thanks' with Kudos ***
cbozlagan
Regular Advisor

Re: sam does not start

Hi V.Nyga,

I downloaded patch and I created .depot file.

How can I install it?

Thanks.
kumar_10
New Member
Solution

Re: sam does not start

Dear, The instructions are available in the Text file while sh from PHCO_35520. Refer the below instructions from the same site you have downloaded the patch.

1. Back up your system before installing a patch.

2. Login as root.

3. Copy the patch to the /tmp directory.

4. Move to the /tmp directory and unshar the patch:

cd /tmp
sh PHCO_35520

5. Run swinstall to install the patch:

swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHCO_35520.depot

By default swinstall will archive the original software in
/var/adm/sw/save/PHCO_35520. If you do not wish to retain a
copy of the original software, include the patch_save_files
option in the swinstall command above:

-x patch_save_files=false

WARNING: If patch_save_files is false when a patch is installed,
the patch cannot be deinstalled. Please be careful
when using this feature.

For future reference, the contents of the PHCO_35520.text file is
available in the product readme:

swlist -l product -a readme -d @ /tmp/PHCO_35520.depot

To put this patch on a magnetic tape and install from the
tape drive, use the command:

dd if=/tmp/PHCO_35520.depot of=/dev/rmt/0m bs=2k
Basheer_2
Trusted Contributor

Re: sam does not start

Hello,

I had the same problem. to fix, I installed the latest SAM related patches, then it worked ok.
Eric Jacklin
Regular Advisor

Re: sam does not start

Hi

Did you check top process

Is there any SAMX is running ?

V. Nyga
Honored Contributor

Re: sam does not start

Hi again,

install in command line or use the GUI with 'swinstall' - then the GUI is opened - give the path where the depot is - mark the patch and use the action install.

Check the messages (the system will verify the patch first, then the installation follows) - should be no problem.

HTH
Volkmar

*** Say 'Thanks' with Kudos ***