473,320 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Linux: How does db2iauto work?

On Linux and other UNIX like systems, you can configure a db2 instance
to start automatically at system start with the command db2iauto -on
<instance name>. But how does it work?
On Linux (SuSE 9.3) I see no entry in /etc/inittab and no entry within
/etc/init.d. All I see is this: There is an undocumented DB2 variable
(db2set -lr doesn't know it) DB2AUTOSTART, which will be set to YES or
unset via the db2iauto command.

Which mechanism starts DB2?

Regards,
--
Burkhard Schultheis
Tele Data Electronic, Wagnerstr. 10, D-76448 Durmersheim
Email: sc********@tde-online.de
Phone: +49 7245 9287-21
Feb 10 '06 #1
2 12337
Burkhard Schultheis wrote:
On Linux and other UNIX like systems, you can configure a db2 instance
to start automatically at system start with the command db2iauto -on
<instance name>. But how does it work?
On Linux (SuSE 9.3) I see no entry in /etc/inittab and no entry within
/etc/init.d. All I see is this: There is an undocumented DB2 variable
(db2set -lr doesn't know it) DB2AUTOSTART, which will be set to YES or
unset via the db2iauto command.

Which mechanism starts DB2?


You should see in the inittab an entry for db2fmcd (unless you've removed
it). That entry looks for all instances marked with the autostart value
and starts them during boot.
Feb 11 '06 #2

Darin McBride wrote:
Burkhard Schultheis wrote:
On Linux and other UNIX like systems, you can configure a db2 instance
to start automatically at system start with the command db2iauto -on
<instance name>. But how does it work?
On Linux (SuSE 9.3) I see no entry in /etc/inittab and no entry within
/etc/init.d. All I see is this: There is an undocumented DB2 variable
(db2set -lr doesn't know it) DB2AUTOSTART, which will be set to YES or
unset via the db2iauto command.

Which mechanism starts DB2?


You should see in the inittab an entry for db2fmcd (unless you've removed
it). That entry looks for all instances marked with the autostart value
and starts them during boot.


Verify whether you have the DB2AUTOSTART registry variable set for your
instance.
"db2set DB2AUTOSTART -i db2inst1" will list what the DB2AUTOSTART is
set to.

For instance, if your instance name is db2inst1 and you have done a
"db2set DB2AUTOSTART=YES", then the command above "db2set DB2AUTOSTART
-i db2inst1" should return YES.

If it is not set to YES, log in as the instance owner and type "db2set
DB2AUTOSTART=YES".

That should do it.
Give it a try !!

Enrique Valdez

Feb 12 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: anks | last post by:
I have got a software that is meant to work on linux plateform.I need to make a installer for it,so that it checks for the presence of java on the system first then depending on its existance start...
4
by: Jhuola Hoptire | last post by:
Just installed J2RE 1.4.2 on a Linux server. I am very knew to the POSIX world. I couldn't dig-up much in the docs or via google about the following: 1 - Is there a standard way to make sure...
4
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or...
21
by: Travis 'Bailo' Bickel | last post by:
Lately, I have been having a bear of a time trying to acquire a Linux driver for my S3/ProSavage chipset -- but that quest is now almost at an end as I have located a noble band of people who are...
26
by: Simon | last post by:
I'm doing a survey. When do you think GNU/Linux will be ready for the average Joe? What obstacles must it overcome first?
10
by: Stijn Vansummeren | last post by:
Hello, I'm having trouble running IBM DB2 under Red Hat Linux 9.0. More specifically, the IBM JDK 1.3.1 (needed for UDF's and the graphical installer) crashes. After some googling I tracked the...
2
by: db2group88 | last post by:
How to auto start DB2 service on Linux Suse 9? we have db2 udb v8.2. I search the /etc/inittab file and don't find db:234:once:/etc/rc.db2 > /dev/console 2>&1 # Autostart DB2 Services so i...
6
by: Roger Eriksson | last post by:
I want to thank all of you that have answered my earlier questions, thanks. New problems though. The database doesn't start with the operating system and I can't find out how it does that on the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.