- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- samlog_viewer 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
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
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
тАО04-23-2007 01:27 AM
тАО04-23-2007 01:27 AM
samlog_viewer error?
I am not attempting to run this as 'root' & am accessing the system using CDE.
/usr/sam/bin/samlog_viewer -l C /var/sam/log/samlog
cat samlog | /usr/sam/bin/samlog_viewer -tn -
The SAM log viewer could not open the file "/var/sam/LFV_RUN5183" (errno = 13).hgdwtest:oracle:/var/sam/log$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 01:33 AM
тАО04-23-2007 01:33 AM
Re: samlog_viewer error?
Errno 13 = EACCES = User access denied
Run your commands as root and you should be ok.
Please read:
http://66.34.90.71/ITRCForumsEtiquette/after.html
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
on how to reward any useful answers given to your questions.
So far you have not awarded any points !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 01:35 AM
тАО04-23-2007 01:35 AM
Re: samlog_viewer error?
I appreciate your reply. However, there is no way that I will be able to run any command on this system as 'root'.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 01:42 AM
тАО04-23-2007 01:42 AM
Re: samlog_viewer error?
in that case, why do you expect that you can read a log file generated by the root user ? ;-)
In don't have access to a HP system at the moment, but check the permissions on:
/usr/sam/bin/samlog_viewer
and /var/sam/log/samlog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 01:45 AM
тАО04-23-2007 01:45 AM
Re: samlog_viewer error?
It's a viewer........ and yes, there should be third-party verification of what 'root' is doing on this system.
FYI:
hgdwtest:oracle:/home/oracle$ll /usr/sam/bin/samlog_viewer
-r-xr-xr-x 1 bin bin 57344 Jun 15 2004 /usr/sam/bin/samlog_viewer
hgdwtest:oracle:/var/sam/log$ll samlog
-rw-r--r-- 1 root sys 108666 Apr 23 02:01 samlog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 01:59 AM
тАО04-23-2007 01:59 AM
Re: samlog_viewer error?
It looks like you got permissions to read those files, and I do not recall an error like that in SAM.
You might want to make sure that you got the latest patches for SAM for you specific OS.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 02:01 AM
тАО04-23-2007 02:01 AM
Re: samlog_viewer error?
PHCO_34207
s700_800 11.11 cumulative SAM patch
PHCO_34208
s700_800 11.23 cumulative SAM patch
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 03:28 AM
тАО04-23-2007 03:28 AM
Re: samlog_viewer error?
I had the patch you reference thrown on & it does not appear to have any effect:
hgdwtest:oracle:/var/sam/log$/usr/sam/bin/samlog_viewer -l C /var/sam/log/samlog
The SAM log viewer could not open the file "/var/sam/LFV_RUN19834" (errno = 13).
hgdwtest:oracle:/var/sam/log$cat samlog | /usr/sam/bin/samlog_viewer -tn -
The SAM log viewer could not open the file "/var/sam/LFV_RUN19836" (errno = 13).
hgdwtest:oracle:/var/sam/log$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2007 05:37 AM
тАО04-23-2007 05:37 AM
Re: samlog_viewer error?
This is a permissions issue, but it's with the directory that the samlog_viewer creates working files. Changing /usr/sam to 777 allows for the creation of working files:
drwxrwxrwx 9 bin bin 8192 Apr 23 13:12 sam
hgdwtest:oracle:/var$ll sam
total 544
-rw-r--r-- 1 mfrederi gdw_user 10195 Apr 23 13:12 LFV_13106
-rw-r--r-- 1 mfrederi gdw_user 0 Apr 23 13:12 LFV_RUN13106
The next question is, can be change to location of where these files are created, like in /tmp ??