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 > Trouble starting DB2 service

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-24-09, 10:59
Yan302 Yan302 is offline
Registered User
 
Join Date: Feb 2009
Posts: 12
Unhappy Trouble starting DB2 service

Hi all,

I've got trouble starting DB2 windows services. I got this error :

"Windows could not start the DB2 - DB2COPY1 - DB2 on Local Computer. For more information, review the System Event Log. Th this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code -1220"

Could someone help me to resolve this problem ?

Thanks in advance,

Yan302
Reply With Quote
  #2 (permalink)  
Old 04-24-09, 11:26
db2dummy1 db2dummy1 is offline
Registered User
 
Join Date: Feb 2009
Posts: 114
SQL1220N The database manager shared memory set cannot be allocated.

Explanation:

The database manager could not allocate its shared memory set. The cause
of this error may be insufficient memory resources either for the
database manager or the environment in which its operation is being
attempted. Memory resources that can cause this error include:
* The number of shared memory identifiers allocated in the system
* The size of the shared memory segment
* The amount of paging or swapping space available in the system
* The amount of physical memory available in the system

User response:

One or more of the following:
* Validate that sufficient memory resources are available to satisfy
the database manager's requirements, and those of the other programs
running on the system.
* On Linux 32-bit, increase the kernel parameter shmmax to 256 MB. On
Linux 64-bit, increase the kernel parameter shmmax to 1GB.
* Reduce database manager's memory requirement for this memory set by
reducing the database manager configuration parameters which affect
it. These are: fenced_pool and, numdb.
* Where appropriate, stop other programs using the system.
Reply With Quote
  #3 (permalink)  
Old 04-24-09, 14:55
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
have you tried db2start from the command line - maybe the license
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #4 (permalink)  
Old 04-24-09, 15:48
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
please check instance_memory dbm cfg. If it's not automatic, change it and retry db2start
Reply With Quote
  #5 (permalink)  
Old 04-27-09, 04:31
Yan302 Yan302 is offline
Registered User
 
Join Date: Feb 2009
Posts: 12
Thanks for your answers.

The problem is now resolved!
Reply With Quote
  #6 (permalink)  
Old 09-28-09, 06:13
bohoa bohoa is offline
Registered User
 
Join Date: Sep 2009
Posts: 1
Hi Yan302,
Could you please let me know how you resolved the problem. Thanks.

bohoa
Reply With Quote
  #7 (permalink)  
Old 12-14-09, 05:36
ashokmeena88 ashokmeena88 is offline
Registered User
 
Join Date: Dec 2009
Posts: 1
just go to command window of db2 and type the following one:

db2 UPDATE DBM CFG USING INSTANCE_MEMORY automatic
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