unable to view tcl scripts in prod serrver

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf unable to view tcl scripts in prod serrver

  • Creator
    Topic
  • #54052
    SREEKANTH CHANDIKA
    Participant

      We use cloverleaf ver 5.8 on Linux 2.6.18-308.11.1.el5 x86_64

      From GUI we are unable to view the scripts.All edits we do using vi only.Please let me know if any one faced this issue and solution to fix it ?

    Viewing 6 reply threads
    • Author
      Replies
      • #79993
        James Cobane
        Participant

          Sreekanth,

          You probably need to run the ‘mktclindex’ command in the $HCISITEDIR/tclprocs directory (at the command line).

        • #79994
          Jim Kosloskey
          Participant

            Also if you placed the scripts in the Master Site and are trying to view them from a specific site they will not appear in the Tcl procs directory of the specific site’s GUI – you will need to view them in teh Master Site.

            Of course assuming you made the index as Jim Cobane suggested.

            email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

          • #79995
            SREEKANTH CHANDIKA
            Participant

              Hi Jim

              This issue i am facing in PROD environs only. Every time a tcl is written , mktclindex is being run. PLease find the screen shot as it says insufficinet privileges.

              Kindly let me know what settings i need to do on the server to view TCL script from GUI

            • #79996
              Jim Kosloskey
              Participant

                Are the permissions set properly for the Tcl file? Need to have read/write/execute permissions.

                email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

              • #79997
                SREEKANTH CHANDIKA
                Participant

                  This happens to all the scripts under tclprocs folder.I have the permissions as i was able to create procs and save in tclprocs directory using vi.

                  Are there any specific settings we need to make in cloverleaf client / server ?

                • #79998
                  Terry Kellum
                  Participant

                    Needs to be readable/writeable by hci user.  You also need to check the permissions of the directories as well.

                    I usually just open and resave the proc in the gui when I’m done with it.

                    That is a quick check on perms as well as doing the mktclindex automagically.  (I use Komodo to edit my TCL files.)

                  • #79999

                    The IDE using the “hci” user and “staff” group on Linux. Make sure that you have the permission correct on Cloverleaf’s file structure (ex. /cloverleaf).

                    Here are my notes on using Linux users and Cloverleaf.

                    How to Use Unix Users

                       The sudo and su command provides a comprehensive audit trail

                           Each successful authentication is logged to the file /var/log/messages

                           The command issued along with the issuer’s user name is logged to the file /var/log/secure

                       Add the ‘staff’ group to the ‘sudoers’ list

                           visudo

                           Add this line: %staff ALL=(ALL) ALL

                       Make all files under $HCIROOT readable, writable, and executable to hci and the staff group

                           chown -R hci:staff $HCIROOT

                           chmod -R 774 $HCIROOT

                       Add all cloverleaf users and hci to the

                    -- Max Drown (Infor)

                Viewing 6 reply threads
                • The forum ‘Cloverleaf’ is closed to new topics and replies.