On Sun, Nov 27, 2005 at 02:21:27PM +0100, harry gaillac wrote:
> Hello,
> 
> I installed openpbx files under /usr/local/
> I added a script in /etc/init.d/openpbx 
> 
> serveur1:~# /etc/init.d/openpbx start
> Starting OpenPBX: start-stop-daemon: stat --: No such
> file or directory
> 
> my openpbx script should be ok.
> serveur1:~# ls /usr/local/sbin/
> openpbx  safe_openpbx
> 
> What's wrong ?
> 
> Harry
> 

Try to run the script with tracing enabled, it should make it easy to
spot the problem:

  sh -x /etc/init.d/openpbx start

The problem is probably that DAEMON will be set to an empty string if
SAFE_OPENPBX is empty in:

  if [ -f $SAFE_OPENPBX ] ; then
        DAEMON=$SAFE_OPENPBX
  fi
                        
/Mikael

_______________________________________________
Openpbx-dev mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-dev

Reply via email to