3 Replies Latest reply on Mar 19, 2012 6:53 AM by Rohit Nayyar

    Files owned by root-tpasswd.conf

      Hi,

       

      A 8.1 appserver was installed as root.

      It starts correctly , but as soon as I try to use the infrastructre manager, and click on Appserver launcher to create  new deployments

      i get this error

       

      [19 Mar 2012 11:06:24,774] [RMI TCP Connection(4)-10.81.55.74] [ERROR] [::] [] Failed to load primary numbers file.

      java.io.FileNotFoundException: /opt/nsh/NSH/br/tpasswd.conf (Permission denied)

       

      When I looked at the file

      -rw-r----- 1 root    root       347 Mar 16 16:44 tpasswd.conf

      And I can see there are many files owned by root which I think should be owned by bladmin,

       

       

      e.g

       

      -rwxr-xr-x 1 root    root    117039 Mar 16 16:31 vmware-config.xml

      -rwxr-xr-x 1 root    root    815372 Mar 16 16:31 UI.xml

      -rwxr-xr-x 1 root    root      2049 Mar 16 16:31 UI.dtd

      -rwxr-xr-x 1 root    root      1627 Mar 16 16:31 ui.cf

      -rwxr-xr-x 1 root    root      1993 Mar 16 16:31 tftpsvr.cf

      drwxr-xr-x 2 root    root     12288 Mar 16 16:32 stdlib

      -rwxr-xr-x 1 root    root      7127 Mar 16 16:32 postmigration

      -rwxr-xr-x 1 root    root      7059 Mar 16 16:32 jmxcli

      -rwxr-xr-x 1 root    root      7621 Mar 16 16:32 dbdiagnostics

      -rwxr-xr-x 1 root    root      7086 Mar 16 16:32 blprocserv

      -rwxr-xr-x 1 root    root      7059 Mar 16 16:32 blmkcert

      -rwxr-xr-x 1 root    root      1715 Mar 16 16:32 blmigration_mgr

      -rwxr-xr-x 1 root    root      8416 Mar 16 16:32 bljython

      -rwxr-xr-x 1 root    root      6860 Mar 16 16:32 bljconsole-launcher

      -rwxr-xr-x 1 root    root      6923 Mar 16 16:32 bljconsole

      -rwxr-xr-x 1 root    root      6904 Mar 16 16:32 bl_gen_blcli_user_info

      -rwxr-xr-x 1 root    root      7757 Mar 16 16:32 blcred

      -rwxr-xr-x 1 root    root      7058 Mar 16 16:32 blcontent

      -rwxr-xr-x 1 root    root      6967 Mar 16 16:32 blcli-generate-html

      -rwxr-xr-x 1 root    root      6994 Mar 16 16:32 blcli-browse

      -rwxr-xr-x 1 root    root      8251 Mar 16 16:32 blcli

      -rwxr-xr-x 1 root    root      6899 Mar 16 16:32 blciviewer

      -rwxr-xr-x 1 root    root      7045 Mar 16 16:32 blasadmin

      -rwxr-xr-x 1 root    root      7083 Mar 16 16:32 blappserv

      -rwxr-xr-x 1 root    root      6957 Mar 16 16:32 blappconf

      -rwxr-xr-x 1 root    root      6945 Mar 16 16:32 bladduser

      -rwxr-xr-x 1 root    root      6947 Mar 16 16:32 bladdlauncheruser

      -rwxr-xr-x 1 root    root      1879 Mar 16 16:32 tftp.conf

      -rwxr-xr-x 1 root    root      7106 Mar 16 16:32 bltftp

      -rwxr-xr-x 1 root    root      7000 Mar 16 16:32 blpxeconf

      -rwxr-xr-x 1 root    root      7119 Mar 16 16:32 blpxe

      This is RH Linux 64 bit 8.1 SP4

      Can any1 quickly look at  their envirnment and give me a check result ?

       

      Thanks,

      Rohit

        • 1. Re: Files owned by root-tpasswd.conf
          Bharat Moghe

          Rohit,

           

          You are correct, Ideally it should be owned by bladmin with following permissions.

           

          -rwxrwxr-x 1 bladmin bladmin         0 Mar  7 00:32 tpasswd

          -rwxrwxr-x 1 bladmin bladmin       347 Mar  7 00:32 tpasswd.conf

           

          Bharat

          • 2. Re: Files owned by root-tpasswd.conf
            Bharat Moghe

            Following are the directories and files owned by bladmin.

             

            drwxrws--- 2 root    bladmin      4096 Mar  6 23:13 pref

            drwxrwxr-x 2 bladmin bladmin      4096 Mar  6 23:13 bnp

            drwxrwxr-x 4 bladmin bladmin      4096 Mar  6 23:13 autoimportcontent

            drwxrwxr-x 2 bladmin root         4096 Mar  6 23:13 appcert

            drwxrwxr-x 4 bladmin bladmin      4096 Mar  6 23:13 auditcomparetool

            drwxrwsr-x 2 bladmin bladmin     20480 Mar  6 23:13 images

            -rwxrwxr-x 1 bladmin bladmin       347 Mar  7 00:32 tpasswd.conf

            -rwxrwxr-x 1 bladmin bladmin         0 Mar  7 00:32 tpasswd

            -rwxrwxr-x 1 bladmin bladmin         0 Mar  7 00:32 bl-statistics.csv

            drwxrwxr-x 6 bladmin bladmin      4096 Mar  7 04:50 deployments

             

            and rest of the files are owned by root.

             

            -rwxrwxr-x 1 root    root         4294 Mar  6 23:13 bl_jmx_monitor.properties

            -rwxrwxr-x 1 root    root         1433 Mar  6 23:13 fixunattendedxmlscripts

            drwxrwxr-x 2 root    root         4096 Mar  6 23:13 files

            -rwxrwxr-x 1 root    root         1989 Mar  6 23:13 patchsub.xml

            -rwxrwxr-x 1 root    root       160904 Mar  6 23:13 libavmlinux.so

            -rwxrwxr-x 1 root    root       755080 Mar  6 23:13 libavctKVMIO.so

            -rwxrwxr-x 1 root    root         1274 Mar  6 23:13 launchkvm.sh

            drwxrwxr-x 6 root    root         4096 Mar  6 23:14 java

            -rwxrwxr-x 1 root    root         6522 Mar  6 23:14 postmigration

            -rwxrwxr-x 1 root    root         7075 Mar  6 23:14 dbdiagnostics

            -rwxrwxr-x 1 root    root         6488 Mar  6 23:14 blprocserv

            -rwxrwxr-x 1 root    root         6454 Mar  6 23:14 blmkcert

            -rwxrwxr-x 1 root    root         1818 Mar  6 23:14 blmigration_mgr

            -rwxrwxr-x 1 root    root         6456 Mar  6 23:14 blcontent

            -rwxrwxr-x 1 root    root         6440 Mar  6 23:14 blasadmin

            -rwxrwxr-x 1 root    root         6485 Mar  6 23:14 blappserv

            -rwxrwxr-x 1 root    root         6337 Mar  6 23:14 blappconf

            -rwxrwxr-x 1 root    root         6312 Mar  6 23:14 bladduser

            -rwxrwxr-x 1 root    root         6327 Mar  6 23:14 bladdlauncheruser

            -rwxrwxr-x 1 root    root         2021 Mar  6 23:19 post_install.log

            drwxrwxr-x 2 root    root        12288 Mar  7 22:39 stdlib

            -rwxrwxr-x 1 root    root         6454 Mar  7 22:40 jmxcli

            -rwxrwxr-x 1 root    root        12807 Mar  7 22:40 bljython

            -rwxrwxr-x 1 root    root        11068 Mar  7 22:40 bljconsole-launcher

            -rwxrwxr-x 1 root    root        11178 Mar  7 22:40 bljconsole

            -rwxrwxr-x 1 root    root        11136 Mar  7 22:40 bl_gen_blcli_user_info

            -rwxrwxr-x 1 root    root        12101 Mar  7 22:40 blcred

            -rwxrwxr-x 1 root    root        11204 Mar  7 22:40 blcli-generate-html

            -rwxrwxr-x 1 root    root        12597 Mar  7 22:40 blcli-browse

            -rwxrwxr-x 1 root    root        12596 Mar  7 22:40 blcli

            -rwxrwxr-x 1 root    root        11115 Mar  7 22:40 blciviewer

            1 of 1 people found this helpful
            • 3. Files owned by root-tpasswd.conf

              Thanks,

               

              Now  I need to knw how was it owned by root ,

              may be some started the appserver as sudo and not root

              or directly blaapservr !

              I did resolve that earlier by giving tpasswd.conf read permissions for bladmin