Closed fukemy closed 3 months ago
I found this line after restart:
In Start.class.php line 193:
Unable to connect to Asterisk. Did it start?
start [--pre] [--post] [--skipchown] [--] [<args>]...
Terminated
log_it: (CRON 2507) INFO (Shutting down)
2024-04-09 03:45:20,030 INFO exited: izpbx (exit status 1; not expected)
2024-04-09 03:45:20,037 INFO spawned: 'izpbx' with pid 3483
2024-04-09 03:45:20,038 WARN received SIGQUIT indicating exit request
2024-04-09 03:45:20,039 INFO waiting for izpbx-watchdog_0, cron, fail2ban, httpd, izpbx to die
2024-04-09 03:45:21,041 INFO success: izpbx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-04-09 03:45:23,048 INFO waiting for izpbx-watchdog_0, cron, fail2ban, httpd, izpbx to die
2024-04-09 03:45:23,052 INFO reaped unknown pid 3611 (terminated by SIGTERM)
2024-04-09 03:45:23,052 INFO reaped unknown pid 3607 (terminated by SIGTERM)
Asterisk not currently running
Running FreePBX shutdown...
Windows Docker Desktop is not a tested system... if you succeed I'm happy, but this is not guaranteed, I'm sorry. Check the section https://github.com/ugoviti/izpbx?tab=readme-ov-file#tested-systems-and-host-compatibility
Kind Regards
Im using mac m1 to test, can u give some advices without tested system? I tried with my Ubuntu VM but I got other error with docker logs izpbx
:
exec /entrypoint.sh: exec format error
I'm sorry but izPBX is x86_64 arch dependent, Apple M1 is ARM arch, so it's untested right now.
hello, I tested on Ubuntu 22.04 but still got same problem. Can you help?
=> Executing izpbx-asterisk entrypoint command: supervisord -c /etc/supervisord.conf
===============================================================================
+ exec supervisord -c /etc/supervisord.conf
2024-04-12 04:29:23,137 INFO Included extra file "/etc/supervisord.d/asterisk.ini" during parsing
2024-04-12 04:29:23,137 INFO Included extra file "/etc/supervisord.d/cron.ini" during parsing
2024-04-12 04:29:23,137 INFO Included extra file "/etc/supervisord.d/dnsmasq.ini" during parsing
2024-04-12 04:29:23,137 INFO Included extra file "/etc/supervisord.d/fail2ban.ini" during parsing
2024-04-12 04:29:23,137 INFO Included extra file "/etc/supervisord.d/fop2.ini" during parsing
2024-04-12 04:29:23,137 INFO Included extra file "/etc/supervisord.d/httpd.ini" during parsing
2024-04-12 04:29:23,137 INFO Included extra file "/etc/supervisord.d/izpbx.ini" during parsing
2024-04-12 04:29:23,137 INFO Included extra file "/etc/supervisord.d/ntp.ini" during parsing
2024-04-12 04:29:23,137 INFO Included extra file "/etc/supervisord.d/postfix.ini" during parsing
2024-04-12 04:29:23,137 INFO Included extra file "/etc/supervisord.d/zabbix.ini" during parsing
2024-04-12 04:29:23,137 INFO Set uid to user 0 succeeded
2024-04-12 04:29:23,141 INFO RPC interface 'supervisor' initialized
2024-04-12 04:29:23,141 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-04-12 04:29:23,142 INFO supervisord started with pid 1
2024-04-12 04:29:24,145 INFO spawned: 'izpbx-watchdog_0' with pid 900
2024-04-12 04:29:24,147 INFO spawned: 'cron' with pid 901
2024-04-12 04:29:24,150 INFO spawned: 'fail2ban' with pid 902
2024-04-12 04:29:24,152 INFO spawned: 'httpd' with pid 903
2024-04-12 04:29:24,155 INFO spawned: 'izpbx' with pid 904
READY
debug flags enabled: misc
[901] cron started
log_it: (CRON 901) STARTUP (1.5.2)
log_it: (CRON 901) INFO (RANDOM_DELAY will be scaled with factor 24% if used.)
log_it: (CRON 901) INFO (running with inotify support)
log_it: (CRON 901) INFO (@reboot jobs will be run at computer's startup.)
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
2024-04-12 04:29:24,212 INFO exited: httpd (exit status 1; not expected)
2024-04-12 04:29:24,285 fail2ban [902]: ERROR Failed during configuration: Have not found any log file for apache-auth jail
2024-04-12 04:29:24,291 fail2ban [902]: ERROR Async configuration of server failed
2024-04-12 04:29:24,305 INFO exited: fail2ban (exit status 255; not expected)
2024-04-12 04:29:25,306 INFO success: izpbx-watchdog_0 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-04-12 04:29:25,306 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-04-12 04:29:25,308 INFO spawned: 'fail2ban' with pid 1006
2024-04-12 04:29:25,312 INFO spawned: 'httpd' with pid 1007
2024-04-12 04:29:25,312 INFO success: izpbx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-04-12 04:29:25,312 INFO reaped unknown pid 989 (exit status 0)
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
2024-04-12 04:29:25,365 INFO exited: httpd (exit status 1; not expected)
2024-04-12 04:29:25,426 fail2ban [1006]: ERROR Failed during configuration: Have not found any log file for apache-auth jail
2024-04-12 04:29:25,426 fail2ban [1006]: ERROR Async configuration of server failed
2024-04-12 04:29:25,435 INFO exited: fail2ban (exit status 255; not expected)
Starting Call Transfer Monitoring Service
Stopping Call Transfer Monitoring Service
Restarting Call Transfer Monitoring Service
2024-04-12 04:29:28,108 INFO spawned: 'fail2ban' with pid 1186
2024-04-12 04:29:28,111 INFO spawned: 'httpd' with pid 1187
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
2024-04-12 04:29:28,174 INFO exited: httpd (exit status 1; not expected)
2024-04-12 04:29:28,243 fail2ban [1186]: ERROR Failed during configuration: Have not found any log file for apache-auth jail
2024-04-12 04:29:28,246 fail2ban [1186]: ERROR Async configuration of server failed
2024-04-12 04:29:28,259 INFO exited: fail2ban (exit status 255; not expected)
2024-04-12 04:29:31,265 INFO spawned: 'fail2ban' with pid 1311
2024-04-12 04:29:31,269 INFO spawned: 'httpd' with pid 1312
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
2024-04-12 04:29:31,337 INFO exited: httpd (exit status 1; not expected)
2024-04-12 04:29:31,396 fail2ban [1311]: ERROR Failed during configuration: Have not found any log file for apache-auth jail
2024-04-12 04:29:31,396 INFO gave up: httpd entered FATAL state, too many start retries too quickly
2024-04-12 04:29:31,396 fail2ban [1311]: ERROR Async configuration of server failed
2024-04-12 04:29:31,404 INFO exited: fail2ban (exit status 255; not expected)
2024-04-12 04:29:31,404 WARN received SIGQUIT indicating exit request
2024-04-12 04:29:31,404 INFO waiting for izpbx-watchdog_0, cron, fail2ban, izpbx to die
2024-04-12 04:29:32,406 INFO gave up: fail2ban entered FATAL state, too many start retries too quickly
2024-04-12 04:29:34,409 INFO waiting for izpbx-watchdog_0, cron, izpbx to die
Terminated
2024-04-12 04:29:34,410 INFO reaped unknown pid 1002 (terminated by SIGTERM)
Asterisk not currently running
Running FreePBX shutdown...
Here you have already other service running in the sames ports (HTTP/80), you must use a VM or a host exclusively dedicated to izpbx.
kind regards
I saw izpbx stop frequenly after a little time, and restart, i can not check a bug in logs, but I only see this line:
2024-04-09 03:26:41,169 INFO exited: izpbx (exit status 1; not expected)
here is the full log: