Hi Shiv,
It looks like the database server is unable to load the TCP/IP libraries due to lack of memory. Can you try limiting the max cache size? You use the "-ch" argument to do that, like this:
dbspawn -f dbsrv12 -ch 10m -gk all -n "$SQLANYWHERE_SERVER" -o <filename> -x "tcpip(port=${SQLANYWHERE_PORT};DoBroadcast=NO;BroadcastListener=NO)" "${SQLANYWHERE_C
MS_DBFILE}" "${SQLANYWHERE_AUDIT_DBFILE}"
In the above example, I'm telling the db server to set its max cache size to be 10 MB. You can change that value as you like, such as 5k, 500M, 1g, etc. Complete documentation on that argument is here: http://dcx.sap.com/index.html#1201en/dbadmin/ch-database-dbengine.html.