1834441 Members
2521 Online
110067 Solutions
New Discussion

Cannot open SAM

 
Mohd Syafid Abdullah
Regular Advisor

Cannot open SAM

Hi Guru

I found this difficulty when trying to open SAM on my hpux 11 box.
The message said that the was an error log in /var/sam/log/samlog.
I open it and dont know what wrong with my SAM.
I hope anybody can help me.
Here i attached the sam log file

Please Guru, Urgent!
17 REPLIES 17
Steven E. Protter
Exalted Contributor

Re: Cannot open SAM

Shalom Sir,

This is almost always solved by patching SAM

http://www1.itrc.hp.com/service/patch/mainPage.do

use uname -a to get your OS and then search for the latest sam patch.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mohd Syafid Abdullah
Regular Advisor

Re: Cannot open SAM

hi guru,

I try to find the patch but the there's a lot of patch regarding SAM.
Can u help me specify the specific SAM patch regarding my problem?

please guide me
Haniza
Advisor

Re: Cannot open SAM

Hi Syafid

HPUX11.11:
PHCO_34207 s700_800 11.11 cumulative SAM patch

HPUX11.00
PHCO_31879 s700_800 11.00 cumulative SAM/ObAM patch

Please also download it's dependencies as listed in ITRC patch/firmware database.
Mohd Syafid Abdullah
Regular Advisor

Re: Cannot open SAM

Hi Haniza,

Thanks for the patch link for download.
Unfortunately, after applying those patches,
my system still unable to open SAM.
The error prompt same with previous before applying any patches.
Patches install process successfull and I reboot the machine.

Please help me urgent.
Raj D.
Honored Contributor

Re: Cannot open SAM

Can u send the screen shot of the SAM window error.
Thanks,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Mohd Syafid Abdullah
Regular Advisor

Re: Cannot open SAM

Hi Guru,

sorry, I can't get u screen shot.
The message box prompt like this :-

A SAM internal error has occurred. Additional information regarding this error has been logged to the SAM log file (/var/sam/log/samlog)
Contact your HP representative and provide them with the contents of the log file so that an appropriate resolution to this problem can be found.

I hope you experience in this message before. Please guide.
wip
Frequent Advisor

Re: Cannot open SAM

Hi,

I have faced this issue in the past and fixed by just copied the default sam db files located /usr/lib/sam area to /etc/sam/db directory.

Please try this out

regds
WIp
Mohd Syafid Abdullah
Regular Advisor

Re: Cannot open SAM

Hi wip,

I unable to find the db files in /usr/lib/sam.
Also i cannot find the dir /etc/sam/db.
My HPUX version is 11.
Here I attached the samlog file again

please..help me urgent
Haniza
Advisor

Re: Cannot open SAM

Hi Syafid

Sorry, I was away.
Could you try the following:
# swconfig \*

If still not working then do the following:
1. Make backup of existing sam
#mkdir /tmp/etc/sam2
#cp -pR /etc/sam /tmp/etc/sam2
2. Copy from template
# cd /etc/sam
# cp -R /usr/newconfig/etc/sam/* .


Adisuria Wangsadinata_1
Honored Contributor

Re: Cannot open SAM

Hi Mohd Syafid Abdullah,

Prepare the HP-UX Core & Install CD (the same version with your OS) and re-install just the SAM fileset.

Check the url below :

rcfaxsam001 - Steps to Reinstall SAM (docID : rcfaxsam001) :
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080069596

Reinstalling sam(1M) on 10.X (docID : DY025023) :
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080041895

Consider this as your last resources.

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Mohd Syafid Abdullah
Regular Advisor

Re: Cannot open SAM

HI Haniza and AW..

I try to run SWINSTALL / SWCONFIG and the system return core/dump.

What happen to my system?
Please advice and help me!
Adisuria Wangsadinata_1
Honored Contributor

Re: Cannot open SAM

Hi Syafid,

Good day to you !
When you said the system generated the core/dump, is just a core file OR the system panic (rebooted by itself) ?

If creating a core file, could you run the commands below (goto the directory where the core dump has been created) :

# what core
# file core
# strings core

If you have a valid contract with HP, I refer you to make a call now. Since they have a good tools to analyze the issue.

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Haniza
Advisor

Re: Cannot open SAM

Hi Syafid

Has any changes done to this server previously?
Could you let me know which steps you have tried?
Please also give me the following output:
1. swlist -l product | grep -i sam
2. swlist -l fileset -a state | grep -i installed

Agreed with AW, you may want to call/log your problem to HP support now.




Mohd Syafid Abdullah
Regular Advisor

Re: Cannot open SAM

Hi AW

The system just generate the core file not system panic.

When i run command swlist, the system return me this :-

#swlist
/usr/lib/dld.sl: Can't find path for shared library: libobam.1
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
Please guide me

Hi Haniza.
Im following AW steps.Reinstall the SAM.But the reinstall process had an error and i not proceed with it. I cancel it.
After that, when i run swlist or swintall, the system return with dump/core as i mention above.
Please guide me.
Adisuria Wangsadinata_1
Honored Contributor

Re: Cannot open SAM

Hi Syafid,

Did you cancel the process, once you find out the error from analysis process OR in the midle of installation process ?

Could you post it :
/var/adm/sw/swagent.log
/var/adm/sw/swinstall.log
/var/adm/sw/swagentd.log

Thanks & Cheers,
AW
now working, next not working ... that's unix
Mohd Syafid Abdullah
Regular Advisor

Re: Cannot open SAM

Hi AW
Thank for your kindnest
Here the file that u need in .zip
FYI, while waiting yr reply, Im trying to run
swgettools.But I still waiting you to help me.
thanks.
Adisuria Wangsadinata_1
Honored Contributor

Re: Cannot open SAM

Hi Syafid,

To be honest to you, you install more than the document refer to you. Here is the one that has been captured from swinstall.log :

+ UXCoreMedia,r=B.11.00.02,a=HP-UX_B.11.00_32/64,v=HP
+ NFS.NFS-CORE,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ NFS.NFS-KRN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_64
+ NFS.NFS-SHLIBS,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.C-KRN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.CMDS-AUX,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.CMDS-MIN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.CORE-KRN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.CORE-SHLIBS,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.CORE2-KRN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_64
+ OS-Core.KERN-RUN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ OS-Core.KERN2-RUN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_64
+ OS-Core.SYS-ADMIN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
PHKL_18543.C-INC,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ PHKL_18543.CORE-KRN,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ PHKL_18543.CORE2-KRN,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_64
+ PHKL_18543.KERN2-RUN,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_64
PHKL_18543.VXFS-BASE-KRN,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_64
PHKL_18543.VXFS-PRG,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.FIRST-BOOT,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.OBAM-HELP,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.OBAM-RUN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.SAM,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.SAM-ENG-A-MAN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.SAM-HELP,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.SSCAN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
+ TextFormatters.TEXT-FMT,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64


And only these, that has been refered by document :

SystemAdmin.FIRST-BOOT,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.OBAM-HELP,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.OBAM-RUN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.SAM,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.SAM-ENG-A-MAN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.SAM-HELP,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
SystemAdmin.SSCAN,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64


If I'm not wrong 'PHKL_18543' will give you the problem on library fileset if you install this patch twice (reinstall)

I refer to you to call HP and log a call with them. They have some ways to recover it back.

Hope this information can help you.

Cheers,
AW

now working, next not working ... that's unix