Comment 4 for bug 103331

Revision history for this message
cmnorton (octopusgrabbus) wrote :

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:
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