- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAM giving error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 05:47 PM
07-12-2006 05:47 PM
On my development server running HP-UX 11.0 when I start SAM and select the volume group it gives the following messages:
While loading a file, SAM detected an unknown syntax error. This
could be caused by a number of strange occurrences. It is best to
remove the file and attempt the operation again. The error occurred
in the file "(filename unknown)" on or before line number 2110.
Internal error: Cannot initialize kernel configuration data
structures. Make sure /var/sam exists on this system as a directory
that can be read by root. Perhaps SAM has not been properly
installed on this system.
can anybody help me regarding this error.
Thanks & Regards
Rajesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 05:57 PM
07-12-2006 05:57 PM
Re: SAM giving error
Just go through the samlog using
/usr/sam/bin/samlog_viewer.
Share for any error/strange messages.
Regards,
Rajesh SB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 06:30 PM
07-12-2006 06:30 PM
Re: SAM giving error
The samlog also shows the following error:
ERROR Internal error in initializing kernel configuration data
structures. Make sure /var/sam exists on the system as a
directory that can be read by root.
ERROR Internal error: Cannot initialize kernel configuration data
structures. Make sure /var/sam exists on this system as a
directory that can be read by root. Perhaps SAM has not been
properly installed on this system.
Regards
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 07:23 PM
07-12-2006 07:23 PM
Re: SAM giving error
did you check, if
/var/sam exists like the error messages told you?
Did you create that directory or is anything wrong with it (try to create a file there)?
Otherwise check for SAM/Obam patches.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 07:38 PM
07-12-2006 07:38 PM
Re: SAM giving error
The directory /var/sam exists. I could create a file there.
Regards
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 07:38 PM
07-12-2006 07:38 PM
Re: SAM giving error
Verify following things.
1. Check for /var/sam directory.
2. Run # swlist -l product SystemAdmin.SAM
3. Run
# swverify SystemAdmin.SAM
Observe for any error pertaining to SAM.
Verify the following log files
/var/adm/sw/swverify.log
/var/adm/sw/swagent.log for error on SAM.
4. Run # swlist -l product |grep -i sam
Observe for following any patches
PHCO_17792 1.0 cumulative SAM/ObAM patch
PHCO_22269 1.0 cumulative SAM/ObAM patch
Good luck.
Regards,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 07:56 PM
07-12-2006 07:56 PM
Re: SAM giving error
1. /var/sam directory exists
2. swlist -l product SystemAdmin.SAM gives the following error
ERROR: There is a level/software mismatch. You have asked to see the
"product" view of "SystemAdmin.SAM" a fileset. Views of
software start at the level of the software given and descend
in the software tree.
swverify SystemAdmin.SAM
3. swverify SystemAdmin.SAM gives error
WARNING: "hpdev:/": 6 files had warnings during this operation.
ERROR: "hpdev:/": 1 files had errors during this operation.
* The analysis phase failed for "hpdev:/".
* Verification had errors.
4.swlist -l product |grep -i sam
PHCO_17792 1.0 cumulative SAM/ObAM patch
PHCO_21187 1.0 cumulative SAM/ObAM patch
PHCO_23876 1.0 cumulative SAM/ObAM patch
PHCO_27375 1.0 cumulative SAM/ObAM patch
PHSS_20149 1.0 SAM Kernel Tunable Parameter Sets
regards
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 08:12 PM
07-12-2006 08:12 PM
SolutionFirst you check for any lock files existence.
# ll /var/sam/lock/*
if exists delete
rm -f /var/sam/lock/*
It is better to try with reboot once see.
While boot time below SAM related rc script will run
# /sbin/init.d/spa start
Yes, I agree you have run command
# swlist -l fileset SystemAdmin.SAM
Did you verify for error reported by swverify?
share the error in log files
/var/adm/sw/swverify.log
/var/adm/sw/swagent.log for SAM.
Regards,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 08:55 PM
07-12-2006 08:55 PM
Re: SAM giving error
There are no lock files. I am hereby attaching the swverify.log.
There is no error message in swagent.log
Regards
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2006 04:43 PM
07-13-2006 04:43 PM
Re: SAM giving error
The problem is resolved. I had to increase the /var filesystem and reboot the machine. There was not enough space in /var.
Thanks to everyone for the help.
Regards
Rajesh