473,499 Members | 1,572 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.IOException ; permission denied
java.lang.security.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 6627
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.IOException ; permission denied
java.lang.security.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.db2iadm1 (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.IOException ; permission denied
java.lang.security.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
2731
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
1623
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...
3
1724
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...
4
2531
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...
5
23976
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...
3
6430
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...
10
3837
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...
1
1265
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...
77
3793
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
7007
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...
0
7171
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,...
0
7220
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...
1
6893
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...
0
7386
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...
0
5468
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,...
0
4599
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...
0
3098
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...
1
664
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.