<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hi Torque Team,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>thank you for uploading the beta of Torque 2.5.0! I’ve
just downloaded it and tried to install it on a Linux cluster as well as
cluster running Windows. While the installation on the Linux cluster worked
just out of the box I’ve some problems to get the system to work on
Windows using Cygwin (version 1.7.5). As a first step on the Windows side
I’m not working on the Windows cluster but just locally on my desktop
machine which I use as test environment to collect some experience with Torque
on Windows. The setup of the machine is as follows: It is running Windows XP
(x64). It is member of a Windows domain and I usually work on the machine using
a domain account. However, for the setup I decided to use the local user
“Administrator” as user account which runs the Torque services to
keep things as simple as possible. I wanted to install all components
(pbs_server, pbs_sched and pbs_mom) on this machine and then submit jobs
locally using my normal user account which is defined in the domain. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>All Torque services start without any problem. However, as
soon as I submit a job using my normal user account on the machine the job ends
immediately and in the stdout and stderr files is only one line saying
“shell "/bin/bash" is not executable by user
"FelixWolfheimer"” (stdout) and “PBS: exec of shell
'/bin/bash' failed” (stderr), which is very strange as I can use the bash
shell as this user. I guess this has something to do with user permissions but
after hours trying to figure out what is happening I’m quite clueless
now. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>This is what I did so far:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Logged in as “Administrator” (using the local
Admin account to prevent messing around with the domain stuff).<o:p></o:p></p>
<p class=MsoNormal>Downloaded and installed the Cygwin packages mentioned in
README.cygwin. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Downloaded Torque and configured it using the following
options:<o:p></o:p></p>
<p class=MsoNormal>configure
--disable-gui
\<o:p></o:p></p>
<p class=MsoNormal>
--disable-gcc-warnings \<o:p></o:p></p>
<p class=MsoNormal>
--enable-force-nodefile \<o:p></o:p></p>
<p class=MsoNormal>
--enable-static \<o:p></o:p></p>
<p class=MsoNormal>
--enable-shared \<o:p></o:p></p>
<p class=MsoNormal>
--with-rcp=scp \<o:p></o:p></p>
<p class=MsoNormal>
--disable-unixsockets \<o:p></o:p></p>
<p class=MsoNormal>
--disable-daemons<o:p></o:p></p>
<p class=MsoNormal>Running make and make install ran just fine and gave no
errors or warnings. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The setup of passwordless ssh for Administrator and my
normal user account worked seamlessly and I can login without being prompted
for a password. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The AddPriviledges script did its work and editrights
–l –u Administrator gives me:<o:p></o:p></p>
<p class=MsoNormal>SeCreateTokenPriviledge<o:p></o:p></p>
<p class=MsoNormal>SeServiceLogonRight<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I found out that you need to edit the /etc/passwd and
/etc/group files manually to assign the Administrator account to the correct
primary group (“Administrators”, 544) as this is not done
automatically. Maybe this could be included in the README.cygwin. It took me
quite a while to find this out. Otherwise the account
“Administrator” was not able to start the services (Message was:
“Must be started by user with Administrator priviledges” or
something similar).<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The relevant part of my /etc/passwd now looks like<o:p></o:p></p>
<p class=MsoNormal>SYSTEM:*:18:544:,S-1-5-18::<o:p></o:p></p>
<p class=MsoNormal>LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::<o:p></o:p></p>
<p class=MsoNormal>NetworkService:*:20:544:U-NT
AUTHORITY\NetworkService,S-1-5-20::<o:p></o:p></p>
<p class=MsoNormal>Administrators:*:544:544:,S-1-5-32-544::<o:p></o:p></p>
<p class=MsoNormal>Administrator:unused:500:544:U-LIVINGSTONE\Administrator,S-1-5-21-180349294-2701364224-4190585567-500:/home/Administrator:/bin/bash<o:p></o:p></p>
<p class=MsoNormal><my_account>:unused:17690:545:<my_name>,<U-DOMAIN>\<my_account>,S-1-5-21-56627864-598502587-623647154-7690:/home/<my_account>:/bin/bash<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>where “<my_account>” is the name of my
user account.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The relevant part of my /etc/group looks like<o:p></o:p></p>
<p class=MsoNormal>SYSTEM:S-1-5-18:18:<o:p></o:p></p>
<p class=MsoNormal>Administrators:S-1-5-32-544:544:Administrator<o:p></o:p></p>
<p class=MsoNormal>Users:S-1-5-32-545:545:<my_account><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I registered the Torque services using cygrunsrv and they
start up correctly and run under the “Administrator” account. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Has anyone an idea what I’m doing wrong?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thank you very much for your help.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Best regards<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Felix Wolfheimer<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>