473,320 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

db2 problem restarting WAS 5.1 on linux (intel)

MUK
Hi

I have two intel machines both running Linux Redhat 8.
On one of the machines I have my HTTP server and my WebSphere
Application Server 5.1 running and on the other machine I have DB2
Enterprise V8.1 running.

I have scheduled a nightly reboot of the machine running WAS.

This is how it goes: (this script is in crontab to run at 12:01am)

..stopHTTP
..stopWAS

shutdown -fr now

Now when the system comes back up I am calling another
script in rc.local.. which goes as follows:

..startHTTP
..startWAS

Now, when the machine comes back up and I log onto my
application, I get an SQL Connect error.

To fix this problem I just have to go
and run .stopServer and the .startServer on the
server again and my application runs perfect.

I figured I could also create script to run this
additional stop Start routine and that should solve the problem.
But it doesnt!

Please help.

MUK
Nov 12 '05 #1
1 1295

did you try doing the starthttp after startwas?

what does your startWAS do? start the admin server and the app servers
both?

On 16 Nov 2004 08:29:54 -0800, ur********@gmail.com (MUK) wrote:
Hi

I have two intel machines both running Linux Redhat 8.
On one of the machines I have my HTTP server and my WebSphere
Application Server 5.1 running and on the other machine I have DB2
Enterprise V8.1 running.

I have scheduled a nightly reboot of the machine running WAS.

This is how it goes: (this script is in crontab to run at 12:01am)

.stopHTTP
.stopWAS

shutdown -fr now

Now when the system comes back up I am calling another
script in rc.local.. which goes as follows:

.startHTTP
.startWAS

Now, when the machine comes back up and I log onto my
application, I get an SQL Connect error.

To fix this problem I just have to go
and run .stopServer and the .startServer on the
server again and my application runs perfect.

I figured I could also create script to run this
additional stop Start routine and that should solve the problem.
But it doesnt!

Please help.

MUK


Nov 12 '05 #2

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

Similar topics

6
by: Franco Fiorese | last post by:
Hi all, I am relatively new about Python benchmarks. After some experiments I found that Python on my PC Windows XP has a relevant higher performance than on Linux. The simple test using...
9
by: nan.li.g | last post by:
Hello, all, I have an interesting problem about stl map and pthread on Linux and g++. The source code is as follows. //mt_map_test.cpp #include <string> #include <map> #include <unistd.h>...
4
by: Matthew Dauphinee | last post by:
Is anybody out there pushing the memory limits ( for shared memory ) with DB2 version 8 on LINUX. The Advanced Admin IBM Press Book claims that kernel 2.4 can only grab 1.75 GB. We have just...
2
by: Philip Nelson | last post by:
Folks, I'm installing DB2 on a brand new IBM xSeries box, which has Intel Xeon processors with EM64T extensions. We are using SuSE Linux Enterprise Server 9, and when installed the HOSTTYPE...
13
by: Christopher Cashell | last post by:
Yesterday, while attempting to access a database, I received errors saying that the database was innaccessible. After investigating a little, I found the following in the PostgreSQL log files: ...
3
by: Si Chen | last post by:
Hello. It seems that every time I make a change to pg_hba.conf, I have to restart the database server for the new authentication to take effect. Is there a way to have the server use the new...
3
by: nikaggel | last post by:
Before state the question, I have to apologize of not having time to post to intel forum , which is more proper, for this type of question. :QUESTION I installed intel c/c++ on suse linux 10.0. It...
3
by: smusunuri | last post by:
Right now we have DB2 on Z/OS, collecting information on putting DB2 on Linux zseries. So that our company can save money on Z/OS cpu cycles(or MIPS). On our mainframe we have...
4
by: CoL | last post by:
Hi All, We have recently migrated our product to intel compiler 8.0 from gcc 2.96 on RHEL 4. Everything works absolutely fine with gcc. I have successfully managed to build/link the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.