Hello All, i have asterisk installed in my call centre without any issue I would like to ask you some questions related to services. i want to start asterisk and httpd and aheevacti automatically when the server centos reboot or shutdown becouse i must start all services manually (service asterisk start ,service httpd start ...............) Maybe i must use crontab but I don?t know how to do, any help please Thanks and Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20101220/aed325cf/attachment.htm>
salaheddine elharit wrote:> becouse i must start all services manually (service asterisk start > ,service httpd startchkconfig httpd on chkconfig asterisk on Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
When installing asterisk you should type "make config" to have asterisk create init script automatically. For http " chkconfig httpd on" Adolphe Cher-aime From my Iphone On Dec 20, 2010, at 5:48 AM, salaheddine elharit <salah.elharit200 at gmail.com > wrote:> Hello All, > > i have asterisk installed in my call centre without any issue I > would like to ask you some questions related to services. > > i want to start asterisk and httpd and aheevacti automatically when > the server centos reboot or shutdown > > becouse i must start all services manually (service asterisk > start ,service httpd start ...............) > > Maybe i must use crontab but I don?t know how to do, any help please > > Thanks and Regards > -- > _____________________________________________________________________ > -- 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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20101220/52800d0a/attachment.htm>
ok thank you so much for your help 2010/12/20 Doug Lytle <support at drdos.info>> salaheddine elharit wrote: > >> becouse i must start all services manually (service asterisk start >> ,service httpd start >> > > chkconfig httpd on > chkconfig asterisk on > > Doug > > > -- > > Ben Franklin quote: > > "Those who would give up Essential Liberty to purchase a little Temporary > Safety, deserve neither Liberty nor Safety." > > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20101220/0aa2e9d2/attachment.htm>
when i make "chkconfig httpd on" and "chkconfig asterisk on" with chkconfig --list i found httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off asterisk 0:off 1:off 2:on 3:on 4:on 5:on 6:off the 0,1, and 6 are OFF just the 2,3,4,5 are ON , and when i reboot the server i found that the service httpd is off with command "service httpd status" and service asterisk status please advice Best Regards, 2010/12/20 salaheddine elharit <salah.elharit200 at gmail.com>> ok thank you so much for your help > > 2010/12/20 Doug Lytle <support at drdos.info> > > salaheddine elharit wrote: >> >>> becouse i must start all services manually (service asterisk start >>> ,service httpd start >>> >> >> chkconfig httpd on >> chkconfig asterisk on >> >> Doug >> >> >> -- >> >> Ben Franklin quote: >> >> "Those who would give up Essential Liberty to purchase a little Temporary >> Safety, deserve neither Liberty nor Safety." >> >> >> -- >> _____________________________________________________________________ >> -- 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 >> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20101220/ab0c995f/attachment.htm>
On Mon, Dec 20, 2010 at 02:34:23PM +0000, salaheddine elharit wrote:>the 0,1, and 6 are OFF just the 2,3,4,5 are ON , >and when i reboot the server i found that the service httpd is off with >command "service httpd status" and service asterisk status > >please adviceThis is just one of many problems you will encounter. You need to train or hire an actual Unix/Linux system administrator.