Discussion:
[torqueusers] torque :: configuration problems on localhost
Adrian Sevcenco
2011-09-06 19:53:09 UTC
Permalink
Hi! I try to install torque on a simple 8 core computer ..
i have a simple queue and simple configuration ..
the thing is that i keep receiving:

set server managers = root at localhost
qmgr obj= svr=default: Bad ACL entry in host list MSG=First bad host:
localhost

Any idea about the problem?
Thanks!


OS : Fedora 14, torque 2.4.11

configuration:

create queue alice
set queue alice queue_type = Execution
set queue alice max_running = 8
set queue alice max_queuable = 2000
set queue alice resources_max.cput = 24:00:00
set queue alice resources_max.walltime = 48:00:00
set queue alice enabled = True
set queue alice started = True

#
# Set server attributes.
#

## DEFAULT QUEUE
set server default_queue = alice

# seting submittins hosts
set server scheduling = True
# set server acl_host_enable = True

set server submit_hosts = localhost
set server acl_hosts = localhost

set server managers = root at localhost
set server managers += asevcenc at localhost

set server operators = root at localhost
set server operators += asevcenc at localhost

set server allow_node_submit = True

set server log_events = 511
set server mail_from = torque at sev2.spacescience.ro
set server query_other_jobs = True
set server resources_default.walltime = 72:00:00
set server scheduler_iteration = 600
set server node_ping_rate = 60
set server node_check_rate = 150
set server tcp_timeout = 20
set server node_pack = True
set server poll_jobs = True



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3110 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20110906/eebee15c/attachment.bin
Gus Correa
2011-09-06 20:13:43 UTC
Permalink
Hi Adrian

For what it is worth, here we have the server FQDN name
in ${TORQUE}/sever_name. The acl and other Torque
configuration parameters point to that FQDN (not to localhost,
which is the loopback interface name in /etc/hosts, right?)

I hope this helps.
Gus Correa
Post by Adrian Sevcenco
Hi! I try to install torque on a simple 8 core computer ..
i have a simple queue and simple configuration ..
set server managers = root at localhost
localhost
Any idea about the problem?
Thanks!
OS : Fedora 14, torque 2.4.11
create queue alice
set queue alice queue_type = Execution
set queue alice max_running = 8
set queue alice max_queuable = 2000
set queue alice resources_max.cput = 24:00:00
set queue alice resources_max.walltime = 48:00:00
set queue alice enabled = True
set queue alice started = True
#
# Set server attributes.
#
## DEFAULT QUEUE
set server default_queue = alice
# seting submittins hosts
set server scheduling = True
# set server acl_host_enable = True
set server submit_hosts = localhost
set server acl_hosts = localhost
set server managers = root at localhost
set server managers += asevcenc at localhost
set server operators = root at localhost
set server operators += asevcenc at localhost
set server allow_node_submit = True
set server log_events = 511
set server mail_from = torque at sev2.spacescience.ro
set server query_other_jobs = True
set server resources_default.walltime = 72:00:00
set server scheduler_iteration = 600
set server node_ping_rate = 60
set server node_check_rate = 150
set server tcp_timeout = 20
set server node_pack = True
set server poll_jobs = True
------------------------------------------------------------------------
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers
Adrian Sevcenco
2011-09-06 20:27:01 UTC
Permalink
Post by Gus Correa
Hi Adrian
Hi!
Post by Gus Correa
For what it is worth, here we have the server FQDN name
in ${TORQUE}/sever_name. The acl and other Torque
configuration parameters point to that FQDN (not to localhost,
which is the loopback interface name in /etc/hosts, right?)
yeah, you are right, but i just trying to make it work as localhost...
and actually i sort of did it ...

the problem now is that my jobs start waiting in queue (Q state) .. and
i have to use qrun to start them ..

Thanks!
Adrian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3110 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20110906/f8a0116b/attachment.bin
Gus Correa
2011-09-06 20:41:39 UTC
Permalink
It may work with localhost for a single computer (not our case here).

Did you start the scheduler (service pbs_sched start, or service maui
start if you use maui)?
Post by Adrian Sevcenco
Post by Gus Correa
Hi Adrian
Hi!
Post by Gus Correa
For what it is worth, here we have the server FQDN name
in ${TORQUE}/sever_name. The acl and other Torque
configuration parameters point to that FQDN (not to localhost,
which is the loopback interface name in /etc/hosts, right?)
yeah, you are right, but i just trying to make it work as localhost...
and actually i sort of did it ...
the problem now is that my jobs start waiting in queue (Q state) .. and
i have to use qrun to start them ..
Thanks!
Adrian
------------------------------------------------------------------------
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers
Gus Correa
2011-09-06 20:38:33 UTC
Permalink
PS - You may also need a ${TORQUE}/server_priv/nodes file,
if not yet there:
http://www.adaptivecomputing.com/resources/docs/torque/1.5nodeconfig.php
Maybe also a ${TORQUE}/mom_priv/config file with a line like this:
$pbsserver 'your pbs_server name'
Post by Gus Correa
Hi Adrian
For what it is worth, here we have the server FQDN name
in ${TORQUE}/sever_name. The acl and other Torque
configuration parameters point to that FQDN (not to localhost,
which is the loopback interface name in /etc/hosts, right?)
I hope this helps.
Gus Correa
Post by Adrian Sevcenco
Hi! I try to install torque on a simple 8 core computer ..
i have a simple queue and simple configuration ..
set server managers = root at localhost
localhost
Any idea about the problem?
Thanks!
OS : Fedora 14, torque 2.4.11
create queue alice
set queue alice queue_type = Execution
set queue alice max_running = 8
set queue alice max_queuable = 2000
set queue alice resources_max.cput = 24:00:00
set queue alice resources_max.walltime = 48:00:00
set queue alice enabled = True
set queue alice started = True
#
# Set server attributes.
#
## DEFAULT QUEUE
set server default_queue = alice
# seting submittins hosts
set server scheduling = True
# set server acl_host_enable = True
set server submit_hosts = localhost
set server acl_hosts = localhost
set server managers = root at localhost
set server managers += asevcenc at localhost
set server operators = root at localhost
set server operators += asevcenc at localhost
set server allow_node_submit = True
set server log_events = 511
set server mail_from = torque at sev2.spacescience.ro
set server query_other_jobs = True
set server resources_default.walltime = 72:00:00
set server scheduler_iteration = 600
set server node_ping_rate = 60
set server node_check_rate = 150
set server tcp_timeout = 20
set server node_pack = True
set server poll_jobs = True
------------------------------------------------------------------------
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers
Ken Nielson
2011-09-09 20:53:03 UTC
Permalink
Adrian,

You also need to make sure you have a queue created. It will need to be an execution queue with the started and enabled options set to true.

Did you run torque.setup after you installed?

Ken

----- Original Message -----
From: "Gus Correa" <gus at ldeo.columbia.edu>
To: "Torque Users Mailing List" <torqueusers at supercluster.org>
Sent: Tuesday, September 6, 2011 2:38:33 PM
Subject: Re: [torqueusers] torque :: configuration problems on localhost
PS - You may also need a ${TORQUE}/server_priv/nodes file,
http://www.adaptivecomputing.com/resources/docs/torque/1.5nodeconfig.php
$pbsserver 'your pbs_server name'
Post by Gus Correa
Hi Adrian
For what it is worth, here we have the server FQDN name
in ${TORQUE}/sever_name. The acl and other Torque
configuration parameters point to that FQDN (not to localhost,
which is the loopback interface name in /etc/hosts, right?)
I hope this helps.
Gus Correa
Post by Adrian Sevcenco
Hi! I try to install torque on a simple 8 core computer ..
i have a simple queue and simple configuration ..
set server managers = root at localhost
qmgr obj= svr=default: Bad ACL entry in host list MSG=First bad
localhost
Any idea about the problem?
Thanks!
OS : Fedora 14, torque 2.4.11
create queue alice
set queue alice queue_type = Execution
set queue alice max_running = 8
set queue alice max_queuable = 2000
set queue alice resources_max.cput = 24:00:00
set queue alice resources_max.walltime = 48:00:00
set queue alice enabled = True
set queue alice started = True
#
# Set server attributes.
#
## DEFAULT QUEUE
set server default_queue = alice
# seting submittins hosts
set server scheduling = True
# set server acl_host_enable = True
set server submit_hosts = localhost
set server acl_hosts = localhost
set server managers = root at localhost
set server managers += asevcenc at localhost
set server operators = root at localhost
set server operators += asevcenc at localhost
set server allow_node_submit = True
set server log_events = 511
set server mail_from = torque at sev2.spacescience.ro
set server query_other_jobs = True
set server resources_default.walltime = 72:00:00
set server scheduler_iteration = 600
set server node_ping_rate = 60
set server node_check_rate = 150
set server tcp_timeout = 20
set server node_pack = True
set server poll_jobs = True
------------------------------------------------------------------------
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers
Adrian Sevcenco
2011-09-12 21:00:49 UTC
Permalink
Post by Ken Nielson
Adrian,
You also need to make sure you have a queue created. It will need to
be an execution queue with the started and enabled options set to
true.
Did you run torque.setup after you installed?
no, i make the settings by hand .. anyway now is everything ok .. it
seems that was a problem of acls.. i deleted all acls and let only :
set server acl_hosts = localhost

Now it it ok .. i can schedule jobs and jobs are running ..
Thanks,
Adrian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3110 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20110913/2f8563fc/attachment.bin
Loading...