# Qstat: cannot connect to server amaster (errno=113)

**URL:** <https://community.openpbs.org/t/qstat-cannot-connect-to-server-amaster-errno-113/1900>\
**Category:** Users/Site Administrators\
**Created:** [December 11, 2019, 7:30am UTC](https://community.openpbs.org/t/qstat-cannot-connect-to-server-amaster-errno-113/1900 "2019-12-11T07:30:10Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![zainul1114](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/zainul1114/32/263_2.png) [@zainul1114](https://community.openpbs.org/u/zainul1114)\
**Post date:** [December 13, 2019, 10:33am UTC](https://community.openpbs.org/t/qstat-cannot-connect-to-server-amaster-errno-113/1900/3 "2019-12-13T10:33:43Z")

</div>

thanks for your response,  
selinux was enabled on computenode. i have disabled and its working.

But when i submit job from pbsdata user on the pbs server node, i am getting below

1. finally it shows Error state
2. i am not able to view location of error file  
Error\_Path = [raidsm.calligotech.com](http://raidsm.calligotech.com):/home/pbsdata/STDIN.e12
3. how to store log file like STDIN.e and STDIN.o

[pbsdata@raidsm ~] qsub -l select=1:ncpus=2:mem=100mb:host=raidsn -- echo "echo calligo" 12.raidsm.calligotech.com [pbsdata@raidsm ~] qstat -ans

[raidsm.calligotech.com](http://raidsm.calligotech.com):  
Req’d Req’d Elap  
Job ID Username Queue Jobname SessID NDS TSK Memory Time S Time

* * *

12.raidsm.calli pbsdata workq STDIN 2435 1 2 100mb – E 00:00  
raidsn/0_2  
Job run at Fri Dec 13 at 15:51 on (raidsn:ncpus=2:mem=102400kb)  
[pbsdata@raidsm ~]$ qstat -fx [12.raidsm.calligotech.com](http://12.raidsm.calligotech.com)  
Job Id: [12.raidsm.calligotech.com](http://12.raidsm.calligotech.com)  
Job\_Name = STDIN  
Job\_Owner = [pbsdata@raidsm.calligotech.com](mailto:pbsdata@raidsm.calligotech.com)  
resources\_used.cpupercent = 0  
resources\_used.cput = 00:00:00  
resources\_used.mem = 0kb  
resources\_used.ncpus = 2  
resources\_used.vmem = 0kb  
resources\_used.walltime = 00:00:00  
job\_state = E  
queue = workq  
server = [raidsm.calligotech.com](http://raidsm.calligotech.com)  
Checkpoint = u  
ctime = Fri Dec 13 15:51:25 2019  
Error\_Path = [raidsm.calligotech.com](http://raidsm.calligotech.com):/home/pbsdata/STDIN.e12  
exec\_host = raidsn/0_2  
exec\_vnode = (raidsn:ncpus=2:mem=102400kb)  
Hold\_Types = n  
Join\_Path = n  
Keep\_Files = n  
Mail\_Points = a  
mtime = Fri Dec 13 15:51:25 2019  
Output\_Path = [raidsm.calligotech.com](http://raidsm.calligotech.com):/home/pbsdata/STDIN.o12  
Priority = 0  
qtime = Fri Dec 13 15:51:25 2019  
Rerunable = True  
Resource\_List.mem = 100mb  
Resource\_List.ncpus = 2  
Resource\_List.nodect = 1  
Resource\_List.place = free  
Resource\_List.select = 1:ncpus=2:mem=100mb:host=raidsn  
stime = Fri Dec 13 15:51:25 2019  
session\_id = 2435  
jobdir = /home/pbsdata  
substate = 51  
Variable\_List = PBS\_O\_HOME=/home/pbsdata,PBS\_O\_LANG=en\_US.UTF-8,  
PBS\_O\_LOGNAME=pbsdata,  
PBS\_O\_PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sha  
re/apps/platform/pbs/bin:/home/pbsdata/.local/bin:/home/pbsdata/bin,  
PBS\_O\_MAIL=/var/spool/mail/pbsdata,PBS\_O\_SHELL=/bin/bash,  
PBS\_O\_WORKDIR=/home/pbsdata,PBS\_O\_SYSTEM=Linux,PBS\_O\_QUEUE=workq,  
PBS\_O\_HOST=[raidsm.calligotech.com](http://raidsm.calligotech.com)  
comment = Job run at Fri Dec 13 at 15:51 on (raidsn:ncpus=2:mem=102400kb)  
etime = Fri Dec 13 15:51:25 2019  
run\_count = 1  
Exit\_status = 254  
Submit\_arguments = -l select=1:ncpus=2:mem=100mb:host=raidsn – echo echo c  
alligo  
executable = jsdl-hpcpa:Executableecho\</jsdl-hpcpa:Executable\>  
argument\_list = jsdl-hpcpa:Argumentecho calligo\</jsdl-hpcpa:Argument\>  
project = \_pbs\_project\_default

[pbsdata@raidsm ~]$

Qmgr : print server is below  
[root@raidsm ~]# qmgr -c “p s”

# 

Create queues and set their attributes.

# 

# 

Create and define queue workq

# 

create queue workq  
set queue workq queue\_type = Execution  
set queue workq enabled = True  
set queue workq started = True

# 

Set server attributes.

# 

set server scheduling = True  
set server default\_queue = workq  
set server log\_events = 511  
set server mail\_from = adm  
set server query\_other\_jobs = True  
set server resources\_default.ncpus = 1  
set server default\_chunk.ncpus = 1  
set server scheduler\_iteration = 600  
set server resv\_enable = True  
set server node\_fail\_requeue = 310  
set server max\_array\_size = 10000  
set server pbs\_license\_min = 0  
set server pbs\_license\_max = 2147483647  
set server pbs\_license\_linger\_time = 31536000  
set server eligible\_time\_enable = False  
set server job\_history\_enable = True  
set server job\_history\_duration = 720:00:00  
set server max\_concurrent\_provision = 5  
set server max\_job\_sequence\_id = 9999999  
[root@raidsm ~]#  
[root@raidsm ~]# qmgr -c “print node @default”

# 

Create nodes and set their properties.

# 

# 

Create and define node raidsn

# 

create node raidsn [Mom=raidsn.calligotech.com](http://Mom=raidsn.calligotech.com)  
set node raidsn state = free  
set node raidsn resources\_available.arch = linux  
set node raidsn resources\_available.host = raidsn  
set node raidsn resources\_available.mem = 5986384kb  
set node raidsn resources\_available.ncpus = 4  
set node raidsn resources\_available.vnode = raidsn  
set node raidsn resv\_enable = True

Please guide me to resolve this issue.

---

_[View the full topic](https://community.openpbs.org/t/qstat-cannot-connect-to-server-amaster-errno-113/1900)._
