Josh Alberts
2005-Apr-02 11:20 UTC
[Asterisk-Users] Asterisk Auto-Startup on Ubuntu/Debian
I'm having trouble getting asterisk to run at startup using Ubuntu. I've checked, and the asterisk dameon is set to run at init 5. However, I'm not seeing anything that says that asterisk has been started during the boot process. Oddly, when I shut the machine down/run init6, it says Starting Asterisk PBX. Odd. I'm using the default scripts that came with asterisk (I installed using synaptic and the debian universe repositories). I've edited /etc/default/asterisk, uncommented the first line and changed start asterisk to "yes". Anybody know what might be wrong?
Ron Wellsted
2005-Apr-02 11:47 UTC
[Asterisk-Users] Asterisk Auto-Startup on Ubuntu/Debian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Josh Alberts wrote:> I'm having trouble getting asterisk to run at startup using Ubuntu. > I've checked, and the asterisk dameon is set to run at init 5. However, > I'm not seeing anything that says that asterisk has been started during > the boot process. Oddly, when I shut the machine down/run init6, it > says Starting Asterisk PBX. Odd. I'm using the default scripts that > came with asterisk (I installed using synaptic and the debian universe > repositories). I've edited /etc/default/asterisk, uncommented the first > line and changed start asterisk to "yes". Anybody know what might be > wrong?Try starting atserisk at run level 2 or 3 (debian/ubuntu does this a little differently) - -- Ron Wellsted http://www.wellsted.org.uk ron@wellsted.org.uk FWD:519961 Gossiptel:9309811 N 52.567623, W 2.137621 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQk7oqEtP/KMNOfRbAQK3sggAgOe9uzdFlJZ6wzeNGtZA8L6td2sPTdGy dxbPd0pbjYBLOj0EfF6BvXTJUYYg4FcGvxfTn0i3ByeFPQHDsMNk0HPRot216qPh BwXEjSmrwy9BznIqoqS9XToHpyhCV2B+W9sX7QY0g6xZM6tf94gocQ8oH9U2CO+f L2kVB8yHYYNgx1XCwqihZ1GHWvRnELXALWPOYpYnIzRJt+uWp+66V7VcZWaMjPH5 bMOB0gT33GxHk4itOycMxoV1ECueEV9Ghmlk8pABpCA4RveIkDKHGVMFPnqb9hlp VWv9ESNmIo/czDcxMd+u+/v4+N0aoPznPqrmrRVW3q47jOvFy5yh5w==ARpy -----END PGP SIGNATURE-----
Josh Alberts
2005-Apr-02 13:50 UTC
[Asterisk-Users] Asterisk Auto-Startup on Ubuntu/Debian
By default, synaptic puts init scripts in all runlevel folders. All are exactly the same, except for init 6, which is supposed to kill the process. On Sat, 02 Apr 2005 12:20:40 -0600, ron at wellsted.org.uk said: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Josh Alberts wrote:> I'm having trouble getting asterisk to run at startup using Ubuntu. > I've checked, and the asterisk dameon is set to run at init 5. However, > I'm not seeing anything that says that asterisk has been started during > the boot process. Oddly, when I shut the machine down/run init6, it > says Starting Asterisk PBX. Odd. I'm using the default scripts that > came with asterisk (I installed using synaptic and the debian universe > repositories). I've edited /etc/default/asterisk, uncommented the first > line and changed start asterisk to "yes". Anybody know what might be > wrong?Try starting atserisk at run level 2 or 3 (debian/ubuntu does this a little differently) - -- Ron Wellsted http://www.wellsted.org.uk ron at wellsted.org.uk FWD:519961 Gossiptel:9309811 N 52.567623, W 2.137621 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQk7oqEtP/KMNOfRbAQK3sggAgOe9uzdFlJZ6wzeNGtZA8L6td2sPTdGy dxbPd0pbjYBLOj0EfF6BvXTJUYYg4FcGvxfTn0i3ByeFPQHDsMNk0HPRot216qPh BwXEjSmrwy9BznIqoqS9XToHpyhCV2B+W9sX7QY0g6xZM6tf94gocQ8oH9U2CO+f L2kVB8yHYYNgx1XCwqihZ1GHWvRnELXALWPOYpYnIzRJt+uWp+66V7VcZWaMjPH5 bMOB0gT33GxHk4itOycMxoV1ECueEV9Ghmlk8pABpCA4RveIkDKHGVMFPnqb9hlp VWv9ESNmIo/czDcxMd+u+/v4+N0aoPznPqrmrRVW3q47jOvFy5yh5w==ARpy -----END PGP SIGNATURE-----
Tzafrir Cohen
2005-Apr-03 08:48 UTC
[Asterisk-Users] Asterisk Auto-Startup on Ubuntu/Debian
On Sat, Apr 02, 2005 at 01:20:37PM -0500, Josh Alberts wrote:> I'm having trouble getting asterisk to run at startup using Ubuntu. > I've checked, and the asterisk dameon is set to run at init 5. However, > I'm not seeing anything that says that asterisk has been started during > the boot process. Oddly, when I shut the machine down/run init6, it > says Starting Asterisk PBX. Odd. I'm using the default scripts that > came with asterisk (I installed using synaptic and the debian universe > repositories).What version of Asterisk is that, BTW? AFAIK the ubuntu package is an older version of the current Debian package.> I've edited /etc/default/asterisk, uncommented the first > line and changed start asterisk to "yes". Anybody know what might be > wrong?ls -l /etc/rc?.d/*asterisk man update-rc.d But generally the package's init script is automatically being added, and will silently exit if you configured the service not to run or if your system does not have the binary. Anyway, maybe Asterisk has started but has failed to load? -- Tzafrir Cohen | New signature for new address and | VIM is http://tzafrir.org.il | new homepage | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | Space reserved for other protocols | friend