application server shutdown error

Hi Guys,
I installed SAP 4.7 Enterprise Edition with oracle 8i with patches in Win 2000 Server(sp4).but after installation the SAP service is not running properly it seems.But during the installation,i havent received any errors,It was a clean installation.While I try to login into GUI,it is saying
Application Server Shutdown
...
Module : DPTM
...
Error Code : -17
......
When I try to start the sap server in SAP mgmt Console, the message service ans dispatcher service is running for sometime and then the Dispatcher service gets stopped automatically.In the work process(WP), all the processes are running for a while and then the status is changed to Ended.
Kindly help me out to solve this issue.
Thanks in Advance,
s.pratap kumar