serveur1:/etc/init.d# sh -x /etc/init.d/openpbx start
+
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ NAME=openpbx
+ DESC=OpenPBX
+ DAEMON=/usr/local/sbin/openpbx
+ export LD_ASSUME_KERNEL=2.4.1
+ LD_ASSUME_KERNEL=2.4.1
+ test -x /usr/local/sbin/openpbx
+ set -e
+ echo -n 'Starting OpenPBX: '
Starting OpenPBX: + '[' -f ']'
+ DAEMON=
+ '[' ']'
+ '[' ']'
+ start-stop-daemon --start --exec -- --
start-stop-daemon: stat --: No such file or directory

I don't set safe_openpbx in /et/init.d/openpbx

Harry

--- Mikael Magnusson <[EMAIL PROTECTED]> a
écrit :

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


        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

Attachment: safe_openpbx
Description: 963882526-safe_openpbx

Attachment: openpbx
Description: 1850988067-openpbx

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

Reply via email to