"ja" <ja@aol.com> wrote in message
news:0d********************************@4ax.com...
Hello,
When I run the following query:
select count(*)
from table111
where pf = 'F' and
pet = 'Y'
I get the following error message:
"SQL1224N A database agent could not be started to service a request,
or was terminated as a result of a database system shutdown or a force
command. SQLSTATE=55032"
Does anybody have any idea how to solve this problem?
db2 8.1 workgroup unlimited
win 2003 server
When I had that problem a few weeks ago and investigated it, it turned out
that the agent in question was NPIPES or maybe TCPIP; I don't recall which
now. The problem occurred after I had used the FORCE command to kill a few
DB2 applications and followed the FORCE with a db2stop/db2start. I never
managed to figure out why the agent hadn't started but I found that
everything was working fine again after my next reboot. In fact, I found
that everything I tried worked fine *despite* the error message, even before
the reboot. However, in your case, you are clearly having a problem as a
result of an agent which didn't (re)start.
In short, I don't know why your agent wouldn't start but a reboot would
probably solve your problem, assuming a reboot is possible in your
environment. If you can't reboot because it is a production server, I can
only suggest a db2stop followed by a db2start but I don't guarantee that
this will work. Also, there may be better ways to handle the problem that a
db2start/db2stop. It would probably be best if you waited for a few more
replies to see if someone else can come up with a better idea.
Rhino