su to lawson

Sort:
You are not authorized to post a reply.
Author
Messages
Mick
Veteran Member
Posts: 82
Veteran Member
    WHen we try to run a flow no matter the system commad we are doing ... Something as simple as 'whoami'.
    getting the message cannot su to lawson.
    No where have we tried to su to lawson.
    when we logon we are logging in as lawson..
    any ideas?
    Woozy
    Veteran Member
    Posts: 709
    Veteran Member
      Hi Mick,

      So this is only a problem when you are running system commands from within a flow?

      Are you running the command on the same server, or are you trying to make a remote connection?  This is just a guess, but did you correctly configure a System Command Connection within "Process Server Administration>>System Configuration>>main (or wherever)>>Sys Cmd (tab)" and then point to that connection in your node? 

      Kelly



      Kelly Meade
      J. R. Simplot Company
      Boise, ID
      Mick
      Veteran Member
      Posts: 82
      Veteran Member
        Hey Kelly,
        from the process server adminstration>>there is not a systeom configuration (9.0.1.7) i did look at the pfserv config and the system command is 'lawson' the http was incorrect but still getting cannot su to lawson.
        Even with a simple 'whoami' it is comming back with cannot su to lawson.
        of course after a couple of tries I have to reset the lawson password.

        In designer the system command is set to automatic.
        Mick
        Veteran Member
        Posts: 82
        Veteran Member
          Hi Kelly,
          Wanted to extend a great big 'Thank you'.
          I changed it in the pfserv config to [none]
          stopped and started pfserv stop all / pfserv start all
          stopped and started bpm.

          Walla...
          Thanks again
          Woozy
          Veteran Member
          Posts: 709
          Veteran Member
            Yay!  I'm glad you got it fixed.  I was thinking Landmark Pflow (IPA) rather than LSF Pflow, which is why my answer was a little different.  Same concept, but different admin requirements.  Hopefully you'll be good-to-go now.

            Kelly
            Kelly Meade
            J. R. Simplot Company
            Boise, ID
            Mick
            Veteran Member
            Posts: 82
            Veteran Member
              No problem at all, it pointed me in the right location.
              Now.....
              since that su to lawson is gone...
              I'm now getting sh -c in front of the command in process flwo.

              my system command is whoami
              when I run the flow it puts sh -c whoami..
              where is the sh -c comming from?
              Woozy
              Veteran Member
              Posts: 709
              Veteran Member
                I'm betting that you have the "Execution mode" of the system command node set to either "run shell" or "run shell as command user". How you set this depends on how the command would be run at a command prompt. If you are calling "whoami" then this would need to be set to "automatic" (most likely) or "run program directly". If it needs to run in a shell, then you select one of the other options as appropriate.

                You'll just need to fiddle with the settings until it passes what you are expecting it to pass. You might check out the LSF InfoGuide under "ProcessFlow Administration>>ProcessFlow Developer Guide>>Working with ProcessFlowDesigner>>Integration Activities>>System Command Activity Node". It describes the different options for this dropdown.

                Good luck.
                Kelly Meade
                J. R. Simplot Company
                Boise, ID
                Mick
                Veteran Member
                Posts: 82
                Veteran Member
                  Thank you once again.
                  Have a really good day.
                  You are not authorized to post a reply.