WHY WON'T A DAEMON START FROM /ETC/RC.TCPIP BUT

ITEM: RTA000037080



QUESTION:                                                                       
My customer is trying to start the license manager (FlexLM) for an              
application automatically at boot time by adding the daemon                     
startup command to /etc/rc.tcpip (per the application's recommendation).        
When we reboot the system, the command does not execute properly.               
However, we can run the identical command at the command line and               
it runs fine.  The application vendor is stumped.  Do you have                  
any ideas why the command won't run from /etc/rc.tcpip but will                 
run from the command line.  (It is not a path problem because we                
are using full path names.)                                                     
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
A:       One reason that the daemon is not running when called from             
   /etc/rc.tcpip is that the "srcmstr" daemon may not be running at             
   the time rc.tcpip is executed.  Later, when the daemon is started           
   from the command line, srcmstr is running at that point.  Here are           
   some suggestions:                                                            
                                                                                
   1) Verify that "srcmstr" and /etc/rc.tcpip is executed from                  
      /etc/inittab.  Check the /etc/inittab file for the existence              
      of the following two lines (in the same order):                           
                                                                                
        srcmstr:2:respawn:/etc/srcmstr    # System Resource Controller          
        rctcpip:2:wait:/etc/rc.tcpip > /dev/console 2>&1 #Start TCP/IP          
                                                                                
   2) Try placing the command at the END of /etc/rc.tcpip, so that              
      srcmstr has some additional time to start up.  You may also want          
      to place a "sleep" statement after the srcmstr has started:               
                                                                                
        srcmstr:2:respawn:/etc/srcmstr    # System Resource Controller         
        sleep:2:wait:/usr/bin/sleep 10    # sleep for 10 seconds                
        rctcpip:2:wait:/etc/rc.tcpip > /dev/console 2>&1 #Start TCP/IP          
                                                                                
      This will allow the System Resource Controller to fully start,            
      before the /etc/rc.tcpip file is executed.                                
                                                                                
   3) You might also consider placing the command directly in                   
      /etc/inittab.  For example, add the following line to the end             
      of /etc/inittab:                                                          
                                                                                
      flexlm:2:once:startsrc -s DAEMONNAME                                      
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
                                                                                
                                                                               
This item was created from library item Q649406      CNMML                      
                                                                                
Additional search words:                                                        
AIX ALTERNATE CMD CNMML COMMAND DAEMON ENABLE INDEX IX JAN94 LINE               
MANAGEMENT OP OZIBM OZNEW RC.TCPI RC.TCPIP RISCMGMT RISCSYSTEM                  
SOFTWARE START SYS SYSTEM WON 3.2.3E                                            
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000037080 ITEM: RTA000037080
Dated: 03/1996 Category: RISCMGMT
This HTML file was generated 99/06/24~12:43:14
Comments or suggestions? Contact us