On Mon, 7 Jun 2010, bruce bruce wrote: > CentOS 5.4 and asterisk does stay running after it's loaded by asterisk > -g. But the chkconfig --add asterisk doesn't work :(
What does "chkconfig --list asterisk" show? The "add" command looks in the asterisk script for a line that looks like: # chkconfig: 2345 98 98 This says that chkconfig should create the appropriate links in the /etc/rc{x}.d/ hierarchy so that Asterisk will be started at runlevels 2, 3, 4, 5 with a start priority of 98 (see "man chkconfig" for details) and a stop priority of 98. Since CentOS servers should be running at runlevel 3, the 2, 4, and 5 are superfluous. If there is no such line, chkconfig will not create the appropriate links. Also, if /etc/init.d/asterisk does not have execute privileges, it will not be executed on startup and Asterisk will not be running as expected. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users