[asterisk-users] what service does asterisk need to avoid netsock error ?

sean darcy seandarcy2 at gmail.com
Tue Jan 15 09:30:03 CST 2019


I'm running Fedora 29. asterisk starts with a systemd service at boot. 
On any reboot I get a LOT of :

[Jan 15 09:30:26] ERROR[1162]: netsock2.c:541 ast_sockaddr_hash: Unknown 
address family '0'.
[Jan 15 09:30:35] ERROR[1161]: netsock2.c:541 ast_sockaddr_hash: Unknown 
address family '0'.
[Jan 15 09:30:45] ERROR[1155]: netsock2.c:541 ast_sockaddr_hash: Unknown 
address family '0'.
[Jan 15 09:30:45] ERROR[1155]: netsock2.c:541 ast_sockaddr_hash: Unknown 
address family '0'.

If I "systemctl restart asterisk", no more errors.

I think this means something needs to start before asterisk starts. My 
asterisk.service has:

  [Unit]
Description=Asterisk PBX and telephony daemon.
After=network.target

but obviously that's not enough. What else needs to start before asterisk ?




More information about the asterisk-users mailing list