- Mitglied seit
- 1 Jul 2015
- Beiträge
- 53
- Punkte für Reaktionen
- 0
- Punkte
- 6
Ich hatte Asterisk 16.28 bisher problemlos auf einem Raspi 2b mit Bullseye, jetzt soll das auf einem kleinen PC mit Ubuntu Server 22.04 LTS und später dann Ubuntu Server 24.04 laufen. Ubuntu hat das in Version 18.10 in den Paketquellen, Installation lief problemlos, die Konfigurationsdateien wurden nach /etc/asterisk kopiert und Benutzer und Gruppe asterisk:asterisk angepasst. Im Asterisk-Wiki habe ich keine Unterschiede für die Konfigurationsdateien zwischen Ver.16 und Ver.18 gefunden. Sollte eigentlich klappen, tut es aber nicht.
Hier meine bisherige Fehleranalyse:
[Edit Novize: aus "ICODE"-Tags Code-Tags geacht, das ist doch weit besser lesbar
Hier meine bisherige Fehleranalyse:
Code:
xc@telefon:~ $ sudo asterisk
xc@telefon:~ $ asterisk -rvvv
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
xc@telefon:~ $ sudo asterisk -rvvv
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
xc@telefon:~ $ ls -la /var/run/asterisk/
total 8
drwxr-xr-x 2 asterisk root 80 Jun 9 18:50 .
drwxr-xr-x 33 root root 960 Jun 9 18:48 ..
-rwxr-xr-x 1 asterisk asterisk 786 Jun 9 18:50 alt.asterisk.canary.tweet.tweet.tweet
-rw-r--r-- 1 asterisk asterisk 5 Jun 9 18:50 asterisk.pid
xc@telefon:~ $ sudo asterisk -cvvv
Asterisk 18.10.0~dfsg+~cs6.10.40431411-2, Copyright (C) 1999 - 2021, Sangoma Technologies Corporation and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Couldn't find manager DBGet in XML documentation
Couldn't find manager DBGet in XML documentation
Manager registered action DBGet
Couldn't find manager DBPut in XML documentation
Couldn't find manager DBPut in XML documentation
Manager registered action DBPut
Couldn't find manager DBDel in XML documentation
Couldn't find manager DBDel in XML documentation
Manager registered action DBDel
Couldn't find manager DBDelTree in XML documentation
Couldn't find manager DBDelTree in XML documentation
Manager registered action DBDelTree
PBX UUID: 9673cd7d-aa21-48f1-b2e8-fe1c621c4cfe
Cannot update type 'declined_message_types' in module 'stasis' because it has no existing documentation!
Stasis initialization failed. ASTERISK EXITING!
Manager unregistered action DBGet
Manager unregistered action DBPut
Manager unregistered action DBDel
Manager unregistered action DBDelTree
xc@telefon:~ $ sudo service asterisk status
● asterisk.service - Asterisk PBX
Loaded: loaded (/lib/systemd/system/asterisk.service; enabled; vendor preset: enabled)
Active: activating (start) since Sun 2024-06-09 18:49:50 CEST; 168ms ago
Docs: man:asterisk(8)
Main PID: 1245 (asterisk)
Tasks: 4 (limit: 8977)
Memory: 2.0M
CPU: 13ms
CGroup: /system.slice/asterisk.service
├─1245 /usr/sbin/asterisk -g -f -p -U asterisk
└─1246 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 1245
Jun 09 18:49:50 telefon systemd[1]: Starting Asterisk PBX...
xc@telefon:~ $ sudo sysctl status asterisk.service
sysctl: cannot stat /proc/sys/status: No such file or directory
sysctl: cannot stat /proc/sys/asterisk/service: No such file or directory
xc@telefon:~ $ journalctl -xe
░░ The unit asterisk.service has entered the 'failed' state with result 'exit-code'.
Jun 09 18:52:13 telefon systemd[1]: Failed to start Asterisk PBX.
░░ Subject: A start job for unit asterisk.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit asterisk.service has finished with a failure.
░░
░░ The job identifier is 10660 and the job result is failed.
Jun 09 18:52:14 telefon systemd[1]: asterisk.service: Scheduled restart job, restart counter is at 116.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ Automatic restarting of the unit asterisk.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Jun 09 18:52:14 telefon systemd[1]: Stopped Asterisk PBX.
░░ Subject: A stop job for unit asterisk.service has finished
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A stop job for unit asterisk.service has finished.
░░
░░ The job identifier is 10749 and the job result is done.
Jun 09 18:52:14 telefon systemd[1]: Starting Asterisk PBX...
░░ Subject: A start job for unit asterisk.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit asterisk.service has begun execution.
░░
░░ The job identifier is 10749.
Jun 09 18:52:15 telefon systemd[1]: asterisk.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit asterisk.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jun 09 18:52:15 telefon systemd[1]: asterisk.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit asterisk.service has entered the 'failed' state with result 'exit-code'.
Jun 09 18:52:15 telefon systemd[1]: Failed to start Asterisk PBX.
░░ Subject: A start job for unit asterisk.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit asterisk.service has finished with a failure.
░░
░░ The job identifier is 10749 and the job result is failed.
[Edit Novize: aus "ICODE"-Tags Code-Tags geacht, das ist doch weit besser lesbar
Zuletzt bearbeitet von einem Moderator: