<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cannot open /dev/kmem: Permission denied in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-open-dev-kmem-permission-denied/m-p/2904744#M936133</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Log in as root.&lt;BR /&gt;&lt;BR /&gt;#chmod u+s /usr/sbin/lanscan &lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar</description>
    <pubDate>Fri, 14 Feb 2003 10:13:34 GMT</pubDate>
    <dc:creator>U.SivaKumar_2</dc:creator>
    <dc:date>2003-02-14T10:13:34Z</dc:date>
    <item>
      <title>cannot open /dev/kmem: Permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-open-dev-kmem-permission-denied/m-p/2904741#M936130</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;When running the command "svrmgrl" , it is not been successful :&lt;BR /&gt;==============================================&lt;BR /&gt;cyb_hpux [ /cyborg/app/oracle/product/806 ] $ l -ltr /dev/kmem&lt;BR /&gt;crw-r-----   1 bin        sys          3 0x000001 Jul 20  2001 /dev/kmem&lt;BR /&gt;cyb_hpux [ /cyborg/app/oracle/product/806 ] $ svrmgrl&lt;BR /&gt;&lt;BR /&gt;Oracle Server Manager Release 3.0.6.0.0 - Production&lt;BR /&gt;&lt;BR /&gt;(c) Copyright 1999, Oracle Corporation.  All Rights Reserved.&lt;BR /&gt;&lt;BR /&gt;cannot open /dev/kmem: Permission denied&lt;BR /&gt;Assertion failed: !(fgets(hardwareAddr, (STRLEN-1), fstream) == NULL), file snlu&lt;BR /&gt;i.c, line 1250&lt;BR /&gt;Abort(coredump)&lt;BR /&gt;cyb_hpux [ /cyborg/app/oracle/product/806 ] $&lt;BR /&gt;==============================================&lt;BR /&gt;&lt;BR /&gt;Would you please assist me.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Engo.&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Feb 2003 09:45:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-open-dev-kmem-permission-denied/m-p/2904741#M936130</guid>
      <dc:creator>Engo Armand-Blaise</dc:creator>
      <dc:date>2003-02-14T09:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: cannot open /dev/kmem: Permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-open-dev-kmem-permission-denied/m-p/2904742#M936131</link>
      <description>When the client programs are invoked it uses the lanscan command.&lt;BR /&gt;&lt;BR /&gt;the problem should be on the permission of &lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lanscan&lt;BR /&gt;&lt;BR /&gt;The permissions should be &lt;BR /&gt;&lt;BR /&gt;-r-sr-xr-x   1 root    bin      32768 Jun 10  1996 lanscan&lt;BR /&gt;&lt;BR /&gt;i.e&lt;BR /&gt;4555&lt;BR /&gt;&lt;BR /&gt;REvert</description>
      <pubDate>Fri, 14 Feb 2003 10:01:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-open-dev-kmem-permission-denied/m-p/2904742#M936131</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-02-14T10:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: cannot open /dev/kmem: Permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-open-dev-kmem-permission-denied/m-p/2904743#M936132</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;if you have a metalink-account look at DocID 1041966.6&lt;BR /&gt;&lt;BR /&gt;Short summary:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;---------------------&lt;BR /&gt;&lt;BR /&gt;Problem Description:  ====================    &lt;BR /&gt;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: &lt;BR /&gt;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... &lt;BR /&gt;&lt;BR /&gt;Problem Explanation:  ====================    &lt;BR /&gt;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".    &lt;BR /&gt; &lt;BR /&gt;Solution Description:  =====================    &lt;BR /&gt;Make sure that all users have execute permissions for "lanscan" by doing the  following:    &lt;BR /&gt;1. Change locations to the "/usr/sbin" directory         % cd /usr/sbin    &lt;BR /&gt;2. Do a long listing on "lanscan"         % ls -l lanscan    &lt;BR /&gt;3. Verify the permissions on "lanscan" are set to the following:         -r-sr-xr-x   1 root    bin      32768 Jun 10  1996 lanscan*    &lt;BR /&gt;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  &lt;BR /&gt;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 &lt;BR /&gt;&lt;BR /&gt;Explanation:  =====================  &lt;BR /&gt;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. &lt;BR /&gt;. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 14 Feb 2003 10:04:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-open-dev-kmem-permission-denied/m-p/2904743#M936132</guid>
      <dc:creator>Christian Gebhardt</dc:creator>
      <dc:date>2003-02-14T10:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: cannot open /dev/kmem: Permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-open-dev-kmem-permission-denied/m-p/2904744#M936133</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Log in as root.&lt;BR /&gt;&lt;BR /&gt;#chmod u+s /usr/sbin/lanscan &lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Fri, 14 Feb 2003 10:13:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-open-dev-kmem-permission-denied/m-p/2904744#M936133</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-02-14T10:13:34Z</dc:date>
    </item>
  </channel>
</rss>

