Page 2 of 2

Re: ViciBox v.10.0.2 released January 9th, 2023

PostPosted: Thu Jan 12, 2023 8:05 am
by pdraganov
I upgraded my ViciBox 10.0.0 to OpenSUSE 15.4, as 15.3 is EOL already but this downgraded asterisk from 16.29.1-vici to 16.29.0-vici. When will 16.29.1 be available in https://download.opensuse.org/repositories/home:/vicidial:/asterisk-16/openSUSE_Leap_15.4/x86_64/ ?

Re: ViciBox v.10.0.2 released January 9th, 2023

PostPosted: Tue May 30, 2023 4:44 am
by bbakirtas
When vicidial zypper up is done, the system does not work, the web interface does not open
Error : https://ibb.co/jL5Jty3

Code: Select all
dialer:~ # systemctl status apache2.service
● apache2.service - The Apache Webserver
     Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Tue 2023-05-30 12:48:47 +03; 1min 0s ago
    Process: 15782 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start (code=exited, status=1/FAILURE)
   Main PID: 15782 (code=exited, status=1/FAILURE)
     Status: "Reading configuration..."

May 30 12:48:47 dialer systemd[1]: Starting The Apache Webserver...
May 30 12:48:47 dialer start_apache2[15782]: AH00526: Syntax error on line 21 of /etc/apache2/listen.conf:
May 30 12:48:47 dialer start_apache2[15782]: Cannot define multiple Listeners on the same IP:port
May 30 12:48:47 dialer systemd[1]: apache2.service: Main process exited, code=exited, status=1/FAILURE
May 30 12:48:47 dialer systemd[1]: apache2.service: Failed with result 'exit-code'.
May 30 12:48:47 dialer systemd[1]: Failed to start The Apache Webserver.
dialer:~ #

Re: ViciBox v.10.0.2 released January 9th, 2023

PostPosted: Tue May 30, 2023 5:20 am
by carpenox
Seems you have the same listen port listed more than once. Edit your listen.conf and remove the double

Re: ViciBox v.10.0.2 released January 9th, 2023

PostPosted: Tue May 30, 2023 9:31 am
by bbakirtas
carpenox wrote:Seems you have the same listen port listed more than once. Edit your listen.conf and remove the double


Code: Select all
#Listen 12.34.56.78:80
#Listen 80
#Listen 443

Listen 80
Listen 81
Listen 81


<IfDefine SSL>
   <IfDefine !NOSSL>
   <IfModule mod_ssl.c>

      Listen 443
      Listen 446
      Listen 446

   </IfModule>
   </IfDefine>
</IfDefine>


to
Code: Select all
#Listen 12.34.56.78:80
#Listen 80
#Listen 443

Listen 80
#Listen 81
Listen 81


<IfDefine SSL>
   <IfDefine !NOSSL>
   <IfModule mod_ssl.c>

      Listen 443
      #Listen 446
      Listen 446

   </IfModule>
   </IfDefine>
</IfDefine>

and apache work!
Thanks @carpenox

Re: ViciBox v.10.0.2 released January 9th, 2023

PostPosted: Tue May 30, 2023 6:18 pm
by carpenox
No sweat bud

Re: ViciBox v.10.0.2 released January 9th, 2023

PostPosted: Sat Jun 17, 2023 7:51 am
by bronson
this just saved me. thanks!

Re: ViciBox v.10.0.2 released January 9th, 2023

PostPosted: Sat Jun 17, 2023 11:30 am
by bronson
bbakirtas wrote:
carpenox wrote:Seems you have the same listen port listed more than once. Edit your listen.conf and remove the double


Code: Select all
#Listen 12.34.56.78:80
#Listen 80
#Listen 443

Listen 80
Listen 81
Listen 81


<IfDefine SSL>
   <IfDefine !NOSSL>
   <IfModule mod_ssl.c>

      Listen 443
      Listen 446
      Listen 446

   </IfModule>
   </IfDefine>
</IfDefine>


to
Code: Select all
#Listen 12.34.56.78:80
#Listen 80
#Listen 443

Listen 80
#Listen 81
Listen 81


<IfDefine SSL>
   <IfDefine !NOSSL>
   <IfModule mod_ssl.c>

      Listen 443
      #Listen 446
      Listen 446

   </IfModule>
   </IfDefine>
</IfDefine>

and apache work!
Thanks @carpenox


thanks @carpenox for the fix, and @bbakirtas for the postback!

this saved me today! :lol: