3 Replies Latest reply on Sep 28, 2017 3:21 PM by Notch201110141

    PAM error when trying to Run Program in Guest through vCO in PhotonOS

    hchchchc Novice

      hi,

       

      i have an issue with PhotonOS and Orchestrator.

      when i try to run a script inside PhotonOS through VMware Tools i get the following error messages:

       

      [Mar 31 14:11:07.011] [ warning] [VCGA] PAM error: Authentication failure (7)

      [Mar 31 14:11:07.011] [ warning] [vix] VixToolsImpersonateUser: impersonation failed (3050)

      [Mar 31 14:11:07.011] [ message] [vix] VixToolsCreateTempFile: opcode 182 returning 3050

      [Mar 31 14:11:07.011] [ message] [vix] ToolsDaemonTcloReceiveVixCommand: additionalError = 2

      [Mar 31 14:26:52.492] [ message] [vix] VixTools_ProcessVixCommand: command 186

      [Mar 31 14:26:52.494] [ warning] [VCGA] PAM error: Authentication failure (7)

      [Mar 31 14:26:52.494] [ warning] [vix] VixToolsImpersonateUser: impersonation failed (3050)

      [Mar 31 14:26:52.494] [ message] [vix] VixToolsListProcessesEx: opcode 186 returning 3050

      [Mar 31 14:26:52.494] [ message] [vix] ToolsDaemonTcloReceiveVixCommand: additionalError = 2

       

      Mar 31 14:11:07 demchhc031x VGAuth[339]: vmtoolsd: Username and password mismatch for 'root'.

      Mar 31 14:20:24 demchhc031x syslog-ng[185]: Log statistics; processed='center(received)=214', processed='src.internal(s_local#2)=142', stamp='src.internal(s_local#2)=1459433424', processed='center(queued)=214', processed='src.none()=0', stamp='src.none()=0', processed='global(payload_reallocs)=217', processed='global(sdata_updates)=0', processed='destination(d_local)=214', processed='global(msg_clones)=0', processed='source(s_local)=214', processed='global(internal_queue_length)=0'

      Mar 31 14:26:52 demchhc031x VGAuth[339]: pam_warn(vmtoolsd:auth): function=[pam_sm_authenticate] service=[vmtoolsd] terminal=[<unknown>] user=[root] ruser=[<unknown>] rhost=[<unknown>]

      Mar 31 14:26:52 demchhc031x VGAuth[339]: vmtoolsd: Username and password mismatch for 'root'.

      Mar 31 14:30:24 demchhc031x syslog-ng[185]: Log statistics; processed='center(received)=217', processed='src.internal(s_local#2)=143', stamp='src.internal(s_local#2)=1459434024', processed='center(queued)=217', processed='src.none()=0', stamp='src.none()=0', processed='global(payload_reallocs)=220', processed='global(sdata_updates)=0', processed='destination(d_local)=217', processed='global(msg_clones)=0', processed='source(s_local)=217', processed='global(internal_queue_length)=0'

       

      root password is 100% right (sopy paste).

      i can log on through ssh with this password.

      but when i run the workflow "Run Program in Guest" i get these errors.

       

      Failed to authenticate with the guest operating system using the supplied credentials. (Workflow:Run program in guest / Scriptable task (item1)#15)

      where line #15 is:

           result = processManager.startProgramInGuest(vm , guestAuth , guestProgramSpec);

       

      thanks for your help !

      Chris