- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cannot open /dev/kmem: Permission denied
Operating System - HP-UX
1755672
Members
3206
Online
108837
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО02-14-2003 01:45 AM
тАО02-14-2003 01:45 AM
Hi all,
When running the command "svrmgrl" , it is not been successful :
==============================================
cyb_hpux [ /cyborg/app/oracle/product/806 ] $ l -ltr /dev/kmem
crw-r----- 1 bin sys 3 0x000001 Jul 20 2001 /dev/kmem
cyb_hpux [ /cyborg/app/oracle/product/806 ] $ svrmgrl
Oracle Server Manager Release 3.0.6.0.0 - Production
(c) Copyright 1999, Oracle Corporation. All Rights Reserved.
cannot open /dev/kmem: Permission denied
Assertion failed: !(fgets(hardwareAddr, (STRLEN-1), fstream) == NULL), file snlu
i.c, line 1250
Abort(coredump)
cyb_hpux [ /cyborg/app/oracle/product/806 ] $
==============================================
Would you please assist me.
Best regards,
Engo.
When running the command "svrmgrl" , it is not been successful :
==============================================
cyb_hpux [ /cyborg/app/oracle/product/806 ] $ l -ltr /dev/kmem
crw-r----- 1 bin sys 3 0x000001 Jul 20 2001 /dev/kmem
cyb_hpux [ /cyborg/app/oracle/product/806 ] $ svrmgrl
Oracle Server Manager Release 3.0.6.0.0 - Production
(c) Copyright 1999, Oracle Corporation. All Rights Reserved.
cannot open /dev/kmem: Permission denied
Assertion failed: !(fgets(hardwareAddr, (STRLEN-1), fstream) == NULL), file snlu
i.c, line 1250
Abort(coredump)
cyb_hpux [ /cyborg/app/oracle/product/806 ] $
==============================================
Would you please assist me.
Best regards,
Engo.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2003 02:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2003 02:04 AM
тАО02-14-2003 02:04 AM
Re: cannot open /dev/kmem: Permission denied
Hi
if you have a metalink-account look at DocID 1041966.6
Short summary:
---------------------
Problem Description: ====================
You are on version 10.20 of the HP 9000 Series HP-UX operating system and you are invoking a client program, such as SQL*Plus and you receive the following error:
When invoking svrmgrl, you receive the following error: cannot open /dev/kmem: Execute permission denied. Assertion failed: !(fgets(hardwareAddr, (STRLEN -1), fstream)==NULL ), file snlui.c, line 1210 abort message...
Problem Explanation: ====================
When client programs are invoked on HP-UX, the hardware address is obtained by using "lanscan". If you receive this error, the user that you are logged in as does not have permissions to run the executable "lanscan".
Solution Description: =====================
Make sure that all users have execute permissions for "lanscan" by doing the following:
1. Change locations to the "/usr/sbin" directory % cd /usr/sbin
2. Do a long listing on "lanscan" % ls -l lanscan
3. Verify the permissions on "lanscan" are set to the following: -r-sr-xr-x 1 root bin 32768 Jun 10 1996 lanscan*
4. If the ownership of the file is not root, the third column in step 3. Then log on as the root user, and change the ownership on "lanscan" to the following: # chown root lanscan
5. If permissions do not look like the example in Step 3, then log on as the root user, and change the permissions on "lanscan" to the following: # chmod 4555 lanscan Solution
Explanation: =====================
By changing the permissions and ownership on "lanscan", all users will be able to execute it, allowing the hardware address to be obtained when invoking a client connection. For more information on "lanscan", check the man pages on HP-UX.
.
Chris
if you have a metalink-account look at DocID 1041966.6
Short summary:
---------------------
Problem Description: ====================
You are on version 10.20 of the HP 9000 Series HP-UX operating system and you are invoking a client program, such as SQL*Plus and you receive the following error:
When invoking svrmgrl, you receive the following error: cannot open /dev/kmem: Execute permission denied. Assertion failed: !(fgets(hardwareAddr, (STRLEN -1), fstream)==NULL ), file snlui.c, line 1210 abort message...
Problem Explanation: ====================
When client programs are invoked on HP-UX, the hardware address is obtained by using "lanscan". If you receive this error, the user that you are logged in as does not have permissions to run the executable "lanscan".
Solution Description: =====================
Make sure that all users have execute permissions for "lanscan" by doing the following:
1. Change locations to the "/usr/sbin" directory % cd /usr/sbin
2. Do a long listing on "lanscan" % ls -l lanscan
3. Verify the permissions on "lanscan" are set to the following: -r-sr-xr-x 1 root bin 32768 Jun 10 1996 lanscan*
4. If the ownership of the file is not root, the third column in step 3. Then log on as the root user, and change the ownership on "lanscan" to the following: # chown root lanscan
5. If permissions do not look like the example in Step 3, then log on as the root user, and change the permissions on "lanscan" to the following: # chmod 4555 lanscan Solution
Explanation: =====================
By changing the permissions and ownership on "lanscan", all users will be able to execute it, allowing the hardware address to be obtained when invoking a client connection. For more information on "lanscan", check the man pages on HP-UX.
.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2003 02:13 AM
тАО02-14-2003 02:13 AM
Re: cannot open /dev/kmem: Permission denied
Hi,
Log in as root.
#chmod u+s /usr/sbin/lanscan
regards,
U.SivaKumar
Log in as root.
#chmod u+s /usr/sbin/lanscan
regards,
U.SivaKumar
Innovations are made when conventions are broken
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP