[torqueusers] another mom running

Mahmood Naderan nt_mahmood at yahoo.com
Tue Mar 15 01:05:09 MDT 2011


>If you are on RedHat/CentOS/SLES can you do:

No I am using ubuntu server. However chkconfig can ebe run:

root at server:~# chkconfig --list | grep pbs_mom
pbs_mom                   0:off  1:off  2:on   3:on   4:on   5:on   6:off

however I don't think that will help. Since only one PBS_MOM must be run, 
checking all commands must show only one running pbs_mom. In my case that is 
fine. As you can see all commands return one pbs_mom.

So pbs_mom is loaded at startup. The problem is why I should get a message in 
boot sequence which says unable to start pbs_mom because another instance is 
running? which other service loaded?
 
// Naderan *Mahmood;



----- Original Message ----
From: Christopher Samuel <samuel at unimelb.edu.au>
To: torqueusers at supercluster.org
Sent: Tue, March 15, 2011 9:07:41 AM
Subject: Re: [torqueusers] another mom running

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15/03/11 16:13, Mahmood Naderan wrote:

> root at server:~# lsof /var/spool/pbs/mom_priv/mom.lock
> COMMAND  PID USER  FD  TYPE DEVICE SIZE/OFF    NODE NAME
> pbs_mom 1642 root    4wW  REG    8,5        6 23839489 
> /var/spool/pbs/mom_priv/mom.lock
> 
> root at server:~# pidof pbs_mom
> 1642

OK, so you've definitely got pbs_mom already running
at this stage, so trying to start another one is going
to fail.

If you are on RedHat/CentOS/SLES can you do:

chkconfig --list | grep pbs_mom

cheers,
Chris
- -- 
    Christopher Samuel - Senior Systems Administrator
VLSCI - Victorian Life Sciences Computation Initiative
Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545
        http://www.vlsci.unimelb.edu.au/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1++yUACgkQO2KABBYQAh80YACfY7MFy7kmQ6WOB40aSudZVUZ0
Y1QAnjkCBHfVIitDaRSKrlltjJhGt4xG
=aPhO
-----END PGP SIGNATURE-----
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers



      


More information about the torqueusers mailing list