Bug 88

Summary: pbs_sched won't start if interface is not started.
Product: TORQUE Reporter: Steve Traylen <steve.traylen>
Component: pbs_schedAssignee: Glen <glen.beane>
Status: NEW    
Severity: enhancement CC: torquedev
Priority: P5    
Version: 2.5.x   
Hardware: PC   
OS: Linux   

Description Steve Traylen 2010-10-14 13:33:37 MDT

 I don't think this will be a problem with most normal operations
 but it was reported here.


 I've just checked and is still true for 2.5.2 as well.

 If you start pbs_sched with primary interface down then it fails to start.

 # ifdown eth0

 # hostname -i

 # netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface

# /etc/init.d/pbs_sched start
Starting TORQUE Scheduler: pbs_sched: LOG_ERROR::Cannot assign requested
address (99) in main, bind

after bringing the interface up.

# /etc/init.d/pbs_sched start
Starting TORQUE Scheduler:                                 [  OK  ]

# netstat -tapn | grep pbs
tcp        0      0 *                  
LISTEN      1262/pbs_sched      

pbs_mom and pbs_sched don't suffer from this.