On Thu, Sep 01, 2005 at 10:15:04AM +0100, Julian Lyndon-Smith wrote: > Hi Steve :) > > The problem is not with the asterisk command, nor with safe_asterisk but > with the /etc/init.d/asterisk script > > if I manually run > > /etc/init.d/asterisk start > > all's ok > > if I manually run > > service asterisk start > > it says that it has started, but hasn't :)
The command that is actually run at startup is something like: /etc/rc3.d/S30asterisk start And it is actually run from an environment that is slightly different from your standard shell. Try isuing it through inittab or through an at or cron job to get a more realistic environment if you suspect that. > > Julian > > Steve Hanselman wrote: > >Try doing an strace on it and seeing what the last section shows you. > >i.e. strace asterisk -vvvvvvvc A nicer trace would be done using 'set -x' . Add that line somewhere in the init script. Compare the output from the good case to the output from the bad case. BTW: any reason why the "redhat" and "debian" init.d script in the contrib directory still use LD_ASSUME_KERNEL=2.4.1 ? It is not used in the init.d script of the Debian package and not in the init.d scripts that appear to be newer in that directory. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
