5 Replies Latest reply: Dec 25, 2007 9:36 AM by (Tom_Rosenfeld) RSS

    Cannot run using pam authenticated user?

      Using RHEL 4 on an institutional network in which users are centrally managed. Acroread 8.1.1 will not start with ordinary user as

      acroread

      (acroread:24638): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (.....)

      Basically, this is not going to work.
        • 1. Re: Cannot run using pam authenticated user?
          Is your system configured to authenticate a user via LDAP or NIS?
          Can you try running acroread as local user (i.e. a user who is authenticated via /etc/passwd) or as root?

          Are you able to launch mozilla/firefox?
          Could you please paste the contents of the file /etc/nsswitch.conf?
          • 2. Re: Cannot run using pam authenticated user?
            Community Member
            Robert,

            Could you try changing the following lines in your /etc/nsswitch.conf:

            passwd: files
            shadow: files
            group: files

            to:

            passwd: files nis
            shadow: files nis
            group: files nis

            (You could also try adding 'ldap' to the lists.)

            Also, are you able to run other GTK/GLib-based applications, such as gedit?

            Ashutosh
            • 3. Re: Cannot run using pam authenticated user?
              Community Member
              Hi, thanks for replies
              I am indeed able to launch 'firefox', both as local user and as remotely authenticated user. Likewise, 'gedit' is no problem

              The authentication method is called LDAP .
              Here's the nsswitch.conf ( it seems like the ldap is already included here )

              passwd: files ldap
              shadow: files ldap
              group: files ldap
              hosts: files dns
              bootparams: files
              ethers: files
              netmasks: files
              networks: files
              protocols: files ldap
              rpc: files
              services: files ldap
              netgroup: files ldap
              publickey: files
              automount: files ldap
              aliases: files

              The Red-Hat EL4 provided Acroread 7.0.8 5/22/2006 also only works as local user, otherwise it produces a not-terminating stream of syntax error messages. (Package confusingly numbered acroread-7.0.9-1.2.0.EL4)

              Using new AdobeReader_enu-8.1.1-1.i486.rpm, as local user, the program runs. but gives some message about missing library. I wish the program place the error message in the stderr or similar, or at very least allowed cut and paste from the error dialog box, as it would be so much easier to tell you exactly what the error message says. It's the 32-bit/64-bit thing.

              I have read the mailing list about this issue and see that it may be easily fixed, however unless the reomote authentication issue can be fixed, there is not much point.
              • 4. Re: Cannot run using pam authenticated user?
                I have this problem with AdobeReader_enu-8.1.1-1.i486.rpm on the 64-bit version of Mandriva 2008.0. I am using LDAP authentication. I can run acroread 8.1.1 as a local user (in /etc/passwd), but when I try to run it with an LDAP authenticated user, I get the error:

                (acroread:13062): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (10000)

                My /etc/nsswitch.conf looks like this (past the comment lines):
                passwd: files ldap compat
                shadow: files ldap
                group: files ldap compat

                hosts: files nis dns
                networks: files

                services: files
                protocols: files
                rpc: files
                ethers: files
                netmasks: files
                netgroup: files
                publickey: files

                bootparams: files
                automount: files ldap
                aliases: files

                If I do a "getent passwd" command, I do see user 10000.
                • 5. Re: Cannot run using pam authenticated user?
                  I am having the same problem.

                  I am running on RedHat 4.5 64 bit. I have similar problems with any other 32 bit programs like acroread. I suspected the problem is that it needs a 32 bit nss_ldap but only the 64 bit lib is installed by default.

                  I just installed the 32 bit version via
                  # yum install nss_ldap.i386

                  and it now works, including other programs like ooffice.

                  -tom