473,662 Members | 2,637 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Stop DB2 instance

Hi,

When I stop my db2 instance, I have this error code :
[db2inst3@mymach ine][/db2users/db2inst3/sqllib/db2dump][]>db2stop
12-11-2003 16:12:48 0 0 SQL1042C An unexpected system error
occurred.
SQL1025N The database manager was not stopped because databases are still
active.

And in my db2diag.log file, I find this message below:
DIA3605C Memory allocation failure occurred.

I have used the ipcrm command to kill IPC processes. But the db2stop command
failed again.

The db2_kill command failed too:
[db2inst3@mymach ine][/db2users/db2inst3][]>db2_kill
rshd: 0826-813 Permission is denied.
spk4rsh: 0041-003 No tickets file found. You need to run "k4init".
rshd: 0826-813 Permission is denied.
spk4rsh: 0041-003 No tickets file found. You need to run "k4init".

Could you help me to solve this problem?
Thanks in advance.

Regards,

Pascal Deparis.
Nov 12 '05 #1
3 19407
If ypu are on a Linux system; did you change the kernel parameters as
recommended in the Quick beginnings guide? I have a recollection of
seeing something about an out-of memory condition if you haven't done that.

Phil Sherman

Pascal Deparis wrote:
Hi,

When I stop my db2 instance, I have this error code :
[db2inst3@mymach ine][/db2users/db2inst3/sqllib/db2dump][]>db2stop
12-11-2003 16:12:48 0 0 SQL1042C An unexpected system error
occurred.
SQL1025N The database manager was not stopped because databases are still
active.

And in my db2diag.log file, I find this message below:
DIA3605C Memory allocation failure occurred.

I have used the ipcrm command to kill IPC processes. But the db2stop command
failed again.

The db2_kill command failed too:
[db2inst3@mymach ine][/db2users/db2inst3][]>db2_kill
rshd: 0826-813 Permission is denied.
spk4rsh: 0041-003 No tickets file found. You need to run "k4init".
rshd: 0826-813 Permission is denied.
spk4rsh: 0041-003 No tickets file found. You need to run "k4init".

Could you help me to solve this problem?
Thanks in advance.

Regards,

Pascal Deparis.


Nov 12 '05 #2
I'm on an AIX system, and the instance has already existed before this
problem, and have been working very well.
I didn't change anything.
I tried to delete the .ftok file in the sqllib directory, as recommended by
IBM, but it doesn't still work

Pascal.
"Phil Sherman" <ps******@ameri tech.net> a écrit dans le message news:
fw************* *********@newss vr28.news.prodi gy.com...
If ypu are on a Linux system; did you change the kernel parameters as
recommended in the Quick beginnings guide? I have a recollection of
seeing something about an out-of memory condition if you haven't done that.
Phil Sherman

Pascal Deparis wrote:
Hi,

When I stop my db2 instance, I have this error code :
[db2inst3@mymach ine][/db2users/db2inst3/sqllib/db2dump][]>db2stop
12-11-2003 16:12:48 0 0 SQL1042C An unexpected system error
occurred.
SQL1025N The database manager was not stopped because databases are still active.

And in my db2diag.log file, I find this message below:
DIA3605C Memory allocation failure occurred.

I have used the ipcrm command to kill IPC processes. But the db2stop command failed again.

The db2_kill command failed too:
[db2inst3@mymach ine][/db2users/db2inst3][]>db2_kill
rshd: 0826-813 Permission is denied.
spk4rsh: 0041-003 No tickets file found. You need to run "k4init".
rshd: 0826-813 Permission is denied.
spk4rsh: 0041-003 No tickets file found. You need to run "k4init".

Could you help me to solve this problem?
Thanks in advance.

Regards,

Pascal Deparis.

Nov 12 '05 #3
You need to setup K5MUTE=1 environment variable in /etc/environment file.
Once you do that, you would not see the k4init message anymore.

Cheers,

-Tanveer

"Pascal Deparis" <ds*@fd.net> wrote in message news:<br******* ***@reader1.ima ginet.fr>...
I'm on an AIX system, and the instance has already existed before this
problem, and have been working very well.
I didn't change anything.
I tried to delete the .ftok file in the sqllib directory, as recommended by
IBM, but it doesn't still work

Pascal.
"Phil Sherman" <ps******@ameri tech.net> a écrit dans le message news:
fw************* *********@newss vr28.news.prodi gy.com...
If ypu are on a Linux system; did you change the kernel parameters as
recommended in the Quick beginnings guide? I have a recollection of
seeing something about an out-of memory condition if you haven't done

that.

Phil Sherman

Pascal Deparis wrote:
Hi,

When I stop my db2 instance, I have this error code :
[db2inst3@mymach ine][/db2users/db2inst3/sqllib/db2dump][]>db2stop
12-11-2003 16:12:48 0 0 SQL1042C An unexpected system error
occurred.
SQL1025N The database manager was not stopped because databases are still active.

And in my db2diag.log file, I find this message below:
DIA3605C Memory allocation failure occurred.

I have used the ipcrm command to kill IPC processes. But the db2stop command failed again.

The db2_kill command failed too:
[db2inst3@mymach ine][/db2users/db2inst3][]>db2_kill
rshd: 0826-813 Permission is denied.
spk4rsh: 0041-003 No tickets file found. You need to run "k4init".
rshd: 0826-813 Permission is denied.
spk4rsh: 0041-003 No tickets file found. You need to run "k4init".

Could you help me to solve this problem?
Thanks in advance.

Regards,

Pascal Deparis.

Nov 12 '05 #4

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

Similar topics

5
27312
by: Paul O. Morris | last post by:
Is there a script that I can run to stop a particular SQL server service on Win2003 server? I'm looking for a similar script to restart that service as well. Thanks.
2
2844
by: Prasad | last post by:
Hi, I am writing a service which takes a long time to stop after the OnStop call is given by the Services Snap-in. The problem is I cannot cut down on the time that it takes to Stop. The Service snap-in gives me the error saying that the service did not respond to the Stop call in a timely fashion. So is there any method by which I can get around this problem. Thanks Prasad
8
3514
by: Matt Theule | last post by:
While stepping through an ASP.NET project, I found that data was being inserted into my database even though I was not stepping through the code that inserted the data. I have a single page with inline code. The page has a Datagrid, a textbox and a button. When the button is clicked, the value of the textbox is inserted into the table whose contents are displayed on the page. The problem occurs when I set a breakpoint on a line *IN*...
7
2358
by: dotnetprogrammer via DotNetMonster.com | last post by:
I have an NT Service written in c# (.net framwork 2.0). When it hits a certain error condition, I want it to be to cause itself to stop. How can I do this? -- Message posted via http://www.dotnetmonster.com
4
1955
by: Chip | last post by:
Can somebody explain to me why my process continues to run after I halt execution? This plays havoc with debugging. I expect to be starting a new instance at the beginning of a loop and the first break point hit is thousands of itterations into the process (from a previous instance). I get a very random step behavior. Know I am watching a database continue to be updated 10 minutes after I stopped the front-end process. I have to stop IIS...
1
4021
by: ebusiness | last post by:
I create a new instance yesterday, now I cannot stop it, or perform any instance level operation like setup db2comm using instance id. The error message is "SQL1092N does not have the authority to perform the requested command". I check the authorization, the instance id have sysadm authority. The only message in db2diag.log is : "FUNCTION: DB2 Common, Fault Monitor Facility, fmGetGcfModuleName,
0
2188
by: mattcfisher | last post by:
Hi, I have two windows services running together. One is the main program, and one is an "updater" wrapper for the main. The updater service starts and stops the main one (as in you should never start or stop main service manually, only updater). On most computers it works great, the updater's onStop() can start and stop the main service perfectly. On some computers, though, the updater hangs when it tries to stop the main service. It...
11
11526
by: zgh1970 | last post by:
Hi, Friends, I need to know how to stop all database process even after db2stop. How can I stop all database processes? I have finished upgraded our system test and UAT region from 32-bit to 64-bit. I followed the following for my system test region: 1. log on aix with root 2. stop the instance 3. db2iupdt -w 64 instance
2
1987
by: Sebastian Ciesielski | last post by:
hello, is it possible to stop/start remote instance? db2stop makes effect only with local instance regards S.
0
8435
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8345
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
8768
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
8547
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
8633
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
6186
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
4181
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...
0
4348
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1999
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.