If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2 instance autostart on RHEL 4

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-07, 15:53
marcinek marcinek is offline
Registered User
 
Join Date: Jan 2007
Posts: 5
db2 instance autostart on RHEL 4

Hi,
I'm having problems with autostart of my db2inst1 instance. I have the inittab line:
fmc:2345:respawn:/opt/IBM/db2/V8.1/bin/db2fmcd
which is needed (I've found it in some old thread),
I need to "su" to instance owner and issue "db2start" command. Should I add this to inittab? I believe there is cleaner solution.
My system is: RedHat Enterprise Linux 4 update 4, db2 8.2 fixpack 14.

regards,
marcinek
Reply With Quote
  #2 (permalink)  
Old 01-02-07, 17:06
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Look in the Command Reference manual for dasauto to autostart the DB2 Admin server and db2iauto to autostart the instance.

HTH

Andy
Reply With Quote
  #3 (permalink)  
Old 01-02-07, 18:05
marcinek marcinek is offline
Registered User
 
Join Date: Jan 2007
Posts: 5
Thanx!
It helped!

marcinek
Reply With Quote
  #4 (permalink)  
Old 03-20-09, 14:51
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
Dumb question I guess, but is there a way to tell what the current status of db2iauto is, on or off, without issuing the command to actually change it?
Reply With Quote
  #5 (permalink)  
Old 03-20-09, 15:13
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Do a "db2set -all". If you see "DB2AUTOSTART=YES", then it is turned on.

Andy
Reply With Quote
  #6 (permalink)  
Old 03-20-09, 15:15
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
Yes, I discovered that just a few minutes ago.
Thank you for replying though.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On