when ever i restart my linux machine asterisk never starts i have enteries in rc.local so thats not the problem.
what i can see is asterisk.ctl and asterisk.pid files still exists in the respective directory.
but from command line if i write asterisk without deleting the files. it starts fine. but not from rc.local this is happening only in one machine i have few asterisk installations everyone seems to be fine.
can you please suggest me what can be the problem
crontab is for running processes at particular times, not for starting an application at runtime … look at /etc/rc.d/rc.local or the equivalent for your OS.
what makes you say that asterisk isn’t running if those files are present ?
i m sorry i wrote crontab instead of rc.local. i meat rc.local not crontab sorry again.