Problem starting DataStage engine

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

Problem starting DataStage engine

Post by mavrick21 »

Hello all,

Below is the error -
/ps/dsadm/Ascential/DataStage/DSEngine> bin/uv -admin -start
Unable to get disk shared memory segment: Invalid argument

An error has occurred during DataStage initialization
Please contact the system administrator
Error code: 2 2
An error has occurred during DataStage initialization
Please contact the system administrator
Error code: 2 2
An error has occurred during DataStage initialization
Please contact the system administrator
Error code: 2 2
/ps/dsadm/Ascential/DataStage/DSEngine/sample/ds.rc: line 416: [: : integer expression expected
DataStage Engine 7.5.2.1 instance "ade" has been brought up.
Below is the list of things I did to end up with this error -

1) Ran shmtest. Incorporated these values in uvconfig, "regen"ed and started the server. It worked fine.

2) Changed T30FILE from 200 to 220. Couldn't increase it any further due to "Disk shared memory size of 4580412 exceeds maximum allowed size of 4579328" error. "regen"ed and started the server. It worked fine.

3) Ran shmtest. And now the errors started flowing in. "An error has occurred during DataStage initialization
Please contact the system administrator
Error code: 2 2"

4) Changed back to 200 from 220 for T30FILE, "regen"ed and tried starting the server but again got the above quoted error.

5) Checked the ds.rc file at line 416 and didn't see any syntax error.

Code: Select all

414                 val1=`bin/smat -t|grep DISKCACHE|tr -d " "|cut -d= -f2`
415                 val2=`bin/smat -t|grep DCWRITEDAEMON|tr -d " "|cut -d= -f2`
416                 if [ "$val1" -gt "0" -a "$val2" -gt "0" ]
417                 then
418                         # cache daemon requested to start
419                         bin/${DCFdaemon} START $val2 &
420                 fi
But when I ran the command on line 414 I get an error-

bin/smat -t|grep DISKCACHE|tr -d " "|cut -d= -f2
An error has occurred during DataStage initialization
Please contact the system administrator
Error code: 2 2

Any help would be highly appreciated.

Thanks,
Mav
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

Post by mavrick21 »

Just FYI -
1) I did run dsenv before stating the engine
2) I tried starting engine as root and dsadm but ended up with the same error.
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

Post by mavrick21 »

We figured it out. We had set SHMMAX value very high. We then set this value to the minimum number given in documentation and the engine started.
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

Post by mavrick21 »

Sorry guys - had to reopen this post.

DataStage engine starts now but neither shmtest nor smat run.

/ps/dsadm/Ascential/DataStage/DSEngine> bin/shmtest uvconfig
An error has occurred during DataStage initialization
Please contact the system administrator
Error code: 2 2
/ps/dsadm/Ascential/DataStage/DSEngine> bin/smat -d
An error has occurred during DataStage initialization
Please contact the system administrator
Error code: 2 2

Any ideas?
ulab
Participant
Posts: 56
Joined: Mon Mar 16, 2009 4:58 am
Location: bangalore
Contact:

please any resolution for this post

Post by ulab »

please any resolution for this post?
Ulab----------------------------------------------------
help, it helps you today or Tomorrow
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

Post by mavrick21 »

Make a copy of uvconfig before you play with it. If the engine doesn't start then revert back to the originial uvconfig file and try - that should help. This is all that we did to make ours work.
Post Reply