473,765 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

db2start gives an error after DB2 installation

Hey hey all...

I'm in the following situation:

I installed SuSE SLES9 on a dual core Opteron 275 (proliant DL385).
2GB Mem, hardware raid.

I performed an install of DB2 for X86_64 8.2 FP 1 (8.1 FP 8)
Install went ok, status log says success on every action taken.
rights are ok, users are ok, etc.
I immediatly upgrade to X86_64 8.2 FP 3 (8.1 FP 10)
Completes just fine, no errors whatsoever.

After upgrading I create /etc/sysctl.conf containing
# Added for 64-bit DB2
kernel.sem=250 32000 32 1024
kernel.msgmni=1 024
kernel.shmmni=6 5536
kernel.shmmax=1 073741824
#end additions for DB2

and run sysctl -p /etc/sysctl.conf and place this line in the bootscripts.

When I execute db2start as the db2inst user (default instance) I get:
"SQL1042C An unexpected system error occurred. SQLSTATE=58004"

Can't figure out what's the cause of this... dragged db2start through a
strace, nothing strange happens. ldd says all libraries are ok and I can
invoke the CLI without problems...
The only thing I cannot do, is start DB2 :P

Does anyone have any ideas on what may be the cause of this happening?

Thanks.

-R-
Dec 7 '05 #1
9 4727
Jurgen Haan wrote:
Hey hey all...

I'm in the following situation:

I installed SuSE SLES9 on a dual core Opteron 275 (proliant DL385).
2GB Mem, hardware raid.


Needless to say, but the SuSE install is also 64 bit

-R-
Dec 7 '05 #2
Jurgen Haan wrote:
Jurgen Haan wrote:
Hey hey all...

I'm in the following situation:

I installed SuSE SLES9 on a dual core Opteron 275 (proliant DL385).
2GB Mem, hardware raid.


Needless to say, but the SuSE install is also 64 bit


Have a look at your instance's sqllib/db2dump/db2diag.log file. There
should be some more information in there.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Dec 7 '05 #3
Knut Stolze wrote:
Jurgen Haan wrote:

Jurgen Haan wrote:
Hey hey all...

I'm in the following situation:

I installed SuSE SLES9 on a dual core Opteron 275 (proliant DL385).
2GB Mem, hardware raid.


Needless to say, but the SuSE install is also 64 bit

Have a look at your instance's sqllib/db2dump/db2diag.log file. There
should be some more information in there.


Well... Nothing that makes sense to me actually...

2005-12-07-10.43.15.941124 +000 I42046E1632 LEVEL: Event
PID : 7322 TID : 182968220384PRO C : db2start
INSTANCE: db2inst NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleStartStopSi ngleNode, probe:1130
DATA #1 : String, 33 bytes
/home/db2inst/sqllib/adm/db2star2
DATA #2 : Hexdump, 256 bytes
0x0000007FBFFFA CE0 : 2F68 6F6D 652F 6462 3269 6E73 742F 7371
/home/db2inst/sq
0x0000007FBFFFA CF0 : 6C6C 6962 2F61 646D 2F64 6232 7374 6172
llib/adm/db2star
0x0000007FBFFFA D00 : 3200 0000 0000 0000 0000 0000 0000 0000
2.............. .
0x0000007FBFFFA D10 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
0x0000007FBFFFA D20 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
0x0000007FBFFFA D30 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
0x0000007FBFFFA D40 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
0x0000007FBFFFA D50 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
0x0000007FBFFFA D60 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
0x0000007FBFFFA D70 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
0x0000007FBFFFA D80 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
0x0000007FBFFFA D90 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
0x0000007FBFFFA DA0 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
0x0000007FBFFFA DB0 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
0x0000007FBFFFA DC0 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
0x0000007FBFFFA DD0 : 0000 0000 0000 0000 0000 0000 0000 0000
............... ..
Dec 7 '05 #4
Jurgen Haan wrote:
Well... Nothing that makes sense to me actually...

2005-12-07-10.43.15.941124 +000 I42046E1632 LEVEL: Event
PID : 7322 TID : 182968220384PRO C : db2start
INSTANCE: db2inst NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleStartStopSi ngleNode, probe:1130
DATA #1 : String, 33 bytes
/home/db2inst/sqllib/adm/db2star2
DATA #2 : Hexdump, 256 bytes
0x0000007FBFFFA CE0 : 2F68 6F6D 652F 6462 3269 6E73 742F 7371
/home/db2inst/sq
0x0000007FBFFFA CF0 : 6C6C 6962 2F61 646D 2F64 6232 7374 6172
llib/adm/db2star
0x0000007FBFFFA D00 : 3200 0000 0000 0000 0000 0000 0000 0000
2.............. .


This just says that "db2star2" is invoked with the options
"/home/db2inst/sqllib/adm/db2star2". This looks quite fine as far as it
goes.

Stupid question, maybe: you did update your instange after you applied the
FP? (Or when did you create the instance in the whole process?)

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Dec 7 '05 #5
Knut Stolze wrote:
Jurgen Haan wrote:

Well... Nothing that makes sense to me actually...

2005-12-07-10.43.15.941124 +000 I42046E1632 LEVEL: Event
PID : 7322 TID : 182968220384PRO C : db2start
INSTANCE: db2inst NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleStartStopSi ngleNode, probe:1130
DATA #1 : String, 33 bytes
/home/db2inst/sqllib/adm/db2star2
DATA #2 : Hexdump, 256 bytes
0x0000007FBFF FACE0 : 2F68 6F6D 652F 6462 3269 6E73 742F 7371
/home/db2inst/sq
0x0000007FBFF FACF0 : 6C6C 6962 2F61 646D 2F64 6232 7374 6172
llib/adm/db2star
0x0000007FBFF FAD00 : 3200 0000 0000 0000 0000 0000 0000 0000
2............ ...

This just says that "db2star2" is invoked with the options
"/home/db2inst/sqllib/adm/db2star2". This looks quite fine as far as it
goes.

Stupid question, maybe: you did update your instange after you applied the
FP? (Or when did you create the instance in the whole process?)


Hmmm.. during the initial install...

Should I perhaps recreate the instance with the fixpak installed?
Is this always needed?
It's not actually in the spirit of updating, is it? :)

-R-
Dec 7 '05 #6
Jurgen Haan wrote:
Knut Stolze wrote:
Jurgen Haan wrote:

Well... Nothing that makes sense to me actually...

2005-12-07-10.43.15.941124 +000 I42046E1632 LEVEL: Event
PID : 7322 TID : 182968220384PRO C : db2start
INSTANCE: db2inst NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleStartStopSi ngleNode,
probe:1130
DATA #1 : String, 33 bytes
/home/db2inst/sqllib/adm/db2star2
DATA #2 : Hexdump, 256 bytes
0x0000007FBFFFA CE0 : 2F68 6F6D 652F 6462 3269 6E73 742F 7371
/home/db2inst/sq
0x0000007FBFFFA CF0 : 6C6C 6962 2F61 646D 2F64 6232 7374 6172
llib/adm/db2star
0x0000007FBFFFA D00 : 3200 0000 0000 0000 0000 0000 0000 0000
2.............. .


This just says that "db2star2" is invoked with the options
"/home/db2inst/sqllib/adm/db2star2". This looks quite fine as far as it
goes.

Stupid question, maybe: you did update your instange after you applied
the
FP? (Or when did you create the instance in the whole process?)


Hmmm.. during the initial install...

Should I perhaps recreate the instance with the fixpak installed?
Is this always needed?
It's not actually in the spirit of updating, is it? :)

-R-


Manually recreated the instance, and it works like a charm...
Thanks :)

-R-
Dec 7 '05 #7
Jurgen Haan wrote:
Should I perhaps recreate the instance with the fixpak installed?
Is this always needed?


No, you just can run the "db2iupdt" command. You'll find it here:

/opt/IBM/db2/V8.1/instance/db2iupdt

The reason why you must update the instance is simply that a few files and
executables reside as a _copy_ in the instance's directory. If you install
a new FP, only the system-wide files are updated, and you have to ensure
that the copies pick up any changes as well.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Dec 7 '05 #8
Jurgen Haan wrote:
Jurgen Haan wrote:
Knut Stolze wrote:
Jurgen Haan wrote:
Well... Nothing that makes sense to me actually...

2005-12-07-10.43.15.941124 +000 I42046E1632 LEVEL: Event
PID : 7322 TID : 182968220384PRO C : db2start
INSTANCE: db2inst NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleStartStopSi ngleNode,
probe:1130
DATA #1 : String, 33 bytes
/home/db2inst/sqllib/adm/db2star2
DATA #2 : Hexdump, 256 bytes
0x0000007FBFFFA CE0 : 2F68 6F6D 652F 6462 3269 6E73 742F 7371
/home/db2inst/sq
0x0000007FBFFFA CF0 : 6C6C 6962 2F61 646D 2F64 6232 7374 6172
llib/adm/db2star
0x0000007FBFFFA D00 : 3200 0000 0000 0000 0000 0000 0000 0000
2.............. .


This just says that "db2star2" is invoked with the options
"/home/db2inst/sqllib/adm/db2star2". This looks quite fine as far as it
goes.

Stupid question, maybe: you did update your instange after you
applied the
FP? (Or when did you create the instance in the whole process?)


Hmmm.. during the initial install...

Should I perhaps recreate the instance with the fixpak installed?
Is this always needed?
It's not actually in the spirit of updating, is it? :)

-R-

Manually recreated the instance, and it works like a charm...
Thanks :)

-R-

You don't need to recreate the instance after a fixpak install, you just
need to update it. See the fixpak readme instructions.

Larry Edelstein
Dec 7 '05 #9
Knut Stolze wrote:
Jurgen Haan wrote:

Should I perhaps recreate the instance with the fixpak installed?
Is this always needed?

No, you just can run the "db2iupdt" command. You'll find it here:

/opt/IBM/db2/V8.1/instance/db2iupdt

The reason why you must update the instance is simply that a few files and
executables reside as a _copy_ in the instance's directory. If you install
a new FP, only the system-wide files are updated, and you have to ensure
that the copies pick up any changes as well.


Lol... sorry for the ignorance...

I never updated a DB2 install before...
Most were test databases which never lasted long enough to need an update :)

Thanks for the info people.

-R-
Dec 7 '05 #10

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

Similar topics

3
7333
by: Robert Kane | last post by:
Good afternoon, I'm trying to set up a clustered DB2 v7.1 database on Redhat Linux 7.3. I've followed the instructions (as far as I know) in the accompanying documentation to set up the database on 2 nodes. Running db2start on node 0 I get the following message: 11-19-2000 10:12:44 1 0 SQL6048N A communication error occurred during START or STOP DATABASE MANAGER processing.
1
4181
by: Jean-Marc Blaise | last post by:
Dear all, I have applied on Linux the FP7 for DB2 UDB V8.1. Then I have installed the FP7 information center. db2start: error while loading shared librairies: libcxa.so.1... This library does not exist and I only have libcxa.so.3 there. Thanks for your help,
3
3129
by: _link98 | last post by:
New installation of DB2 ESE 8.1 and Fixpak 9a on Solaris 8.2, on FUJITSU 450 server(sparc), 64 bit mode, and 64-bit instance. db2start fails (after approx 60 seconds) with SQL1042C (unexpected system error occurred), so the instance does not start. db2diag.log shows a timeout error. sqloWaitIPCWaitPost. ENOMSG(35) no message of desired type.
9
6851
by: ghumman | last post by:
running on windows, I encounter following db2start. SQL6030N START or STOP DATABASE MANAGER failed. Reason code "13". any ideas why db2start is failing ?
8
5449
by: | last post by:
Wel, I am rebuilding the VC# 2002 project that I have deployment problems with the 2003 version, hoping this solves the problems, but now I encounter this wierd bug??? If I have the project, and do not compile with "Allow Unsafe Code Blocks=false" set to true, then the project compiles and no problems. BUT if I compile with "Allow Unsafe Code Blocks=true" then I het the error below. With unsafe {} of unsave{} removed it dos not solve the...
1
9393
by: Ranjay | last post by:
i've installed db2 on my aix box with the following configuration bash-3.00$ uname -a -v -r AIX symibm10 2 5 00CE60AA4C00 bash-3.00$ oslevel 5.2.0.0 I installed it in the compact mode and created 2 instances db2inst1 and db2fenc1
1
2290
by: DianaB | last post by:
Hello, I tried to do the catalog local node command to catalog a node from one instance to another. i.e. I ran the command db2 catalog local node REPORTDB intance reportdb The command executed successfully however as a result of this I was unable to start either of the instances. db2start takes a long time, then returns with the error: SQL1042C An unexpected system error occurred. SQL1032N No start database manager command was...
0
2334
by: Phil Sherman | last post by:
This occurred in a non-supported UDB environment. I am providing it as "gotcha" information. SQL1084C error was received when attempting the first connect to the (formerly working) SAMPLE database. This occurred on a FC6 system that was just updated to kernel 2.6.19-1..... with associated updates to SELinux security. Problem: db2start performs kernel updates, setting parameters that are necessary for UDB to function. These updates...
2
8547
by: LittleMaster | last post by:
Dear Gurus Please help. I have installed DB2 8.2 on AIX 5.3. No apparent errors while installing. I opted the defaults to create the instance db2inst1 But when I do a db2start, I get the following error 07/03/2007 21:51:03 0 0 SQL6048N A Communication error occurred during START or STOP DATABASE MANAGER processing. SQL1032N No start database
0
9399
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10163
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
10007
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
9957
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
9835
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...
1
7379
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
5276
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
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.