View previous topic :: View next topic |
Author |
Message |
HuskyDog Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 20 Feb 2003 Posts: 78 Location: Wiltshire, UK
|
Posted: Mon Jul 15, 2024 12:02 pm Post subject: Asterisk starts but claims it hasn't! |
|
|
Code: | # rc-service asterisk start
* Starting asterisk PBX ...
* Max open filedescriptors : 4096
* Starting asterisk as : asterisk:asterisk (+supplementaries)
* Wrapper options : --syslog --rundir /run/asterisk --restartdelay 5 --maxfd 4096
* Asterisk options : -C /etc/asterisk/asterisk.conf -f -U asterisk
* Signalling asterisk wrapper script to terminate ... [ !! ]
* ERROR: asterisk failed to start
# ps ax | grep asterisk
22145 pts/1 S 0:00 /bin/sh /usr/sbin/asterisk_wrapper --syslog --rundir /run/asterisk --restartdelay 5 --maxfd 4096 -- -C /etc/asterisk/asterisk.conf -f -U asterisk
22158 pts/1 S 0:00 logger -t asterisk_wrapper --id=22145
22164 pts/1 Sl 0:00 /usr/sbin/asterisk -C /etc/asterisk/asterisk.conf -f -U asterisk
22231 pts/1 S+ 0:00 grep --color=auto asterisk
|
As you can see, I get an ERROR when the service starts, but it actually appears to be running and when I test it by making some phone calls it seems to be working fine.
This isn't the end of the world, but it means that I can't then stop the service with 'rc-service asterisk stop' as I get '* WARNING: asterisk is already stopped' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
freke Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 23 Jan 2003 Posts: 1013 Location: Somewhere in Denmark
|
Posted: Mon Jul 15, 2024 5:24 pm Post subject: |
|
|
clamd has something similar if /etc/init.d/clamd is not in sync with clamd.conf - pid-file placed in one spot - rc-service/rc-status looking for the pid-file elsewhere.
It might be the same here?
(try looking in the init-file and try looking where the .pid.file is placed)
For clamd it's showing crashed though - so might not be the same issue, no asteriks-logs nor anything in rc.log? /var/log/messages? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|