We help IT Professionals succeed at work.

How to start the DAS Administrator server in DB2 installed on solaris

partminer
partminer used Ask the Experts™
on
Hi

I have installed the fix pack 3 on db2 version 9.1.As part of pot installation tasks I should restart the DAS.
I logged in as DAS owner and try to start the server using 'db2admin start' command.
I am getting 'db2admin :not found.'

Here my questions are.

1.How to check the DAS server is runnig or not in unix?
2.How to start the DAS administrator server in unix?

Any help is greately appreciated.Thank you.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
1. just use ps -ef and see which processes are running with the das user
2. db2admin start should do it

Author

Commented:
Hi,

No services are running.But db2admin start command is not working.

Getting 'db2admin:not found' .Any ideas please?
sounds like you are missing some libraries in your path
did you try to execute it from the directory where it is located
Commented:
The db2admin command is not in your $PATH by default.  Therefore you must be in the directory where the db2admin executable is located - and . needs to be in your $PATH.

So - cd  to DASHOME/das/bin directory, where DASHOME  is the home directory of the DAS user - and then retry the db2admin command.  

db2admin start

If it still doesn't find db2admin, dot-run the command

. db2admin start


Greg
Commented:
sorry - the dot-run syntax was incorrect:

./db2admin start

Greg

Author

Commented:
Do I need to login as a root inorder to start the services?.Because when I try to execute the services as requested, it is saying das user does not has privileges to execute the command.
Please let me know?Thanks.
Commented:
You probably need to follow the instructions on how to setup a DAS:

http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.admin.doc/doc/t0004960.htm

This will ensure that the DAS user has the rights to execute the db2admin id.  The DAS user - not root - needs to start DAS.

Greg

Author

Commented:
Solution works perfect.