VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
geisj at pagestation.com Guest
|
Posted: Tue Feb 02, 2016 10:08 am Post subject: [asterisk-users] dahdi on systemd (CentOS 7) |
|
|
It doesnt appear dahdi is starting up under systemd and CentOS 7.2
What should I look for?
find /etc/systemd | grep -i dahdi
find nothing.
How does dahdi startup under systemd ?
Thanks
Jerry |
|
Back to top |
|
|
greg at gregandeva.net Guest
|
Posted: Tue Feb 02, 2016 10:28 am Post subject: [asterisk-users] dahdi on systemd (CentOS 7) |
|
|
On my Fedora system (which is similar to but not exactly the same as CentOS 7, YMMV), there is an /etc/rc.d/init.d/dahdi script. This causes systemd to generate a "dahdi" service. But there is no "dahdi.service" file. If you do not have the init script file, you probably need to install the dahdi-tools package. In addition you may need the dahdi-linux package which may not be part of the distribution (it's not in Fedora because it doesn't meet the standards for freedom that Fedora uses). I had to download the dahdi-linux RPM separately and install it (I think ATrpms has it).
What does "systemctl status dahdi" show?
# systemctl status dahdi -l
● dahdi.service - LSB: DAHDI kernel modules
Loaded: loaded (/etc/rc.d/init.d/dahdi)
Active: active (exited) since Thu 2015-12-03 17:36:32 MST; 1 months 30 days ago
Docs: man:systemd-sysv-generator(
Dec 03 17:36:32 worldsys.gregandeva.net systemd[1]: Starting LSB: DAHDI kernel modules...
Dec 03 17:36:32 worldsys.gregandeva.net systemd[1]: Started LSB: DAHDI kernel modules.
--Greg
On Tue, Feb 2, 2016 at 8:07 AM, Jerry Geis <geisj@pagestation.com (geisj@pagestation.com)> wrote:
Quote: | It doesnt appear dahdi is starting up under systemd and CentOS 7.2
What should I look for?
find /etc/systemd | grep -i dahdi
find nothing.
How does dahdi startup under systemd ?
Thanks
Jerry
--
_____________________________________________________________________
-- 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
|
|
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Wed Feb 03, 2016 3:55 am Post subject: [asterisk-users] dahdi on systemd (CentOS 7) |
|
|
On Tue, Feb 02, 2016 at 10:07:42AM -0500, Jerry Geis wrote:
Quote: | It doesnt appear dahdi is starting up under systemd and CentOS 7.2
What should I look for?
find /etc/systemd | grep -i dahdi
find nothing.
|
/etc/systemd is for services installed by the system administrator.
You should have also looked under /usr/lib/systemd .
Alternatively:
systemctl status dah<tab><tab> # completes to:
systemctl status dahdi.service
Which will shows me that dahdi.service was generated from
/etc/init.d/dahdi .
Or:
systemctl list-units | grep dahdi
Quote: |
How does dahdi startup under systemd ?
|
Right now with the same init.d script. That said, I'd like to avoid
using it. If you switch to automatic span assignment
(http://docs.tzafrir.org.il/dahdi-linux/#_span_assignments -
auto_assign_spans=0), you don't really need the DAHDI init script. In
fact, using it may become confusing, as under some circumstances the
dahdi "service" may be in the wrong state for you (and unloading modules
at poweroff is pointless).
Thus, in the spirit of the parallel boot of systemd, my general
recommendation is not to have any dahdi service, and just let spans load
and get initialized separately. This also means you no longer need to
start DAHDI before Asterisk.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|