[SGE-discuss] qlogin / qrsh not working if user shell is bash ...

2018-03-26 Thread Sylvain MILOT


Hello,

first post to the list!

I've been using version 8.1.9 for over a year now and it works rather well.

I do have an issue with qlogin / qrsh though, as I can't get it to work when 
the user's shell is set to bash - works well when the user's shell is set to 
tcsh.

qsub works well no matter what the user's shell is set to.

I even tried while removing start up scripts but I keep getting the same 
warning:

"waiting for interactive job to be scheduled ...Your "qlogin" request could not be 
scheduled, try again later."

It's not a resource issue and I reserved a test queue to troubleshoot this. 
It's systematic, tcsh as a user shell works but bash doesn't.

I'm using the builtin commands...

$ qconf -sconf | grep login
login_shells bash,sh,ksh,csh,tcsh
qlogin_command   builtin
qlogin_daemonbuiltin
rlogin_command   builtin
rlogin_daemonbuiltin

Any help on how to troubleshoot this would be greatly appreciated.

Regards,

---
Sylvain Milot (sylv...@bic.mni.mcgill.ca)
  (sylvain.mi...@mcgill.ca)
Brain Imaging Centre
Montreal Neurological Institute
3801 University Street, Webster 2B, Room 206
Montreal, Qc., Canada, H3A 2B4
Phone  : (514) 398-4965, Fax: 398-8948
Mobile : (514) 712-1768
Office : Room NW119 (North Wing)
___
SGE-discuss mailing list
SGE-discuss@liv.ac.uk
https://arc.liv.ac.uk/mailman/listinfo/sge-discuss


Re: [SGE-discuss] qlogin / qrsh not working if user shell is bash ...

2018-03-26 Thread Reuti
Hi,

> Am 26.03.2018 um 18:23 schrieb Sylvain MILOT :
> 
> 
> Hello,
> 
> first post to the list!
> 
> I've been using version 8.1.9 for over a year now and it works rather well.
> 
> I do have an issue with qlogin / qrsh though, as I can't get it to work when 
> the user's shell is set to bash - works well when the user's shell is set to 
> tcsh.
> 
> qsub works well no matter what the user's shell is set to.
> 
> I even tried while removing start up scripts but I keep getting the same 
> warning:
> 
> "waiting for interactive job to be scheduled ...Your "qlogin" request could 
> not be scheduled, try again later."
> 
> It's not a resource issue and I reserved a test queue to troubleshoot this. 
> It's systematic, tcsh as a user shell works but bash doesn't.
> 
> I'm using the builtin commands...
> 
> $ qconf -sconf | grep login
> login_shells bash,sh,ksh,csh,tcsh
> qlogin_command   builtin
> qlogin_daemonbuiltin
> rlogin_command   builtin
> rlogin_daemonbuiltin
> 
> Any help on how to troubleshoot this would be greatly appreciated.

Is Bash really Bash in your setup? Sometimes it's a link to Dash. Although this 
shouldn't hurt, it's worth to check before looking further.

-- Reuti


> Regards,
> 
> ---
> Sylvain Milot (sylv...@bic.mni.mcgill.ca)
>  (sylvain.mi...@mcgill.ca)
> Brain Imaging Centre
> Montreal Neurological Institute
> 3801 University Street, Webster 2B, Room 206
> Montreal, Qc., Canada, H3A 2B4
> Phone  : (514) 398-4965, Fax: 398-8948
> Mobile : (514) 712-1768
> Office : Room NW119 (North Wing)
> ___
> SGE-discuss mailing list
> SGE-discuss@liv.ac.uk
> https://arc.liv.ac.uk/mailman/listinfo/sge-discuss
> 

___
SGE-discuss mailing list
SGE-discuss@liv.ac.uk
https://arc.liv.ac.uk/mailman/listinfo/sge-discuss


Re: [SGE-discuss] qlogin / qrsh not working if user shell is bash ...

2018-03-26 Thread Sylvain MILOT


Hallo Reuti,

On Mon, 26 Mar 2018, Reuti wrote:


Hi,


Am 26.03.2018 um 18:23 schrieb Sylvain MILOT :


Hello,

first post to the list!

I've been using version 8.1.9 for over a year now and it works rather well.

I do have an issue with qlogin / qrsh though, as I can't get it to work when 
the user's shell is set to bash - works well when the user's shell is set to 
tcsh.

qsub works well no matter what the user's shell is set to.

I even tried while removing start up scripts but I keep getting the same 
warning:

"waiting for interactive job to be scheduled ...Your "qlogin" request could not be 
scheduled, try again later."

It's not a resource issue and I reserved a test queue to troubleshoot this. 
It's systematic, tcsh as a user shell works but bash doesn't.

I'm using the builtin commands...

$ qconf -sconf | grep login
login_shells bash,sh,ksh,csh,tcsh
qlogin_command   builtin
qlogin_daemonbuiltin
rlogin_command   builtin
rlogin_daemonbuiltin

Any help on how to troubleshoot this would be greatly appreciated.


Is Bash really Bash in your setup? Sometimes it's a link to Dash. Although this 
shouldn't hurt, it's worth to check before looking further.


no links.

I have also tried with /bin/dash, while sh is a symlink to bash - same behavior.

I compared the strace output of a qsh call for bash and tcsh, searching for 
clues, but aside from an apparent time-out, I didn't see anything obvious.

Sylvain

---
Sylvain Milot (sylv...@bic.mni.mcgill.ca)
  (sylvain.mi...@mcgill.ca)
Brain Imaging Centre
Montreal Neurological Institute
3801 University Street, Webster 2B, Room 206
Montreal, Qc., Canada, H3A 2B4
Phone  : (514) 398-4965, Fax: 398-8948
Mobile : (514) 712-1768
Office : Room NW119 (North Wing)
___
SGE-discuss mailing list
SGE-discuss@liv.ac.uk
https://arc.liv.ac.uk/mailman/listinfo/sge-discuss


Re: [SGE-discuss] qlogin / qrsh not working if user shell is bash ...

2018-03-26 Thread Sylvain MILOT


Hi again,

On Mon, 26 Mar 2018, Sylvain MILOT wrote:



I do have an issue with qlogin / qrsh though, as I can't get it to work 
when the user's shell is set to bash - works well when the user's shell is 
set to tcsh.


qsub works well no matter what the user's shell is set to.

I even tried while removing start up scripts but I keep getting the same 
warning:


"waiting for interactive job to be scheduled ...Your "qlogin" request 
could not be scheduled, try again later."


It's not a resource issue and I reserved a test queue to troubleshoot 
this. It's systematic, tcsh as a user shell works but bash doesn't.


I'm using the builtin commands...

$ qconf -sconf | grep login
login_shells bash,sh,ksh,csh,tcsh
qlogin_command   builtin
qlogin_daemonbuiltin
rlogin_command   builtin
rlogin_daemonbuiltin

Any help on how to troubleshoot this would be greatly appreciated.


Is Bash really Bash in your setup? Sometimes it's a link to Dash. Although 
this shouldn't hurt, it's worth to check before looking further.


no links.

I have also tried with /bin/dash, while sh is a symlink to bash - same 
behavior.


I compared the strace output of a qsh call for bash and tcsh, searching for 
clues, but aside from an apparent time-out, I didn't see anything obvious.


I found the error of my ways ... it was indeed related to resources - I had 
forgotten about some quota restrictions I had enforced for testing purposes ... 
for my particular test user.

sorry for the noise and thanks for listening.

Sylvain

---
Sylvain Milot (sylv...@bic.mni.mcgill.ca)
  (sylvain.mi...@mcgill.ca)
Brain Imaging Centre
Montreal Neurological Institute
3801 University Street, Webster 2B, Room 206
Montreal, Qc., Canada, H3A 2B4
Phone  : (514) 398-4965, Fax: 398-8948
Mobile : (514) 712-1768
Office : Room NW119 (North Wing)
___
SGE-discuss mailing list
SGE-discuss@liv.ac.uk
https://arc.liv.ac.uk/mailman/listinfo/sge-discuss