Operating System - HP-UX
1836408 Members
2694 Online
110100 Solutions
New Discussion

Re: SAM fails on first use

 
Alex Machina
New Member

SAM fails on first use

After installing HPUX 11.0 (using IGNITE), first attempt to use SAM results in following message in /var/sam/log/samlog:

Entering Task Manager with task FAL_IS_MUL_SAMS.
Syntax Error: /usr/sam/lib/fal/fal.tm at line 1: Location: tm_parse:2495
Error Code: 7159

Sam then terminates.
3 REPLIES 3
Evan Day
Occasional Advisor

Re: SAM fails on first use

Have you installed the latest SAM patch for 11.0?
Steven Sim Kok Leong
Honored Contributor

Re: SAM fails on first use

Hi,

Try this as root and see if it works:

1. Rename the files /etc/sam/reg_*db to something
like /etc/sam/reg_*dbsav.

2. Execute these commands:

/usr/sam/lbin/tmreg /usr/sam/lib/*/*tm
/usr/sam/lbin/dareg /usr/sam/lib/*/*da

3. Execute the following commands for each directory
listed in the /etc/sam/reg_dirs.db file (if this
file does not exist, skip to step 4):

find -type f -name '*tm'. | xargs /usr/sam/lbin/tmreg
find -type f -name '*da'. | xargs /usr/sam/lbin/dareg

4. Test SAM.

5. If SAM works, remove the files saved in step 1.

Regards.

Steven.
Patrick Wessel
Honored Contributor

Re: SAM fails on first use

maybe the fileset for SAM is not configured right. You can verify it with the following command:
swlist -l fileset -a state SystemAdmin

There should be a configured for every entry. If not, try to configure it with:
swconfig SystemAdmin

If SAM still fails after it is configured right, I would recomend to swremove SAM and install it new

There is no good troubleshooting with bad data