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

**URL:** <https://community.asterisk.org/t/hello-im-trying-to-install-astrisk-but-i-have-the-same-error-how-you-resolv-it/100085>\
**Category:** Asterisk Support\
**Created:** [December 14, 2023, 9:19pm UTC](https://community.asterisk.org/t/hello-im-trying-to-install-astrisk-but-i-have-the-same-error-how-you-resolv-it/100085 "2023-12-14T21:19:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![WalidDevRes](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/waliddevres/32/7238_2.png) [@WalidDevRes](https://community.asterisk.org/u/WalidDevRes)\
**Post date:** [December 14, 2023, 9:19pm UTC](https://community.asterisk.org/t/hello-im-trying-to-install-astrisk-but-i-have-the-same-error-how-you-resolv-it/100085/1 "2023-12-14T21:19:10Z")

</div>

```auto
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

```auto
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

```auto
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)

```

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [December 15, 2023, 12:19am UTC](https://community.asterisk.org/t/hello-im-trying-to-install-astrisk-but-i-have-the-same-error-how-you-resolv-it/100085/2 "2023-12-15T00:19:30Z")

</div>

Do you intend to use any of failing modules?

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

---

<div class="post-metadata">

**Author:** ![FrancoSmash](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/francosmash/32/6689_2.png) [@FrancoSmash](https://community.asterisk.org/u/FrancoSmash)\
**Post date:** [December 15, 2023, 12:40am UTC](https://community.asterisk.org/t/hello-im-trying-to-install-astrisk-but-i-have-the-same-error-how-you-resolv-it/100085/3 "2023-12-15T00:40:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![WalidDevRes](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/waliddevres/32/7238_2.png) [@WalidDevRes](https://community.asterisk.org/u/WalidDevRes)\
**Post date:** [December 15, 2023, 7:20pm UTC](https://community.asterisk.org/t/hello-im-trying-to-install-astrisk-but-i-have-the-same-error-how-you-resolv-it/100085/4 "2023-12-15T19:20:54Z")

</div>

Hello i 'm sending you all the comande i done

```auto
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

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [January 14, 2024, 7:21pm UTC](https://community.asterisk.org/t/hello-im-trying-to-install-astrisk-but-i-have-the-same-error-how-you-resolv-it/100085/5 "2024-01-14T19:21:36Z")

</div>

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