Hi sci2tech, just want to say thanks for all your help so far!
I modified the code you gave me and ran it. Looks its fixed up some of the files however i am still showing the same domain status messages.
Code:
...
...
DEBUG: push_el() sub_name: unlock_system(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('`which rm` -rf /var/run/ispcp.lock'), msg: Ending...
DEBUG: push_el() sub_name: unlock_system(), msg: Ending...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Ending...
Starting ispCP GUI-Backend communication Daemon: ispcp_daemon.
cd ./tools/daemon && make clean
make[1]: Entering directory `/root/ispcp-omega-1.0.0/tools/daemon'
rm -rf *~
rm -rf *.o
rm -rf ispcp_daemon
make[1]: Leaving directory `/root/ispcp-omega-1.0.0/tools/daemon'
rm -rf /tmp/ispcp
Stopping domain name service...: bind.
Starting domain name service...: bind.
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
walton:~/ispcp-omega-1.0.0#
This is the last few lines that were executed, looks like it was successful. I restarted apache as i didnt see it get restarted from the script.