[mpich-discuss] Credentials Rejected - Windows Vista/7 Home Premium

Jayesh Krishna jayesh at mcs.anl.gov
Mon Jul 26 16:59:39 CDT 2010


Hi,
 Please provide us the process manager/launcher dbg traces so that we can help you further. Follow the steps below to collect the traces.

# Open an admin command prompt (Right-click on command prompt icon and select "Run as administrator")
# Stop smpd (Type "smpd -stop" at the command prompt)
# Run smpd in debug mode and redirect output to a file (Type "smpd -d > smpd.log" at the command prompt)
# Run your job using launcher in verbose mode and redirect output to a file (Type "mpiexec -verbose -n 2 hostname > mpiexec.log").
# After the job launcher exits, kill smpd in debug mode (Ctrl-C to stop smpd running in debug mode)
# Start smpd in normal mode (Type "smpd -start" to start smpd in normal mode)
# Send us the mpiexec and smpd logs (smpd.log & mpiexec.log)

Regards,
Jayesh
----- Original Message -----
From: "Leonard E Schwer" <Len at Schwer.net>
To: jayesh at mcs.anl.gov
Sent: Monday, July 26, 2010 4:49:40 PM GMT -06:00 US/Canada Central
Subject: RE: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home Premium

Thanks Jayesh.

Yes, on the last MPICH2 install I made sure I checked the All Users box.


Here is the unsuccessful result of placing the IP address: 192.168.1.3 in the file mf.txt

--------------------------------------

C:\Program Files\MPICH2\bin>dir
 Volume in drive C has no label.
 Volume Serial Number is D244-ED69

 Directory of C:\Program Files\MPICH2\bin

07/26/2010  02:42 PM    <DIR>          .
07/26/2010  02:42 PM    <DIR>          ..
07/22/2009  10:42 AM           176,651 clog2TOslog2.jar
02/22/2010  06:13 PM         1,882,112 irlog2rlog.exe
07/22/2009  10:42 AM         2,427,093 jumpshot.jar
07/22/2009  10:42 AM             6,685 jumpshot_launcher.jar
07/26/2010  02:41 PM                11 mf.txt
02/22/2010  05:29 PM         1,909,248 mpiexec.exe
02/22/2010  05:29 PM         1,874,944 smpd.exe
07/22/2009  10:42 AM           118,016 traceTOslog2.jar
               8 File(s)      8,394,760 bytes
               2 Dir(s)  11,758,288,896 bytes free

C:\Program Files\MPICH2\bin>mpiexec -n 2 -machinefile mf.txt hostname
Credentials for Schwer rejected connecting to 192.168.1.3
Aborting: Unable to connect to 192.168.1.3

C:\Program Files\MPICH2\bin>ipconfig

Windows IP Configuration


Wireless LAN adapter Wireless Network Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::9453:3e71:6c81:5222%10
   IPv4 Address. . . . . . . . . . . : 192.168.1.3
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

--------------------------------------

Thanks again,	--len


-----Original Message-----
From: jayesh at mcs.anl.gov [mailto:jayesh at mcs.anl.gov] 
Sent: Monday, July 26, 2010 2:13 PM
To: Len at Schwer.net
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home Premium

Hi,
 Can you try explicitly specifying the host by its ipaddress and see if it works (mpiexec -n 2 -machinefile mf.txt hostname; where the file mf.txt contains the ipaddress of the local host)?
 As I mentioned before, did you install MPICH2 for "All users" (During installation MPICH2 installer requests for this information - the default is "Just me") ?

Regards,
Jayesh
----- Original Message -----
From: "Leonard E Schwer" <Len at Schwer.net>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Cc: mpich-discuss at mcs.anl.gov
Sent: Friday, July 23, 2010 3:28:35 PM GMT -06:00 US/Canada Central
Subject: RE: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home Premium

Thanks Jayesh.

I did not change any default setting during the install. I do not know what the possible setting are and I showed the install command line in the previous email.

I created a new admin account XYZ, logged in to that account, and opened a command window as administrator. The same credentials rejection results:

----------------------------

C:\Windows\system32>mpiexec -register
account (domain\user) [SECS8\XYZ]: XYZ
password:
confirm password:
Password encrypted into the Registry.

C:\Windows\system32>mpiexec -validate
SUCCESS

C:\Windows\system32>mpiexec -n 2 hostname
Credentials for XYZ rejected connecting to SECS8
Aborting: Unable to connect to SECS8

C:\Windows\system32>

----------------------------

Thanks for your continuing efforts,  --len

-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov] 
Sent: Friday, July 23, 2010 8:57 AM
To: Len at Schwer.net
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home Premium

Hi,
 Did you change any of the default settings when you installed MPICH2 ?
 Can you try creating a different (different from "Schwer") local admin user and running your MPI job as that user (register/validate/mpiexec)?

Regards,
Jayesh
----- Original Message -----
From: "Leonard E Schwer" <Len at Schwer.net>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Cc: mpich-discuss at mcs.anl.gov
Sent: Thursday, July 22, 2010 5:22:41 PM GMT -06:00 US/Canada Central
Subject: RE: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home Premium

Thanks Jayesh.

1. I did not install the 32 bit MPICH2 on the target 64 bit Windows Vista & 7 machines. I only mentioned I installed the 32 bit version on a Windows XP box just to indicate I could successfully install the program on some PC.

2. I uninstalled MPICH2 on the target 64 bit Windows Vista machine and attempted the install as you kindly described. The install was successful. NOTE: the file name on my installer package is slightly different:
   mpich2-1.2.1p1-win-x86-64.msi        "1.2.1p1"



Below is the series of commands issued to install, register, and validate MPICH2 and the corresponding rejection of credentials:

------------------------------------

C:\Windows\system32>f:

F:\>cd F:\LS-DYNA\MPICH2

F:\LS-DYNA\MPICH2>dir
 Volume in drive F is Software
 Volume Serial Number is F023-2D66

 Directory of F:\LS-DYNA\MPICH2

07/05/2010  09:31 AM    <DIR>          .
07/05/2010  09:31 AM    <DIR>          ..
07/02/2010  05:02 PM        13,723,136 mpich2-1.2.1p1-win-x86-64.msi
               1 File(s)     13,723,136 bytes
               2 Dir(s)  17,860,653,056 bytes free

F:\LS-DYNA\MPICH2>msiexec /i mpich2-1.2.1p1-win-x86-64.msi

F:\LS-DYNA\MPICH2>mpiexec -register
account (domain\user) [SECS8\Schwer]: Schwer
password:
confirm password:
Password encrypted into the Registry.

F:\LS-DYNA\MPICH2>mpiexec -validate
SUCCESS

F:\LS-DYNA\MPICH2>mpiexec -n 2 hostname
Credentials for Schwer rejected connecting to SECS8
Aborting: Unable to connect to SECS8

-------------------------------


Thanks again for your continuing efforts to help.

	--len


-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov] 
Sent: Thursday, July 22, 2010 8:22 AM
To: Len at Schwer.net
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home Premium

Hi,

# Did you uninstall the 32-bit version of MPICH2 before installing the 64-bit version (Currently you cannot have multiple versions of MPICH2 installed on the same system)?
# Did you launch the MPICH2 installer from an administrator command prompt using the msiexec utility (Right-click on the command prompt icon and select "Run as administrator" . From the administrator command prompt type "msiexec /i mpich2-1.2.1-win-x86-64.msi" to install MPICH2)? If not, uninstall MPICH2 and install following the steps above.

Regards,
Jayesh

----- Original Message -----
From: "Leonard E Schwer" <Len at Schwer.net>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Sent: Wednesday, July 21, 2010 1:20:42 AM GMT -06:00 US/Canada Central
Subject: RE: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home Premium

Thanks Jayesh.

I am administrator on SECS8.

Frankly I can't recall if the install was all users, but I have the ONLY account on this PC.

Also, all commands listed below were entered in a Command Window launched as administrator.

	--len

-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov] 
Sent: Tuesday, July 20, 2010 11:02 PM
To: Len at Schwer.net; mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home Premium

Hi,
 Are you an administrator on the machine (SECS8)? Did you install MPICH2 for "All users" (During installation MPICH2 installer requests for this information - the default is "Just me") ?

Regards,
Jayesh
----- Original Message -----
From: "Leonard E Schwer" <Len at Schwer.net>
To: mpich-discuss at mcs.anl.gov
Sent: Monday, July 19, 2010 1:23:00 AM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home Premium

Thanks Jayesh.

Some progress with -validate but no cigar:


C:\Windows\system32>mpiexec -remove
Account and password removed from the Registry.

C:\Windows\system32>mpiexec -register
account (domain\user) [SECS8\Schwer]: Schwer
password:
confirm password:
Password encrypted into the Registry.

C:\Windows\system32>mpiexec -validate
SUCCESS

C:\Windows\system32>mpiexec -n 2 hostname
Credentials for Schwer rejected connecting to SECS8
Aborting: Unable to connect to SECS8



	--len

-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Jayesh Krishna
Sent: Sunday, July 18, 2010 7:55 PM
To: Len at schwer.net
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home
Premium

Hi,
 Try just registering "Schwer" (instead of "SECS8\Schwer") and see if it
works ("validate" should pass).

Regards,
Jayesh
----- Original Message -----
From: "Leonard E Schwer" <Len at Schwer.net>
To: jayesh at mcs.anl.gov
Cc: mpich-discuss at mcs.anl.gov
Sent: Friday, July 16, 2010 5:04:05 PM GMT -06:00 US/Canada Central
Subject: RE: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home
Premium

Thanks again Jayesh for the reply.

I attempted your suggestion to -validate and this failed:


C:\Windows\system32>mpiexec -remove
DeleteCurrentPasswordRegistryEntry:RegDeleteValue(password) failed, error: 6
ERROR: Unable to remove the encrypted password.

C:\Windows\system32>mpiexec -register
account (domain\user) [SECS8\Schwer]:
password:
confirm password:
Password encrypted into the Registry.

C:\Windows\system32>mpiexec -validate
FAIL

C:\Windows\system32>hostname
SECS8


I *think* SECS8 is both the hostname and computer name, but is at least the
hostname.

	--len









-----Original Message-----
From: jayesh at mcs.anl.gov [mailto:jayesh at mcs.anl.gov] 
Sent: Thursday, July 15, 2010 4:29 PM
To: Len at Schwer.net
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home
Premium

Hi,
 After registering your username try validating the username/password with
the "-validate" option and provide us with the results.
 Is "SECS8" the domain name or the computer name (Type "hostname" at the
command prompt) ?

Regards,
Jayesh

----- Original Message -----
From: "Leonard E Schwer" <Len at Schwer.net>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>, mpich-discuss at mcs.anl.gov
Sent: Thursday, July 15, 2010 3:21:11 PM GMT -06:00 US/Canada Central
Subject: RE: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home
Premium

Thanks Jayesh for the response.

I have installed the 64-bit version of MPICH2 on the Windows Vista & 7
boxes.

Yes "Schwer" is a user on domain "SECS8," with admin privileges. 

I believe I demonstrated in my original email the your suggestions, re:
-remove & -register. Also, accepting the offered domain/username via hitting
a return and then supplying the password.

Thanks again for your offered suggestions.		--len

-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov] 
Sent: Tuesday, July 13, 2010 5:43 PM
To: Len at Schwer.net; mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home
Premium

Hi,
 If you are installing MPICH2 on a 64-bit machine we recommend that you
install the 64-bit version of MPICH2
(http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downl
oads). Try if it works.
 From the error message, It looks like the username/password combination is
not valid.
 Is "Schwer" a domain user (on domain SECS8)? Try accepting the default
username (Press Enter key when prompted for the username with the
"-register" option) and provide the password when prompted and see if it
works.
 Let us know the results.

Regards,
Jayesh
----- Original Message -----
From: "Leonard E Schwer" <Len at Schwer.net>
To: mpich-discuss at mcs.anl.gov
Sent: Thursday, July 8, 2010 9:55:44 AM GMT -06:00 US/Canada Central
Subject: [mpich-discuss] Credentials Rejected - Windows Vista/7 Home Premium

Hello --

I have a successful Windows XP 32 bit install of MPICH2.

I have attempted installs on two other boxes: Windows Vista and Windows 7,
both 64 bit. As far as I can tell the install went well.

My problem is getting either install to recognize my username/password.

Below is a command window session where the command window was launched
using "Run as Administrator"


C:\Windows\system32>mpiexec -remove
Account and password removed from the Registry.

C:\Windows\system32>mpiexec -register
account (domain\user) [SECS8\Schwer]:
password:
confirm password:
Password encrypted into the Registry.

C:\Windows\system32>mpiexec -n 1 hostname
Credentials for SECS8\Schwer rejected connecting to SECS8
Aborting: Unable to connect to SECS8

Any suggestions or pointers?

Thanks,	--len


--------------------------------------------------------------
Len Schwer, PhD    Schwer Engineering & Consulting Services   
Len at Schwer.net              6122 Aaron Court                  
www.schwer.net              Windsor CA 95492      
707.837.0559 (Voice)        928.833.1130 (eFAX)
707.480.8056 (Mobile)



_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list