Hello, i'm trying to install astrisk but i have the same error how you resolv it?

Dec 14 16:12:53 tp asterisk[2552]: [Dec 14 16:12:53] ERROR[2552]: loader.c:2524 load_modules: cdr_sqlite3_custom declined to load.
Dec 14 16:12:53 tp asterisk[2552]: [Dec 14 16:12:53] ERROR[2552]: loader.c:2524 load_modules: cel_tds declined to load.
Dec 14 16:12:53 tp asterisk[2552]: [Dec 14 16:12:53] ERROR[2552]: loader.c:2524 load_modules: cdr_tds declined to load.
Dec 14 16:12:53 tp asterisk[2552]: [Dec 14 16:12:53] ERROR[2552]: loader.c:2524 load_modules: cel_sqlite3_custom declined to load.
Dec 14 16:12:53 tp asterisk[2552]: [Dec 14 16:12:53] ERROR[2552]: loader.c:2524 load_modules: cdr_pgsql declined to load.

systemctl restart asterisk

root@tp:/usr/src/asterisk-20.5.0# systemctl restart asterisk
Job for asterisk.service failed because a timeout was exceeded.
See "systemctl status asterisk.service" and "journalctl -xe" for details.
root@tp:/usr/src/asterisk-20.5.0#

journalctl -xe

root@tp:/usr/src/asterisk-20.5.0# journalctl -xe
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] NOTICE[62291]: chan_dahdi.c:19587 process_dahdi: Ignoring any changes to 'userbase' (on reload) at line 23.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] NOTICE[62291]: chan_dahdi.c:19587 process_dahdi: Ignoring any changes to 'vmsecret' (on reload) at line 31.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] NOTICE[62291]: chan_dahdi.c:19587 process_dahdi: Ignoring any changes to 'hassip' (on reload) at line 35.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] NOTICE[62291]: chan_dahdi.c:19587 process_dahdi: Ignoring any changes to 'hasiax' (on reload) at line 39.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] NOTICE[62291]: chan_dahdi.c:19587 process_dahdi: Ignoring any changes to 'hasmanager' (on reload) at line 47.
Dec 14 15:38:43 tp asterisk[62291]: Cannot connect to server socket err = No such file or directory
Dec 14 15:38:43 tp asterisk[62291]: Cannot connect to server request channel
Dec 14 15:38:43 tp asterisk[62291]: jack server is not running or cannot be started
Dec 14 15:38:43 tp asterisk[62291]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Dec 14 15:38:43 tp asterisk[62291]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Dec 14 15:38:43 tp asterisk[62291]: Cannot connect to server socket err = No such file or directory
Dec 14 15:38:43 tp asterisk[62291]: Cannot connect to server request channel
Dec 14 15:38:43 tp asterisk[62291]: jack server is not running or cannot be started
Dec 14 15:38:43 tp asterisk[62291]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Dec 14 15:38:43 tp asterisk[62291]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Dec 14 15:38:43 tp asterisk[62291]: ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
Dec 14 15:38:43 tp asterisk[62291]: ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
Dec 14 15:38:43 tp asterisk[62291]: ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused
Dec 14 15:38:43 tp asterisk[62291]: ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused
Dec 14 15:38:43 tp asterisk[62291]: ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback
Dec 14 15:38:43 tp asterisk[62291]: ALSA lib setup.c:547:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory
Dec 14 15:38:43 tp asterisk[62291]: ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Dec 14 15:38:43 tp asterisk[62291]: ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Dec 14 15:38:43 tp asterisk[62291]: Cannot connect to server socket err = No such file or directory
Dec 14 15:38:43 tp asterisk[62291]: Cannot connect to server request channel
Dec 14 15:38:43 tp asterisk[62291]: jack server is not running or cannot be started
Dec 14 15:38:43 tp asterisk[62291]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Dec 14 15:38:43 tp asterisk[62291]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] ERROR[62291]: ari/config.c:312 process_config: No configured users for ARI
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] NOTICE[62291]: confbridge/conf_config_parser.c:2386 verify_default_profiles: Adding default_menu menu to app_confbridge
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] NOTICE[62291]: cel_custom.c:92 load_config: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] NOTICE[62291]: cel_tds.c:447 tds_load_module: cel_tds has no global category, nothing to configure.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] WARNING[62291]: cel_tds.c:552 load_module: cel_tds module had config problems; declining load
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] WARNING[62291]: cel_pgsql.c:463 process_my_load_module: CEL pgsql config file missing global section.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] NOTICE[62291]: cdr_pgsql.c:541 config_module: cdr_pgsql configuration contains no global section, skipping module load.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] ERROR[62291]: codec_dahdi.c:813 find_transcoders: Failed to open /dev/dahdi/transcode: No such file or directory
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] WARNING[62291]: loader.c:2409 load_modules: Some non-required modules failed to load.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] WARNING[62291]: loader.c:2503 load_modules: Module 'res_adsi' has been loaded but may be removed in a future release.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] WARNING[62291]: loader.c:2503 load_modules: Module 'app_getcpeid' has been loaded but may be removed in a future release.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] WARNING[62291]: loader.c:2503 load_modules: Module 'app_adsiprog' has been loaded but may be removed in a future release.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] ERROR[62291]: loader.c:2524 load_modules: res_timing_dahdi declined to load.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] ERROR[62291]: loader.c:2524 load_modules: cdr_sqlite3_custom declined to load.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] ERROR[62291]: loader.c:2524 load_modules: cel_tds declined to load.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] ERROR[62291]: loader.c:2524 load_modules: cdr_tds declined to load.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] ERROR[62291]: loader.c:2524 load_modules: cel_sqlite3_custom declined to load.
Dec 14 15:38:43 tp asterisk[62291]: [Dec 14 15:38:43] ERROR[62291]: loader.c:2524 load_modules: cdr_pgsql declined to load.
Dec 14 15:38:43 tp asterisk[62291]: Asterisk Ready.
lines 1306-1352/1352 (END)

Do you intend to use any of failing modules?

If not, there is no problem. If so, provide valid configuration files for those modules.

First you need to un install Astersik (completely) & make sure to remove any existing modules. Reboot then Re-install let me know what script you are running to install

Hello i 'm sending you all the comande i done

sudo apt update
sudo apt -y install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjson-c-dev libmxml-dev uuid-dev
sudo apt install asterisk
sudo apt-get install autoconf automake libtool
cd /usr/src
apt-get install linux-headers-$(uname -r)
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-20-current.tar.gz
tar -zxvf asterisk-20-current.tar.gz
wget https://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
tar -zxvf dahdi-linux-complete-current.tar.gz
wget https://downloads.asterisk.org/pub/telephony/libpri/libpri-1-current.tar.gz
tar -zxvf libpri-1-current.tar.gz
tar -zxvf dahdi-linux-complete-current.tar.gz && rm -r libpri-1-current.tar.gz && rm -r dahdi-linux-complete-current.tar.gz
cd dahdi-linux-complete-3.2.0+3.2.0
make
make install
make install-config
cd  libpri-1.6.1
make
make install
cd asterisk-20.5.0/contrib/scripts
./install_prereq install
cd asterisk-20.5.0/
./configure
make menuselect
cd usr/src/askterisk-20.5.0
make
make install
rm -rf /usr/lib/asterisk/modules
make install
make samples
make basic-pbx
make config
make install-logrotate
systemctl start asterisk
cd /etc/asterisk
mv sip.conf sip.conf.original
mv extensions.conf extensions.conf.original
sed -i 's";\[radius\]"\[radius\]"g' /etc/asterisk/cdr.conf
sed -i 's";radiuscfg => /usr/local/etc/radiusclient-ng/radiusclient.conf"radiuscfg => /etc/radcli/radiusclient.conf"g' /etc/asterisk/cdr.conf
sed -i 's";radiuscfg => /usr/local/etc/radiusclient-ng/radiusclient.conf"radiuscfg => /etc/radcli/radiusclient.conf"g' /etc/asterisk/cel.conf
nano /etc/asterisk/users.conf
nano /etc/asterisk/extensions.conf
systemctl restart asterisk

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.