1. goto $ORACLE_HOME/bin
   type
   oemapp dbastudio   
2. set your $TNS_ADMIN
   edit your oratab file ( defualt location is /var/opt/oracle/oratab)
   change N to Y in oratab (do do for the required databases to be autostarted).
   in your dbstart/dbshut scripts ( located in $ORACLE_HOME/bin)
   add the following to start/stop listener.
   lsnrctl start < listener_name >
   lsnrctl stop  < listener_name >
   now this single dbstart/dbshut can control both databases and listeners.
   call this script in your rc.d ( system routines) so that it is executed every time the system is rebooted