10g dbshut/dbstart scripts throwing error : test: 0403-004
On AIX 5.3, the 10g dbshut and dbstart scripts throw the following error when no O_H argument is passed (i.e. you don't want to stop/start the listener):
/u10/app/oracle/product/10.2.0/bin/dbshut[dbstart][nn]: test: 0403-004 Specify a parameter with this command.
Then echo:
"Failed to auto-stop[start] Oracle Net Listener using /bin/tnslsnr"
This can be corrected by changing
"if [ ! $ORACLE_HOME_LISTNER ] ; then" to
"if [ -z "$ORACLE_HOME_LISTNER" ] ; then".