[torqueusers] Need help setting up a lone machine

Clotho Tsang wytsang at clustertech.com
Mon Apr 22 00:45:24 MDT 2013


Due to the hostname resolution:
http://osdir.com/ml/clustering.torque.user/2008-03/msg00014.html


On 14 September 2012 04:00, Jonathan Gough <jonathan.d.gough at gmail.com>wrote:

> Dear All,
>
> I am trying to set up a single ubuntu linux 12.04 machine that is running
> torque.  All I want to do is be able to que jobs to run on that one
> machine.  therefore it is supposed to be running pbs_mom and pbs_server.
>
> I installed the following packages vi synaptic:
> torque-scheduler
> torque-common
> torque-client
> torque-mom
> libtorque2
> torque-server
>
> *I thought there was some confusion in the hostsnames and I ended up
> changing things around.... now nothing is working.*
> *
> *
> *I think I have really messed things up and I can't seem to fix it.  here
> is what i have in the following files:*
>
> /etc/hostname
> jonathan-M-601A
>
> /etc/hosts
> 148.4.36.77     jonathan-M-601A.local jonathan-M-601A
> 127.0.0.1       localhost.localdomain localhost
>
> /var/spool/torque/server_name
> jonathan-M-601A
>
> /var/spool/torque/mom_priv/config
> $pbsserver jonathan-M-601A
> $usecp jonathan-M-601A:/home /home
>
> /var/spool/torque/server_priv/nodes
> jonathan-M-601A np=4
>
>
>
> *if I try *
> echo "sleep 30" | qsub
> qsub: Bad UID for job execution MSG=ruserok failed validating
> jonathan/jonathan from jonathan-M-601A.local
>
> *If I try to add myself as a manager or operator, I get *
>  qmgr -c "set server operators += jonathan at jonathan-M-601A"
> qmgr obj= svr=default: Bad ACL entry in host list MSG=First bad host:
> jonathan-M-601A
>
> *the following command give:*
>  qmgr -c 'p s'
> #
> # Create queues and set their attributes.
> #
> #
> # Create and define queue batch
> #
> create queue batch
> set queue batch queue_type = Execution
> set queue batch resources_default.nodes = 1
> set queue batch resources_default.walltime = 01:00:00
> set queue batch enabled = True
> set queue batch started = True
> #
> # Set server attributes.
> #
> set server scheduling = True
> set server acl_hosts = jonathan-M-601A
> set server acl_hosts += localhost
> set server default_queue = batch
> set server log_events = 511
> set server mail_from = adm
> set server scheduler_iteration = 600
> set server node_check_rate = 150
> set server tcp_timeout = 6
> set server allow_node_submit = True
> set server next_job_number = 12
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
>


-- 
Clotho Tsang
Senior Software Engineer
Cluster Technology Limited
Email: clotho at clustertech.com
Tel: (852) 2655-6129
Fax: (852) 2994-2101
Website: www.clustertech.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20130422/310fa360/attachment.html 


More information about the torqueusers mailing list