Any workaround suggestions would be greatly appreciated. I have included the case statement that is failing and attached the full script. sqlexecd used to run on 6.06 Ubuntu, and does (modified for server name, etc) run on rpm-based systems, Fedora, Red Hat 9, and RH EL 3/4.
The server it runs on is now @ Feisty level.
Here is the error:
root@linux-testU:/etc/init.d# ./sqlexecd start
./sqlexecd: 125: action: not found
root@linux-testU:/etc/init.d#
As far as I can tell, the syntax is good. Line 125 is the esac.
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status ${process}
;;
restart)
restart
;;
condrestart) condrestart
;;
*)
echo $"Usage: $0 {start|stop|status|condrestart|restart}"
exit 1
esac
Is this bug the same as what I am experiencing?
Any workaround suggestions would be greatly appreciated. I have included the case statement that is failing and attached the full script. sqlexecd used to run on 6.06 Ubuntu, and does (modified for server name, etc) run on rpm-based systems, Fedora, Red Hat 9, and RH EL 3/4.
The server it runs on is now @ Feisty level.
Here is the error: testU:/ etc/init. d# ./sqlexecd start testU:/ etc/init. d#
root@linux-
./sqlexecd: 125: action: not found
root@linux-
As far as I can tell, the syntax is good. Line 125 is the esac.
# See how we were called.
condrestart stop|status| condrestart| restart} "
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status ${process}
;;
restart)
restart
;;
condrestart)
;;
*)
echo $"Usage: $0 {start|
exit 1
esac