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

Home Posts Topics Members FAQ

Urgent :: Problem with Environment variable ??

Hi,

We have a Test Database in Linux with DB2 v8.2.
DB2 was installed in /db2home/db2inst1.

Some one moved the all folder db2inst1 to Trash. I moved it back to
db2home/db2inst1

But now, when i connect through the command prompt and issue db2 it
displays ::

DB21015E The Command Line Processor backend process request queue or
input queue was not created within the timeout period.

When i try to start Control Centre it starts up but when i try to
start the Database Manager it doesnt start up. It displays sql22205 c
error

DB2 Administration Server encountered an unexpected error while
executing a request.

In the terminal it shows
Warning java.io.IOExcep tion ; permission denied
java.lang.secur ity.Exception : Could not lockuser prefs.Lock file
access denied ......
............... ............... ............... ............... ............... ............... ............... ............... ..

Has any of the Environment variable settings changed ? How do i make
sure that it is the same.?

Thanks in advance,
RaInDeEr

Apr 9 '07 #1
4 6674
rAinDeEr wrote:
Hi,

We have a Test Database in Linux with DB2 v8.2.
DB2 was installed in /db2home/db2inst1.

Some one moved the all folder db2inst1 to Trash. I moved it back to
db2home/db2inst1

But now, when i connect through the command prompt and issue db2 it
displays ::

DB21015E The Command Line Processor backend process request queue or
input queue was not created within the timeout period.

When i try to start Control Centre it starts up but when i try to
start the Database Manager it doesnt start up. It displays sql22205 c
error

DB2 Administration Server encountered an unexpected error while
executing a request.

In the terminal it shows
Warning java.io.IOExcep tion ; permission denied
java.lang.secur ity.Exception : Could not lockuser prefs.Lock file
access denied ......
............... ............... ............... ............... ............... ............... ............... ............... .

Has any of the Environment variable settings changed ? How do i make
sure that it is the same.?
My first attempt would involve running db2iupdt against the instance to see
if permission problems get fixed that way. (Most permission problems
inside sqllib get fixed by db2iupdt automatically, but not all.)

Next, if that didn't work, would be to rename sqllib to sqllib.bak, recreate
the instance, and then copy back the db2systm, userprofile/usercshrc, and
node/db directories.

If this is a server instance, you may need to chown -R on the
~db2inst1/db1inst1 directory to ensure everything is owned by
db2inst1.db2iad m1 (assuming your instance is db2inst1 and its primary group
is db2iadm1, replace as appropriate).
Apr 9 '07 #2

Hi,

I changed t he ownership and the error related to
Warning java.io.IOExcep tion ; permission denied
java.lang.secur ity.Exception : Could not lockuser prefs.Lock file
access denied ......

has gone. I am not able to find the db2iupdt comamnd in Bin

the diag.log shows error related to db2wdog

RaiNEer

Apr 10 '07 #3


DB21015E The Command Line Processor backend process request queue or
input queue was not created within the timeout period.

this error also disaperred when i changed the ownership

Thanks Darin....

Apr 10 '07 #4
Hi Darin,

I changed the ownership to db2inst:db2grp1 from root:root , in the
directories which was moved and the timeout and permission denied
errors vanished.

Next, I killed all the process by ipclean

Finally updated the instance using db2iupdt << I was not able to find
the command as I was looking in the installed DB2 Folder where as this
existed in /opt/IBM/DB2/V8.2/INSTANCE >>

Then the Server started working.

thanks a lot......Darin $ Serge

RaiNdEEr

Apr 10 '07 #5

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

Similar topics

3
2749
by: Eric | last post by:
I know that i can use the system.Environment namespace to get environment variables, but how do i go about creating a new environment variable and setting it's value in .net? thanks eric.
1
1652
by: Rahul S. | last post by:
Hey all: I need urgent information how to set the environment in Visual.NET wiritng in C. I am working with a licensed version of the Analyze 6.0 software from mayo clinic. I need to write code in C using AVW functions that are licensed by Mayo clinic. In order to access the AVW library of functions, I need to set the
3
1746
by: Rahul S. | last post by:
Hey all: I need urgent information how to set the environment in Visual.NET wiritng in C. I am working with a licensed version of the Analyze 6.0 software from mayo clinic. I need to write code in C using AVW functions that are licensed by Mayo clinic. In order to access the AVW library of functions, I need to set the
4
2544
by: Pete H | last post by:
I would like to have my new C++ projects start out with two configurations, UnicodeDebug and UnicodeRelease, instead of the standard Debug and Release configurations that Visual Studio always creates. Is there a way to configure Visual Studio to do this Thanks in advance - Pete H
5
24022
by: Suresh | last post by:
Hi Guys I have Db2 server installed on remote server. i am connecting to that remote server by using VPN. I want to connect that remote DB2 server instance using my local machine DB2 development client. Bur Its gives me following error message. I searched lots of things on net and tried on remote server but i didnt got suceess. Can any one tell me how to set TCP\IP
3
6478
by: N. Spiker | last post by:
I am attempting to receive a single TCP packet with some text ending with carriage return and line feed characters. When the text is send and the packet has the urgent flag set, the text read from the socket is missing the last character (line feed). When the same text is sent without the urgent flag set, all of the characters are read. I'm reading the data using the blocking read call of the network stream class. The .NET...
10
3872
by: shsandeep | last post by:
DB2 V8.2 ICE Linux An application is loading around 6 million rows in a table in database A (Development environment). The same application is taking ages to load the same table in database B (UAT environment). Database B is supposed to be faster since it is partitioned. It has Referential integrity (RI) and indexes defined on it. Does this have a major impact on INSERTs?
1
1280
by: AccessHunter | last post by:
I am new to ASP, but been asked to look into a production issue. I was looking at the code and found this, data_source = "driver={Microsoft Access Driver (*.mdb)};dbq=d:\database\clienthomedbo.mdb" I would like to create a test environment in my C drive. So I copied all active server pages from the prodcution drive (D drive) to my C drive. I was going into each active server page code and changing d:\database\ to...
77
3907
by: Hans Schneider | last post by:
1. in the prg bellow what vars are stored on stack, heap, data segment? int i; void main() { int j; int *k = (void *)malloc(1); }
0
10473
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
10249
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
10219
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
9068
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
7563
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
6804
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
5584
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4138
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
3
2937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.