473,799 Members | 3,082 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Autostart DB2 v9 on Linux

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 other server. Can't find
anything in the rc-files that seems to apply so I figure that there's some
kind of magic involved ;-)

The second question is why I have to re-apply the licence every time I
restart the dbm? Shouldn't it be enough to do a db2licm -a *.lic once?
The operating system is Fedora* core 6 with DB2 9 WSE.

*) I really wanted Red Hat 4 AS but since Red Hat Sweden after two weeks
still can't give me an answer about the Academic Edition (that we already
have two of btw) I just couldn't wait any longer.

--

Mvh

/RE
Nov 6 '06 #1
6 9651
Have you tried db2iauto ? According to the manual :
db2iauto - Auto-start Instance Command
Enables or disables the auto-start of an instance after each system
restart. This command is available on UNIX-based systems only.
check the syntax here
http://publib.boulder.ibm.com/infoce.../v8//index.jsp , search
for "db2iauto"
and answer on your second question , no license is applied once ....

/RK

Nov 6 '06 #2
ka******@hotmai l.com wrote in news:1162814509 .191126.314250
@h48g2000cwc.go oglegroups.com:
Have you tried db2iauto ? According to the manual :
db2iauto - Auto-start Instance Command
Enables or disables the auto-start of an instance after each system
restart.
Thank you. That did the trick.
and answer on your second question , no license is applied once ....
That's what I thought. Unfortunatelly if I run db2stop and then db2start
it will tell me that there's no valid license:

[db2inst1@norrbo ~]$ db2stop
SQL1064N DB2STOP processing was successful.

[db2inst1@norrbo ~]$ db2start
ADM12026W The DB2 server has detected that a valid license for this
product has not been registered.
SQL1063N DB2START processing was successful.

[db2inst1@norrbo license]$ db2licm -a db2wse.lic

LIC1402I License added successfully.
LIC1426I This product is now licensed for use as specified in the
License Agreement and License Information documents pertaining to the
licensed copy of this product. USE OF THE PRODUCT CONSTITUTES ACCEPTANCE
OF THE TERMS OF THE IBM LICENSE AGREEMENT AND LICENSE INFORMATION
DOCUMENTS, LOCATED IN THE FOLLOWING DIRECTORY:
"/opt/ibm/db2/V9.1/license/en_US.iso88591"

[db2inst1@norrbo license]$ db2licm -l
Product name: "DB2 Workgroup Server Edition"
License type: "License not registered"
Expiry date: "License not registered"
Product identifier: "db2wse"
Version information: "9.1"
Max number of CPUs: "4"
Max amount of memory (GB): "16"
Annotation: "1;(_b)"

[db2inst1@norrbo ~]$ db2stop
SQL1064N DB2STOP processing was successful.

[db2inst1@norrbo ~]$ db2start
ADM12026W The DB2 server has detected that a valid license for this
product has not been registered.
SQL1063N DB2START processing was successful.

And so on...

Every other version I've installed before have worked just fine. Why is
this one giving me all these problems? Oh well..

--

Mvh

/RE
Nov 6 '06 #3
Ok, where are the license file ? run db2licm -g to generate a
compliance report
/Roger

Nov 6 '06 #4
ka******@hotmai l.com wrote in news:1162823383 .974147.249370
@h48g2000cwc.go oglegroups.com:
Ok, where are the license file ?
Where I unpacked the file downloaded from IBM:

[db2inst1@norrbo license]$ locate db2wse.lic
/dl/DB2_9.1/Linux_x86-64/DB2_WSE/db2/license/db2wse.lic

run db2licm -g to generate a compliance report
[db2inst1@norrbo license]$ db2licm -g compliance.txt

LIC1440I License compliance report generated successfully.
[db2inst1@norrbo license]$ cat compliance.txt

ADM12026W The DB2 server has detected that a valid license for
this product has not been registered.

Explanation:

Registration of a valid license key is required in order to
comply with the terms and conditions of your License Agreement.
The license keys for this product are located on this product's
media in the 'license' directory.

User Response:

Use DB2 License Center or db2licm command line utility to
register the appropriate licenses that you have purchased. The
License Agreement text is located in the 'license' directory in
the installation directory of this product.
[db2inst1@norrbo license]$
(The server has 2 dual core Xeon and 8 Gb of RAM)

--

Mvh

/RE
Nov 6 '06 #5
Roger Eriksson wrote:
ka******@hotmai l.com wrote in news:1162814509 .191126.314250
@h48g2000cwc.go oglegroups.com:
>and answer on your second question , no license is applied once ....

That's what I thought. Unfortunatelly if I run db2stop and then db2start
it will tell me that there's no valid license:

[db2inst1@norrbo ~]$ db2stop
SQL1064N DB2STOP processing was successful.

[db2inst1@norrbo ~]$ db2start
ADM12026W The DB2 server has detected that a valid license for this
product has not been registered.
SQL1063N DB2START processing was successful.

[db2inst1@norrbo license]$ db2licm -a db2wse.lic

LIC1402I License added successfully.
LIC1426I This product is now licensed for use as specified in the
License Agreement and License Information documents pertaining to the
licensed copy of this product. USE OF THE PRODUCT CONSTITUTES ACCEPTANCE
OF THE TERMS OF THE IBM LICENSE AGREEMENT AND LICENSE INFORMATION
DOCUMENTS, LOCATED IN THE FOLLOWING DIRECTORY:
"/opt/ibm/db2/V9.1/license/en_US.iso88591"

[db2inst1@norrbo license]$ db2licm -l
Product name: "DB2 Workgroup Server Edition"
License type: "License not registered"
Expiry date: "License not registered"
Product identifier: "db2wse"
Version information: "9.1"
Max number of CPUs: "4"
Max amount of memory (GB): "16"
Annotation: "1;(_b)"

[db2inst1@norrbo ~]$ db2stop
SQL1064N DB2STOP processing was successful.

[db2inst1@norrbo ~]$ db2start
ADM12026W The DB2 server has detected that a valid license for this
product has not been registered.
SQL1063N DB2START processing was successful.

And so on...

Every other version I've installed before have worked just fine. Why is
this one giving me all these problems? Oh well..
Because the licensing for v9 has changed dramatically. With your WSE CD,
you should also have received a license CD to go along with it. There will
be a db2/license directory there with the license to install to convert
your install into a permanent license. I can't tell you the name of it
because there is more than one permanent license for WSE.

Nov 6 '06 #6
I just wanted to thank you all for the your help.

All my troubles that I've encountered this far solved themselves when I
threw out Fedora core 6 and installed Red Hat AS 4 instead.

I realised that I could move the RH license from the old DB-server to the
new one which solved the problem with the updates to the OS.

I might be back in the future though, with new questions ;-)

--

Mvh

/RE
Nov 7 '06 #7

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

Similar topics

10
14131
by: Bill Medland | last post by:
Can anyone tell me what I am doing wrong? I installed DB2 8.1 + FP5 on Red Hat Enterprise Linux 3 (Update 1), using the command line method (i.e. db2_install and vi and ....) The one bit that didn't seem to be documented was how to set the system up so that my instance would start automatically at boot time. The /etc/inittab has the db2fmcd included. The instance has DB2AUTOSTART=TRUE
1
5264
by: timtos | last post by:
How can I tell a setup project to put a file to the startup folder of a user only when he selected this option. To give the user the possibility to select this option I´ve inserted a two radio button dialog to my setup project. The button property is called AUTOSTART. I´ve set the Condition of the "User´s Startup Folder" to AUTOSTART but that seems not to be the right way... Any help or ideas? Thanks really a lot! Greetings,
4
3098
by: Dica | last post by:
based on a previous thread, i've been advised that using the system registry isn't always the best way to store user config details (due to portability issues). from my understanding, however, registry is usually used to autoStart an app. is there a better way to go about autoStaring an app, then?
0
1329
by: Leo | last post by:
Hi! is it possible to deploy .net 2 application using OneClick Deployment and add it to autostart?
5
5692
by: cranium.2003 | last post by:
hi, Here is my code #include <iostream.h> int main() { cout <<"HI"; return 0; } and using following command to compile a C++ program g++ ex1.cpp -o ex1
4
1451
by: Joh | last post by:
I've developed an application that is launched at system startup. Is there a way to detect when an application is started by autostart and when its launched by a user?
2
7403
by: Ultrak The DBA | last post by:
Using the following query: select substr(reg_var_name,1,24) as reg_var_name, substr(reg_var_value, 1,12) as reg_var_value, level from table(sysproc.reg_list_variables()) as registryinfo; I am receiving this information from hitting several of our prod databases: ADB1291.autostart:DB2AUTOSTART TRUE I ADB1541.autostart:DB2AUTOSTART TRUE I
2
3695
by: JayaseelanVaiyapuri | last post by:
Hi, Anybody please tell how to create a project with autostart future.. If i install the .CAB file in my device the application should automatically start after completing the installation.. Waiting for your replies ASAP..
0
30250
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is a comprehensive list of all autostart locations for Windows OSes: NOTE : These are some abbreviations used in this list. Please note them carefully: HKCU = HKEY_CURRENT_USER HKLM = HKEY_LOCAL_MACHINE
0
10490
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10260
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10243
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10030
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9078
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5590
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.