[torqueusers] Fwd: error with maui

Yanan Sun sun8 at umbc.edu
Fri Jul 11 06:45:29 MDT 2008


On Thu, Jul 10, 2008 at 6:29 PM, Garrick Staples <garrick at usc.edu> wrote:
> On Thu, Jul 10, 2008 at 03:26:26PM -0400, Yanan Sun alleged:
>> I am a newbie to torque/maui. we just installed the torque/maui in our
>> linux sever. it seems that they are running.
>>
>> [root at master]# ps aux |grep pbs
>> root     23475  0.0  0.0   8972   812 ?        Ss   09:53   0:00 pbs_server
>> root     27371  0.0  0.0  60236   748 pts/18   S+   10:47   0:00 grep pbs
>> root     29971  0.2  0.0  11824  1152 ?        Ss   Jun30  33:58 pbs_mom
>> [root at master]# ps aux|grep maui
>> root     27366  0.0  0.0  60232   744 pts/18   S+   10:46   0:00 grep maui
>> root     27738  0.0  0.2  43268 23596 ?        S    Jul02   0:21
>> /usr/local/maui/sbin/maui start
>>
>> however, when i type  showq, it gives me error message.
>> [root at master]# showq
>> ERROR:    lost connection to server
>> ERROR:    cannot request service (status)
>>
>> and another error message when i trying to restart maui
>> [root at master]# /usr/local/maui/sbin/maui restart
>> ERROR:    cannot open user interface socket on port 42559
>
> You are doing it wrong.  The 'sbin/maui' commands doesn't take start and
> restart arguments.  It is a daemon that is simply run, not an init script.
>
> Verify that your maui.cfg has a good SERVERHOST parameter.

here is the info in my maui.cfg about the serverhost, i don't see
anything wrong.

# maui.cfg 3.2.6p19

SERVERHOST            master.perceus.centos
# primary admin must be first in list
ADMIN1                root
# Resource Manager Definition
RMCFG[MASTER.PERCEUS.CENTOS] TYPE=PBS
# Allocation Manager Definition
AMCFG[bank]  TYPE=NONE
# full parameter docs at http://supercluster.org/mauidocs/a.fparameters.html
# use the 'schedctl -l' command to display current configuration
RMPOLLINTERVAL        00:00:30
SERVERPORT            42559
SERVERMODE            NORMAL



>
>> i killed the pbs_server by "qterm -a quick" and start it again by
>> "pbs_server". still the same problem.
>
> Restarting pbs_server won't generally solve maui problems.

how can i restart pbs_mom? how can i get maui working?where should i check?

>
>
>> another error is when i run perl helloworld.pl |qsub
>>
>> #my helloworld.pl
>> use strict;
>> my $output="qsub.txt";
>> open (OUT, ">$output") || die "Can't open file qsub.txt";
>> print OUT "hello world!\n";
>>
>> it gives me the output file "qsub.txt" and two standard output ".o#"
>> and error message ".e#" files.
>> but in the ".e#", it says "-bash: line 1:
>> /usr/PBS_spool/mom_priv/jobs/69.master.p.SC: No such file or
>> directory"
>
> You executed helloworld.pl and sent the output to qsub.  I think you wanted to
> do this:
>   echo "perl helloworld.pl" |qsub
>
> (which will still fail at runtime unless helloworld.pl happens to be in your
> home directory.)
>
that makes sense. by the way, it's in my home directory.

thank you.


>
> --
> Garrick Staples, GNU/Linux HPCC SysAdmin
> University of Southern California
>
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.gnu.org/philosophy/no-word-attachments.html
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
>


More information about the torqueusers mailing list