Vicibox 11 Apache Failed to start During boot

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Vicibox 11 Apache Failed to start During boot

Postby rheymzkilove » Tue Dec 03, 2024 9:38 am

Hi guys,
i got this error when starting up the new installed vicibox 11.

1.) i update the the server zypper up
2.) vicibox-express
3.) reboot
4.) got an error
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 2024-12-03 09:09:08 EST; 1min 48s ago
Process: 2334 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start (code=exited, status=1/FAILURE)
Main PID: 2334 (code=exited, status=1/FAILURE)

Dec 03 09:09:08 svicideric systemd[1]: Starting The Apache Webserver...
Dec 03 09:09:08 svicideric start_apache2[2334]: httpd-prefork: Syntax error on line 227 of /etc/apache2/httpd.conf: Syntax error on line 16 of /etc/apache2/vhosts.d/dynportal-ssl.conf: Could not open configuration file /etc/apache2/conf>
Dec 03 09:09:08 svicideric systemd[1]: apache2.service: Main process exited, code=exited, status=1/FAILURE
Dec 03 09:09:08 svicideric systemd[1]: apache2.service: Failed with result 'exit-code'.
Dec 03 09:09:08 svicideric systemd[1]: Failed to start The Apache Webserver.

5.) for now I just commenting the line 227 of /etc/apache2/httpd.conf and line 16 of /etc/apache2/vhosts.d/dynportal-ssl.conf
6.) then apache restart

any other available fix on this?

Vicibox11
Standlone set up
rheymzkilove
 
Posts: 46
Joined: Fri Oct 19, 2012 2:57 pm

Re: Vicibox 11 Apache Failed to start During boot

Postby carpenox » Wed Dec 04, 2024 7:54 am

Yes this issue is with all new installs, the fix can be found here:

https://dialer.one/index.php/how-to-fix ... n-vicibox/

Chris
Alma Linux 9.5 | SVN Version: 3896 | DB Schema Version: 1723 | Asterisk 18.26.0 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2475
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Vicibox 11 Apache Failed to start During boot

Postby rheymzkilove » Wed Dec 04, 2024 10:04 am

its almost desame as i did,
thanks @carpenox
rheymzkilove
 
Posts: 46
Joined: Fri Oct 19, 2012 2:57 pm

Re: Vicibox 11 Apache Failed to start During boot

Postby carpenox » Wed Dec 04, 2024 5:51 pm

no problem, glad to help
Alma Linux 9.5 | SVN Version: 3896 | DB Schema Version: 1723 | Asterisk 18.26.0 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2475
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Vicibox 11 Apache Failed to start During boot

Postby williamconley » Wed Dec 04, 2024 11:55 pm

rheymzkilove wrote:its almost desame as i did,
thanks @carpenox


FYI: Do not use vicibox-express. Honestly. It's valid most of the time, but it's not maintained to the same level as the standard install. The standard install just has more questions to answer, and if you take the time to answer them, you'll know a bit more about your server. You can also capture the entire install Q/A sesstion and results to a text file for "just in case" later. (Did you put your ftp password in correctly, were there any errors tossed that went by really quickly and I didn't notice ... etc).

Remember that nobody knows if you start over two or three times. It's free. And you'll be a lot more comfortable with your system if you've installed it four times. It loses it's magic around there somewhere and just becomes "software".
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20299
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Vicibox 11 Apache Failed to start During boot

Postby carpenox » Thu Dec 05, 2024 4:26 am

theres actually an issue with both and its vicibox 9, 10 and 11, after apache updates are run, it removes mod_deflate, vicirecord and viciarchive conf files
Alma Linux 9.5 | SVN Version: 3896 | DB Schema Version: 1723 | Asterisk 18.26.0 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2475
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Vicibox 11 Apache Failed to start During boot

Postby Kumba » Thu Dec 05, 2024 8:21 pm

The config option in the rpm doesn't respond the way the documentation says. I added some code to the %pre section of the package that should create a .old copy of the current config files before modifying anything. I.E. /etc/apache2/vhosts.d/0000-default.conf gets copied to /etc/apache2/vhosts.d/0000-default.conf.old. This should create backups going forward in case the package removes the old file.

For ViciBox12 the config files are statically copied from /usr/share/vicibox/ so that there's no interaction between package updates and static config files.

I'm working on releasing ViciBox 11.0.2 to roll up all these changes for Asterisk 16. ViciBox 12 will have Asterisk18 with PHP8.
Kumba
 
Posts: 941
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Re: Vicibox 11 Apache Failed to start During boot

Postby williamconley » Thu Dec 05, 2024 8:34 pm

carpenox wrote:theres actually an issue with both and its vicibox 9, 10 and 11, after apache updates are run, it removes mod_deflate, vicirecord and viciarchive conf files

Did you dig through and find the solution in the installer? Vicidial Issue Tracker may not work for the installer, but then again it doesn't hurt.

Moved to Vicibox board, since it's an install issue. Details. LOL
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20299
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Vicibox 11 Apache Failed to start During boot

Postby carpenox » Fri Dec 06, 2024 1:00 am

I did not I dont have any vicibox installs I suppose I could VM it and try
Alma Linux 9.5 | SVN Version: 3896 | DB Schema Version: 1723 | Asterisk 18.26.0 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2475
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Vicibox 11 Apache Failed to start During boot

Postby rheymzkilove » Fri Dec 06, 2024 3:43 pm

Hi

i will try default vicibox11 installer with no update (zypper up) and I will check if these files if available mod_deflate, vicirecord and viciarchive conf files

:D
rheymzkilove
 
Posts: 46
Joined: Fri Oct 19, 2012 2:57 pm

Re: Vicibox 11 Apache Failed to start During boot

Postby rheymzkilove » Fri Dec 06, 2024 4:19 pm

Hi

the missing file on folder confd on updated installing is audiostore, mod_deflate, viciarchive and vicirecord (that's why my current install with updated [zypper up] mp3 URL is not working but file is available on directory mp3 folder :( I think because of these missing files)) and maybe the reason also why apache failed to start during boot after fresh install (with the update)
and for vhostd folder missing 0000-default and 0000-default-ssl.

and lastly i downloaded these missing files also on the same installer that I use then I install it with no update, maybe it will fixed the issue of the updated one, hope it works

ty
rheymzkilove
 
Posts: 46
Joined: Fri Oct 19, 2012 2:57 pm

Re: Vicibox 11 Apache Failed to start During boot

Postby rheymzkilove » Sat Dec 07, 2024 8:20 am

@carpnenox

its working :D the error is fixed for failed apache during boot , by copying the missing files from desame installer (install with no update :) )

Thanks
Rey

vicibox11
rheymzkilove
 
Posts: 46
Joined: Fri Oct 19, 2012 2:57 pm

Re: Vicibox 11 Apache Failed to start During boot

Postby carpenox » Sat Dec 07, 2024 10:39 am

great post back, we need to create a solution for those who do update before copying the files, perhaps I can add them to my github, can you message me on skype with a copy of the files? Ill create a little bash script to fix all the missing files for people on vicibox11
Alma Linux 9.5 | SVN Version: 3896 | DB Schema Version: 1723 | Asterisk 18.26.0 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2475
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 13 guests